bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/18750] Stack buffer overflow when printing bad bytes in In


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/18750] Stack buffer overflow when printing bad bytes in Intel Hex objects
Date: Tue, 04 Aug 2015 15:53:31 +0000

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

--- Comment #12 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Nick Clifton <address@hidden>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7e27a9d5f22f9f7ead11738b1546d0b5c737266b

commit 7e27a9d5f22f9f7ead11738b1546d0b5c737266b
Author: Yuriy M. Kaminskiy <address@hidden>
Date:   Tue Aug 4 16:51:53 2015 +0100

    Fix stack buffer overflows when parsing corrupt ihex files.

        PR binutils/18750
        * ihex.c (ihex_scan): Fixes incorrect escape sequence in error message
        and stack overflow when char is signed and \200-\376 was in place of
hex
        digit; also fixes \377 was handled as EOF instead of "incorrect
character".
        (ihex_read_section): Changed for consistency.
        (ihex_bad_byte): Prevent (now impossible to trigger) stack
        overflow and incorrect escape sequence handling.
        * srec.c (srec_bad_byte): Likewise.

        * readelf.c (process_mips_specific): Fix incorrect escape
        sequence handling.

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