dungba88 commented on code in PR #12996:
URL: https://github.com/apache/lucene/pull/12996#discussion_r1443985033


##########
lucene/core/src/java/org/apache/lucene/codecs/lucene90/LZ4WithPresetDictCompressionMode.java:
##########
@@ -128,10 +128,12 @@ public void decompress(DataInput in, int originalLength, 
int offset, int length,
       }
 
       // Read blocks that intersect with the interval we need
+      if (offsetInBlock < offset + length) {

Review Comment:
   Wondering if growExact would be better here. I think grow will try to 
oversize it?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to