[lvm-devel] [PATCH 08/30] Ensure first is not NULL

ejt at redhat.com ejt at redhat.com
Mon Oct 25 10:07:37 UTC 2010


At Mon, 25 Oct 2010 10:24:15 +0200,
Zdenek Kabelac wrote:
> 
> clang Logic error	Dereference of null pointer
> 
> For empty lists make sure the NULL first pointer is not dereferenced.
> 
> Signed-off-by: Zdenek Kabelac <zkabelac at redhat.com>

Again I'm worried you're hiding a problem.  Can |first| be NULL, what does it mean?




More information about the lvm-devel mailing list