shared/logs-show: be more careful before using a _SOURCE_REALTIME_TIMESTAMP entry
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 24 May 2018 06:37:47 +0000 (08:37 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 31 May 2018 12:30:23 +0000 (14:30 +0200)
commit03d1319b12b073979b900ebea72e7e0bc8bb8b9c
treed3af8d710085e6f19b72324ea2ea48a56c23d8a1
parentc627395366bd3911ae4082e371fd73f64be8eed7
shared/logs-show: be more careful before using a _SOURCE_REALTIME_TIMESTAMP entry

journalctl -o short would display those entries, but journalctl -o short-full
would refuse. If the entry is bad, just fall back to the receive-side realtime
timestamp like we would if it was completely missing.
src/shared/logs-show.c
test/fuzz-regressions/fuzz-journal-remote/crash-5a8f03d4c3a46fcded39527084f437e8e4b54b76 [new file with mode: 0644]