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: yumkam+binutils at gmail dot com
Subject: [Bug binutils/18750] Stack buffer overflow when printing bad bytes in Intel Hex objects
Date: Fri, 31 Jul 2015 20:47:46 +0000

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

Yuriy Kaminskiy <yumkam+binutils at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #8469|0                           |1
        is obsolete|                            |

--- Comment #6 from Yuriy Kaminskiy <yumkam+binutils at gmail dot com> ---
Created attachment 8470
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8470&action=edit
Fix incorrect escape sequence on platform with signed char (v3)

... and similar bug (but just incorrect output, without stack overflow) in
binutils/readelf.c (process_mips_specific).
(all other `git grep '%03o'` instances looks safe).

Re: tyhicks (#5): wrong, look carefully at srec.c:

L299  int c;
...
L457        char hdr[3];
...
L473        c = hdr[1];
...
L476        srec_bad_byte (abfd, lineno, c, error);
*BOOM*

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