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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to