From 98ef4837ecb1f68af5f2ab073e9451bdb3b57af0 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Sun, 11 May 2025 10:44:22 +0200 Subject: [3.14] gh-133590: ensure that `TableEntry.linenumber_borrow` is initialized (GH-133681) (#133872) gh-133590: ensure that `TableEntry.linenumber_borrow` is initialized (GH-133681) (cherry picked from commit c838e21fda21bb3ff91f586374e0da776c1c567b) Co-authored-by: Lauta --- Python/stackrefs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/stackrefs.c b/Python/stackrefs.c index 979a6b1..69d4e8b 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; } -- cgit v0.12