Index: third_party/crashpad/crashpad/snapshot/win/crashpad_snapshot_test_extra_memory_ranges.cc |
diff --git a/third_party/crashpad/crashpad/snapshot/win/crashpad_snapshot_test_extra_memory_ranges.cc b/third_party/crashpad/crashpad/snapshot/win/crashpad_snapshot_test_extra_memory_ranges.cc |
index 58b145e564a00ebda5d95a4cc948d1a52d1b6b4f..e6875fdd8ee13ec02708c1576889aa9d02c24ab9 100644 |
--- a/third_party/crashpad/crashpad/snapshot/win/crashpad_snapshot_test_extra_memory_ranges.cc |
+++ b/third_party/crashpad/crashpad/snapshot/win/crashpad_snapshot_test_extra_memory_ranges.cc |
@@ -43,7 +43,7 @@ int wmain(int argc, wchar_t* argv[]) { |
HANDLE in = GetStdHandle(STD_INPUT_HANDLE); |
PCHECK(in != INVALID_HANDLE_VALUE) << "GetStdHandle"; |
- CheckedReadFile(in, &c, sizeof(c)); |
+ CheckedReadFileExactly(in, &c, sizeof(c)); |
CHECK(c == 'd' || c == ' '); |
// If 'd' we crash with a debug break, otherwise exit normally. |