bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/31120] ld-scripts/fill2 fails when bfd_vma is 32 bits


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/31120] ld-scripts/fill2 fails when bfd_vma is 32 bits
Date: Fri, 05 Jan 2024 02:31:04 +0000

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

--- Comment #2 from Sourceware Commits <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=c217aed574216e6af34188ac8a9bf019539e415d

commit c217aed574216e6af34188ac8a9bf019539e415d
Author: Alan Modra <amodra@gmail.com>
Date:   Sun Dec 31 14:09:10 2023 +1030

    PR31120, ld-scripts/fill2 fails when bfd_vma is 32 bits

    The ld lexer converts strings to integers without overflow checking,
    so I don't think there is any problem in truncating an integer that
    exceeds the size of a bfd_vma rather than using (bfd_vma) -1.

            PR 31120
            * ldlex.l: Don't use bfd_scan_vma for integer conversion, use
            strtoull.

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