[PATCH 07/30] Ensure seg is nonnull
| Newsgroups | dev.linux.lists.lvm-devel |
|---|---|
| Message-ID | <87r5fe6156.wl%[email protected]> |
At Mon, 25 Oct 2010 10:24:14 +0200, Zdenek Kabelac wrote: > > clang Logic error Dereference of null pointer > Make sure we do not try to use NULL seg pointer. > > Signed-off-by: Zdenek Kabelac <[email protected]> Does |seg| being NULL indicate a more serious problem? Should we fail rather than making the best of it and carrying on silently?