set_trace_data(): prevent double free on OPENSSL_strdup() failure
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Thu, 22 Dec 2022 10:42:14 +0000 (11:42 +0100)
committerHugo Landau <hlandau@openssl.org>
Tue, 24 Jan 2023 12:31:57 +0000 (12:31 +0000)
commit0fec2121c0c40d8b098896c9bdf629a48fbafa63
treeba6adea5628b24356a7c59d1c2c1dc13db09f62a
parent91b968bc8e4125a1202e7955961f8e7dfcd17513
set_trace_data(): prevent double free on OPENSSL_strdup() failure

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19959)
crypto/trace.c