diff options
author | Nick Clifton <nickc@redhat.com> | 2018-02-28 11:50:49 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2018-02-28 11:53:06 +0000 |
commit | 12c963421d045a127c413a0722062b9932c50aa9 (patch) | |
tree | c708ba5d2f686c3fec620cc676ce54f704478770 /.gitignore | |
parent | 116acb2c268c89c89186673a7c92620d21825b25 (diff) | |
download | gdb-12c963421d045a127c413a0722062b9932c50aa9.zip gdb-12c963421d045a127c413a0722062b9932c50aa9.tar.gz gdb-12c963421d045a127c413a0722062b9932c50aa9.tar.bz2 |
Catch integer overflows/underflows when parsing corrupt DWARF FORM blocks.
PR 22895
PR 22893
* dwarf2.c (read_n_bytes): Replace size parameter with dwarf_block
pointer. Drop unused abfd parameter. Check the size of the block
before initialising the data field. Return the end pointer if the
size is invalid.
(read_attribute_value): Adjust invocations of read_n_bytes.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions