Index: third_party/crashpad/crashpad/util/win/exception_handler_server.cc |
diff --git a/third_party/crashpad/crashpad/util/win/exception_handler_server.cc b/third_party/crashpad/crashpad/util/win/exception_handler_server.cc |
index 70955c825b73afa1e56840fa0d23231d055f5519..fdc159c0bf98c6c85790136db18bbc8e317f4aaa 100644 |
--- a/third_party/crashpad/crashpad/util/win/exception_handler_server.cc |
+++ b/third_party/crashpad/crashpad/util/win/exception_handler_server.cc |
@@ -396,7 +396,8 @@ bool ExceptionHandlerServer::ServiceClientConnection( |
const internal::PipeServiceContext& service_context) { |
ClientToServerMessage message; |
- if (!LoggingReadFile(service_context.pipe(), &message, sizeof(message))) |
+ if (!LoggingReadFileExactly( |
+ service_context.pipe(), &message, sizeof(message))) |
return false; |
switch (message.type) { |