/[packages]/cauldron/xbmc/current/SOURCES/0013-fixed-CVE-2009-2625-in-internal-python-Mandriva.patch
ViewVC logotype

Contents of /cauldron/xbmc/current/SOURCES/0013-fixed-CVE-2009-2625-in-internal-python-Mandriva.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 78010 - (show annotations) (download)
Sun Mar 27 11:44:10 2011 UTC (13 years, 1 month ago) by ennael
File size: 910 byte(s)
imported package xbmc
1 From 524117c1f27e45ad1a30d8a67e65266a809207fd Mon Sep 17 00:00:00 2001
2 From: Anssi Hannula <anssi.hannula@iki.fi>
3 Date: Sat, 13 Nov 2010 18:33:53 +0200
4 Subject: [PATCH 13/15] fixed: CVE-2009-2625 in internal python (Mandriva)
5
6 ---
7 .../libPython/Python/Modules/expat/xmltok_impl.c | 2 +-
8 1 files changed, 1 insertions(+), 1 deletions(-)
9
10 diff --git a/xbmc/lib/libPython/Python/Modules/expat/xmltok_impl.c b/xbmc/lib/libPython/Python/Modules/expat/xmltok_impl.c
11 index 46569fe..f3e0e52 100644
12 --- a/xbmc/lib/libPython/Python/Modules/expat/xmltok_impl.c
13 +++ b/xbmc/lib/libPython/Python/Modules/expat/xmltok_impl.c
14 @@ -1741,7 +1741,7 @@ PREFIX(updatePosition)(const ENCODING *enc,
15 const char *end,
16 POSITION *pos)
17 {
18 - while (ptr != end) {
19 + while (ptr < end) {
20 switch (BYTE_TYPE(enc, ptr)) {
21 #define LEAD_CASE(n) \
22 case BT_LEAD ## n: \
23 --
24 1.7.3
25

  ViewVC Help
Powered by ViewVC 1.1.30