Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign up[3.5] bpo-30657: Check & prevent integer overflow in PyString_DecodeEscape (GH-2174) #4664
Conversation
This comment has been minimized.
This comment has been minimized.
@jaybosamiya I can make you the author of that commit if you'd like, but since it's against a different file, I didn't just cherry-picked it, so I wasn't sure. |
This comment has been minimized.
This comment has been minimized.
jaybosamiya
commented
Dec 1, 2017
I'm not sure of the convention for cpython when bringing a patch from one version to another, but I'm fine with it either ways. Feel free to keep/change as you see fit :) |
This comment has been minimized.
This comment has been minimized.
OK, let's wait what the reviewer says. |
Would you mind to rewrite your commit message to mention the original author as the following syntax?
|
The change itself LGTM. |
Fixes possible integer overflow in PyBytes_DecodeEscape. Co-Authored-By: Jay Bosamiya <jaybosamiya@gmail.com>
This comment has been minimized.
This comment has been minimized.
Commit message changed as requested. |
LGTM. |
This comment has been minimized.
This comment has been minimized.
@larryhastings: Would you mind to merge this PR? |
This comment has been minimized.
This comment has been minimized.
For 3.4: #4758 |
This comment has been minimized.
This comment has been minimized.
Thanks @vstinner @larryhastings. |
hroncok commentedDec 1, 2017
•
edited
Fixes possible integer overflow in PyBytes_DecodeEscape, CVE-2017-1000158.
Original patch by Jay Bosamiya @jaybosamiya in #2174
https://bugs.python.org/issue30657