This commit is contained in:
committed by
Git OBS Bridge
parent
40483535cf
commit
22b5e126e6
29
fix-segmentation-fault-in-dwarf_decode_lines.patch
Normal file
29
fix-segmentation-fault-in-dwarf_decode_lines.patch
Normal file
@@ -0,0 +1,29 @@
|
||||
From: Jan Blunck <jblunck@suse.de>
|
||||
Subject: Fix segmentation fault in dwarf_decode_lines
|
||||
References: 439457
|
||||
|
||||
This patch fixes a segmentation fault:
|
||||
|
||||
Program received signal SIGSEGV, Segmentation fault.
|
||||
dwarf_decode_lines (lh=0xb61690, comp_dir=0x0, abfd=0xb04dd0,
|
||||
cu=0x7ffff0cf79f0, pst=0xd02c60) at dwarf2read.c:7012
|
||||
7012 if (fe->dir_index)
|
||||
|
||||
--
|
||||
---
|
||||
gdb/dwarf2read.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
Index: b/gdb/dwarf2read.c
|
||||
===================================================================
|
||||
--- a/gdb/dwarf2read.c
|
||||
+++ b/gdb/dwarf2read.c
|
||||
@@ -7075,7 +7075,7 @@ dwarf_decode_lines (struct line_header *
|
||||
}
|
||||
|
||||
/* Decode the table. */
|
||||
- while (!end_sequence)
|
||||
+ while (!end_sequence && (line_ptr < line_end))
|
||||
{
|
||||
op_code = read_1_byte (abfd, line_ptr);
|
||||
line_ptr += 1;
|
10
gdb.changes
10
gdb.changes
@@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 30 12:34:56 CET 2008 - olh@suse.de
|
||||
|
||||
- obsolete old -XXbit packages (bnc#437293)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 28 12:43:31 CET 2008 - jblunck@suse.de
|
||||
|
||||
- Fix segfault when reading line number program (bnc #439457).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 27 16:05:13 CET 2008 - schwab@suse.de
|
||||
|
||||
|
16
gdb.spec
16
gdb.spec
@@ -20,7 +20,7 @@
|
||||
Name: gdb
|
||||
Summary: The GNU Debugger
|
||||
Version: 6.8.50.20081007
|
||||
Release: 1
|
||||
Release: 2
|
||||
BuildRequires: bison dejagnu flex gcc-c++ gcc-fortran gcc-java gcc-objc python-devel readline-devel zlib-devel
|
||||
%if 0%{?suse_version} > 1020
|
||||
BuildRequires: libexpat-devel
|
||||
@@ -37,6 +37,14 @@ Url: http://www.gnu.org/software/gdb/
|
||||
License: GNU Free Documentation License, Version 1.2 (GFDL 1.2); GPL v2 or later; GPL v3 or later
|
||||
Group: Development/Tools/Debuggers
|
||||
AutoReqProv: on
|
||||
# bug437293
|
||||
%ifarch ppc64
|
||||
Obsoletes: gdb-64bit
|
||||
%endif
|
||||
%ifarch %ix86 ppc
|
||||
Obsoletes: gdb-32bit
|
||||
%endif
|
||||
#
|
||||
PreReq: %{install_info_prereq}
|
||||
%define sss -cvs
|
||||
Source: gdb-%{version}%{sss}.tar.bz2
|
||||
@@ -54,6 +62,7 @@ Patch10: expand-line-sal-maybe.diff
|
||||
Patch11: power7.diff
|
||||
Patch12: power7-gdbserver.diff
|
||||
Patch13: dwarf-decode-lines.diff
|
||||
Patch14: fix-segmentation-fault-in-dwarf_decode_lines.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@@ -127,6 +136,7 @@ Authors:
|
||||
%patch11 -p1
|
||||
%patch12 -p1
|
||||
%patch13
|
||||
%patch14 -p1
|
||||
|
||||
%build
|
||||
%ifarch %ix86 ia64 ppc ppc64 s390 s390x x86_64
|
||||
@@ -203,6 +213,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu Oct 30 2008 olh@suse.de
|
||||
- obsolete old -XXbit packages (bnc#437293)
|
||||
* Tue Oct 28 2008 jblunck@suse.de
|
||||
- Fix segfault when reading line number program (bnc #439457).
|
||||
* Mon Oct 27 2008 schwab@suse.de
|
||||
- Complain about invalid line number program.
|
||||
* Tue Oct 07 2008 schwab@suse.de
|
||||
|
Reference in New Issue
Block a user