[abrt/f17] fixed rhbz#804309

Jiří Moskovčák jmoskovc at fedoraproject.org
Mon Apr 2 11:49:29 UTC 2012


commit da0e1f2b099b48b5e8bfe042c17c8a789f29f60d
Author: Jiri <moskovcak at gmail.com>
Date:   Mon Apr 2 13:50:20 2012 +0200

    fixed rhbz#804309

 ...-core-check-the-len-if-the-line-array-bef.patch |   27 ++++++++++++++++++++
 abrt.spec                                          |    5 +++-
 2 files changed, 31 insertions(+), 1 deletions(-)
---
diff --git a/0001-a-a-analyze-core-check-the-len-if-the-line-array-bef.patch b/0001-a-a-analyze-core-check-the-len-if-the-line-array-bef.patch
new file mode 100644
index 0000000..96ef723
--- /dev/null
+++ b/0001-a-a-analyze-core-check-the-len-if-the-line-array-bef.patch
@@ -0,0 +1,27 @@
+From cbb1054b9b557154c31ab5cf3af9ece7fd106ca2 Mon Sep 17 00:00:00 2001
+Message-Id: <cbb1054b9b557154c31ab5cf3af9ece7fd106ca2.1333367073.git.jmoskovc at redhat.com>
+From: Jiri Moskovcak <jmoskovc at redhat.com>
+Date: Mon, 2 Apr 2012 13:37:56 +0200
+Subject: [PATCH] a-a-analyze-core: check the len if the line array before
+ accessing it rhbz#804309
+
+---
+ src/plugins/abrt-action-analyze-core |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/plugins/abrt-action-analyze-core b/src/plugins/abrt-action-analyze-core
+index 0526211..b683fbe 100644
+--- a/src/plugins/abrt-action-analyze-core
++++ b/src/plugins/abrt-action-analyze-core
+@@ -99,7 +99,7 @@ def extract_info_from_core(coredump_name):
+ 
+     for line in lines:
+         b_ids_line = line.split()
+-        if len(b_ids_line) > 2:
++        if len(b_ids_line) >= EXECUTABLE:
+             # [exe] -> the executable itself
+             # linux-vdso.so.1 -> Virtual Dynamic Shared Object
+             # linux-gate.so.1 -> the same as vdso
+-- 
+1.7.9.3
+
diff --git a/abrt.spec b/abrt.spec
index ba10530..b09acac 100644
--- a/abrt.spec
+++ b/abrt.spec
@@ -36,6 +36,7 @@ Patch1: blacklist.patch
 Patch2: abrt_disable_gpgcheck.diff
 Patch3: 0002-gui-fixed-crash-when-chowning-directory-using-dbus-c.patch
 Patch4: 0003-dbus-use-the-helper-dir_accessible_by_uid-more-consi.patch
+Patch5: 0001-a-a-analyze-core-check-the-len-if-the-line-array-bef.patch
 BuildRequires: dbus-devel
 BuildRequires: gtk2-devel
 BuildRequires: rpm-devel >= 4.6
@@ -237,6 +238,7 @@ uses PolicyKit to authorize to access the problem data.
 %patch2 -p1 -b .gpgcheck
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1  -b .rhbz804309
 
 %build
 autoconf
@@ -640,7 +642,8 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 * Mon Apr 02 2012 Jiri Moskovcak <jmoskovc at redhat.com> 2.0.10-1
 - new upstream release
 - fixed problem with empty problem directory rhzb#808131
-- Resolves: #808131
+- fixed exception in a-a-a-core when eu-unstrip output is broken
+- Resolves: #808131, #804309
 
 * Mon Mar 19 2012 Jiri Moskovcak <jmoskovc at redhat.com> 2.0.7-7
 - fixed problems with rhel gpg keys rhbz#800419


More information about the scm-commits mailing list