da9dd59eb0
This is a reland ofaf4a3112c4Original change's description: > Reland "fix hanging of write on Windows" > > This is a reland ofeb075dcc21> > Original change's description: > > fix hanging of write on Windows > > > > 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> > > Bug: https://github.com/dart-lang/sdk/issues/40339 > Change-Id: I5a07c58709c62b996a55a76272636602dc80e20d > Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/134783 > Commit-Queue: Zichang Guo <zichangguo@google.com> > Reviewed-by: Siva Annamalai <asiva@google.com> Bug: https://github.com/dart-lang/sdk/issues/40339 Change-Id: I78e4bd993271cdeac9db5a1d005ae5be0f2891c9 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/135340 Reviewed-by: Zach Anderson <zra@google.com> Commit-Queue: Zichang Guo <zichangguo@google.com>
This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/wiki/Testing.