[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/24238] size: Out of memory in libbfd
From: |
amodra at gmail dot com |
Subject: |
[Bug binutils/24238] size: Out of memory in libbfd |
Date: |
Tue, 19 Feb 2019 22:51:52 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=24238
Alan Modra <amodra at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |amodra at gmail dot com
Resolution|--- |WONTFIX
--- Comment #1 from Alan Modra <amodra at gmail dot com> ---
This is a different testcase and different out of memory condition to pr24233.
Unlike pr24233 we report an out of memory error. I think that is perfectly
good behaviour for user input with silly sizes, in this case a NOTE section
claiming to be 0xfffff7dd00 bytes in size. While we could test for silly
section sizes by comparing against file size, that doesn't work in all
situations, eg. when section contents are encoded and the decoded size is much
larger than the raw size.
--
You are receiving this mail because:
You are on the CC list for the bug.