mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-08-16 12:13:46 +02:00
RPC: FaultPDU parameterless constructor will now set Data to an empty byte array
This commit is contained in:
parent
beef71975b
commit
c024168e12
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 2014-2017 Tal Aloni <tal.aloni.il@gmail.com>. All rights reserved.
|
/* Copyright (C) 2014-2018 Tal Aloni <tal.aloni.il@gmail.com>. All rights reserved.
|
||||||
*
|
*
|
||||||
* You can redistribute this program and/or modify it under the terms of
|
* You can redistribute this program and/or modify it under the terms of
|
||||||
* the GNU Lesser Public License as published by the Free Software Foundation,
|
* the GNU Lesser Public License as published by the Free Software Foundation,
|
||||||
|
@ -30,6 +30,7 @@ namespace SMBLibrary.RPC
|
||||||
public FaultPDU() : base()
|
public FaultPDU() : base()
|
||||||
{
|
{
|
||||||
PacketType = PacketTypeName.Fault;
|
PacketType = PacketTypeName.Fault;
|
||||||
|
Data = new byte[0];
|
||||||
AuthVerifier = new byte[0];
|
AuthVerifier = new byte[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue