]> git.ipfire.org Git - thirdparty/openssl.git/commit
Use OPENSSL_strdup instead of strdup
authorAndrew Dinh <andrewd@openssl.org>
Thu, 20 Feb 2025 06:59:07 +0000 (13:59 +0700)
committerTomas Mraz <tomas@openssl.org>
Fri, 21 Feb 2025 10:21:48 +0000 (11:21 +0100)
commit8d69f4005b51794255b255d676932107873c346e
treea2ab7f2e7f474ec5fde9a5e90bee573568812e93
parent26fc6da358fe8667f55827ee9fe005a8c07b2c52
Use OPENSSL_strdup instead of strdup

Fixes https://scan5.scan.coverity.com/#/project-view/62507/10222?selectedIssue=1643038

Also NULL check for the allocation.

Reviewed-by: Saša Nedvědický <sashan@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26843)
test/quicapitest.c