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: +From: Jiri Moskovcak +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 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 2.0.7-7 - fixed problems with rhel gpg keys rhbz#800419