forked from pool/libxml2
update to 2.9.0 OBS-URL: https://build.opensuse.org/request/show/145538 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=75
12 lines
368 B
Diff
12 lines
368 B
Diff
--- libxml2-2.9.0.orig/parser.c 2012-09-11 06:24:08.000000000 +0200
|
|
+++ libxml2-2.9.0/parser.c 2012-12-15 16:12:27.441609871 +0100
|
|
@@ -4075,7 +4075,7 @@
|
|
goto error;
|
|
|
|
if ((in_space) && (normalize)) {
|
|
- while (buf[len - 1] == 0x20) len--;
|
|
+ while ((len > 0) && (buf[len - 1] == 0x20)) len--;
|
|
}
|
|
buf[len] = 0;
|
|
if (RAW == '<') {
|