Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(493)

Unified Diff: third_party/crashpad/crashpad/handler/win/crash_other_program.cc

Issue 2773813002: Update Crashpad to 8e37886d418dd042c3c7bfadac99214739ee4d98 (Closed)
Patch Set: Update Crashpad to 8e37886d418dd042c3c7bfadac99214739ee4d98 Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/crashpad/crashpad/handler/win/crash_other_program.cc
diff --git a/third_party/crashpad/crashpad/handler/win/crash_other_program.cc b/third_party/crashpad/crashpad/handler/win/crash_other_program.cc
index d191aac01ed0e1b9df64bdbd681cb9b51d1e9420..012b4ba3cc3a8bc3c5d719e8c14fb1c075fad080 100644
--- a/third_party/crashpad/crashpad/handler/win/crash_other_program.cc
+++ b/third_party/crashpad/crashpad/handler/win/crash_other_program.cc
@@ -90,7 +90,8 @@ int CrashOtherProgram(int argc, wchar_t* argv[]) {
// Wait until it's ready.
char c;
- if (!LoggingReadFile(child.stdout_read_handle(), &c, sizeof(c)) || c != ' ') {
+ if (!LoggingReadFileExactly(child.stdout_read_handle(), &c, sizeof(c)) ||
+ c != ' ') {
LOG(ERROR) << "failed child communication";
return EXIT_FAILURE;
}
« no previous file with comments | « third_party/crashpad/crashpad/doc/overview_design.md ('k') | third_party/crashpad/crashpad/minidump/minidump.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698