mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-26 03:27:32 +00:00
Crash handler: don't hang on a corrupted heap; fix guild tribute names (#5130)
This commit is contained in:
1 parent
c9c8747ac9
commit
a572b03f56
9 files changed
+33
-10
No files matched your search
@@ -871,7 +871,7 @@ void WorldServer::HandleMessage(uint16 opcode, const EQ::Net::Packet &p)
|
||||
ServerMultiLineMsg_Struct* mlm = (ServerMultiLineMsg_Struct*)pack->pBuffer;
|
||||
Client* client = entity_list.GetClientByName(mlm->to);
|
||||
if (client) {
|
||||
auto outapp = new EQApplicationPacket(OP_MultiLineMsg, strlen(mlm->message));
|
||||
auto outapp = new EQApplicationPacket(OP_MultiLineMsg, strlen(mlm->message) + 1);
|
||||
strcpy((char*)outapp->pBuffer, mlm->message);
|
||||
client->QueuePacket(outapp);
|
||||
safe_delete(outapp);
|
||||
|
||||
Reference in new issue
Block a user