[insight] * Wed Dec 5 2012 Patrick Monnerat <pm at datasphere.ch> 7.4.50-5.20120403cvs - Patch "bz883591" to fix
Patrick Monnerat
monnerat at fedoraproject.org
Wed Dec 5 13:41:19 UTC 2012
commit edad47d0364ffa566508876aa09ae745a13d027f
Author: Patrick Monnerat <pm at datasphere.ch>
Date: Wed Dec 5 14:40:48 2012 +0100
* Wed Dec 5 2012 Patrick Monnerat <pm at datasphere.ch> 7.4.50-5.20120403cvs
- Patch "bz883591" to fix a segmentation fault.
https://bugzilla.redhat.com/show_bug.cgi?id=883591
insight-7.4.50-bz883591.patch | 12 ++++++++++++
insight.spec | 8 +++++++-
2 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/insight-7.4.50-bz883591.patch b/insight-7.4.50-bz883591.patch
new file mode 100644
index 0000000..9d1b328
--- /dev/null
+++ b/insight-7.4.50-bz883591.patch
@@ -0,0 +1,12 @@
+diff -Naur insight-7.4.50.orig/gdb/gdbtk/generic/gdbtk-bp.c insight-7.4.50.new/gdb/gdbtk/generic/gdbtk-bp.c
+--- insight-7.4.50.orig/gdb/gdbtk/generic/gdbtk-bp.c 2012-03-20 15:20:24.000000000 +0100
++++ insight-7.4.50.new/gdb/gdbtk/generic/gdbtk-bp.c 2012-12-05 14:10:23.442162600 +0100
+@@ -254,7 +254,7 @@
+ Tcl_SetListObj (result_ptr->obj_ptr, 0, NULL);
+ ALL_BREAKPOINTS (b)
+ {
+- if (b->loc->line_number == line
++ if (b->loc && b->loc->line_number == line
+ && !strcmp (b->loc->source_file, s->filename))
+ {
+ Tcl_ListObjAppendElement (NULL, result_ptr->obj_ptr,
diff --git a/insight.spec b/insight.spec
index 99482c3..411ac81 100644
--- a/insight.spec
+++ b/insight.spec
@@ -14,7 +14,7 @@
Name: insight
Version: %(echo %{ver} | tr - .)
-Release: 4.%{snap}cvs%{?dist}
+Release: 5.%{snap}cvs%{?dist}
Summary: Graphical debugger based on GDB
License: GPLv3+
Group: Development/Debuggers
@@ -53,6 +53,7 @@ Patch4: insight-7.4.50-acversion.patch
Patch5: insight-7.4.50-sig2dead.patch
Patch6: insight-7.4.50-sizesizet.patch
Patch7: insight-7.4.50-objalloc.patch
+Patch8: insight-7.4.50-bz883591.patch
# Some patches from gdb.
@@ -123,6 +124,7 @@ GDB version 6.x.
%patch5 -p1 -b .sig2dead
%patch6 -p1 -b .sizesizet
%patch7 -p1 -b .objalloc
+%patch8 -p1 -b .bz883591
%patch100 -p 1 -b .ppc64syscall
%patch101 -p 1 -b .ppc64displaysymbol
@@ -306,6 +308,10 @@ rm -rf "${RPM_BUILD_ROOT}"
%changelog
#-------------------------------------------------------------------------------
+* Wed Dec 5 2012 Patrick Monnerat <pm at datasphere.ch> 7.4.50-5.20120403cvs
+- Patch "bz883591" to fix a segmentation fault.
+ https://bugzilla.redhat.com/show_bug.cgi?id=883591
+
* Thu Nov 15 2012 Patrick Monnerat <pm at datasphere.ch> 7.4.50-4.20120403cvs
- Path "objalloc" to fix libiberty security bug CVE-2012-3509.
https://bugzilla.redhat.com/show_bug.cgi?id=877014
More information about the scm-commits
mailing list