]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-124513: Check args in framelocalsproxy_new() (GH-124515) (#124539)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 30 Sep 2024 01:03:00 +0000 (03:03 +0200)
committerGitHub <noreply@github.com>
Mon, 30 Sep 2024 01:03:00 +0000 (18:03 -0700)
commit62f691f3d114aea1db1d5c6a6ac1a2f936ddaea4
tree57beb72e9d25da6827b6f7e3857b9ac83f78bada
parentc7f9332ee51f612899d817a927f706216287dd70
[3.13] gh-124513: Check args in framelocalsproxy_new() (GH-124515) (#124539)

gh-124513: Check args in framelocalsproxy_new() (GH-124515)

Fix a crash in FrameLocalsProxy constructor: check the number of
arguments.
(cherry picked from commit d6954b6421aa34afd280df9c44ded21a2348a6ea)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/test_frame.py
Misc/NEWS.d/next/Core_and_Builtins/2024-09-25-14-45-56.gh-issue-124513.ywiXtr.rst [new file with mode: 0644]
Objects/frameobject.c