[LLVMbugs] [Bug 15915] New: Analyzer does not check if std::string initialized with NULL

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon May 6 01:20:39 PDT 2013


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

            Bug ID: 15915
           Summary: Analyzer does not check if std::string initialized
                    with NULL
           Product: clang
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Static Analyzer
          Assignee: kremenek at apple.com
          Reporter: sergey.shambir.auto at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

There are at least two cases when programmer cannot detect such error in
existing code:

1) std::string initialized with 0 in constructor initialization lists

2) NULL passed to function that accepts (const std::string &) argument

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130506/7945dbdb/attachment.html>


More information about the llvm-bugs mailing list