diff options
author | Richard Levitte <levitte@openssl.org> | 2017-01-29 08:52:02 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2017-01-29 15:31:01 +0100 |
commit | d85d3c993e322d3e4c3f00be2910faa8c55b40e3 (patch) | |
tree | 563c5e2f6ffd792563613822d2a138d793c915ac /config | |
parent | 31b69e9a26c5b127ce273bc5834b9e13e5e25556 (diff) |
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)
Diffstat (limited to 'config')
0 files changed, 0 insertions, 0 deletions