diff options
author | Matt Caswell <matt@openssl.org> | 2018-05-01 09:29:17 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2018-05-08 08:43:39 +0100 |
commit | 3d551b20df1acd01f80d3ae00d37177e0fdf344a (patch) | |
tree | d480b063cc81fd3d432ef4c69a0f8ab49b049cf7 /test/recipes | |
parent | 4ffc1842fa7da63b42da0e9553ebee33e2e173aa (diff) |
Fix a mem leak in CMS
The function CMS_RecipientInfo_set0_pkey() is a "set0" and therefore
memory management passes to OpenSSL. If the same function is called again
then we should ensure that any previous value that was set is freed first
before we set it again.
Fixes #5052
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6142)
Diffstat (limited to 'test/recipes')
0 files changed, 0 insertions, 0 deletions