Blame SOURCES/0039-ccpp-run-vulnerability-analysis-in-analyze_LocalGDB.patch

a60cd7
From f9b0c9a296453cd817cc5d9a2e54ec6b4e123967 Mon Sep 17 00:00:00 2001
a60cd7
From: Jakub Filak <jfilak@redhat.com>
a60cd7
Date: Tue, 25 Feb 2014 17:53:42 +0100
a60cd7
Subject: [ABRT PATCH 39/40] ccpp: run vulnerability analysis in
a60cd7
 analyze_LocalGDB
a60cd7
a60cd7
The vulnerability analysis has been moved from 'post-create' to
a60cd7
'analyze_LocalGDB' because gdb should not be run for random coredump
a60cd7
under root user.
a60cd7
a60cd7
Closes rhbz#1069719
a60cd7
a60cd7
Signed-off-by: Jakub Filak <jfilak@redhat.com>
a60cd7
---
a60cd7
 src/plugins/ccpp_event.conf | 5 +++--
a60cd7
 1 file changed, 3 insertions(+), 2 deletions(-)
a60cd7
a60cd7
diff --git a/src/plugins/ccpp_event.conf b/src/plugins/ccpp_event.conf
a60cd7
index ccc9e83..62ff08a 100644
a60cd7
--- a/src/plugins/ccpp_event.conf
a60cd7
+++ b/src/plugins/ccpp_event.conf
a60cd7
@@ -19,8 +19,6 @@ EVENT=post-create analyzer=CCpp
a60cd7
         ##satyr migration:
a60cd7
         #satyr abrt-create-core-stacktrace "$DUMP_DIR"
a60cd7
         abrt-action-generate-core-backtrace
a60cd7
-        # Run GDB plugin to see if crash looks exploitable
a60cd7
-        abrt-action-analyze-vulnerability
a60cd7
         # Generate hash
a60cd7
         abrt-action-analyze-c &&
a60cd7
         abrt-action-list-dsos -m maps -o dso_list &&
a60cd7
@@ -70,6 +68,9 @@ EVENT=collect_xsession_errors analyzer=CCpp dso_list~=.*/libX11.*
a60cd7
 # TODO: can we still specify additional directories to search for debuginfos,
a60cd7
 # or was this ability lost with move to python installer?
a60cd7
 EVENT=analyze_LocalGDB analyzer=CCpp
a60cd7
+        # Run GDB plugin to see if crash looks exploitable
a60cd7
+        abrt-action-analyze-vulnerability
a60cd7
+        # Run GDB to genereate backtrace
a60cd7
         abrt-action-analyze-ccpp-local --without-bodhi
a60cd7
 
a60cd7
 
a60cd7
-- 
a60cd7
1.8.3.1
a60cd7