mangos-one/scriptdev2 — pull request #2 by fr1nge (2012-07-03 15:25:07+00:00)
Title: Prince Malchezaar server crash

Function DoMeleeAttacksIfReady() doesn't have required target checks.
If main-hand attack kills the player then the off-hand attack tries to do damage to a dead target, for some reason it's not properly handled by m_creature->AttackerStateUpdate() and it crashes the server.

Method to reproduce:
One player tanks, the other dpses, once it gets to phase 2 tank should die, boss goes for squishy player, one-shots him and server crashes.