diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2002-03-02 09:34:02 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2002-03-02 09:34:02 +0000 |
commit | c6613048af6864f162d0587bf221fac825672c71 (patch) | |
tree | a43cb277e02abf0fe60d4ff1be4f05417f7e7829 /xmlIO.c | |
parent | c0fef7745518d98f32d3fce0a0f2ba0eecb35c5f (diff) | |
download | android_external_libxml2-c6613048af6864f162d0587bf221fac825672c71.tar.gz android_external_libxml2-c6613048af6864f162d0587bf221fac825672c71.tar.bz2 android_external_libxml2-c6613048af6864f162d0587bf221fac825672c71.zip |
fix bug #72706 when loading a NULL entity Daniel
* xmlIO.c: fix bug #72706 when loading a NULL entity
Daniel
Diffstat (limited to 'xmlIO.c')
-rw-r--r-- | xmlIO.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2528,6 +2528,8 @@ xmlDefaultExternalEntityLoader(const char *URL, const char *ID, resource = (xmlChar *) URL; if (resource == NULL) { + if (ID == NULL) + ID = "NULL"; if ((ctxt->validate) && (ctxt->sax != NULL) && (ctxt->sax->error != NULL)) ctxt->sax->error(ctxt, |