mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-05-16 01:17:03 +02:00
Server: SMB1: TransactionHelper: Return Transaction2Response instead of ErrorResponse when status is set to STATUS_BUFFER_OVERFLOW
This commit is contained in:
parent
994fd1f644
commit
acb047e65c
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ namespace SMBLibrary.Server.SMB1
|
||||||
header.Status = NTStatus.STATUS_SMB_BAD_COMMAND;
|
header.Status = NTStatus.STATUS_SMB_BAD_COMMAND;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (header.Status != NTStatus.STATUS_SUCCESS)
|
if (header.Status != NTStatus.STATUS_SUCCESS && header.Status != NTStatus.STATUS_BUFFER_OVERFLOW)
|
||||||
{
|
{
|
||||||
return new ErrorResponse(CommandName.SMB_COM_TRANSACTION2);
|
return new ErrorResponse(CommandName.SMB_COM_TRANSACTION2);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue