mirror of
https://github.com/facebook/zstd.git
synced 2024-12-01 03:16:45 +08:00
Remove Incorrect and Extraneous Repcode Bounds Check
This commit is contained in:
parent
5b292b5685
commit
f86796639e
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user