Skip to content

CampaignManager: Add validation to prevent use-after-free crashes - #65

Open
seer-by-sentry[bot] wants to merge 1 commit into
mainfrom
seer/campaignmanager-use-after-free-fix
Open

CampaignManager: Add validation to prevent use-after-free crashes#65
seer-by-sentry[bot] wants to merge 1 commit into
mainfrom
seer/campaignmanager-use-after-free-fix

Conversation

@seer-by-sentry

Copy link
Copy Markdown

Fixes CLIENT-EX. The issue was that: AsciiString copy failed due to memory corruption overwriting its internal data pointer with the invalid address 0xa4.

  • Added validation to check if the current mission pointer is still valid within the mission list.
  • If the current mission is not found in the list, it indicates a potential use-after-free scenario, and the function returns NULL after logging a debug message.

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

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