From cdb9ba84191ce72e86346fb8b1d906e7cd930ea2 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Fri, 31 Jan 2025 12:16:30 -0500 Subject: assert: Add test for CVE-2025-0395 Use the __progname symbol to override the program name to induce the failure that CVE-2025-0395 describes. This is related to BZ #32582 Signed-off-by: Siddhesh Poyarekar Reviewed-by: Adhemerval Zanella --- assert/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'assert/Makefile') diff --git a/assert/Makefile b/assert/Makefile index 65b9d0768e..8d106d8752 100644 --- a/assert/Makefile +++ b/assert/Makefile @@ -39,6 +39,7 @@ tests := \ test-assert-perr \ tst-assert-c++ \ tst-assert-g++ \ + tst-assert-sa-2025-0001 \ # tests ifeq ($(have-cxx-thread_local),yes) -- cgit v1.2.3