mirror of
https://github.com/EQEmu/Server.git
synced 2026-10-09 06:23:37 +00:00
Size check on ServerOP_ChannelMessage
This commit is contained in:
1 parent
5e1500c93b
commit
b4576435e3
1 file changed
+2
@@ -434,6 +434,8 @@ bool ZoneServer::Process() {
|
||||
break;
|
||||
}
|
||||
case ServerOP_ChannelMessage: {
|
||||
if (pack->size < sizeof(ServerChannelMessage_Struct))
|
||||
break;
|
||||
ServerChannelMessage_Struct* scm = (ServerChannelMessage_Struct*) pack->pBuffer;
|
||||
if(scm->chan_num == 20)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user