]> git.ipfire.org Git - thirdparty/glibc.git/commit
assert: Add test for CVE-2025-0395
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Fri, 31 Jan 2025 17:16:30 +0000 (12:16 -0500)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Thu, 13 Feb 2025 17:54:51 +0000 (12:54 -0500)
commitf6d48470aef9264d2d56f4c4533eb76db7f9c2e4
treedc07064f49809c205fb49e3c2b18ae21f42b8082
parent662516aca8b6bf6aa6555f471055d5eb512b1ddc
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)
assert/Makefile
assert/tst-assert-sa-2025-0001.c [new file with mode: 0644]