https://sourceware.org/bugzilla/show_bug.cgi?id=24055
--- Comment #8 from Wolfgang Thaller ---
Not quite yet...
* The XCOFF specification seems quite clear that a C_FILE symbol can contain up
to four different strings in four different aux entries, and in fact I have a
few files with four aux en
https://sourceware.org/bugzilla/show_bug.cgi?id=24055
--- Comment #6 from Wolfgang Thaller ---
So... here are my findings...
The code handling multiple aux entries was introduced on 1999-05-10 to handle
an undocumented feature of Microsoft's PE format:
1999-05-10 DJ Delorie
[...]
https://sourceware.org/bugzilla/show_bug.cgi?id=24055
--- Comment #5 from Wolfgang Thaller ---
I'll have some free time left this weekend, so I'll have another look at those
call sites and report back.
--
You are receiving this mail because:
You are on the CC list for the bug.
_
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: wolfgang.thaller at gmx dot net
Target Milestone: ---
Created attachment 11510
--> https://sourceware.org/bugzilla/attachment.cgi?id=11510&action=edit
a possible f
https://sourceware.org/bugzilla/show_bug.cgi?id=24055
--- Comment #3 from Wolfgang Thaller ---
Comment on attachment 11507
--> https://sourceware.org/bugzilla/attachment.cgi?id=11507
Proposed patch
There are also some minor problems with your proposed patch:
* The assert checks < sizeof(AUXEN
https://sourceware.org/bugzilla/show_bug.cgi?id=24055
--- Comment #2 from Wolfgang Thaller ---
Probably won't work for me; I added an assert myself at first and it did in
fact trigger. I am working with an old XCOFF file provided by Apple back in the
90s, and it contains a C_FILE with a total of
https://sourceware.org/bugzilla/show_bug.cgi?id=24055
Wolfgang Thaller changed:
What|Removed |Added
CC||wolfgang.thaller at gmx dot net
: ld
Assignee: unassigned at sourceware dot org
Reporter: wolfgang.thaller at gmx dot net
Target Milestone: ---
Created attachment 11506
--> https://sourceware.org/bugzilla/attachment.cgi?id=11506&action=edit
Patch to avoid a buffer overflow.
Affected: 32-bit XCOFF (Po
https://sourceware.org/bugzilla/show_bug.cgi?id=19153
Wolfgang Thaller changed:
What|Removed |Added
CC||wolfgang.thaller at gmx dot net