diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-04-25 09:33:25 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-04-25 09:33:25 +0000 |
commit | 8e3a6c49433da7ca4fdecc8322b68675f41d2f92 (patch) | |
tree | 1802358c517756a8b548872b1c3d801ef1d58050 | |
parent | a3a2e86dd05eca9e4bc13272c4e2725e593bd525 (diff) |
proper mask check; mike@fast.cs.utah.edu
-rw-r--r-- | sys/kern/vfs_subr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index 0d2ac94fbc1..10ed04c26ca 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_subr.c,v 1.9 1997/04/14 04:23:26 tholo Exp $ */ +/* $OpenBSD: vfs_subr.c,v 1.10 1997/04/25 09:33:24 deraadt Exp $ */ /* $NetBSD: vfs_subr.c,v 1.53 1996/04/22 01:39:13 christos Exp $ */ /* @@ -1365,7 +1365,7 @@ vfs_hang_addrlist(mp, nep, argp) saddr->sa_len = argp->ex_addrlen; if (argp->ex_masklen) { smask = (struct sockaddr *)((caddr_t)saddr + argp->ex_addrlen); - error = copyin(argp->ex_addr, (caddr_t)smask, argp->ex_masklen); + error = copyin(argp->ex_mask, (caddr_t)smask, argp->ex_masklen); if (error) goto out; if (smask->sa_len > argp->ex_masklen) |