Skip to content

Conversation

@seer-by-sentry
Copy link

Fixes CLIENT-2X4. The issue was that: Null CommandButton from m_controlBarOverrides is dereferenced in Object::canProduceUpgrade via CommandSet::getCommandButton.

  • Added a null pointer check for the command button retrieved from 'm_controlBarOverrides'.
  • Ensures that 'commandButton' is only assigned if the override exists and its value is not null.

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

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.

1 participant