mirror of
https://github.com/EQEmu/Server.git
synced 2026-02-23 15:42:24 +00:00
AA fixes for PEQ's reported crash
This commit is contained in:
parent
1c07ae9172
commit
51181c8c8b
@ -1,6 +1,10 @@
|
||||
EQEMu Changelog (Started on Sept 24, 2003 15:50)
|
||||
-------------------------------------------------------
|
||||
== 11/23/2013 ==
|
||||
Secrets: Fixed an issue related to a zone crash where the count of the abilities in an AA was 0, leading to a size 0 buffer issue.
|
||||
|
||||
== 11/19/2013 ==
|
||||
Secrets: Fixed an issue with two zone crashes reported on PEQ related to the buff restrictions code and AAs.
|
||||
demonstar55: Partially make use of dot_stacking_exempt (case when it's 1 is implemented, -1 case isn't)
|
||||
|
||||
== 11/18/2013 ==
|
||||
|
||||
@ -1300,6 +1300,10 @@ void Client::SendAA(uint32 id, int seq) {
|
||||
return;
|
||||
|
||||
int size=sizeof(SendAA_Struct)+sizeof(AA_Ability)*saa2->total_abilities;
|
||||
|
||||
if(size == 0)
|
||||
return;
|
||||
|
||||
uchar* buffer = new uchar[size];
|
||||
SendAA_Struct* saa=(SendAA_Struct*)buffer;
|
||||
memcpy(saa,saa2,size);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user