]> 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:46:08 +0000 (20:46 +0100)
commiteeb3266ebba6d70df31f20e4ebd46065fc917ce5
treee2348e6ed80b75962e6b885708989fe4fdfb7d6e
parent9861be4eef925ec1751765f8138ad81e0632234f
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)
test/memleaktest.c