diff options
| author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2025-01-31 12:16:30 -0500 |
|---|---|---|
| committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2025-02-13 12:46:50 -0500 |
| commit | d6c156c326999f144cb5b73d29982108d549ad8a (patch) | |
| tree | c7e384db02a8be49f3494aec7ff2fd41e86979b6 /assert/Makefile | |
| parent | e899ca3651f8c5e01bf3420cfb34aad97d093f74 (diff) | |
| download | glibc-d6c156c326999f144cb5b73d29982108d549ad8a.tar.xz glibc-d6c156c326999f144cb5b73d29982108d549ad8a.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>
(cherry picked from commit cdb9ba84191ce72e86346fb8b1d906e7cd930ea2)
Diffstat (limited to 'assert/Makefile')
| -rw-r--r-- | assert/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/assert/Makefile b/assert/Makefile index 35dc908ddb..c0fe660bd6 100644 --- a/assert/Makefile +++ b/assert/Makefile @@ -38,6 +38,7 @@ tests := \ test-assert-perr \ tst-assert-c++ \ tst-assert-g++ \ + tst-assert-sa-2025-0001 \ # tests ifeq ($(have-cxx-thread_local),yes) |
