Skip to content

--analyze does not produce warning when ignoring return values #10466

@noloader

Description

@noloader
mannequin
Bugzilla Link 10094
Resolution WONTFIX
Resolved on Jun 06, 2011 22:44
Version unspecified
OS MacOS X
Attachments Test program from OpenSSL website, Test program from OpenSSL website, Test program from OpenSSL website
CC @tkremenek

Extended Description

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

Metadata

Metadata

Assignees

Labels

bugzillaIssues migrated from bugzillaclang:static analyzerwontfixIssue is real, but we can't or won't fix it. Not invalid

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions