fix client crashing with non terminated packed gump layout
This commit is contained in:
parent
c6d88e4bd8
commit
cc0cf2e01f
1 changed files with 2 additions and 1 deletions
|
|
@ -1983,7 +1983,8 @@ namespace Server.Network
|
|||
m_Stream.Write( (int) m_Gump.X );
|
||||
m_Stream.Write( (int) m_Gump.Y );
|
||||
|
||||
// Note: layout seems to be null terminated on OSI, but it works either ways
|
||||
// Note: layout MUST be null terminated (don't listen to krrios)
|
||||
m_Layout.WriteByte( (byte) 0 );
|
||||
WritePacked( m_Layout );
|
||||
|
||||
m_Stream.Write( (int) m_StringCount );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue