]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/journal/journal-file.c
sd-journal: detect earlier if we try to read an object from an invalid offset
authorLennart Poettering <lennart@poettering.net>
Mon, 25 Apr 2016 19:42:15 +0000 (21:42 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 26 Apr 2016 10:00:02 +0000 (12:00 +0200)
commit50809d7a9c986f78d8b8872098e4880aa8ff2076
treef53834a8dcd61e12048387b07afd67c3348bbb59
parent1000522a60ceade446773c67031b47a566d4a70d
sd-journal: detect earlier if we try to read an object from an invalid offset

Specifically, detect early if we try to read from offset 0, i.e. are using
uninitialized offset data.
src/journal/journal-file.c