[Bug binutils/17510] strings: crash when given a truncated ELF

2014-10-28 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=17510 --- Comment #10 from 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

[Bug binutils/17510] strings: crash when given a truncated ELF

2014-10-28 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=17510 --- Comment #9 from 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,

[Bug binutils/17510] strings: crash when given a truncated ELF

2014-10-27 Thread sch...@linux-m68k.org
https://sourceware.org/bugzilla/show_bug.cgi?id=17510 --- Comment #8 from Andreas Schwab --- This should fix it: diff --git a/bfd/srec.c b/bfd/srec.c index 9ed2080..0c473b2 100644 --- a/bfd/srec.c +++ b/bfd/srec.c @@ -452,7 +452,7 @@ srec_scan (bfd *abfd) case 'S': { file_pt

[Bug binutils/17510] strings: crash when given a truncated ELF

2014-10-27 Thread lcamtuf at coredump dot cx
https://sourceware.org/bugzilla/show_bug.cgi?id=17510 --- Comment #7 from Michal Zalewski --- Do you want me to file separate bugs for each? For example, I have this in srec.c: char buf[10]; ... sprintf (buf, "\\%03o", (unsigned int) c); But with this test case, c will be -44, or

[Bug binutils/17510] strings: crash when given a truncated ELF

2014-10-27 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17510 --- Comment #6 from Nick Clifton --- oops - sorry, I meant "Michal" not "Markus". Sorry Michal. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailin

[Bug binutils/17510] strings: crash when given a truncated ELF

2014-10-27 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17510 Nick Clifton changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug binutils/17510] strings: crash when given a truncated ELF

2014-10-27 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17510 Nick Clifton changed: What|Removed |Added CC||nickc at redhat dot com --- Comment #4

[Bug binutils/17510] strings: crash when given a truncated ELF

2014-10-27 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=17510 --- Comment #3 from 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,

[Bug binutils/17510] strings: crash when given a truncated ELF

2014-10-25 Thread lcamtuf at coredump dot cx
https://sourceware.org/bugzilla/show_bug.cgi?id=17510 --- Comment #2 from Michal Zalewski --- Created attachment 7848 --> https://sourceware.org/bugzilla/attachment.cgi?id=7848&action=edit Test case #2 Note that range checking problems are somewhat endemic across the function; here's a test ca

[Bug binutils/17510] strings: crash when given a truncated ELF

2014-10-25 Thread allan at archlinux dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=17510 Allan McRae changed: What|Removed |Added CC||allan at archlinux dot org -- You are

[Bug binutils/17510] strings: crash when given a truncated ELF

2014-10-24 Thread vapier at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=17510 Mike Frysinger changed: What|Removed |Added Summary|probably exploitable crash |strings: crash when given a