mirror of
https://github.com/reactos/reactos.git
synced 2026-05-23 15:50:29 +08: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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user