openssl/crypto/cms
Matt Caswell 3d551b20df 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)
2018-05-08 08:43:39 +01:00
..
build.info
cms_asn1.c
cms_att.c
cms_cd.c
cms_dd.c
cms_enc.c Update copyright year 2018-04-17 15:18:40 +02:00
cms_env.c Fix a mem leak in CMS 2018-05-08 08:43:39 +01:00
cms_err.c Set error code on alloc failures 2018-04-03 11:31:16 -04:00
cms_ess.c
cms_io.c
cms_kari.c
cms_lcl.h
cms_lib.c
cms_pwri.c Update copyright year 2018-04-17 15:18:40 +02:00
cms_sd.c Check for malloc failure 2017-11-27 14:47:42 -05:00
cms_smime.c Fix a mem leak in CMS 2018-05-08 08:43:39 +01:00