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

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-09-23
           Assignee|unassigned at sourceware dot org   |amodra at gmail dot com
     Ever confirmed|0                           |1

--- Comment #2 from Alan Modra <amodra at gmail dot com> ---
I'm inclined to think that fuzzed binaries that cause huge memory allocations
are not something that the binutils project should be concerned about.  Your
binary says it has 3909091329 verneed entries, which on a 64-bit host are
stored internally in a 64 byte struct.  That's 250181845056 bytes.

On my system
bfd_zalloc2 (abfd=abfd@entry=0x714290, nmemb=3909091329, size=size@entry=64)
fails with ENOMEM.

I think that is a quite reasonable result.

However, this particular case can be easily detected so I'll fix it

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to