[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Secure Dereference of NULL-Pointer when using list.h




On Wed, 4 Oct 2006, Hendrik Post wrote:


Do you have any references for me? I could not find anything in the ANSI-C standard.

Not explicitly, but there is the C-FAQ which is very useful when trying to understand the intricacies of the C language, especially pointers and arrays. It's available at serveral places on the 'net, for instance http://www.faqs.org/faqs/C-faq/faq/ .


I don't know if this particular issue is addressed there though.

(While this doesn't directly belong on this list, the kernel code tends to get quite chummy with pointers and so has an indirect bearing on understanding kernel code).

/Ricard
--
Ricard Wolf Wanderlöf                           ricardw(at)axis.com
Axis Communications AB, Lund, Sweden            www.axis.com
Phone +46 46 272 2016                           Fax +46 46 13 61 30