CVE-2011-0216 - Off-by-one error CVE-2011-2821 - Double free vulnerability CVE-2011-2834 - Double free vulnerability CVE-2011-3905 - DOS (out-of-bounds read) via unspecified vectors CVE-2011-3919 - Heap-based buffer overflow ok sthen@
18 lines
561 B
Plaintext
18 lines
561 B
Plaintext
$OpenBSD: patch-xpointer_c,v 1.1 2012/01/23 10:17:49 ajacoutot Exp $
|
|
|
|
From f5048b3e71fc30ad096970b8df6e7af073bae4cb Mon Sep 17 00:00:00 2001
|
|
From: Daniel Veillard <veillard@redhat.com>
|
|
Date: Thu, 18 Aug 2011 09:10:13 +0000
|
|
Subject: Hardening of XPath evaluation
|
|
|
|
--- xpointer.c.orig Tue Oct 12 08:25:33 2010
|
|
+++ xpointer.c Mon Jan 23 08:15:53 2012
|
|
@@ -1269,6 +1269,7 @@ xmlXPtrEvalXPointer(xmlXPathParserContextPtr ctxt) {
|
|
ctxt->valueNr = 0;
|
|
ctxt->valueMax = 10;
|
|
ctxt->value = NULL;
|
|
+ ctxt->valueFrame = 0;
|
|
}
|
|
SKIP_BLANKS;
|
|
if (CUR == '/') {
|