From: Eli Bendersky Date: Sat, 25 May 2013 12:27:10 +0000 (-0700) Subject: Issue #13612: handle unknown encodings without a buffer overflow. X-Git-Tag: v3.4.0a1~640 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7b3022f24f4bb8c64d02e103de3168e96729bdc2;p=thirdparty%2FPython%2Fcpython.git Issue #13612: handle unknown encodings without a buffer overflow. This affects pyexpat and _elementtree. PyExpat_CAPI now exposes a new function - DefaultUnknownEncodingHandler. Based on a patch by Serhiy Storchaka. --- 7b3022f24f4bb8c64d02e103de3168e96729bdc2