mirror of
https://git.yoctoproject.org/poky
synced 2026-02-14 12:43:03 +01:00
Python: Fix for CVE-2012-2135
Reference:http://http://bugs.python.org/issue14579 The utf-16 decoder in Python 3.1 through 3.3 does not update the aligned_end variable after calling the unicode_decode_call_errorhandler function, which allows remote attackers to obtain sensitive information (process memory) or cause a denial of service (memory corruption and crash) via unspecified vectors. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-2135 [YOCTO #3450] (From OE-Core rev: 11544f573bc94ce69a8a76d645e46ab6359dee78) Signed-off-by: yanjun.zhu <yanjun.zhu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
9abe92ec1c
commit
8cb8752662
@@ -1,6 +1,6 @@
|
||||
require python.inc
|
||||
DEPENDS = "python-native bzip2 db gdbm openssl readline sqlite3 zlib"
|
||||
PR = "${INC_PR}.2"
|
||||
PR = "${INC_PR}.3"
|
||||
|
||||
DISTRO_SRC_URI ?= "file://sitecustomize.py"
|
||||
DISTRO_SRC_URI_linuxstdbase = ""
|
||||
@@ -27,6 +27,7 @@ SRC_URI += "\
|
||||
file://avoid_warning_for_sunos_specific_module.patch \
|
||||
file://python-2.7.3-berkeley-db-5.3.patch \
|
||||
file://python-2.7.3-remove-bsdb-rpath.patch \
|
||||
file://python-2.7.3-CVE-2012-2135.patch \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/Python-${PV}"
|
||||
|
||||
Reference in New Issue
Block a user