]> granicus.if.org Git - python/commitdiff
Issue #25019: Fixed a crash caused by setting non-string key of expat parser.
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 7 Sep 2015 19:38:34 +0000 (22:38 +0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Mon, 7 Sep 2015 19:38:34 +0000 (22:38 +0300)
Added additional tests for expat parser attributes.
Based on patch by John Leitch.

1  2 
Lib/test/test_pyexpat.py
Misc/ACKS
Misc/NEWS
Modules/pyexpat.c

Simple merge
diff --cc Misc/ACKS
Simple merge
diff --cc Misc/NEWS
index f776bf42d8ffe5160e4d9500f17504571acf428d,ec450ff2f3c271ed81eb085e7df2d795359ac841..8b4c8594d7bdf74a65586fdeb3c81464ca0638e2
+++ b/Misc/NEWS
@@@ -11,12 -10,6 +11,15 @@@ Release date: TB
  Core and Builtins
  -----------------
  
 +Library
 +-------
 +
++- Issue #25019: Fixed a crash caused by setting non-string key of expat parser.
++  Based on patch by John Leitch.
++
 +- Issue #16180: Exit pdb if file has syntax error, instead of trapping user
 +  in an infinite loop.  Patch by Xavier de Gaye.
 +
  - Issue #24891: Fix a race condition at Python startup if the file descriptor
    of stdin (0), stdout (1) or stderr (2) is closed while Python is creating
    sys.stdin, sys.stdout and sys.stderr objects. These attributes are now set
Simple merge