Abort reading bad packet
This commit is contained in:
parent
721e5c6362
commit
8639e5a7ed
1 changed files with 2 additions and 0 deletions
|
@ -379,6 +379,8 @@ void EQStream::ProcessPacket(EQProtocolPacket *p, EQProtocolPacket* lastp)
|
|||
ProcessPacket(subp, p);
|
||||
delete subp;
|
||||
}
|
||||
else
|
||||
break; // bad packet
|
||||
}
|
||||
}
|
||||
processed+=subpacket_length+offset;
|
||||
|
|
Loading…
Reference in a new issue