bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/28530] Hang in objdump on machine with 196GB RAM


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/28530] Hang in objdump on machine with 196GB RAM
Date: Fri, 05 Nov 2021 03:55:12 +0000

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

--- Comment #9 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Alan Modra <amodra@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c5967f38de59c7375970c09b2c8b8702a01eb9d2

commit c5967f38de59c7375970c09b2c8b8702a01eb9d2
Author: Alan Modra <amodra@gmail.com>
Date:   Fri Nov 5 14:07:56 2021 +1030

    PR28530, Hang in objdump on machine with 196GB RAM

    Investigating the PR28530 testcase, which has a fuzzed compression
    header with an enormous size, I noticed that decompress_contents is
    broken when the size doesn't fit in strm.avail_out.  It wouldn't be
    too hard to support larger sizes (patches welcome!) but for now just
    stop decompress_contents from returning rubbish.

            PR 28530
            * compress.c (decompress_contents): Fail when uncompressed_size
            is too big.
            (bfd_init_section_decompress_status): Likewise.

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