aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/data.t
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2026-01-28 18:08:09 +1030
committerAlan Modra <amodra@gmail.com>2026-01-28 18:38:48 +1030
commitea96771a0188a235645558ae10d6885c91c1ac00 (patch)
treead3cd88ed40c5f6f5d935450bdd5c9e554cd9ebd /ld/testsuite/ld-scripts/data.t
parent1f6f7f5083f6ff3fdc25d1a8b84bb3e34a5ea9db (diff)
downloadfsf-binutils-gdb-master.zip
fsf-binutils-gdb-master.tar.gz
fsf-binutils-gdb-master.tar.bz2
gas: segmentation fault in as_report_contextHEADmaster
After input_scrub_end when next_saved_file is NULL, it is possible that macro_nest will be non-zero on files with errors. If output_file_close then has an error and reports it with as_fatal we hit the segfault. PR 33746 * input_scrub.c (as_report_context): Don't assume next_saved_file is non-NULL. (as_where): Likewise.
Diffstat (limited to 'ld/testsuite/ld-scripts/data.t')
0 files changed, 0 insertions, 0 deletions