[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Lzip-bug] Lziprecover --split is broken
From: |
Hampa Hug |
Subject: |
[Lzip-bug] Lziprecover --split is broken |
Date: |
Tue, 23 Jan 2018 03:06:57 +0100 |
Hello
Splitting an lzip file using 'lziprecover -s' is currently
broken. This is because File_index::File_index() moves the file
offset of the input file. In do_split_file() the read buffer is
filled before File_index::File_index() is called and subsequent
reads continue at the wrong position. The attached patch fixes
this by moving the call to File_index::File_index() before the
call to seek_read().
cheers,
Hampa
lziprecover-split.diff
Description: Text Data
- [Lzip-bug] Lziprecover --split is broken,
Hampa Hug <=