]> git.ipfire.org Git - thirdparty/openssl.git/commit
param bld: avoid freeing the param builder structure on error paths.
authorPauli <paul.dale@oracle.com>
Sun, 26 Apr 2020 21:32:43 +0000 (07:32 +1000)
committerPauli <paul.dale@oracle.com>
Thu, 30 Apr 2020 10:21:16 +0000 (20:21 +1000)
commit92f0684d11de6e7ff35cd14d26160545451d1ea6
tree695797875d2bc99422b5c86cf009eff4f30a44d4
parentbb4f39114caabbc11caf7840db7bfcd2bf2ff430
param bld: avoid freeing the param builder structure on error paths.

The param builder was recently modified so that it doesn't free the passed in
param builder structure.  Some of the error paths didn't get synced up with this
change and resulted in double frees.

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/11651)
crypto/param_build.c