diff options
| author | wmeehan <wmeehan@users.noreply.github.com> | 2020-08-27 05:45:25 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-27 05:45:25 (GMT) |
| commit | 97eaf2b5e5c826b9abe59896a363853bef55c5d9 (patch) | |
| tree | 6c9743b196087bd35722f08aec8c7aaa12d3aed7 /Lib/multiprocessing/shared_memory.py | |
| parent | 022bc7572f061e1d1132a4db9d085b29707701e7 (diff) | |
| download | cpython-97eaf2b5e5c826b9abe59896a363853bef55c5d9.zip cpython-97eaf2b5e5c826b9abe59896a363853bef55c5d9.tar.gz cpython-97eaf2b5e5c826b9abe59896a363853bef55c5d9.tar.bz2 | |
bpo-41524: fix pointer bug in PyOS_mystr{n}icmp (GH-21845)
* bpo-41524: fix pointer bug in PyOS_mystr{n}icmp
The existing implementations of PyOS_mystrnicmp and PyOS_mystricmp
can increment pointers beyond the end of a string.
This commit fixes those cases by moving the mutation out of the condition.
* 📜🤖 Added by blurb_it.
* Address comments
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Diffstat (limited to 'Lib/multiprocessing/shared_memory.py')
0 files changed, 0 insertions, 0 deletions
