Skip to content

BaseHeightMap: Add null check for m_map before dereferencing - #46

Merged
x64-dev merged 1 commit into
mainfrom
seer/baseheightmap-nullcheck
Oct 10, 2025
Merged

BaseHeightMap: Add null check for m_map before dereferencing#46
x64-dev merged 1 commit into
mainfrom
seer/baseheightmap-nullcheck

Conversation

@seer-by-sentry

@seer-by-sentry seer-by-sentry Bot commented Oct 5, 2025

Copy link
Copy Markdown

Fixes CLIENT-E9. The issue was that: Dangling pointer m_map was dereferenced during rendering, causing a virtual function call through a corrupted vtable.

  • Added a safety check to ensure that m_map is valid (not null) before dereferencing it in RenderHeatMap and RenderHeatMapEdge functions.
  • This prevents potential crashes or undefined behavior if m_map is a null pointer.

This fix was generated by Seer in Sentry, triggered by x64-dev. 👁️ Run ID: 1769183

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

@x64-dev
x64-dev marked this pull request as ready for review October 10, 2025 21:18
@x64-dev
x64-dev merged commit 52e5fc5 into main Oct 10, 2025
5 checks passed
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.

1 participant