[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/11302] Segfault in _bfd_dwarf2_find_nearest_line
From: |
amodra at gmail dot com |
Subject: |
[Bug binutils/11302] Segfault in _bfd_dwarf2_find_nearest_line |
Date: |
4 Mar 2010 04:03:09 -0000 |
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2010-03-04
04:02 -------
Subject: Bug 11302
CVSROOT: /cvs/src
Module name: src
Changes by: address@hidden 2010-03-04 04:01:53
Modified files:
bfd : ChangeLog dwarf2.c
Log message:
PR 11302
* dwarf2.c (read_abbrevs): Return NULL on alloc failures.
(read_attribute_value, decode_line_info): Likewise.
(add_line_info, read_rangelist): Return FALSE on alloc failures.
(arange_add, sort_line_sequences): Likewise.
(find_abstract_instance_name): Handle failures from called funcs.
(scan_unit_for_symbols, parse_comp_unit, decode_line_info): Likewise.
(find_line): Realloc to a temp, and handle alloc fail.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.4947&r2=1.4948
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/dwarf2.c.diff?cvsroot=src&r1=1.130&r2=1.131
------- Additional Comments From amodra at gmail dot com 2010-03-04 04:03
-------
Fixed I think. Please reopen if I've missed something.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=11302
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.