gh-105235: Prevent reading outside buffer during mmap.find()#105252
gh-105235: Prevent reading outside buffer during mmap.find()#105252sweeneyde merged 13 commits intopython:mainfrom
Conversation
|
Hey, just want to add my two cents. Instead of using There is also another option is to use |
|
🤖 New build scheduled with the buildbot fleet by @sweeneyde for commit 8b4a3d2 🤖 If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again. |
|
🤖 New build scheduled with the buildbot fleet by @sweeneyde for commit 1ac84ce 🤖 If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again. |
|
A summary of buildbot failures: Details |
|
Thanks @sweeneyde for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
…ythonGH-105252) * Add a special case for s[-m:] == p in _PyBytes_Find * Add tests for _PyBytes_Find * Make sure that start <= end in mmap.find (cherry picked from commit ab86426) Co-authored-by: Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com>
|
GH-106708 is a backport of this pull request to the 3.12 branch. |
|
Sorry, @sweeneyde, I could not cleanly backport this to |
|
GH-106710 is a backport of this pull request to the 3.11 branch. |
…H-105252) (#106708) gh-105235: Prevent reading outside buffer during mmap.find() (GH-105252) * Add a special case for s[-m:] == p in _PyBytes_Find * Add tests for _PyBytes_Find * Make sure that start <= end in mmap.find (cherry picked from commit ab86426) Co-authored-by: Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com>
|
Uh oh!
There was an error while loading. Please reload this page.