[LLVMbugs] [Bug 8337] New: Dereference of null pointer

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Oct 8 07:27:20 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=8337

           Summary: Dereference of null pointer
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Static Analyzer
        AssignedTo: kremenek at apple.com
        ReportedBy: zdenek.kabelac at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=5591)
 --> (http://llvm.org/bugs/attachment.cgi?id=5591)
source file of problematic match

Bug reported by the clang static analyzer.

Description: Dereference of null pointer
File: lvm2.git/daemons/clvmd/clvmd.c
Line: 500

this is false positive - as could be seen from source - few lines above - there
is check of ptr clops - and child_init_signal(status) with non-zero status
parameter runs exit(status) - thus could never reach given condition

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list