diff options
author | Thierry Deval <tdeval@cvs.openbsd.org> | 2003-05-14 21:15:34 +0000 |
---|---|---|
committer | Thierry Deval <tdeval@cvs.openbsd.org> | 2003-05-14 21:15:34 +0000 |
commit | 4954bd302dfe7b2c49d8f566a069995b4ad8128a (patch) | |
tree | 979d8029f0beb173ee3db44390469e031be8d2ae | |
parent | 95e99501a16684d35b5bf02b5c624b65ba5ec561 (diff) |
Wrong check..
-rw-r--r-- | sys/isofs/cd9660/cd9660_vnops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/isofs/cd9660/cd9660_vnops.c b/sys/isofs/cd9660/cd9660_vnops.c index beeac933245..be86645a47f 100644 --- a/sys/isofs/cd9660/cd9660_vnops.c +++ b/sys/isofs/cd9660/cd9660_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cd9660_vnops.c,v 1.26 2003/05/14 21:13:43 tdeval Exp $ */ +/* $OpenBSD: cd9660_vnops.c,v 1.27 2003/05/14 21:15:33 tdeval Exp $ */ /* $NetBSD: cd9660_vnops.c,v 1.42 1997/10/16 23:56:57 christos Exp $ */ /*- @@ -799,7 +799,7 @@ cd9660_readlink(v) */ if (cd9660_rrip_getsymname(dirp, symname, &symlen, imp) == 0) { if (uio->uio_segflg != UIO_SYSSPACE || - uio->uio_iov->iov_len >= MAXPATHLEN) + uio->uio_iov->iov_len < MAXPATHLEN) FREE(symname, M_NAMEI); brelse(bp); return (EINVAL); |