From cc669fe9bb14b037c6c7d88bea780cf053664b15 Mon Sep 17 00:00:00 2001 From: DongHun Kwak Date: Wed, 13 Sep 2017 11:54:26 +0900 Subject: Imported Upstream version 2.2.4 Change-Id: I6e6af59f8c880d483a83eb33c963ac9fb5ec2e4d Signed-off-by: DongHun Kwak --- cgi-bin/help.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cgi-bin/help.c') diff --git a/cgi-bin/help.c b/cgi-bin/help.c index 07f6f27..df33926 100644 --- a/cgi-bin/help.c +++ b/cgi-bin/help.c @@ -271,7 +271,7 @@ main(int argc, /* I - Number of command-line arguments */ section = n->section; } - if (!topic || strcmp(n->section, topic)) + if (!topic || !n->section || strcmp(n->section, topic)) continue; /* -- cgit v1.2.3