Skip to content

Commit

Permalink
missed a length check
Browse files Browse the repository at this point in the history
  • Loading branch information
dooly123 committed Jan 11, 2025
1 parent a022cbd commit 292a939
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ public void Serialize(NetDataWriter Writer)
}
else
{
byte Size = (byte)array.Length;
Writer.Put(messageIndex);
byte Size = (byte)array.Length;
Writer.Put(Size);
Writer.Put(array);
}
Expand Down

0 comments on commit 292a939

Please sign in to comment.