commit | 651f947163222f758ec20f0082babd53f58bd3fe | [log] [tgz] |
---|---|---|
author | Daniel Veillard <veillard@src.gnome.org> | Thu Oct 04 14:51:06 2001 +0000 |
committer | Daniel Veillard <veillard@src.gnome.org> | Thu Oct 04 14:51:06 2001 +0000 |
tree | 4ff4fc0151fc1450f3aa699f96dfa93d353ead58 | |
parent | 7dd0570d4ede286f8f6a59a8ff22f7cfa034d1f6 [diff] [blame] |
ouch a non-defined namespace could lead to a crash, fixed #61215 Daniel * SAX.c: ouch a non-defined namespace could lead to a crash, fixed #61215 Daniel
diff --git a/SAX.c b/SAX.c index 163ee9b..59158a2 100644 --- a/SAX.c +++ b/SAX.c
@@ -1139,7 +1139,7 @@ * set the namespace node, making sure that if the default namspace * is unbound on a parent we simply kee it NULL */ - if ((ns != NULL) && (ns->href[0] != 0)) + if ((ns != NULL) && (ns->href != NULL) && (ns->href[0] != 0)) xmlSetNs(ret, ns); /*