chiark / gitweb /
sd-journal: verify that object start with the field name
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 27 Aug 2014 03:54:31 +0000 (23:54 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 28 Aug 2014 01:05:28 +0000 (21:05 -0400)
commit0f99f74a14ef193c1ebde687c5cc76e1d67b85ef
tree41d8d75a5ef374a15a7bf3d26dd4da12476f09af
parent57cd09acf2c63a414aa2131c00a2b3f600eb0133
sd-journal: verify that object start with the field name

If the journal is corrupted, we might return an object that does
not start with the expected field name and/or is shorter than it
should.
src/journal/journal-file.c
src/journal/sd-journal.c