Skip to content

Introduce additional pre-checks in PyBuffer_GetPointer to prevent memory corruption - #2745

Merged
filmor merged 2 commits into
masterfrom
buffer-getpointer
Sep 29, 2026
Merged

filmor merged 2 commits into
masterfrom
buffer-getpointer

Conversation

@filmor

@filmor filmor commented Sep 28, 2026 •

Copy link
Copy Markdown
Member

Closes #2743.

@filmor
filmor force-pushed the buffer-getpointer branch 2 times, most recently from 86b0784 to 4dd91c1 Compare September 29, 2026 08:49
@filmor filmor changed the title Use fixed array for slices in PyBuffer_GetPointer Introduce additional pre-checks in PyBuffer_GetPointer to prevent memory corruption Sep 29, 2026
@filmor
filmor merged commit 22c5d77 into master Sep 29, 2026
38 of 39 checks passed
@filmor
filmor deleted the buffer-getpointer branch September 29, 2026 09:10
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.

PyBuffer.GetPointer throws exception for N-dimensional buffer

1 participant