mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
![]() 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> |
||
---|---|---|
.. | ||
resources | ||
CMakeLists.txt | ||
flutter_window.cpp | ||
flutter_window.h | ||
main.cpp | ||
resource.h | ||
runner.exe.manifest | ||
Runner.rc | ||
utils.cpp | ||
utils.h | ||
win32_window.cpp | ||
win32_window.h |