bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/24005] objdump integer overflow in load_specific_debug_sec


From: tfx_sec at hotmail dot com
Subject: [Bug binutils/24005] objdump integer overflow in load_specific_debug_section
Date: Fri, 04 Jan 2019 14:14:16 +0000

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

--- Comment #4 from mhsec <tfx_sec at hotmail dot com> ---
(In reply to Nick Clifton from comment #3)
> Hi mhsec,
> 
>   Thanks for reporting this problem.  Unfortunately your proposed patch
>   will not work as it will prevent the tools from handling 64-bit binaries
>   with very large section sizes.
> 
>   Instead I have checked in an alternative patch which checks for integer
>   overflow before attempting to allocate any memory, which prevents the
>   heap corruption from happening.
> 
> Cheers
>   Nick

Hi Nick

I think the problem still exist if file size more than 0x100000000.

`amt > bfd_get_file_size (abfd)`

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