Skip to content

AudioEventRTS: Prevent copying stale cached event info pointer - #172

Open
seer-by-sentry[bot] wants to merge 1 commit into
mainfrom
seer/fix/audio-event-rts-copy-stale-pointer
Open

AudioEventRTS: Prevent copying stale cached event info pointer#172
seer-by-sentry[bot] wants to merge 1 commit into
mainfrom
seer/fix/audio-event-rts-copy-stale-pointer

Conversation

@seer-by-sentry

Copy link
Copy Markdown

Fixes CLIENT-16F. The issue was that: AudioEventRTS copy assignment copies stale mutable m_eventInfo pointer, causing read access violation during filename generation.

  • Modified the copy constructor and assignment operator for AudioEventRTS.
  • Explicitly set the cached event info pointer (m_eventInfo) to NULL during copy and assignment operations.
  • This prevents copying potentially stale cached pointers, ensuring the object reloads necessary information if needed.

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

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