Skip to content

Fix: Prevent null dereference in AI state updates#379

Open
seer-by-sentry[bot] wants to merge 1 commit intomainfrom
seer/fix/ai-null-deref
Open

Fix: Prevent null dereference in AI state updates#379
seer-by-sentry[bot] wants to merge 1 commit intomainfrom
seer/fix/ai-null-deref

Conversation

@seer-by-sentry
Copy link

Fixes CLIENT-3Z9. The issue was that: AI state transition attempts to use a deleted or invalid target object, causing a null pointer dereference in Thing::isKindOf.

  • Added null checks for the AIUpdateInterface in AIAttackState::onUpdate().
  • Added null checks for the AIUpdateInterface in AIAttackState::onEnter().
  • Ensures AI state transitions are robust against missing AI components.

This fix was generated by Seer in Sentry, triggered automatically. 👁️ Run ID: 11486867

Not quite right? Click here to continue debugging with Seer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants