[PATCH 07/30] Ensure seg is nonnull

[email protected] <[email protected]>
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?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.