aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2019-01-28 17:17:59 +0000
committerMatt Caswell <matt@openssl.org>2019-01-29 11:08:18 +0000
commitfa6b1ee1115c1e5e3a8286d833dcbaa2c1ce2b77 (patch)
tree94f5af6e1bb67d3e44a8bffbb2783ce4a154a1b8 /test
parent6e826c471b7f0431391a4e9f9484f6ea2833774a (diff)
downloadopenssl-fa6b1ee1115c1e5e3a8286d833dcbaa2c1ce2b77.tar.gz
Don't leak memory from ERR_add_error_vdata()
If the call the ERR_set_error_data() in ERR_add_error_vdata() fails then a mem leak can occur. This commit checks that we successfully added the error data, and if not frees the buffer. Fixes #8085 Reviewed-by: Paul Yang <yang.yang@baishancloud.com> (Merged from https://github.com/openssl/openssl/pull/8105)
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions