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)
(cherry picked from commit
31eb872cb21449832ab47ad5db83281d240e1d03
and commits adding support_need_proc & xgetline)
Gbp-Pq: Topic any
Gbp-Pq: Name local-CVE-2025-0395-2.diff