Previous Entry Share Flag Next Entry
10:12 pm, 9 May 06

dangerous sizes of NULL

A few days ago I remarked about NULL pointers, and got a thorough response in the comments, explaining that both an integer 0 or a void* 0 are legal values of NULL, but that they potentially can have different sizes. Interesting bit of trivia, I thought.

Today I notice someone tracking down an AbiWord crash caused by exactly that distinction. Hrmph.