Skip to content

Commit

Permalink
Stricter check
Browse files Browse the repository at this point in the history
  • Loading branch information
flanglet committed Jul 15, 2024
1 parent 4f95613 commit f484742
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2/transform/ZRLT.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ func (this *ZRLT) Inverse(src, dst []byte) (uint, uint, error) {
runLength--

if runLength > 0 {
if runLength > dstEnd-dstIdx {
if runLength >= dstEnd-dstIdx {
break
}

Expand Down

0 comments on commit f484742

Please sign in to comment.