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