1
0
Fork 0

Adding upstream version 0.9.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-20 16:22:03 +01:00
parent f78fedc24f
commit fefe46d70f
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