Skip to content

bugfix(drawable): Prevent crash when rider tint envelope is null#431

Open
seer-by-sentry[bot] wants to merge 1 commit intomainfrom
seer/bugfix/drawable-tint-envelope-null-check
Open

bugfix(drawable): Prevent crash when rider tint envelope is null#431
seer-by-sentry[bot] wants to merge 1 commit intomainfrom
seer/bugfix/drawable-tint-envelope-null-check

Conversation

@seer-by-sentry
Copy link
Copy Markdown

Fixes CLIENT-1RX. The issue was that: W3DOverlordTankDraw dereferences a null m_colorTintEnvelope pointer when copying tint to a rider, causing an access violation.

  • Added a null check before dereferencing the TintEnvelope pointer returned by getColorTintEnvelope().- This prevents a potential crash if the rider's tint envelope is not set.- Applied to W3DOverlordTankDraw.cpp and W3DOverlordTruckDraw.cpp.

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

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