Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.12] gh-106524: Fix a crash in _sre.template() (GH-106525) #106544

Merged
merged 1 commit into from Jul 8, 2023

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jul 8, 2023

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.
(cherry picked from commit 2ef1dc3)

Co-authored-by: Radislav Chugunov 52372310+chgnrdv@users.noreply.github.com

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.
(cherry picked from commit 2ef1dc3)

Co-authored-by: Radislav Chugunov <52372310+chgnrdv@users.noreply.github.com>
@serhiy-storchaka serhiy-storchaka enabled auto-merge (squash) July 8, 2023 07:54
@serhiy-storchaka serhiy-storchaka merged commit 8fdb058 into python:3.12 Jul 8, 2023
25 checks passed
@miss-islington miss-islington deleted the backport-2ef1dc3-3.12 branch July 8, 2023 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants