mirror of
git://git.yoctoproject.org/poky
synced 2026-10-23 20:25:33 +00:00
python-2.7.3:remove BOM insertion code
Backport patch from: https://hg.python.org/cpython/rev/af46a001d5ec SysLogHandler converts message to utf8 and adds BOM, supposedly to conform with RFC5424, but the implementation is broken: the RFC specifies that the BOM should prefix only unstructured message part, but current Python implementation puts it in the middle of structured part, thus confusing RFC-compliant receivers. (From OE-Core rev: c51caffe5ac0d49844dcbac7967f609d44c20470) Signed-off-by: yzhu1 <yanjun.zhu@windriver.com> Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
1 parent
d6fd3030f9
commit
72964fca1d
2 files changed
+25
No files matched your search
@@ -38,6 +38,7 @@ SRC_URI += "\
|
||||
file://python-2.7.3-CVE-2014-1912.patch \
|
||||
file://json-flaw-fix.patch \
|
||||
file://posix_close.patch \
|
||||
file://remove-BOM-insection-code.patch \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/Python-${PV}"
|
||||
|
||||
Reference in new issue
Block a user