[Bug binutils/18750] Stack buffer overflow when printing bad bytes in Intel Hex objects

2015-08-01 Thread tyhicks at canonical dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18750 --- Comment #11 from Tyler Hicks --- Comment on attachment 8472 --> https://sourceware.org/bugzilla/attachment.cgi?id=8472 Fix incorrect escape sequence on platform with signed char (v5) This patch looks great. Thanks! -- You are receivin

[Bug binutils/18750] Stack buffer overflow when printing bad bytes in Intel Hex objects

2015-07-31 Thread tyhicks at canonical dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18750 --- Comment #9 from Tyler Hicks --- Comment on attachment 8471 --> https://sourceware.org/bugzilla/attachment.cgi?id=8471 Fix incorrect escape sequence on platform with signed char (v4) No problem! This patch looks good but I wonder why yo

[Bug binutils/18750] Stack buffer overflow when printing bad bytes in Intel Hex objects

2015-07-31 Thread tyhicks at canonical dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18750 --- Comment #7 from Tyler Hicks --- (In reply to Yuriy Kaminskiy from comment #6) > Created attachment 8470 [details] > Fix incorrect escape sequence on platform with signed char (v3) > > ... and similar bug (but just incorrect output, withou

[Bug binutils/18750] Stack buffer overflow when printing bad bytes in Intel Hex objects

2015-07-31 Thread tyhicks at canonical dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18750 --- Comment #5 from Tyler Hicks --- Yes, but srec.c gets it right by storing the bytes in an unsigned char instead of a signed one. I now think that ihex.c should also have this change, as well: diff --git a/bfd/ihex.c b/bfd/ihex.c index 8e66

[Bug binutils/18750] Stack buffer overflow when printing bad bytes in Intel Hex objects

2015-07-31 Thread tyhicks at canonical dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18750 --- Comment #2 from Tyler Hicks --- I've requested that a CVE be assigned for this issue: http://openwall.com/lists/oss-security/2015/07/31/6 -- You are receiving this mail because: You are on the CC list for the bug. ___

[Bug binutils/18750] Stack buffer overflow when printing bad bytes in Intel Hex objects

2015-07-31 Thread tyhicks at canonical dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18750 --- Comment #1 from Tyler Hicks --- Created attachment 8466 --> https://sourceware.org/bugzilla/attachment.cgi?id=8466&action=edit Fix stack buffer overflow when printing bad bytes in Intel Hex objects Here's a proposed patch to fix this bu

[Bug binutils/18750] New: Stack buffer overflow when printing bad bytes in Intel Hex objects

2015-07-31 Thread tyhicks at canonical dot com
: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: tyhicks at canonical dot com Target Milestone: --- Created attachment 8465 --> https://sourceware.org/bugzilla/attachment.cgi?id=8465&action=edit Buffer o