From 192a502785f74e6b4023953d8fd861faa644df7d Mon Sep 17 00:00:00 2001 From: Olga Kornievskaia Date: Tue, 15 May 2012 16:21:24 -0400 Subject: [PATCH] [acl] incorrectly checking args for setacl in getacl, the output goes into the userbuffer and thus can't be null. in setacl, the input comes from setsecurity.securitydescriptor not userbuffer. --- sys/nfs41_driver.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/nfs41_driver.c b/sys/nfs41_driver.c index feaa959..c4bb943 100644 --- a/sys/nfs41_driver.c +++ b/sys/nfs41_driver.c @@ -5066,9 +5066,6 @@ NTSTATUS check_nfs41_setacl_args( status = STATUS_NOT_SUPPORTED; goto out; } - if (RxContext->CurrentIrp->UserBuffer == NULL && - RxContext->CurrentIrpSp->Parameters.QuerySecurity.Length) - status = STATUS_INVALID_USER_BUFFER; out: return status; }