Adding upstream version 1.17.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
27b84c299b
commit
f06ff1621d
13 changed files with 71 additions and 93 deletions
|
@ -58,11 +58,12 @@ int decompress_member( const int infd, const int outfd,
|
|||
header.version() ); }
|
||||
return 2;
|
||||
}
|
||||
if( header.dictionary_size() < min_dictionary_size ||
|
||||
header.dictionary_size() > max_dictionary_size )
|
||||
const unsigned dictionary_size = header.dictionary_size();
|
||||
if( dictionary_size < min_dictionary_size ||
|
||||
dictionary_size > max_dictionary_size )
|
||||
{ pp( "Invalid dictionary size in member header." ); return 2; }
|
||||
|
||||
if( pp.verbosity() >= 2 ) { pp(); show_header( header ); }
|
||||
if( pp.verbosity() >= 2 ) { pp(); show_header( dictionary_size ); }
|
||||
|
||||
LZ_decoder decoder( header, rdec, outfd, outskip, outend );
|
||||
const int result = decoder.decode_member( pp );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue