GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Introduce additional pre-checks in PyBuffer_GetPointer to prevent memory corruption by filmor · Pull Request #2745 · pythonnet/pythonnet

Conversation

@filmor

@filmor filmor commented Sep 28, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Closes #2743.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Copilot started work on behalf of filmor September 28, 2026 13:01
View session
Copilot finished work on behalf of filmor September 28, 2026 13:08
Copilot started work on behalf of filmor September 28, 2026 13:21
View session
Copilot finished work on behalf of filmor September 28, 2026 13:22
Copilot started work on behalf of filmor September 28, 2026 13:30
View session
Copilot finished work on behalf of filmor September 28, 2026 13:30
@filmor
filmor force-pushed the buffer-getpointer branch from 9d0c4e0 to bec4ced Compare September 28, 2026 13:39
@filmor
filmor marked this pull request as ready for review September 28, 2026 14:23
@filmor
Add test for PyBuffer.GetPointer
48bb33a
@filmor
filmor force-pushed the buffer-getpointer branch 2 times, most recently from 86b0784 to 4dd91c1 Compare September 29, 2026 08:49
@filmor
Add more checks and tests
ea384d9
@filmor
filmor force-pushed the buffer-getpointer branch from 4dd91c1 to ea384d9 Compare September 29, 2026 09:01
@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

Uh oh!

There was an error while loading. Please reload this page.

@filmor
filmor deleted the buffer-getpointer branch September 29, 2026 09:10
This was referenced Oct 4, 2026
Bump pythonnet from 3.1.0 to 3.2.0 zcsizmadia/PyDotNet#130
Closed
chore: Bump pythonnet from 3.1.0 to 3.2.0 apache/arrow-dotnet#456
Closed
deps: Bump pythonnet from 3.1.0 to 3.2.0 aj-geddes/revitpy#23
Closed
Bump pythonnet from 3.0.5 to 3.2.1 baleti/revit-ballet#3
Open
This was referenced Oct 11, 2026
Bump pythonnet from 3.1.0 to 3.2.1 zcsizmadia/PyDotNet#133
Merged
deps: Bump pythonnet from 3.1.0 to 3.2.1 aj-geddes/revitpy#31
Open
@dependabot dependabot Bot mentioned this pull request Oct 28, 2026
build: Bump pythonnet from 3.0.5 to 3.2.1 akuro17/StockAnalyzer-OSS#89
Open
@dependabot dependabot Bot mentioned this pull request Nov 10, 2026
MINOR: [C#] Bump pythonnet from 3.0.4 to 3.2.1 sg-scale/arrow--apache-arrow-18.1.0#10
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

PyBuffer.GetPointer throws exception for N-dimensional buffer

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@filmor
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.