]> granicus.if.org Git - xz/commit
Fix bugs in lzma_index_read() and lzma_index_cat().
authorLasse Collin <lasse.collin@tukaani.org>
Wed, 25 Nov 2009 11:04:10 +0000 (13:04 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Wed, 25 Nov 2009 11:04:10 +0000 (13:04 +0200)
commitbd13b04e202b6f495a68eb0766f97085b7c50a06
treefde1e56fec56109775e8722de280a37c09720788
parent1f196909143b888e062bd9a0c4ba8c34d3019bfa
Fix bugs in lzma_index_read() and lzma_index_cat().

lzma_index_read() didn't skip over Stream Padding
if it was the first record in the Index.

lzma_index_cat() didn't combine small Indexes correctly.

The test suite was updated to check for these bugs.

These bugs didn't affect the xz command line tool or
most users of liblzma in any way.
src/liblzma/common/index.c
tests/test_index.c