openssl/engines
Pauli efe8d69daa engine: fix double free on error path.
In function try_decode_PKCS8Encrypted, p8 is freed via X509_SIG_free() at line 481.
If function new_EMBEDDED() returns a null pointer at line 483, the execution will goto nop8.
In the nop8 branch, p8 is freed again at line 491.

Bug reported by @Yunlongs

Fixes #14915

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14921)
2021-04-21 09:17:22 +10:00
..
asm
build.info
e_afalg_err.c
e_afalg_err.h
e_afalg.c Add "origin" field to EVP_CIPHER, EVP_MD 2021-04-18 10:03:07 +02:00
e_afalg.ec
e_afalg.h
e_afalg.txt
e_capi_err.c
e_capi_err.h
e_capi.c
e_capi.ec
e_capi.txt
e_dasync_err.c
e_dasync_err.h
e_dasync.c
e_dasync.ec
e_dasync.txt
e_devcrypto.c
e_loader_attic_err.c
e_loader_attic_err.h
e_loader_attic.c engine: fix double free on error path. 2021-04-21 09:17:22 +10:00
e_loader_attic.ec
e_loader_attic.txt
e_ossltest_err.c
e_ossltest_err.h
e_ossltest.c
e_ossltest.ec
e_ossltest.txt
e_padlock.c