arcscripts2/arcscripts2 — comment on commit 1f12aa7dd72d17bce71e226b9fe587ed3dacbb97
File:  line 0
By jackpoz:

scripts/InstanceScripts/Raid_IcecrownCitadel.cpp line 375
***
bool BoneStorm(uint32 i, Spell* s)
{
if(s->u_caster == NULL)
return true;
SpellEntry* pSpell;
if(s)
pSpell = dbcSpell.LookupEntry((uint32)s);
***
first deref s with s->u_caster, then check if s is NULL and if it's not it casts s (which is a pointer to a Spell class) to uint32 and pass it to LookupEntry() as spell id. Very bugged code.