FIRE-34767 - (bugsplat) Fixed null pointer dereference in motioncontroller

master
Beq 2024-10-28 13:45:55 +00:00
parent 6e7da8eaa8
commit 23a1026fd9
1 changed files with 1 additions and 1 deletions

View File

@ -573,7 +573,7 @@ void LLMotionController::updateMotionsByType(LLMotion::LLMotionBlendType anim_ty
{
motion_list_t::iterator curiter = iter++;
LLMotion* motionp = *curiter;
if (motionp->getBlendType() != anim_type)
if (!motionp || motionp->getBlendType() != anim_type) // <FS:Beq/> FIRE-34767 - null pointer dereference
{
continue;
}