[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/22127] as segfaults assembling invalid .reloc
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug gas/22127] as segfaults assembling invalid .reloc |
Date: |
Thu, 14 Sep 2017 04:46:53 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=22127
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The master branch has been updated by Alan Modra <address@hidden>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2578f2f307f7e80caa0bce32c7fa880d579e736b
commit 2578f2f307f7e80caa0bce32c7fa880d579e736b
Author: Alan Modra <address@hidden>
Date: Thu Sep 14 10:19:31 2017 +0930
PR22127, as segfaults assembling invalid .reloc
"sec" gets set to NULL on errors in the offset expression. This patch
disables part of the reloc expression processing that needs "sec"
valid. I didn't disable the entire reloc expression handling so that
errors in the reloc expression are reported even when the offset
expression has an error.
PR 22127
* write.c (resolve_reloc_expr_symbols): Don't segfault when
sec has been set to NULL.
--
You are receiving this mail because:
You are on the CC list for the bug.