]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix test failure in 90-test_memleak.t
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Fri, 27 Dec 2024 22:02:47 +0000 (23:02 +0100)
committerTomas Mraz <tomas@openssl.org>
Mon, 6 Jan 2025 19:50:24 +0000 (20:50 +0100)
commit6a6c451f8e756067cdd3d0893034fb633060006a
tree6ac1dfd3e087d99242af590c4e62a2ab9f458f35
parent2879d18ccd7fd078458ad4a432d7a0d0d9df6b83
Fix test failure in 90-test_memleak.t

recent gcc versions can optimize the memory leak away,
avoid that by declaring the lost variable to be volatile.

Reviewed-by: Saša Nedvědický <sashan@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26269)

(cherry picked from commit eeb3266ebba6d70df31f20e4ebd46065fc917ce5)
test/memleaktest.c