Skip to content

Fix: Prevent null dereference when cloning HLOD models#367

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

Fix: Prevent null dereference when cloning HLOD models#367
seer-by-sentry[bot] wants to merge 1 commit intomainfrom
seer/fix/hlod-null-model-clone

Conversation

@seer-by-sentry
Copy link

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

Fixes CLIENT-3VB. The issue was that: HLodClass::operator= attempts to clone a dangling or invalid RenderObjClass pointer, causing an access violation.

  • Added null pointer checks before cloning models in the HLOD system.
  • Ensures that nullptr models are skipped during the cloning process for both LOD and AdditionalModels arrays, preventing potential crashes.

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

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