[PATCH 08/30] Ensure first is not NULL
| Newsgroups | dev.linux.lists.lvm-devel |
|---|---|
| Message-ID | <87mxq260wm.wl%[email protected]> |
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 <[email protected]> Again I'm worried you're hiding a problem. Can |first| be NULL, what does it mean?