commit | ba4341316ce762f917f973bb4ac604062fb11724 | [log] [tgz] |
---|---|---|
author | Richard Levitte <levitte@openssl.org> | Thu Jun 20 10:38:46 2019 +0200 |
committer | Richard Levitte <levitte@openssl.org> | Thu Jun 20 18:19:06 2019 +0200 |
tree | 85c07fed6d0a2cb1c89b2088f85c60fe3d5265d4 | |
parent | 7a5f5fd32a58e6c70cc0ce05a7d7391e4968663e [diff] |
test/testutil/init.c, apps/openssl.c: add trace cleanup handle earlier It turned out that the internal trace cleanup handler was added too late, so it would be executed before OPENSSL_cleanup(). This results in address errors, as the trace code that's executed in OPENSSL_cleanup() itself tries to reach for data that's been freed at that point. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9196)