+Tue Oct 22 21:02:37 CEST 2002 Daniel Veillard <daniel@veillard.com>
+
+ * libxslt/pattern.c: Forgot to check a pointer, fixes bug #96495
+
Tue Oct 22 20:53:10 CEST 2002 Daniel Veillard <daniel@veillard.com>
* libxslt/keys.h: fixed include c.f. bug #96487
if (sibling == previous)
break;
if ((node->type == XML_ELEMENT_NODE) &&
+ (node->name != NULL) &&
+ (sibling->name != NULL) &&
(node->name[0] == sibling->name[0]) &&
(xmlStrEqual(node->name, sibling->name))) {
if ((select->value2 == NULL) ||
if (siblings == node) {
len++;
pos = len;
- } else if ((node->name[0] == siblings->name[0])
- && (xmlStrEqual(node->name, siblings->name))) {
+ } else if ((node->name != NULL) &&
+ (siblings->name != NULL) &&
+ (node->name[0] == siblings->name[0]) &&
+ (xmlStrEqual(node->name, siblings->name))) {
if ((select->value2 == NULL) ||
((siblings->ns != NULL) &&
(xmlStrEqual(select->value2,