Skip to content

Fix: Prevent null dereference in HLOD copy assignment#366

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

Fix: Prevent null dereference in HLOD copy assignment#366
seer-by-sentry[bot] wants to merge 1 commit intomainfrom
seer/fix/hlod-copy-null-deref

Conversation

@seer-by-sentry
Copy link

@seer-by-sentry seer-by-sentry bot commented Mar 1, 2026

Fixes CLIENT-3VA. The issue was that: HLodClass assignment operator crashes dereferencing null sub-model pointer during cloning, due to missing null check.

  • Added null checks for source models before cloning in the HLOD copy assignment operator.
  • Added null checks for newly cloned models before setting their container and notifying the scene.
  • Prevents potential crashes when copying HLOD objects that may contain null model pointers.

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

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