[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: The format can easily miss truncation! (was: Docs still unclear on i
Re: The format can easily miss truncation! (was: Docs still unclear on integrity)
Mon, 13 Jun 2022 21:07:12 +0200
If it's true, then you are able to show example of such pattern.
13.06.2022, 18:46, "Askar Safin" <firstname.lastname@example.org>:
Hi. I just spent some more time thinking about integrity checking and
discovered this: lzip can be easily tricked into reporting truncated
file as correct!
Let's assume I created .lz file by concatenation of two .lz files.
Then I sent this file over internet and file got truncated. If the
file got truncated exactly between these two concatenated parts, then
truncation will not be detected by lzip!!!
This is format's design bug. We cannot do much on it. At least please
document it in "man lzip"