Skip to content
Permalink
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jakub Filak committed Apr 28, 2015
1 parent 80408e9 commit 17cb66b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/hooks/abrt-hook-ccpp.c
Expand Up @@ -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)
*/
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 17cb66b

Please sign in to comment.