bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/31455] objcopy: invalid-free in bfd_init_section_compress_


From: nickc at redhat dot com
Subject: [Bug binutils/31455] objcopy: invalid-free in bfd_init_section_compress_status
Date: Tue, 19 Mar 2024 12:50:25 +0000

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

Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
           Assignee|unassigned at sourceware dot org   |nickc at redhat dot com
                 CC|                            |nickc at redhat dot com
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #2 from Nick Clifton <nickc at redhat dot com> ---
Thanks for reporting this bug.

The issue was that the uncompressed section size was set to -1, so the BFD
library thought that the decompression had failed and so attempted to free a
buffer that had not actually been allocated.

I have checked in a small patch to fix the problem.

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