PDA

Просмотр полной версии : Some pointer safety in threat manager


newsbot
03.01.2018, 00:37
Автор: Warlockbugs


<pre style='white-space:pre-wrap;width:81ex'>Some pointer safety in threat manager

Querying nullptr shouldn***39;t even attempt to return anything meaningful.
Passively helps with crashes when threat manager is used carelessly, getVitctim() case in particular.

(based on cmangos/mangos-wotlk@cfb37f659)

Signed-off-by: Xfurry <xfurry.cmangos@outlook.com></pre>


Подробнее... (https://github.com/cmangos/mangos-cata/commit/0aa57e17d0ad28790f3ff84146dbf6b5f3d70cc2)