]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-journal: also check object header before verifying object data
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 27 Jun 2022 02:37:10 +0000 (11:37 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 28 Jun 2022 18:42:37 +0000 (03:42 +0900)
commita30630f5dcfa4ebe73256073e42671f874cd6653
treefa863343e1c1c6f767361233973d8e0c2fefef56
parent31fdd89fc69944a4b75d561ed0da59921c82428f
sd-journal: also check object header before verifying object data

Otherwise, the check by journal_file_check_object() may be meaning less
when the header is broken.
src/libsystemd/sd-journal/journal-file.c