Skip to content

Fix: Prevent null dereference in SpecialPowerModule#395

Open
seer-by-sentry[bot] wants to merge 1 commit intomainfrom
seer/fix/special-power-module-null-ptr
Open

Fix: Prevent null dereference in SpecialPowerModule#395
seer-by-sentry[bot] wants to merge 1 commit intomainfrom
seer/fix/special-power-module-null-ptr

Conversation

@seer-by-sentry
Copy link

Fixes CLIENT-31F. The issue was that: SpecialPowerModule constructor dereferences a null m_specialPowerTemplate when INI configuration is missing, causing an access violation.

  • Added null checks for 'getSpecialPowerTemplate()' before accessing its methods in 'OnModuleConstructed'.
  • Added null checks for 'getSpecialPowerTemplate()' before accessing its methods in 'Update' when checking for public timers.

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

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