Commit 1a9b7084 authored by Daniel Veillard's avatar Daniel Veillard
Browse files

found and fixed a bug misallocating some non blank text node strings from

* SAX2.c: found and fixed a bug misallocating some non
  blank text node strings from the dictionnary.
* xmlmemory.c: fixed a problem with the memory debug mutex
  release.
Daniel
parent 1ff4213e
Fri Jan 2 11:40:06 CET 2004 Daniel Veillard <daniel@veillard.com>
* SAX2.c: found and fixed a bug misallocating some non
blank text node strings from the dictionnary.
* xmlmemory.c: fixed a problem with the memory debug mutex
release.
Wed Dec 31 22:02:37 HKT 2003 William Brack <wbrack@mmm.com.hk>
 
* xinclude.c: fixed problem caused by wrong dictionary
......
......@@ -1670,7 +1670,7 @@ xmlSAX2TextNode(xmlParserCtxtPtr ctxt, const xmlChar *str, int len) {
int i;
for (i = 1;i < len;i++) {
if (!IS_BLANK_CH(*str)) goto skip;
if (!IS_BLANK_CH(str[i])) goto skip;
}
intern = xmlDictLookup(ctxt->dict, str, len);
}
......
......@@ -822,6 +822,7 @@ xmlCleanupMemory(void) {
return;
xmlFreeMutex(xmlMemMutex);
xmlMemMutex = NULL;
xmlMemInitialized = 0;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment