gh-67877: Fix memory leaks in terminated RE matching by serhiy-storchaka · Pull Request #126840 · python/cpython · GitHub

github.com

Tin mới

serhiy-storchaka:re-memleaks

miss-islington-app

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

Memory leak in Modules/sre_lib.h #67877

: Fix memory leaks in terminated RE matching

needs backport to 3.12

needs backport to 3.12

needs backport to 3.13

needs backport to 3.13

awaiting core review

awaiting core review

gh-67877: Fix memory leaks in terminated RE matching #126843

Use a pool for SRE_REPEAT.

View reviewed changes

Set state->fail_after_count = -1 after triggering an exception.

Merge branch 'main' into re-memleaks

View reviewed changes

Learn more about hiding disruptive comments

The reason will be displayed to describe this comment to others. Learn more.

: Fix memory leaks in terminated RE matching (

bedevere-app Bot commented Nov 18, 2024

bedevere-app Bot commented Nov 18, 2024

GH-126960 is a backport of this pull request to the 3.13 branch.

: Fix memory leaks in terminated RE matching (

: Fix memory leaks in terminated RE matching (

: Fix memory leaks in terminated RE matching (

: Fix memory leaks in terminated RE matching (