flutter/dev/manual_tests
Chris Bracken b5d3c43280
Check string size before Win32 MultiByte <-> WideChar conversions (#99729)
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>
2022-03-07 19:57:36 -08:00
..
android Update platform shims in dev/manual_tests (#94616) 2022-01-07 12:16:24 -08:00
ios Update platform shims in dev/manual_tests (#94616) 2022-01-07 12:16:24 -08:00
lib Revert "Draggable can be accepted when the data is null" (#99419) 2022-03-02 10:31:11 -08:00
linux Update repo generated_plugins.cmake (#98034) 2022-02-09 15:15:27 +01:00
macos Update platform shims in dev/manual_tests (#94616) 2022-01-07 12:16:24 -08:00
test Add smoke tests for all the examples, fix 17 broken examples. (#89021) 2021-09-28 09:32:06 -07:00
web Update platform shims in dev/manual_tests (#94616) 2022-01-07 12:16:24 -08:00
windows Check string size before Win32 MultiByte <-> WideChar conversions (#99729) 2022-03-07 19:57:36 -08:00
.gitignore Check in manual_tests gitignores (#71761) 2020-12-04 19:31:05 -08:00
.metadata Update manual_tests to be able to run on macOS/web (#44830) 2019-11-19 11:29:35 -08:00
pubspec.yaml Remove package:typed_data from package:flutter dependencies (#99604) 2022-03-07 10:41:21 -08:00