mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 00:29:48 +00:00
eb075dcc21
When using File::Write(), Var size in int64_t is casted to DWORD(unsigned long). When Var size is out of DWORD range, casted value will be zero. Before calling into File::Write() on Windows, validate the size. Bug: https://github.com/dart-lang/sdk/issues/40339 Change-Id: I36fade62dfa3025f418405cb3e45c286dd6b7db1 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/134440 Reviewed-by: Zach Anderson <zra@google.com> Commit-Queue: Zichang Guo <zichangguo@google.com> |
||
---|---|---|
.. | ||
.dart_tool | ||
angular | ||
co19 | ||
co19_2 | ||
compiler | ||
corelib | ||
corelib_2 | ||
dart | ||
ffi | ||
ffi_2 | ||
kernel | ||
language | ||
language_2 | ||
lib | ||
lib_2 | ||
modular | ||
search | ||
standalone | ||
standalone_2 | ||
legacy_status_dart2js.csv | ||
light_unittest.dart | ||
README.md |
This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/wiki/Testing.