SHA256
1
0
forked from pool/expat
expat/expat-CVE-2009-2625.patch
OBS User autobuild 125a5dbf08 Accepting request 25590 from devel:libraries:c_c++
Copy from devel:libraries:c_c++/expat based on submit request 25590 from user prusnak

OBS-URL: https://build.opensuse.org/request/show/25590
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/expat?expand=0&rev=14
2009-12-08 09:11:30 +00:00

16 lines
508 B
Diff

http://expat.cvs.sourceforge.net/viewvc/expat/expat/lib/xmltok_impl.c?r1=1.13&r2=1.15
Index: lib/xmltok_impl.c
===================================================================
--- lib/xmltok_impl.c.orig
+++ lib/xmltok_impl.c
@@ -1744,7 +1744,7 @@ PREFIX(updatePosition)(const ENCODING *e
const char *end,
POSITION *pos)
{
- while (ptr != end) {
+ while (ptr < end) {
switch (BYTE_TYPE(enc, ptr)) {
#define LEAD_CASE(n) \
case BT_LEAD ## n: \