Skip to content

Comments

Fix: Correctly format UnicodeString using format_va#125

Open
seer-by-sentry[bot] wants to merge 1 commit intomainfrom
seer/fix-unicode-string-formatting
Open

Fix: Correctly format UnicodeString using format_va#125
seer-by-sentry[bot] wants to merge 1 commit intomainfrom
seer/fix-unicode-string-formatting

Conversation

@seer-by-sentry
Copy link

Fixes CLIENT-T9. The issue was that: The GameTextManager::fetchOrSubstituteFormatVA function incorrectly used an empty string as the format source, causing infinite recursion in vswprintf and stack overflow.

  • The format_va function was using the uninitialized strFormat.str() as the format string, leading to incorrect formatting.
  • This change corrects the format string to use the original str.str() which contains the correct format.

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

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