doczkal / rpms / abrt

Forked from rpms/abrt 4 years ago
Clone

Blame SOURCES/0090-ccpp-stop-reading-hs_error.log-from-tmp.patch

a60cd7
From 17cb66b13997b0159b4253b3f5722db79f476d68 Mon Sep 17 00:00:00 2001
a60cd7
From: Jakub Filak <jfilak@redhat.com>
a60cd7
Date: Tue, 28 Apr 2015 14:00:18 +0200
a60cd7
Subject: [ABRT PATCH] ccpp: stop reading hs_error.log from /tmp
a60cd7
a60cd7
The file might contain anything and there is no way to verify its
a60cd7
contents.
a60cd7
a60cd7
Related: #1211835
a60cd7
a60cd7
Signed-off-by: Jakub Filak <jfilak@redhat.com>
a60cd7
---
a60cd7
 src/hooks/abrt-hook-ccpp.c | 3 +++
a60cd7
 1 file changed, 3 insertions(+)
a60cd7
a60cd7
diff --git a/src/hooks/abrt-hook-ccpp.c b/src/hooks/abrt-hook-ccpp.c
a60cd7
index be16fab..5694f84 100644
a60cd7
--- a/src/hooks/abrt-hook-ccpp.c
a60cd7
+++ b/src/hooks/abrt-hook-ccpp.c
a60cd7
@@ -795,6 +795,8 @@ int main(int argc, char** argv)
a60cd7
             unlink(core_basename);
a60cd7
         }
a60cd7
 
a60cd7
+/* Because of #1211835 and #1126850 */
a60cd7
+#if 0
a60cd7
         /* Save JVM crash log if it exists. (JVM's coredump per se
a60cd7
          * is nearly useless for JVM developers)
a60cd7
          */
a60cd7
@@ -827,6 +829,7 @@ int main(int argc, char** argv)
a60cd7
                 close(src_fd);
a60cd7
             }
a60cd7
         }
a60cd7
+#endif
a60cd7
 
a60cd7
         /* We close dumpdir before we start catering for crash storm case.
a60cd7
          * Otherwise, delete_dump_dir's from other concurrent
a60cd7
-- 
a60cd7
1.8.3.1
a60cd7