bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/22246] memory allocation failure


From: amodra at gmail dot com
Subject: [Bug binutils/22246] memory allocation failure
Date: Thu, 05 Oct 2017 08:00:19 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=22246

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |amodra at gmail dot com
         Resolution|---                         |WONTFIX

--- Comment #2 from Alan Modra <amodra at gmail dot com> ---
The difficulty in doing anything about this class of bug is that objdump and
other binutils can't make a decision on what constitutes an unreasonable
section size.  We tried testing against file size but that doesn't work.  Some
formats encode section contents; For those you can easily have a section of
size greater than the total object file size.

So we have to trust that the operating system will behave gracefully if objdump
asks for a very large memory buffer.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]