1
0
Fork 0

Merging upstream version 0.9.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-20 16:22:56 +01:00
parent 02aa1afa91
commit 88c15894f0
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
15 changed files with 230 additions and 159 deletions

View file

@ -391,7 +391,7 @@ int LZ_decompress_read( struct LZ_Decoder * const decoder,
}
if( !d.lz_decoder )
{
if( d.ibuf->used_bytes() < 5 + (int)sizeof( File_header ) )
if( d.ibuf->used_bytes() < 5 + (int)sizeof (File_header) )
{
if( !d.ibuf->at_stream_end() || d.ibuf->finished() ) return 0;
d.ibuf->purge(); // remove trailing garbage