]> git.ipfire.org Git - thirdparty/systemd.git/commit
journal: fix reporting of output size in compres_stream_lz4
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 13 Dec 2015 19:20:21 +0000 (14:20 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 13 Dec 2015 20:00:19 +0000 (15:00 -0500)
commitd487b8151319a19313786feeba3af610bfb1a45f
tree653c7efa89f91caef3df392adcee77e4a8fed2f9
parent5d6f46b6bf7804af8c1ba780f72a37dc37193428
journal: fix reporting of output size in compres_stream_lz4

The header is 7 bytes, and this size was not accounted for in
total_out. This means that we could create a file that was 7 bytes
longer than requested, and the debug output was also inconsistent.
src/journal/compress.c