]> 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:05:01 +0000 (12:05 +0100)
commit6666389e0c9fea706437947324881acfba4d23ac
tree5bb3654cd0e6eda8767cfb48dbf2389d365dc7c4
parent52413a7bb3357061cf7a4864e60fae14ffa966b3
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)

(cherry picked from commit 7fa51041e4d68838b2c7ddf4f77d6bba0edf2735)
crypto/rand/rand_lib.c
test/conf_include_test.c