aboutsummaryrefslogtreecommitdiff
path: root/assert/Makefile
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2025-01-31 12:16:30 -0500
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2025-02-13 12:33:27 -0500
commitcdb9ba84191ce72e86346fb8b1d906e7cd930ea2 (patch)
treeebd43b812ab348e75e22e01a6bca7b3e376044b0 /assert/Makefile
parentb81252c4b9d8f624ce6519d38bfa7d77ec36f403 (diff)
downloadglibc-cdb9ba84191ce72e86346fb8b1d906e7cd930ea2.tar.xz
glibc-cdb9ba84191ce72e86346fb8b1d906e7cd930ea2.zip
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 <siddhesh@sourceware.org> Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'assert/Makefile')
-rw-r--r--assert/Makefile1
1 files changed, 1 insertions, 0 deletions
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)