[EMAIL PROTECTED] wrote: > > >> 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); > > > Legal undefined behaviour :)
Ian _______________________________________________ opensolaris-discuss mailing list [email protected]
