[Bug binutils/22894] integer overflow in parse_die

2018-03-31 Thread jeremip11 at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22894

Jeremi  changed:

   What|Removed |Added

 CC||jeremip11 at gmail dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/22894] integer overflow in parse_die

2018-02-28 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22894

Nick Clifton  changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution|--- |FIXED

--- Comment #5 from Nick Clifton  ---
Patch applied.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/22894] integer overflow in parse_die

2018-02-28 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=22894

--- Comment #4 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by Nick Clifton :

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

commit eef104664efb52965d85a28bc3fc7c77e52e48e2
Author: Nick Clifton 
Date:   Wed Feb 28 10:13:54 2018 +

Fix potential integer overflow when reading corrupt dwarf1 debug
information.

PR 22894
* dwarf1.c (parse_die): Check the length of form blocks before
advancing the data pointer.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/22894] integer overflow in parse_die

2018-02-27 Thread luanjunchao at 163 dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22894

--- Comment #3 from skysider  ---
The patch works.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/22894] integer overflow in parse_die

2018-02-27 Thread luanjunchao at 163 dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22894

--- Comment #2 from skysider  ---
 I test it in 32bit machine. I wonder if you compile in 32bit mode and it seems
that it only crashes in 32 bit .

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/22894] integer overflow in parse_die

2018-02-27 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22894

Nick Clifton  changed:

   What|Removed |Added

 Status|UNCONFIRMED |WAITING
   Last reconfirmed||2018-02-27
 CC||nickc at redhat dot com
   Assignee|unassigned at sourceware dot org   |nickc at redhat dot com
 Ever confirmed|0   |1

--- Comment #1 from Nick Clifton  ---
Created attachment 10856
  --> https://sourceware.org/bugzilla/attachment.cgi?id=10856=edit
Proposed patch

Hi Skysider,

  Unfortunately I could not reproduce the failure that you reported,
  but I do agree that integer overflow could occur at that point in
  the code.  So please could you try out this patch and let me know
  if it solves the problem for you.

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils