Crash handler: don't hang on a corrupted heap; fix guild tribute names (#5130)

This commit is contained in:
straps-eq authored and GitHub committed 2026-11-10 23:35:33 -08:00
1 parent c9c8747ac9
commit a572b03f56
9 files changed
+33 -10

No files matched your search

+1 -1
View File
@@ -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);