File apport-anonymize-report.patch of Package apport
Subject: Do NOT include coredump in apport report
References: bnc#540553
There exist multiple reports in the crashdb that still include a coredump.
This was happening when the UI was used to report existing crash reports. This
patch fixes the problem by calling self.report.anonymize() on all reports it
is going to send to the server.
---
apport/ui.py | 3 +++
1 file changed, 3 insertions(+)
Index: b/apport/ui.py
===================================================================
--- a/apport/ui.py
+++ b/apport/ui.py
@@ -212,6 +212,9 @@ free memory to automatically analyze the
self.ui_shutdown()
return
+ # Anonymize report in case we report an already processed (collect_info()'ed) report
+ self.report.anonymize()
+
# check unreportable flag
if self.report.has_key('UnreportableReason') and \
not apport.fileutils.check_developer_mode():