https://bugs.kde.org/show_bug.cgi?id=381299
Ivo Raisr <iv...@ivosh.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |iv...@ivosh.net --- Comment #1 from Ivo Raisr <iv...@ivosh.net> --- Agreed. However great care needs to be taken to distinguish between *first* such allocated space or a *subsequent* one. brk/sbrk were part of POSIX 1997 (and removed in POSIX 2001). The standard said by that time [1]: "The newly-allocated space is set to 0. However, if the application first decrements and then increments the break value, the contents of the reallocated space are unspecified." Linux man pages do not say anything about initial contents. Solaris man page brk(2) says: "Newly allocated space is set to zero. If, however, the same memory space is reallocated to the same process its contents are undefined." [1] http://pubs.opengroup.org/onlinepubs/7908799/xsh/brk.html -- You are receiving this mail because: You are watching all bug changes.