Skip to content

WorldHeightMap: Add null check for m_extraBlendTileNdxes before accessing it - #130

Open
seer-by-sentry[bot] wants to merge 1 commit into
mainfrom
seer/worldheightmap-nullcheck
Open

WorldHeightMap: Add null check for m_extraBlendTileNdxes before accessing it#130
seer-by-sentry[bot] wants to merge 1 commit into
mainfrom
seer/worldheightmap-nullcheck

Conversation

@seer-by-sentry

Copy link
Copy Markdown

Fixes CLIENT-TW. The issue was that: WorldHeightMap::getExtraAlphaUVData dereferences m_extraBlendTileNdxes without checking if the pointer is initialized.

  • Added a null check for m_extraBlendTileNdxes to ensure it's valid before accessing its elements.
  • This prevents potential crashes or unexpected behavior when m_extraBlendTileNdxes is not properly initialized.

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

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