diff options
author | Jiri Moskovcak <jmoskovc@redhat.com> | 2010-11-17 18:48:20 +0100 |
---|---|---|
committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2010-11-17 18:48:20 +0100 |
commit | f6a4242cd0bf9c2acb959616cd2d825fb2d927c7 (patch) | |
tree | 2349c0b0ca288d222f3a25febcacaae482742dfa /lib/Plugins/Bugzilla.cpp | |
parent | ed3ec45536e97b570ff4164b18c050387fc05e78 (diff) | |
parent | a614b7372f96797c91850005d8730d88e9b38c12 (diff) | |
download | abrt-1.1.14.tar.gz abrt-1.1.14.tar.xz abrt-1.1.14.zip |
Merge branch '1.1.x' of ssh://git.fedorahosted.org/git/abrt into 1.1.x1.1.14
Diffstat (limited to 'lib/Plugins/Bugzilla.cpp')
-rw-r--r-- | lib/Plugins/Bugzilla.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/Plugins/Bugzilla.cpp b/lib/Plugins/Bugzilla.cpp index f3967cdf..e4255d2e 100644 --- a/lib/Plugins/Bugzilla.cpp +++ b/lib/Plugins/Bugzilla.cpp @@ -396,6 +396,8 @@ xmlrpc_int32 ctx::new_bug(const map_crash_data_t& pCrashData, int depend_on_bugn const std::string& duphash = get_crash_data_item_content(pCrashData, CD_DUPHASH); const char *reason = get_crash_data_item_content_or_NULL(pCrashData, FILENAME_REASON); const char *function = get_crash_data_item_content_or_NULL(pCrashData, FILENAME_CRASH_FUNCTION); + const char *analyzer = get_crash_data_item_content_or_NULL(pCrashData, FILENAME_ANALYZER); + const char *tainted = get_crash_data_item_content_or_NULL(pCrashData, FILENAME_TAINTED); std::string summary = "[abrt] " + package; if (function != NULL && strlen(function) < 30) @@ -409,6 +411,15 @@ xmlrpc_int32 ctx::new_bug(const map_crash_data_t& pCrashData, int depend_on_bugn summary += ": "; summary += reason; } + + if (tainted && analyzer + && (tainted[0] == '1') + && (strcmp(analyzer, "Kerneloops") == 0) + ) { + summary += ": "; + summary += "TAINTED"; + } + std::string status_whiteboard = "abrt_hash:" + duphash; std::string description = "abrt version: "VERSION"\n"; |