Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IMSCryptoUtils.m plaintext memory leaking? #7

Open
olavandrade opened this issue Jun 8, 2014 · 0 comments
Open

IMSCryptoUtils.m plaintext memory leaking? #7

olavandrade opened this issue Jun 8, 2014 · 0 comments

Comments

@olavandrade
Copy link

Running clang on SecureFoundation found a possible memory leak?

SecureFoundation/IMSCryptoUtils.m:303:5: Potential leak of memory pointed to by 'plaintext'
SecureFoundation/IMSCryptoUtils.m:260:7: Assuming 'ciphertext' is not equal to nil
SecureFoundation/IMSCryptoUtils.m:260:26: Assuming 'key' is not equal to nil
SecureFoundation/IMSCryptoUtils.m:278:21: Memory is allocated
SecureFoundation/IMSCryptoUtils.m:279:7: Assuming 'plaintext' is not equal to null
SecureFoundation/IMSCryptoUtils.m:290:7: Assuming 'status' is not equal to kCCSuccess
SecureFoundation/IMSCryptoUtils.m:303:5: Potential leak of memory pointed to by 'plaintext'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant