Skip to content

Conversation

AdrianCassar
Copy link
Contributor

Fixes #2210

A path containing characters that cannot be converted to a multibyte string would fail and cause cxxopts to assign the cvar target to argument 0 (current process). This can be prevented by checking if wcstombs returns -1 and decrement argc to prevent cxxopts from indexing out of bounds.

A path containing characters which cannot be converted to a multibyte string would fail and cause cxxopts to assign the cvar target to argument 0
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.

Paths/filenames with special characters (Chinese, etc) can't be dragged and dropped onto Xenia

1 participant