bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/29653] objcopy/strip: fuzzed small input file induces larg


From: amodra at gmail dot com
Subject: [Bug binutils/29653] objcopy/strip: fuzzed small input file induces large output file
Date: Thu, 06 Oct 2022 12:50:44 +0000

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

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|objcopy/strip: small input  |objcopy/strip: fuzzed small
                   |file induces large output   |input file induces large
                   |file                        |output file

--- Comment #1 from Alan Modra <amodra at gmail dot com> ---
Your input file is fuzzed.  It is internally inconsistent.  It would never be
produced by any PE linker.  So I think the output from objcopy is acceptable.
Also, it won't fill up a user's disk if the file system supports sparse files.

However, we probably should be doing some more sanity checking on the PE
opthdr.

-- 
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]