bpo-33632: Avoid signed integer overflow in the _thread module#12729
bpo-33632: Avoid signed integer overflow in the _thread module#12729ZackerySpytz wants to merge 1 commit into
Conversation
Co-Authored-By: Martin Panter <vadmium+py@gmail.com>
|
@ZackerySpytz The approach looks good to me, but I think it would be good to add a test here. Is I also think it might be worth adding some of the details of exactly what user-facing behaviors will change with this patch to the changelog. "Avoid signed integer overflow" doesn't mean too much to me, out of context, and the BPO report is not much more detailed. |
Sorry, something went wrong.
|
To clarify the changelog, you could say it is a timeout value that causes the overflow, and figure out what APIs are affected. I suspect some acquire method(s) of lock object(s), such as threading.Lock.acquire, but someone with an up-to-date copy of the code should confirm. |
Sorry, something went wrong.
|
@ZackerySpytz, please take a look at the code review comments. Thanks! |
Sorry, something went wrong.
|
@ZackerySpytz Are you interested in continuing to work on this PR? |
Sorry, something went wrong.
Co-Authored-By: Martin Panter vadmium+py@gmail.com
https://bugs.python.org/issue33632