aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2012-07-04 19:58:23 +0300
committerLasse Collin <lasse.collin@tukaani.org>2012-07-04 19:58:23 +0300
commit0d5fa05466e580fbc458820f87013ae7644e20e5 (patch)
tree604b4d2dbbc8428d3d5d170643f4d5b9b68919f0
parentBuild: Add a comment to configure.ac about symbol versioning. (diff)
downloadxz-0d5fa05466e580fbc458820f87013ae7644e20e5.tar.xz
xz: Fix the version number printed by xz -lvv.
The decoder bug was fixed in 5.0.2 instead of 5.0.3.
-rw-r--r--src/xz/list.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xz/list.c b/src/xz/list.c
index e71fbe20..a9e0adb9 100644
--- a/src/xz/list.c
+++ b/src/xz/list.c
@@ -482,7 +482,7 @@ parse_block_header(file_pair *pair, const lzma_index_iter *iter,
// Determine the minimum XZ Utils version that supports this Block.
//
// Currently the only thing that 5.0.0 doesn't support is empty
- // LZMA2 Block. This bug was fixed in 5.0.3.
+ // LZMA2 Block. This decoder bug was fixed in 5.0.2.
{
size_t i = 0;
while (filters[i + 1].id != LZMA_VLI_UNKNOWN)
@@ -490,8 +490,8 @@ parse_block_header(file_pair *pair, const lzma_index_iter *iter,
if (filters[i].id == LZMA_FILTER_LZMA2
&& iter->block.uncompressed_size == 0
- && xfi->min_version < 50000032U)
- xfi->min_version = 50000032U;
+ && xfi->min_version < 50000022U)
+ xfi->min_version = 50000022U;
}
// Convert the filter chain to human readable form.