diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2004-01-02 10:42:01 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2004-01-02 10:42:01 +0000 |
commit | 1a9b7084f6313be41edbe143c1f56f327504d06c (patch) | |
tree | bb95fec76c464ad492bc79dbccc357d78dc41909 /SAX2.c | |
parent | 1ff4213edd9ac0b2946560d96f440410f15b7629 (diff) | |
download | libxml2-1a9b7084f6313be41edbe143c1f56f327504d06c.tar.gz |
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
Diffstat (limited to 'SAX2.c')
-rw-r--r-- | SAX2.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |