From: abushwang Date: Wed, 28 Dec 2022 07:06:02 +0000 (+0800) Subject: Fix kpropd crash with unrecognized option X-Git-Tag: krb5-1.21-beta1~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1285%2Fhead;p=thirdparty%2Fkrb5.git Fix kpropd crash with unrecognized option ticket: 9083 (new) tags: pullup target_version: 1.20-next target_version: 1.19-next --- diff --git a/src/kprop/kpropd.c b/src/kprop/kpropd.c index f2341d720f..aa3c81ea30 100644 --- a/src/kprop/kpropd.c +++ b/src/kprop/kpropd.c @@ -1047,6 +1047,7 @@ parse_args(int argc, char **argv) enum { PID_FILE = 256 }; struct option long_options[] = { { "pid-file", 1, NULL, PID_FILE }, + { NULL, 0, NULL, 0 }, }; memset(¶ms, 0, sizeof(params));