News for hackers. Stuff that matters.
Re:Xcode 4 ships a buggy compiler by mikeash on Saturday December 31, 2011 @10:14AM (#3410995)
"the assumption that free(NULL) won't corrupt the heap."

That's not an assumption, that's how the free() function is defined to work by the language standard. It never ceases to astound me how many otherwise good C programmers think free(NULL) is an error.

Re:Xcode 4 ships a buggy compiler by tptacek on Saturday December 31, 2011 @10:58AM (#3411106)
... yes, that's what I'm saying.
Re:Xcode 4 ships a buggy compiler by mikeash on Saturday December 31, 2011 @11:04AM (#3411116)
I see. The word "assumption" confused me, as in context it would generally mean something that isn't necessarily true.