chiark / gitweb /
journald: add some additional checks before we divide by values read from journal...
authorLennart Poettering <lennart@poettering.net>
Mon, 5 Jan 2015 00:20:44 +0000 (01:20 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 5 Jan 2015 00:40:51 +0000 (01:40 +0100)
commit805d14864f8d6936202b85730a7d8a77317d1202
tree31eff277082d670c8198902cbd41a5c3ef3595d3
parent3774cf57081b595003e9236602d049b1011b6e97
journald: add some additional checks before we divide by values read from journal file headers

Since the file headers might be replaced by zeroed pages now due to
sigbus we should make sure we don't end up dividing by zero because we
don't check values read from journal file headers for changes.
src/journal/journal-file.c