http://bugzilla.spamassassin.org/show_bug.cgi?id=4366
------- Additional Comments From [EMAIL PROTECTED] 2005-05-29 07:07 ------- Subject: Re: spamc broken on Solaris and BSD type machines > (the strdup()/strcpy() bug differs between platforms, because it's an > off-by-one error that leaves the strings unterminated. on linux, > memory is prefilled with 0 bytes on malloc, not so on BSD and Solaris > platforms.) It's not prefilled like that on Linux, either. It's just that sometimes you get newly allocated memory from brk(), and large allocations come from mmap(), and both of those cases are zeroed by the kernel. Small allocations on Linux may be filled with garbage, too. (I think the same is true on the BSDs, actually: it's just that the thresholds are different.) ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
