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

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