openssl/crypto/ct
Richard Levitte d85d3c993e Fix faulty free
On error, i2o_SCT_signature() and i2o_SCT() free a pointer that may
have wandered off from the start of the allocated block (not currently
true for i2o_SCT_signature(), but has that potential as the code may
change.  To avoid this, save away the start of the allocated block and
free that instead.

Thanks to Guido Vranken for reporting this issue.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2323)
2017-01-29 15:31:01 +01:00
..
build.info
ct_b64.c
ct_err.c
ct_locl.h
ct_log.c
ct_oct.c
ct_policy.c
ct_prn.c
ct_sct_ctx.c
ct_sct.c
ct_vfy.c
ct_x509v3.c