Skip to content

Commit 17cb66b

Browse files
author
Jakub Filak
committed
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 <jfilak@redhat.com>
1 parent 80408e9 commit 17cb66b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: src/hooks/abrt-hook-ccpp.c

+3
Original file line numberDiff line numberDiff line change
@@ -795,6 +795,8 @@ int main(int argc, char** argv)
795795
unlink(core_basename);
796796
}
797797

798+
/* Because of #1211835 and #1126850 */
799+
#if 0
798800
/* Save JVM crash log if it exists. (JVM's coredump per se
799801
* is nearly useless for JVM developers)
800802
*/
@@ -827,6 +829,7 @@ int main(int argc, char** argv)
827829
close(src_fd);
828830
}
829831
}
832+
#endif
830833

831834
/* We close dumpdir before we start catering for crash storm case.
832835
* Otherwise, delete_dump_dir's from other concurrent

0 commit comments

Comments
 (0)