News for hackers. Stuff that matters.
Re:Some dark corners of C by nostrademons on Saturday March 09, 2013 @12:52PM (#5349052)
Well, the bug only appears if you didn't include the header file declaring malloc (or any other void*-returning function). If you did, there's no problem.

It's a pretty easy thing to leave out, missing a required header, but if you always compile under -Wall it'll catch this and many other problems as well.

Re:Some dark corners of C by graycat on Saturday March 09, 2013 @10:30PM (#5350587)
Thanks for the details, but I remain concerned about taking a language, clearly with some tricky aspects, so closely identified with 16 and 32 bit computing into 64 bit computing.