Remove Incorrect and Extraneous Repcode Bounds Check

This commit is contained in:
W. Felix Handte 2018-05-31 16:55:50 -04:00
parent 5b292b5685
commit f86796639e

View File

@ -272,7 +272,6 @@ _match_stored:
if (dictMode == ZSTD_noDict) { if (dictMode == ZSTD_noDict) {
while ( (ip <= ilimit) while ( (ip <= ilimit)
&& (ip - offset_2 >= istart)
&& ( (offset_2>0) && ( (offset_2>0)
& (MEM_read32(ip) == MEM_read32(ip - offset_2)) )) { & (MEM_read32(ip) == MEM_read32(ip - offset_2)) )) {
/* store sequence */ /* store sequence */