diff options
author | Nick Clifton <nickc@redhat.com> | 2020-11-26 17:08:33 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2020-11-26 17:08:33 +0000 |
commit | 647cebce12a6b0a26960220caff96ff38978cf24 (patch) | |
tree | 79ae8b368be9c2e4fa7c4397f9e8f5216059d96f /gdb/rust-lang.c | |
parent | 239ca5e497dda2c151009d664d500086a5c2173a (diff) | |
download | gdb-647cebce12a6b0a26960220caff96ff38978cf24.zip gdb-647cebce12a6b0a26960220caff96ff38978cf24.tar.gz gdb-647cebce12a6b0a26960220caff96ff38978cf24.tar.bz2 |
Prevent a memory allocation failure when parsing corrupt DWARF debug sections.
PR 26946
* dwarf2.c (read_section): Check for debug sections with excessive
sizes.
Diffstat (limited to 'gdb/rust-lang.c')
0 files changed, 0 insertions, 0 deletions