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

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


  Branch: refs/heads/openssl-3.1
  Home:   https://github.com/openssl/openssl
  Commit: 4700b80d7c6d8adb8d1df100c6d43733d5e8e3d4
      https://github.com/openssl/openssl/commit/4700b80d7c6d8adb8d1df100c6d43733d5e8e3d4
  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: f0af262bd8d0303568437ebbae3ed2bc9b0834fc
      https://github.com/openssl/openssl/commit/f0af262bd8d0303568437ebbae3ed2bc9b0834fc
  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/2c83dedef6ad...f0af262bd8d0


More information about the openssl-commits mailing list