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

   ### What
   
   Validate `WithStartOffset` before JSON decoding. Negative offsets are 
rejected, seek errors are returned, and a seeker must report the requested 
position. The same validation is shared by `FromJSON` and `RecordFromJSON`.
   
   ### Tests
   
   - `go test ./arrow/array -count=1`
   - `pre-commit run golangci-lint-full --all-files`
   
   Regression coverage includes seek errors, incorrect positions, negative 
offsets that must not call `Seek`, and a successful offset with the expected 
decoded values.


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