-
Chris Bracken authored
This patch adds an additional check to ensure the target length of a string is within the supported maximum string length prior to calling WideCharToMultiByte/MultiByteToWideChar in the Windows runner template. This is to prevent resize() from failing if called with a count > std::string::max_size(). According to Win32 API docs (WideCharToMultiByte, MultiByteToWideChar) it's the caller responsibility to make sure the buffers are correctly allocated. Authored by: Tomasz Gucio <tgucio@gmail.com>
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
android | ||
fuchsia/meta | ||
ios | ||
lib | ||
linux | ||
macos | ||
meta | ||
test | ||
test_driver | ||
test_memory | ||
tool | ||
web | ||
windows | ||
.gitignore | ||
README.md | ||
analysis_options.yaml | ||
pubspec.yaml |