]> git.ipfire.org Git - thirdparty/zstd.git/commit
fix #1241
authorcyan4973 <yann.collet.73@gmail.com>
Tue, 17 Jul 2018 16:52:57 +0000 (18:52 +0200)
committercyan4973 <yann.collet.73@gmail.com>
Tue, 17 Jul 2018 16:52:57 +0000 (18:52 +0200)
commit9597b438e931dcdd0cc8497bc330e9bcc495992a
tree1e10915b422490147db552973fb883e0e04cef06
parentabc02e08ff5659f7d09854371d0d95b0991ecbd1
fix #1241

Ensure that first input position is valid for a match
even during first usage of context
by starting reference at 1
(avoiding the problematic 0).
lib/compress/zstd_compress.c
tests/fuzzer.c