diff options
author | Nick Clifton <nickc@redhat.com> | 2017-04-28 11:21:53 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2017-04-28 11:21:53 +0100 |
commit | 4e3afec278d1fb55b983751d02119f65566bd094 (patch) | |
tree | 02ebb08c7bf06f6860b1dc9d1c3eddaa9df6af7b /gdb/p-lang.c | |
parent | d949ff5607b9f595e0eed2ff15fbe5eb84eb3a34 (diff) | |
download | binutils-4e3afec278d1fb55b983751d02119f65566bd094.zip binutils-4e3afec278d1fb55b983751d02119f65566bd094.tar.gz binutils-4e3afec278d1fb55b983751d02119f65566bd094.tar.bz2 |
Fix heap-buffer address violation when reading version data from a corrupt binary.
PR binutils/21437
* readelf.c (process_version_sections): Check for underflow when
computing the start address of the auxillary version data.
Diffstat (limited to 'gdb/p-lang.c')
0 files changed, 0 insertions, 0 deletions