fallintoplace opened a new pull request, #931: URL: https://github.com/apache/arrow-go/pull/931
The C array importer now validates all header counts and pointer arrays before creating native slices. It also checks native-int conversion, length/offset arithmetic, bitmap and physical buffer sizes, binary-view size metadata, dictionary presence, and expected child/buffer counts before traversal. Invalid metadata returns an error instead of reaching unsafe buffer construction. Tests cover negative and oversized headers, missing pointer arrays, root preflight before ownership transfer, and fixed-width/offset multiplication overflow paths. Validation: - go test -tags test ./arrow/cdata -count=1 - go test ./arrow/cdata -count=1 - pre-commit run golangci-lint-full --all-files - git diff --check The full arrow test suite is otherwise blocked by missing repository fixtures under parquet-testing/data and arrow-testing/data/csv. Linux/386 cgo compilation is unavailable on this macOS host. -- 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]
