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 MSBLOB & PVK: Make it possible to write EVP_PKEYs with provided internal key 2020-12-17 12:02:08 +01:00
e_afalg_err.c ERR: Rebuild all generated error headers and source files 2020-11-24 15:22:33 +01:00
e_afalg_err.h Update copyright year 2021-02-18 15:05:17 +00:00
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 Update copyright year 2021-02-18 15:05:17 +00:00
e_capi_err.c ERR: Rebuild all generated error headers and source files 2020-11-24 15:22:33 +01:00
e_capi_err.h Update copyright year 2021-02-18 15:05:17 +00:00
e_capi.c Don't clear the whole error stack when loading engines 2020-11-06 10:34:48 +00:00
e_capi.ec
e_capi.txt Update copyright year 2021-02-18 15:05:17 +00:00
e_dasync_err.c ERR: Rebuild all generated error headers and source files 2020-11-24 15:22:33 +01:00
e_dasync_err.h Update copyright year 2021-02-18 15:05:17 +00:00
e_dasync.c Don't clear the whole error stack when loading engines 2020-11-06 10:34:48 +00:00
e_dasync.ec
e_dasync.txt Update copyright year 2021-02-18 15:05:17 +00:00
e_devcrypto.c Fix build of /dev/crypto engine with no-dynamic-engine option 2021-03-01 12:02:42 +01:00
e_loader_attic_err.c STORE: Move the built-in 'file:' loader to become an engine module 2020-09-03 17:48:32 +02:00
e_loader_attic_err.h Update copyright year 2021-02-18 15:05:17 +00:00
e_loader_attic.c engine: fix double free on error path. 2021-04-21 09:17:22 +10:00
e_loader_attic.ec STORE: Move the built-in 'file:' loader to become an engine module 2020-09-03 17:48:32 +02:00
e_loader_attic.txt Update copyright year 2021-02-18 15:05:17 +00:00
e_ossltest_err.c ERR: Rebuild all generated error headers and source files 2020-11-24 15:22:33 +01:00
e_ossltest_err.h Update copyright year 2021-02-18 15:05:17 +00:00
e_ossltest.c Add test to demonstrate the app's new engine key loading 2020-12-02 20:19:41 +01:00
e_ossltest.ec
e_ossltest.txt Update copyright year 2021-02-18 15:05:17 +00:00
e_padlock.c Don't clear the whole error stack when loading engines 2020-11-06 10:34:48 +00:00