>   As a related note glibc has some questionable protections, like 
>free(NULL)
>   which it simply ignores resulting in bugs remaining hidden. GNU ls 
>does a
>   free(NULL) somewhere which we discovered while demoing truss on linux
>   processes in BrandZ. It is also visible when you use ltrace in Linux.


free(NULL) is defined as legal in the standard.


Solaris libc, unfortunately, also allows free(foo); free(foo);


Casper

_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to