mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
Fixed possible crash caused by invalid formed CMSG_AUTH_SESSION
This commit is contained in:
parent
a2d3941588
commit
9f8fdea525
1 changed files with 2 additions and 0 deletions
|
|
@ -673,6 +673,8 @@ void WorldSession::ReadMovementInfo(WorldPacket &data, MovementInfo *mi)
|
|||
|
||||
void WorldSession::ReadAddonsInfo(WorldPacket &data)
|
||||
{
|
||||
if (data.rpos() + 4 > data.size())
|
||||
return;
|
||||
uint32 size;
|
||||
data >> size;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue