Skip to content

Recorder: Ensure m_crcInfo is deleted in destructor and reset functions#122

Open
seer-by-sentry[bot] wants to merge 1 commit intomainfrom
seer/fix-recorder-crcinfo-cleanup
Open

Recorder: Ensure m_crcInfo is deleted in destructor and reset functions#122
seer-by-sentry[bot] wants to merge 1 commit intomainfrom
seer/fix-recorder-crcinfo-cleanup

Conversation

@seer-by-sentry
Copy link

Fixes CLIENT-SW. The issue was that: Access violation read (0x0) in RecorderClass::appendNextCommand is caused by a stale m_crcInfo pointer being dereferenced during a delayed CRC check after replay playback ends.

  • Ensures that the m_crcInfo member is properly deleted in the destructor and reset functions of the RecorderClass to prevent memory leaks.
  • Adds null checks before accessing m_crcInfo in sawCRCMismatch and handleCRCMessage to avoid potential crashes if it's not initialized.

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

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

Comments