diff options
author | Martin Pelikan <pelikan@cvs.openbsd.org> | 2015-02-11 01:26:01 +0000 |
---|---|---|
committer | Martin Pelikan <pelikan@cvs.openbsd.org> | 2015-02-11 01:26:01 +0000 |
commit | b5eb64a02959b1f3e5f2c1446283061df7daf176 (patch) | |
tree | 6642a060727110099f3f007ea6c94d9b63f98200 /usr.sbin/ypldap | |
parent | c22e01cd33fdcfb6cf0177c833600fe3b3e2234b (diff) |
YPPROC_XFR will trigger a crash, even if using it doesn't make sense.
ok deraadt miod
Diffstat (limited to 'usr.sbin/ypldap')
-rw-r--r-- | usr.sbin/ypldap/yp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ypldap/yp.c b/usr.sbin/ypldap/yp.c index 0a51affe712..0445b328f47 100644 --- a/usr.sbin/ypldap/yp.c +++ b/usr.sbin/ypldap/yp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: yp.c,v 1.13 2015/01/16 06:40:22 deraadt Exp $ */ +/* $OpenBSD: yp.c,v 1.14 2015/02/11 01:26:00 pelikan Exp $ */ /* * Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org> * @@ -209,7 +209,7 @@ yp_dispatch(struct svc_req *req, SVCXPRT *trans) if (yp_check(req) == -1) return; svcerr_noproc(trans); - break; + return; case YPPROC_CLEAR: log_debug("ypproc_clear"); if (yp_check(req) == -1) |