Skip to content

Conversation

@paleolimbot
Copy link
Member

@paleolimbot paleolimbot commented Dec 17, 2025

There was some code that zeroed out the last byte of a validity buffer in the Python buffer construction from an iterable; however, we already zero out the last byte when reserving/allocating an ArrowBitmap.

Checked locally with:

export NANOARROW_PLATFORM=ubuntu 
export NANOARROW_ARCH=arm64
docker compose run --rm -e TEST_WITH_MEMCHECK=1 -e TEST_DEFAULT=0 -e TEST_PYTHON=1 verify

Closes #821.

@paleolimbot paleolimbot marked this pull request as ready for review December 17, 2025 15:41
@paleolimbot paleolimbot merged commit e0480fe into apache:main Dec 17, 2025
11 checks passed
@paleolimbot paleolimbot deleted the memcheck-python-failure branch December 17, 2025 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Python Union tests may have buffer overrun

2 participants