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

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