David Brown wrote:

Linux allocated memory is "initialized", at least it will always appear
that way as long as there is sufficient memory.  Newly allocated memory
will always be initialized to zero.

It really doesn't matter what Linux or any other OS does, or is supposed to do. It is bad programming practice (and usually a big mistake, and always a security risk) to assume that allocated memory is initialized to zero.

PGA
--
Paul G. Allen, BSIT/SE
Owner, Sr. Engineer
Random Logic Consulting Services
www.randomlogic.com


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to