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 <[EMAIL PROTECTED]> - 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 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

