Skip to content

Fix potential access violations with stale laser particle system IDs#397

Open
seer-by-sentry[bot] wants to merge 1 commit intomainfrom
seer/fix/stale-laser-particle-ids
Open

Fix potential access violations with stale laser particle system IDs#397
seer-by-sentry[bot] wants to merge 1 commit intomainfrom
seer/fix/stale-laser-particle-ids

Conversation

@seer-by-sentry
Copy link

Fixes CLIENT-43H. The issue was that: LaserUpdate::initLaser uses stale m_particleSystemID to find a destroyed particle system, causing an access violation during list iteration.

  • Clears m_particleSystemID to INVALID_PARTICLE_SYSTEM_ID if the associated particle system no longer exists.
  • Clears m_targetParticleSystemID to INVALID_PARTICLE_SYSTEM_ID if the associated particle system no longer exists.
  • Prevents future access violations by ensuring stale particle system IDs are properly invalidated.

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

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