mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-30 11:22:17 +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
+1
-1
@@ -396,7 +396,7 @@ void Client::SendGuildTributes()
|
||||
gtas->ability.tiers[ti].tribute_item_id = htonl(t.second.tiers[ti].tribute_item_id);
|
||||
gtas->ability.tiers[ti].level = htonl(t.second.tiers[ti].level);
|
||||
}
|
||||
strn0cpy(gtas->ability.name, t.second.name.data(), t.second.name.length());
|
||||
strn0cpy(gtas->ability.name, t.second.name.data(), len);
|
||||
FastQueuePacket(&outapp);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user