GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||
GeezerVison is showing github.com — Reject oversized bytearray resize requests by youknowdot · Pull Request #9815 · RustPython/RustPython Conversation
Contributor
SummaryReject bytearray resize requests above CPython 3.15's normal GIL-build bytes allocation limit before allocating. Keep same-size no-ops and exported-buffer errors ahead of the allocation check. The failure appeared after #9807 enabled The fix is seven Rust lines. The snippet covers the first forbidden length on either pointer width, preservation of contents, and BufferError precedence. No Reference: CPython 3.15 bytearray size ceiling and resize ordering, resize implementation. Validation
AI assistance: OpenAI Codex investigated, implemented, reviewed, and tested this change. The runtime did not expose an exact model version.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsMatch CPython 3.15's normal bytes-allocation ceiling before allocating a resized bytearray. Preserve the same-size and exported-buffer checks, and cover the first excluded length, contents preservation, and export precedence on either pointer width. Assisted-by: Codex:unreported
|
There was an error while loading. Please reload this page.
|
Caution Review failedThe pull request is closed.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.