commit | da34bb7139e1ab7437e90afa039bde26d1e8d3cd | [log] [tgz] |
---|---|---|
author | Pascal Bühler <pabuhler@cisco.com> | Mon Dec 14 10:55:52 2015 +0100 |
committer | Pascal Bühler <pabuhler@cisco.com> | Mon Dec 14 10:55:52 2015 +0100 |
tree | d9a71208d88974b375885e8b928a45084a2cc6c4 | |
parent | 857812594206f394f508906ad1ecfa09fe6d48c1 [diff] |
Prevent stack-buffer-overflow with gcc -fsanitize=address The value passed to srtp_aes_gcm_openssl_set_aad is not guarantied to be >= c->tag_len. Since the call to EVP_CIPHER_CTX_ctrl is a dummy call pass it a dummy tag that is large enough.