Skip to content

gh-148735: Fix a UAF in Element.findtext()#148738

Open
StanFromIreland wants to merge 2 commits intopython:mainfrom
StanFromIreland:findall
Open

gh-148735: Fix a UAF in Element.findtext()#148738
StanFromIreland wants to merge 2 commits intopython:mainfrom
StanFromIreland:findall

Conversation

@StanFromIreland
Copy link
Copy Markdown
Member

@StanFromIreland StanFromIreland commented Apr 18, 2026

This was a regression introduced by c57623c.

/* return borrowed reference to text attribute */

`Element.findtext()`
Comment thread Modules/_elementtree.c Outdated
@StanFromIreland StanFromIreland requested a review from picnixz April 19, 2026 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants