RPC: FaultPDU parameterless constructor will now set Data to an empty byte array

This commit is contained in:
Tal Aloni 2018-05-17 13:42:42 +03:00
parent beef71975b
commit c024168e12

View file

@ -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
* the GNU Lesser Public License as published by the Free Software Foundation,
@ -30,6 +30,7 @@ namespace SMBLibrary.RPC
public FaultPDU() : base()
{
PacketType = PacketTypeName.Fault;
Data = new byte[0];
AuthVerifier = new byte[0];
}