aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.btrace
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2017-06-21 18:05:44 +0100
committerNick Clifton <nickc@redhat.com>2017-06-21 18:05:44 +0100
commit7f2c8a1d37af46c46828909b7b748c79aa4b7ff0 (patch)
tree09ade7d4590196f880186beeac8310999778cb8e /gdb/testsuite/gdb.btrace
parent2c6b98ea6fcc1358639253d4e96c9b55a672fb0c (diff)
downloadgdb-7f2c8a1d37af46c46828909b7b748c79aa4b7ff0.zip
gdb-7f2c8a1d37af46c46828909b7b748c79aa4b7ff0.tar.gz
gdb-7f2c8a1d37af46c46828909b7b748c79aa4b7ff0.tar.bz2
Fix address violation when reading corrupt DWARF data.
PR binutils/21648 * dwarf.c (LEB): Rename to SKIP_ULEB and READ_ULEB. Add check for reading a value that is too big for the containing variable. (SLEB): Rename to SKIP_SLEB and READ_SLEB. Add similar check. Replace uses of LEB and SLEB with appropriate new macro. (display_debug_frames): Use an unsigned int for the 'reg' variable. Use a signed long for the 'l' variable.
Diffstat (limited to 'gdb/testsuite/gdb.btrace')
0 files changed, 0 insertions, 0 deletions