diff options
author | Tomas R. <tomas.roun8@gmail.com> | 2024-10-06 19:46:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-06 19:46:03 (GMT) |
commit | a1be83dae311e4a1a6e66ed5e128b1ad8794f72f (patch) | |
tree | d6da663d73829f78b33648ac18935dd47db7c658 /Parser | |
parent | 3fc673e97dafb8a73ee99937cf2bf0b849b1f418 (diff) | |
download | cpython-a1be83dae311e4a1a6e66ed5e128b1ad8794f72f.zip cpython-a1be83dae311e4a1a6e66ed5e128b1ad8794f72f.tar.gz cpython-a1be83dae311e4a1a6e66ed5e128b1ad8794f72f.tar.bz2 |
gh-125010: Fix `use-after-free` in AST `repr()` (#125015)
Diffstat (limited to 'Parser')
-rwxr-xr-x | Parser/asdl_c.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Parser/asdl_c.py b/Parser/asdl_c.py index ab5fd22..f50c28a 100755 --- a/Parser/asdl_c.py +++ b/Parser/asdl_c.py @@ -1608,7 +1608,6 @@ ast_repr_max_depth(AST_object *self, int depth) if (!value_repr) { Py_DECREF(name); - Py_DECREF(value); goto error; } |