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

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