mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-15 08:21:28 +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)
|
void Raid::UpdateGroupAAs(uint32 gid)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
if (gid <= 0 || gid > MAX_RAID_GROUPS)
|
||||||
|
return;
|
||||||
|
|
||||||
Client *gl = GetGroupLeader(gid);
|
Client *gl = GetGroupLeader(gid);
|
||||||
|
|
||||||
if (gl)
|
if (gl)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user