[LLVMbugs] [Bug 10094] New: --analyze does not produce warning when ignoring return values

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jun 6 15:24:02 PDT 2011


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

           Summary: --analyze does not produce warning when ignoring
                    return values
           Product: clang
           Version: unspecified
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: Static Analyzer
        AssignedTo: kremenek at apple.com
        ReportedBy: noloader at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=6702)
 --> (http://llvm.org/bugs/attachment.cgi?id=6702)
Test program from OpenSSL website

The attached program (taken from
http://www.openssl.org/docs/crypto/EVP_DigestInit.html) does not generate a
warning when ignoring return values. EVP_DigestInit_ex, EVP_DigestUpdate,
EVP_DigestUpdate, EVP_DigestFinal_ex, adn EVP_MD_CTX_cleanup each return 1 for
success (see http://www.openssl.org/docs/crypto/EVP_DigestInit.html).

-- 
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