mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-05-15 08:56:56 +02:00
SMB2: IOCtlRequest: OutputOffset field was set incorrectly in some cases
This commit is contained in:
parent
a0f8e0c19e
commit
a71b97a707
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ namespace SMBLibrary.SMB2
|
|||
}
|
||||
if (Output.Length > 0)
|
||||
{
|
||||
OutputOffset = InputOffset + (uint)Input.Length;
|
||||
OutputOffset = SMB2Header.Length + FixedLength + (uint)Input.Length;
|
||||
}
|
||||
LittleEndianWriter.WriteUInt16(buffer, offset + 0, StructureSize);
|
||||
LittleEndianWriter.WriteUInt16(buffer, offset + 2, Reserved);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue