https://github.com/python/cpython/commit/c838e21fda21bb3ff91f586374e0da776c1c567b commit: c838e21fda21bb3ff91f586374e0da776c1c567b branch: main author: Lauta <l...@ljfp.xyz> committer: picnixz <10796600+picn...@users.noreply.github.com> date: 2025-05-11T10:16:28+02:00 summary:
gh-133590: ensure that `TableEntry.linenumber_borrow` is initialized (#133681) files: M Python/stackrefs.c diff --git a/Python/stackrefs.c b/Python/stackrefs.c index 979a6b1c62820a..69d4e8b943159f 100644 --- a/Python/stackrefs.c +++ b/Python/stackrefs.c @@ -1,4 +1,3 @@ - #include "Python.h" #include "pycore_object.h" @@ -34,6 +33,7 @@ make_table_entry(PyObject *obj, const char *filename, int linenumber) result->filename = filename; result->linenumber = linenumber; result->filename_borrow = NULL; + result->linenumber_borrow = 0; return result; } _______________________________________________ Python-checkins mailing list -- python-checkins@python.org To unsubscribe send an email to python-checkins-le...@python.org https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: arch...@mail-archive.com