[driver] fixing return value for security query
rdbss doesn't like status_buffer_too_small return and instead needs status_buffer_overflow
This commit is contained in:
parent
90513f177b
commit
d83fece068
1 changed files with 1 additions and 1 deletions
|
|
@ -3705,7 +3705,7 @@ NTSTATUS nfs41_QuerySecurityInformation (
|
|||
DbgP("nfs41_QuerySecurityInformation: provided buffer size=%d but we need %d\n",
|
||||
RxContext->CurrentIrpSp->Parameters.QuerySecurity.Length,
|
||||
entry->u.Acl.buf_len);
|
||||
status = STATUS_BUFFER_TOO_SMALL;
|
||||
status = STATUS_BUFFER_OVERFLOW;
|
||||
RxContext->InformationToReturn = entry->u.Acl.buf_len;
|
||||
} else if (entry->status == STATUS_SUCCESS) {
|
||||
if (RtlValidSecurityDescriptor(entry->u.Acl.buf)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue