efegokdemir opened a new pull request, #1003: URL: https://github.com/apache/arrow-nanoarrow/pull/1003
Minimal validation only checks the first two buffers, so it misses the sizes buffer in ListView and LargeListView arrays. Include that fixed-size third buffer to reject missing or truncated sizes before full validation reads them, and infer its size when unknown. Regression tests cover both types, sliced arrays, and empty arrays. Debug and ASan/UBSan CTest builds each passed 298 tests, with 3 thread-safety tests skipped by the build configuration. The sanitizer run used `ASAN_OPTIONS=allocator_may_return_null=1:detect_leaks=0` for tests that deliberately request oversized allocations. clang-format 16.0.6, codespell 2.2.5 and `git diff --check` passed. Codex generated the fix and regression tests and ran the local checks. -- 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]
