diff options
author | Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com> | 2023-07-12 22:50:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-12 22:50:45 -0400 |
commit | ab86426a3472ab68747815299d390b213793c3d1 (patch) | |
tree | 64e15afa53d2d037a1e80c0b102e2903be7c61d8 /Python/traceback.c | |
parent | 2d43beec225a0495ffa0344f961b99717e5f1106 (diff) | |
download | cpython-ab86426a3472ab68747815299d390b213793c3d1.tar.gz cpython-ab86426a3472ab68747815299d390b213793c3d1.zip |
gh-105235: Prevent reading outside buffer during mmap.find() (#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
Diffstat (limited to 'Python/traceback.c')
0 files changed, 0 insertions, 0 deletions