Skip to content

Conversation

@seer-by-sentry
Copy link

Fixes CLIENT-352. The issue was that: WaterRenderObjClass::init dereferences null SurfaceClass pointer from Get_Surface_Level, causing read access violation.

  • Added null pointer checks for the SurfaceClass object returned by Get_Surface_Level().
  • Prevents potential crashes if Get_Surface_Level() fails to return a valid surface.
  • Applied in both the Init() method and the constructor of W3DWater when initializing m_whiteTexture.

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

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.

1 participant