diff options
author | William M. Brack <wbrack@src.gnome.org> | 2004-08-31 06:47:17 +0000 |
---|---|---|
committer | William M. Brack <wbrack@src.gnome.org> | 2004-08-31 06:47:17 +0000 |
commit | bf5cf2196c619c6ec2fec5fdf31cd6b040df508d (patch) | |
tree | 35206c920901f95af0c5d9b86e65871c26eda873 /dict.c | |
parent | b4a9e64f752f44066ecf039d0fa4770a676135c4 (diff) | |
download | android_external_libxml2-bf5cf2196c619c6ec2fec5fdf31cd6b040df508d.tar.gz android_external_libxml2-bf5cf2196c619c6ec2fec5fdf31cd6b040df508d.tar.bz2 android_external_libxml2-bf5cf2196c619c6ec2fec5fdf31cd6b040df508d.zip |
fixed bug introduced during OOM fixup causing problems with default
* SAX2.c: fixed bug introduced during OOM fixup causing problems
with default namespace when a named prefix with the same href
was present (reported on the mailing list by Karl Eichwalder.
* xmlstring.c: modified xmlCheckUTF8 with suggested code from
Julius Mittenzwei.
* dict.c: added a typecast to try to avoid problem reported by
Pascal Rodes.
Diffstat (limited to 'dict.c')
-rw-r--r-- | dict.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -708,7 +708,7 @@ xmlDictOwns(xmlDictPtr dict, const xmlChar *str) { return(-1); pool = dict->strings; while (pool != NULL) { - if ((str >= pool->array) && (str <= pool->free)) + if ((str >= &pool->array[0]) && (str <= pool->free)) return(1); pool = pool->next; } |