| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
PyLong_AsUInt32() stores 0 in the target on error, so the attribute was clobbered when the assigned value was too large.
|
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14, 3.15. |
Sorry, something went wrong.
|
GH-156156 is a backport of this pull request to the 3.15 branch. |
Sorry, something went wrong.
|
GH-156157 is a backport of this pull request to the 3.14 branch. |
Sorry, something went wrong.
…GH-156105) (GH-156157) PyLong_AsUInt32() stores 0 in the target on error, so the attribute was clobbered when the assigned value was too large. (cherry picked from commit 53760b3) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
…GH-156105) (GH-156156) PyLong_AsUInt32() stores 0 in the target on error, so the attribute was clobbered when the assigned value was too large. (cherry picked from commit 53760b3) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
| Back | FazBrowse Home | New Git URL |
PyLong_AsUInt32() stores 0 in the target on error, so assigning a too large value left arraysize set to 0.
The value is now converted into a local variable first, as in 3.13.