DEBSOURCES
Skip Quicknav
Patches / Patch / hnb / 1.9.18+ds1-1
1234567891011121314
hnb (1.9.17-4) * Return NULL if node is NULL in node_get. (Closes: #245875) --- hnb-1.9.18.orig/src/node.c +++ hnb-1.9.18/src/node.c @@ -88,6 +88,9 @@ void node_set (Node *node, char *name, c { Node_AttItem *att; + if (node == NULL) + return; + att = node->attrib; while (att) { if (!strcmp (att->name, name)) {