diff options
author | Christian Heimes <christian@python.org> | 2022-08-11 08:55:57 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-11 08:55:57 (GMT) |
commit | b4c857d0fd74abb1ede6fe083c4fa3ca728b2b83 (patch) | |
tree | 784568b7749c1d8930223d3449bb5a9954fa20b6 /Misc | |
parent | 5ed584cb6b4e544d307f2f1b6f28667078cc20af (diff) | |
download | cpython-b4c857d0fd74abb1ede6fe083c4fa3ca728b2b83.zip cpython-b4c857d0fd74abb1ede6fe083c4fa3ca728b2b83.tar.gz cpython-b4c857d0fd74abb1ede6fe083c4fa3ca728b2b83.tar.bz2 |
gh-95876: Fix format string in pegen error location code (#95877)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2022-08-11-09-19-55.gh-issue-95876.YpQfoV.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-08-11-09-19-55.gh-issue-95876.YpQfoV.rst b/Misc/NEWS.d/next/Core and Builtins/2022-08-11-09-19-55.gh-issue-95876.YpQfoV.rst new file mode 100644 index 0000000..96b6901 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2022-08-11-09-19-55.gh-issue-95876.YpQfoV.rst @@ -0,0 +1,4 @@ +Fix format string in ``_PyPegen_raise_error_known_location`` that can lead +to memory corruption on some 64bit systems. The function was building a +tuple with ``i`` (int) instead of ``n`` (Py_ssize_t) for Py_ssize_t +arguments. |