[LLVMbugs] [Bug 12910] New: The left operand of '==' is a garbage value

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue May 22 05:48:37 PDT 2012


             Bug #: 12910
           Summary: The left operand of '==' is a garbage value
           Product: clang
           Version: 3.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Static Analyzer
        AssignedTo: kremenek at apple.com
        ReportedBy: zdenek.kabelac at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 8616
  --> http://llvm.org/bugs/attachment.cgi?id=8616

Bug reported by the clang static analyzer.

Description: The left operand of '==' is a garbage value
File: /home/kabi/export/lvm2.git/daemons/dmeventd/libdevmapper-event.c
Line: 447

My assumption is that clang doesn't understand, that value of
args[0] will be either dmeventd_path or default_dmeventd_path.
Both pointers allowes its char dereference  args[0][0].

Unless I miss something

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