Date: Sat, 11 Apr 2009 13:00:26 GMT From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 160487 for review Message-ID: <200904111300.n3BD0Qj0035367@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=160487 Change 160487 by trasz@trasz_victim7 on 2009/04/11 12:59:39 ufs_aclcheck() needs to check if the new POSIX1e. ACL will fit into 'struct oldacl', which is being used for POSIX.1e on-disk storage. Affected files ... .. //depot/projects/soc2008/trasz_nfs4acl/sys/ufs/ufs/ufs_acl.c#14 edit Differences ... ==== //depot/projects/soc2008/trasz_nfs4acl/sys/ufs/ufs/ufs_acl.c#14 (text+ko) ==== @@ -626,6 +626,10 @@ default: return (EINVAL); } + + if (ap->a_aclp->acl_cnt > OLDACL_MAX_ENTRIES) + return (EINVAL); + return (acl_posix1e_check(ap->a_aclp)); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904111300.n3BD0Qj0035367>