diff options
Diffstat (limited to 'debian/patches/0005-Fix-potential-out-of-bound-access.patch')
-rw-r--r-- | debian/patches/0005-Fix-potential-out-of-bound-access.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/debian/patches/0005-Fix-potential-out-of-bound-access.patch b/debian/patches/0005-Fix-potential-out-of-bound-access.patch deleted file mode 100644 index 1e6396c..0000000 --- a/debian/patches/0005-Fix-potential-out-of-bound-access.patch +++ /dev/null @@ -1,22 +0,0 @@ -From: Daniel Veillard <veillard@redhat.com> -Date: Mon, 29 Oct 2012 02:39:55 +0000 -Subject: Fix potential out of bound access - ---- - parser.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/parser.c b/parser.c -index 192eaed..4519a70 100644 ---- a/parser.c -+++ b/parser.c -@@ -4075,7 +4075,7 @@ xmlParseAttValueComplex(xmlParserCtxtPtr ctxt, int *attlen, int normalize) { - 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 == '<') { --- |