Commit
4df5003 introduced a check against options->config but
did not ensure that this variable is non-null.
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <
20220722134652.
2446598-1-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg24722.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
o->verify_hash_no_ca = true;
}
- if (streq(o->config, "stdin") && o->remap_sigusr1 == SIGHUP)
+ if (o->config && streq(o->config, "stdin") && o->remap_sigusr1 == SIGHUP)
{
msg(M_USAGE, "Options 'config stdin' and 'remap-usr1 SIGHUP' are "
"incompatible with each other.");