Skip to content

Conversation

@seer-by-sentry
Copy link

Fixes CLIENT-28Q. The issue was that: Unguarded log10(logBase) in logN causes division by zero when TheGlobalData is NULL during Uninitialize.

  • Added a check to prevent division by zero in the logN function when logBase is 1.
  • If logBase is 1, log10(logBase) evaluates to 0, which previously caused a division by zero error.
  • The function now returns 0.0f when logBase is 1 to handle this edge case gracefully.

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

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