coredump: fix handling of premature-eof data for --backtrace
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 5 Mar 2017 15:35:44 +0000 (10:35 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 5 Mar 2017 15:35:44 +0000 (10:35 -0500)
commitd74dc4f2d00644c04ad9dc900ef43050fcadaa8b
tree13a9daf92584fdb09eaf56867d1b9b29e5c69261
parentbf1c790c8f9d8a6b4446b3ca5f403dcca5fbcd94
coredump: fix handling of premature-eof data for --backtrace

We'd fail with an assert in journal_importer_process_data(),
because that function requires the caller to handle EOF themselves.
src/basic/journal-importer.c
src/coredump/coredump.c