use -1 as the invalid pid number
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14559 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1011,7 +1011,7 @@ kcm_dispatch(krb5_context context,
|
|||||||
return ENOMEM;
|
return ENOMEM;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (client->pid == 0) {
|
if (client->pid == -1) {
|
||||||
kcm_log(0, "Client had invalid process number");
|
kcm_log(0, "Client had invalid process number");
|
||||||
ret = KRB5_FCC_INTERNAL;
|
ret = KRB5_FCC_INTERNAL;
|
||||||
goto out;
|
goto out;
|
||||||
|
Reference in New Issue
Block a user