summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorRadislav Chugunov <52372310+chgnrdv@users.noreply.github.com>2023-07-08 07:47:01 (GMT)
committerGitHub <noreply@github.com>2023-07-08 07:47:01 (GMT)
commit2ef1dc37f02b08536b677dd23ec51541a60effd7 (patch)
treee86725b69ca4d321cb5ccc1397df5ca29a5195fc /Misc
parent1c9e4934621627fbbfeada8d9dd87ecba4e446b0 (diff)
downloadcpython-2ef1dc37f02b08536b677dd23ec51541a60effd7.zip
cpython-2ef1dc37f02b08536b677dd23ec51541a60effd7.tar.gz
cpython-2ef1dc37f02b08536b677dd23ec51541a60effd7.tar.bz2
gh-106524: Fix a crash in _sre.template() (GH-106525)
Some items remained uninitialized if _sre.template() was called with invalid indices. Then attempt to clear them in the destructor led to dereferencing of uninitialized pointer.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2023-07-07-17-44-03.gh-issue-106524.XkBV8h.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2023-07-07-17-44-03.gh-issue-106524.XkBV8h.rst b/Misc/NEWS.d/next/Library/2023-07-07-17-44-03.gh-issue-106524.XkBV8h.rst
new file mode 100644
index 0000000..f3fd070
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2023-07-07-17-44-03.gh-issue-106524.XkBV8h.rst
@@ -0,0 +1 @@
+Fix crash in :func:`!_sre.template` with templates containing invalid group indices.