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

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