diff options
author | 2015-02-11 01:26:00 +0000 | |
---|---|---|
committer | 2015-02-11 01:26:00 +0000 | |
commit | ed29f1e0be343b13023eb3a384e45c3ffc4779e5 (patch) | |
tree | 980ba1131e1cbdd985c678792c36c28a2cced958 | |
parent | Some packet error messages show the address of the peer, but might be (diff) | |
download | wireguard-openbsd-ed29f1e0be343b13023eb3a384e45c3ffc4779e5.tar.xz wireguard-openbsd-ed29f1e0be343b13023eb3a384e45c3ffc4779e5.zip |
YPPROC_XFR will trigger a crash, even if using it doesn't make sense.
ok deraadt miod
-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) |