]> wimlib.net Git - wimlib/commitdiff
lzx-decompress.c: Don't allow using offsets of 0
authorEric Biggers <ebiggers3@gmail.com>
Sat, 6 Sep 2014 06:08:03 +0000 (01:08 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Sat, 6 Sep 2014 06:08:03 +0000 (01:08 -0500)
This can happen if an uncompressed block is present, since then the match
offset LRU queue is filled directly from the input buffer.  Too-large
offsets were already checked later, but offsets of 0 would cause
uninitialized memory to remain in the output buffer.


No differences found