fallintoplace opened a new pull request, #1013:
URL: https://github.com/apache/arrow-go/pull/1013

   ### Rationale for this change
   
   The DELTA_LENGTH_BYTE_ARRAY decoder currently ignores errors while decoding 
its length stream and slices the payload with those unchecked lengths. Negative 
lengths or lengths beyond the available payload therefore panic instead of 
returning a decoding error.
   
   ### What changes are included in this PR?
   
   - Propagate errors and short reads from the delta length stream.
   - Check that the encoded length count fits the page value count.
   - Reject negative lengths and cumulative lengths beyond the suffix payload.
   
   ### Are these changes tested?
   
   Yes. Focused tests cover negative and oversized lengths, and the existing 
round-trip tests continue to pass.


-- 
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]

Reply via email to