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 unified build scheme: add build.info files 2016-02-01 12:46:58 +01:00
cms_asn1.c Fix gcc-7 warnings. 2017-05-11 19:39:38 +02:00
cms_att.c Constify some ASN1_OBJECT *obj input parameters 2016-08-04 17:02:48 +02:00
cms_cd.c Fix enable-zlib 2016-08-22 09:43:13 +01:00
cms_dd.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
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 Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
cms_io.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
cms_kari.c Useless header include of openssl/rand.h 2016-06-18 16:30:24 -04:00
cms_lcl.h Act on deprecation of LONG and ZLONG, step 2 2017-04-10 12:11:00 +02:00
cms_lib.c Fix spelling errors in CMS. 2017-05-27 14:15:24 +02:00
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