Skip to content

Fix potential crash when calculating parachute attach height for null objects#403

Open
seer-by-sentry[bot] wants to merge 1 commit intomainfrom
seer/fix/parachute-attach-height-null-check
Open

Fix potential crash when calculating parachute attach height for null objects#403
seer-by-sentry[bot] wants to merge 1 commit intomainfrom
seer/fix/parachute-attach-height-null-check

Conversation

@seer-by-sentry
Copy link

Fixes CLIENT-44C. The issue was that: ParachuteContain::updateBonePositions dereferences null riderDraw when rider's drawable is not yet bound during payload creation.

  • Added a null check for riderDraw->getObject() before accessing getDrawableGeometryInfo().getMaxHeightAbovePosition().
  • Prevents potential crashes or incorrect height calculations if the object associated with riderDraw is null.

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

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