]> granicus.if.org Git - python/commitdiff
Issue #13612: handle unknown encodings without a buffer overflow.
authorEli Bendersky <eliben@gmail.com>
Sat, 25 May 2013 12:27:10 +0000 (05:27 -0700)
committerEli Bendersky <eliben@gmail.com>
Sat, 25 May 2013 12:27:10 +0000 (05:27 -0700)
This affects pyexpat and _elementtree. PyExpat_CAPI now exposes a new
function - DefaultUnknownEncodingHandler.

Based on a patch by Serhiy Storchaka.

1  2 
Lib/test/test_xml_etree.py
Modules/_elementtree.c

Simple merge
Simple merge