Issue #25019: Fixed a crash caused by setting non-string key of expat… · pythoncapi/cpython@3b1bc78 · GitHub
Skip to content

Commit 3b1bc78

Browse files
Issue python#25019: Fixed a crash caused by setting non-string key of expat parser.
Added additional tests for expat parser attributes. Based on patch by John Leitch.
2 parents ae0d752 + 931331a commit 3b1bc78

4 files changed

Lines changed: 51 additions & 16 deletions

File tree

Lib/test/test_pyexpat.py

Lines changed: 41 additions & 15 deletions

Misc/ACKS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -831,6 +831,7 @@ Joerg Lehmann
831831
Robert Lehmann
832832
Petri Lehtinen
833833
Luke Kenneth Casson Leighton
834+
John Leitch
834835
Tshepang Lekhonkhobe
835836
Marc-André Lemburg
836837
Mateusz Lenik

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ Core and Builtins
1414
Library
1515
-------
1616

17+
- Issue #25019: Fixed a crash caused by setting non-string key of expat parser.
18+
Based on patch by John Leitch.
19+
1720
- Issue #16180: Exit pdb if file has syntax error, instead of trapping user
1821
in an infinite loop. Patch by Xavier de Gaye.
1922

Modules/pyexpat.c

Lines changed: 6 additions & 1 deletion

0 commit comments

Comments
 (0)