Merge pull request #485 from AttorneyOnline/quickfix
Fix a segfault/crash due to invalid packet size checking for the timer (TI) packet
This commit is contained in:
commit
c109f68075
@ -627,7 +627,7 @@ void AOApplication::server_packet_received(AOPacket *p_packet)
|
|||||||
|
|
||||||
if (type == 0 || type == 1)
|
if (type == 0 || type == 1)
|
||||||
{
|
{
|
||||||
if (f_contents.size() < 2)
|
if (f_contents.size() < 3)
|
||||||
goto end;
|
goto end;
|
||||||
|
|
||||||
// The time as displayed on the clock, in milliseconds.
|
// The time as displayed on the clock, in milliseconds.
|
||||||
|
Loading…
Reference in New Issue
Block a user