src/node.c | 3 +++
1 file changed, 3 insertions(+)
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)) {