Skip to content

Fix string conversion utilities crashing on null input - #208

Open
seer-by-sentry[bot] wants to merge 1 commit into
mainfrom
seer/fix-string-conversion-null-check
Open

Fix string conversion utilities crashing on null input#208
seer-by-sentry[bot] wants to merge 1 commit into
mainfrom
seer/fix-string-conversion-null-check

Conversation

@seer-by-sentry

@seer-by-sentry seer-by-sentry Bot commented Jan 3, 2026

Copy link
Copy Markdown

Fixes CLIENT-1H5. The issue was that: WideCharStringToMultiByte dereferences a null wide character pointer (0x0) via wcslen, causing an access violation read.

  • Added null checks to MultiByteToWideCharSingleLine and WideCharStringToMultiByte.
  • If the input pointer (orig) is null, the functions now return an empty string instead of potentially crashing.

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

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