]> git.ipfire.org Git - thirdparty/openssl.git/commit
Validate the category in OSSL_trace_end()
authorMatt Caswell <matt@openssl.org>
Wed, 29 Dec 2021 13:42:58 +0000 (13:42 +0000)
committerPauli <pauli@openssl.org>
Tue, 4 Jan 2022 00:09:03 +0000 (11:09 +1100)
commitee8a61e158c42c327c3303101083422b9a7cc504
treed1fbff76c41aa719e84f4a3124584c23942323a0
parent0088ef48c3e7d9c68e5b3c75cb077da601d22f37
Validate the category in OSSL_trace_end()

OSSL_trace_end() should validate that the category it has been passed
by the caler is valid, and return immediately if not.

Fixes #17353

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17371)
crypto/trace.c