mirror of
https://github.com/dart-lang/sdk
synced 2024-09-15 23:49:47 +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> |
||
---|---|---|
.. | ||
bin | ||
docs | ||
include | ||
lib | ||
llvm_codegen | ||
observatory | ||
platform | ||
tests/vm | ||
third_party | ||
tools | ||
vm | ||
.clang-tidy | ||
.gitignore | ||
BUILD.gn | ||
codereview.settings | ||
configs.gni | ||
CPPLINT.cfg | ||
PRESUBMIT.py | ||
runtime_args.gni |