Bug 22171 - heap-based buffer overflow in _bfd_safe_read_leb128 (libbfd.c)
Summary: heap-based buffer overflow in _bfd_safe_read_leb128 (libbfd.c)
Status: RESOLVED DUPLICATE of bug 22169
Alias: None
Product: binutils
Classification: Unclassified
Component: binutils (show other bugs)
Version: 2.30
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-21 13:23 UTC by Agostino Sarubbo
Modified: 2017-09-23 08:39 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments
stacktrace (1.22 KB, text/plain)
2017-09-21 13:23 UTC, Agostino Sarubbo
Details
testcase (10.83 KB, application/x-executable)
2017-09-21 13:23 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo 2017-09-21 13:23:36 UTC
Created attachment 10446 [details]
stacktrace

On master compiled today.
# nm -V
GNU nm (Gentoo git) 2.29.51.20170921


Command to reproduce:
# nm -A -a -l -S -s --special-syms --synthetic --with-symbol-versions -D $FILE


NOTE:
It may be a duplicate of bug 22169
Comment 1 Agostino Sarubbo 2017-09-21 13:23:58 UTC
Created attachment 10447 [details]
testcase
Comment 2 Alan Modra 2017-09-23 08:39:56 UTC
This is the same underlying problem at pr22169

*** This bug has been marked as a duplicate of bug 22169 ***