[OT] C pointers: BSD versus Linux?

Jason Watson jwatson at slashopt.net
Wed May 31 15:48:31 PDT 2006

On May 31, 2006, at 5:01 PM, Simon 'corecode' Schubert wrote:
I can not agree with this.  BSD malloc() (or better: free()) is  
much more conservative, and lately our default even changed to  
abort on double free()s.  A lot of buggy software has double free() 
s and I think glibc doesn't even complain per default.
Simon appears to be correct, and I appear to be wrong. It seems that  
the BSD malloc/free stuff changed at some point.  Excerpt from the  
malloc man page on a 6.1 FreeBSD install:

"A side effect of this architecture is that many minor transgressions on
     the interface which would traditionally not be detected are in  
     detected.  As a result, programs that have been running happily  
for years
     may suddenly start to complain loudly, when linked with this  

Many apologies for passing along inaccurate information. Anyway know  
when this changed?

Jason Watson.Attachment:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p7s00000.p7s
Type: application/octet-stream
Size: 2153 bytes
Desc: "Description: S/MIME cryptographic signature"
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20060531/4133bc21/attachment-0021.obj>

More information about the Users mailing list