[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#253802: tkmixer on 2.6.9-powerpc



On 2005-03-11 21:29:03 +0000, Nikita Schmidt wrote:
> Note that I was surprised to learn that bss is not zeroed out when a
> module is loaded, thus breaking the convention that all non-initialised
> statics automatically initialise to 0.  But it appears to be so.

This is more than a convention. This is required by the C standard.

BTW, if the BSS is not zeroed and the data come from another program,
this could be seen a security hole.

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



Reply to: