bug-binutils
[Top][All Lists]
Advanced

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

[Bug gprof/29100] Buffer overflow when read function mapping file


From: yguoaz at gmail dot com
Subject: [Bug gprof/29100] Buffer overflow when read function mapping file
Date: Tue, 16 Aug 2022 11:58:42 +0000

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

yguoaz at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INVALID                     |---
             Status|RESOLVED                    |UNCONFIRMED

--- Comment #3 from yguoaz at gmail dot com ---
(In reply to yguoaz from comment #2)
> (In reply to Alan Modra from comment #1)
> > The calculation would need to overflow a size_t, not an int.
> 
> Hi, sizeof(size_t) == sizeof(int) may hold in certain platforms (e.g., a 32
> bit machine). In that case, the overflow will happen and the size will wrap
> to a small value.

Changing the status to unconfirmed.

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