]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - binutils/ChangeLog
PR27836, readelf -w pointer comparison UB
authorAlan Modra <amodra@gmail.com>
Tue, 11 May 2021 08:27:04 +0000 (17:57 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 12 May 2021 11:40:33 +0000 (21:10 +0930)
commit0d872fca0293041a5cb7c54a4a04855323563d8e
tree6fe20b1324133b5a13ed5a9598d3bfb6a06fe5dd
parentee35ce8200dcd1754061d5dc90fb53f9504c6394
PR27836, readelf -w pointer comparison UB

PR 27836
* dwarf.c (display_debug_frames): Don't compare pointers derived
from user input.  Test offset against bounds instead.
binutils/ChangeLog
binutils/dwarf.c