diff options
author | Nick Clifton <nickc@redhat.com> | 2019-11-21 17:02:40 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2019-11-21 17:04:05 +0000 |
commit | b52696f9e567da157b152ae641f064507f993969 (patch) | |
tree | db1a4f473dd5440326326ab69447f36bb0cb71b9 /gdb/p-valprint.c | |
parent | 2e84f897e51ee67ab8d3ddf848c4a2bfebbd7173 (diff) | |
download | binutils-gdb-b52696f9e567da157b152ae641f064507f993969.tar.gz |
Fix potentially undefined behaviour in the linker when parsing input statements.
* ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Check for an empty
file chain before examining the first input statement.
Diffstat (limited to 'gdb/p-valprint.c')
0 files changed, 0 insertions, 0 deletions