doczkal / rpms / abrt

Forked from rpms/abrt 4 years ago
Clone

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

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