mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 02:11:30 +00:00
Raid::UpdateGroupAAs out of range crash in memset
This commit is contained in:
parent
f29fe17496
commit
00b2debb32
@ -323,6 +323,10 @@ void Raid::SaveRaidLeaderAA()
|
||||
|
||||
void Raid::UpdateGroupAAs(uint32 gid)
|
||||
{
|
||||
|
||||
if (gid <= 0 || gid > MAX_RAID_GROUPS)
|
||||
return;
|
||||
|
||||
Client *gl = GetGroupLeader(gid);
|
||||
|
||||
if (gl)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user