mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[RDBSS] Fix a bug in RxQueryNameInfo(): don't only return name length, but also the whole structure. Avoids corruption
This commit is contained in:
parent
0ef056230e
commit
3c679fc6b4
1 changed files with 2 additions and 0 deletions
|
@ -8155,6 +8155,8 @@ RxQueryNameInfo(
|
|||
return STATUS_BUFFER_OVERFLOW;
|
||||
}
|
||||
|
||||
RxContext->Info.LengthRemaining -= FIELD_OFFSET(FILE_NAME_INFORMATION, FileName);
|
||||
|
||||
Fcb = (PFCB)RxContext->pFcb;
|
||||
Fobx = (PFOBX)RxContext->pFobx;
|
||||
/* Get the UNC name */
|
||||
|
|
Loading…
Reference in a new issue