[openssl/openssl] a478dd: set_trace_data(): prevent double free on OPENSSL_s...

David von Oheimb noreply at github.com
Tue Jan 24 12:34:40 UTC 2023


  Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: a478dd11e9e827445e472c87288dfb77790d2d8e
      https://github.com/openssl/openssl/commit/a478dd11e9e827445e472c87288dfb77790d2d8e
  Author: Dr. David von Oheimb <David.von.Oheimb at siemens.com>
  Date:   2023-01-24 (Tue, 24 Jan 2023)

  Changed paths:
    M crypto/trace.c

  Log Message:
  -----------
  set_trace_data(): prevent double free on OPENSSL_strdup() failure

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

(cherry picked from commit 0fec2121c0c40d8b098896c9bdf629a48fbafa63)


  Commit: ce7193b123371035f60b820d7c7a98915bf57615
      https://github.com/openssl/openssl/commit/ce7193b123371035f60b820d7c7a98915bf57615
  Author: Dr. David von Oheimb <David.von.Oheimb at siemens.com>
  Date:   2023-01-24 (Tue, 24 Jan 2023)

  Changed paths:
    M doc/man3/OSSL_trace_set_channel.pod

  Log Message:
  -----------
  OSSL_trace_set_channel(): add important statement that it takes BIO ownership

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

(cherry picked from commit bfd5680e6be789fd554acf2ad34428816a644eec)


Compare: https://github.com/openssl/openssl/compare/a3dd46d2c639...ce7193b12337


More information about the openssl-commits mailing list