diff options
author | Lauta <ljfp@ljfp.xyz> | 2025-05-11 10:16:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-11 10:16:28 +0200 |
commit | c838e21fda21bb3ff91f586374e0da776c1c567b (patch) | |
tree | 4d1e5d5b5f1bb3c7a593bfe59d3decd00944e6ae /Python/stackrefs.c | |
parent | f91127ae1a8bb233aa23b449e87da6df763f85b2 (diff) | |
download | cpython-c838e21fda21bb3ff91f586374e0da776c1c567b.tar.gz cpython-c838e21fda21bb3ff91f586374e0da776c1c567b.zip |
gh-133590: ensure that `TableEntry.linenumber_borrow` is initialized (#133681)
Diffstat (limited to 'Python/stackrefs.c')
-rw-r--r-- | Python/stackrefs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/stackrefs.c b/Python/stackrefs.c index 979a6b1c628..69d4e8b9431 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; } |