bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/17453] Two issues found by AddressSanitizer


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/17453] Two issues found by AddressSanitizer
Date: Tue, 14 Oct 2014 04:52:32 +0000

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

--- Comment #5 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".

The branch, master has been updated
       via  65879393f04e14a9ab8797a8e66e0ec8d94108b5 (commit)
      from  9495b2e66f772783eb89cfa755e1e09641fa44eb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

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

commit 65879393f04e14a9ab8797a8e66e0ec8d94108b5
Author: Alan Modra <address@hidden>
Date:   Tue Oct 14 13:36:20 2014 +1030

    Avoid undefined behaviour with signed expressions

        PR 17453
    bfd/
        * libbfd.c (COERCE16, COERCE32, COERCE64): Use unsigned types.
        (EIGHT_GAZILLION): Delete.
    binutils/
        * dwarf.c (read_leb128): Avoid signed overflow.
        (read_debug_line_header): Likewise.
    gas/
        * config/tc-i386.c (fits_in_signed_long): Use unsigned param and
        expression to avoid signed overflow.
        (fits_in_signed_byte, fits_in_unsigned_byte, fits_in_unsigned_word,
        fits_in_signed_word, fits_in_unsigned_long): Similarly.
        * expr.c (operand <'-'>): Avoid signed overflow.
        * read.c (s_comm_internal): Likewise.

-----------------------------------------------------------------------

Summary of changes:
 bfd/ChangeLog        |    6 ++++++
 bfd/libbfd.c         |    7 +++----
 binutils/ChangeLog   |    6 ++++++
 binutils/dwarf.c     |    8 ++------
 gas/ChangeLog        |   10 ++++++++++
 gas/config/tc-i386.c |   25 ++++++++++++-------------
 gas/expr.c           |    3 ++-
 gas/read.c           |    2 +-
 gas/write.c          |    2 +-
 9 files changed, 43 insertions(+), 26 deletions(-)

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