]> git.ipfire.org Git - thirdparty/openssl.git/commit
Use OPENSSL_strdup() for strings freed by OPENSSL_free()
authorsashan <anedvedicky@gmail.com>
Wed, 26 Mar 2025 08:37:01 +0000 (09:37 +0100)
committerTomas Mraz <tomas@openssl.org>
Thu, 27 Mar 2025 11:03:55 +0000 (12:03 +0100)
commit7fa51041e4d68838b2c7ddf4f77d6bba0edf2735
tree49ff2ad8e5943b7ad8106fa68a4b918fbb9cf21a
parent50f945117c12219f52fc76d17154663fc749812d
Use OPENSSL_strdup() for strings freed by OPENSSL_free()

Things can get messy when application decides to use it's own memory
allocation functions using CRYPTO_set_mem_functions(3ossl)

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27163)
crypto/rand/rand_lib.c
test/conf_include_test.c