blob: 1e45675c7d17221589861b468678796966554b13 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$NetBSD: patch-al,v 1.1 2011/06/06 12:09:01 drochner Exp $
from gnome git: Fix memory corruption
--- parser.c.orig 2010-11-04 15:55:45.000000000 +0000
+++ parser.c
@@ -6992,6 +6992,7 @@ xmlParseReference(xmlParserCtxtPtr ctxt)
ent->owner = 1;
while (list != NULL) {
list->parent = (xmlNodePtr) ent;
+ xmlSetTreeDoc(list, ent->doc);
if (list->next == NULL)
ent->last = list;
list = list->next;
|