mirror of
https://github.com/ckolivas/lrzip.git
synced 2026-04-21 06:03:54 +00:00
Cope with zero byte older files in get fileinfo.
This commit is contained in:
parent
558e5e40ee
commit
542c1637b2
1 changed files with 3 additions and 0 deletions
3
lrzip.c
3
lrzip.c
|
|
@ -827,6 +827,9 @@ void get_fileinfo(rzip_control *control)
|
|||
ofs = 26 + chunk_byte;
|
||||
header_length = 1 + (chunk_byte * 3);
|
||||
}
|
||||
if (control->major_version == 0 && control->minor_version < 6 &&
|
||||
!expected_size)
|
||||
goto done;
|
||||
next_chunk:
|
||||
stream = 0;
|
||||
stream_head[0] = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue