mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Ensure that the whole message was written on Windows IPC
This commit is contained in:
parent
f2cafd4974
commit
95f8c5bcdb
@ -89,7 +89,7 @@ string IPCSocket::sendRequest(string const& _req)
|
||||
&cbWritten, // bytes written
|
||||
NULL); // not overlapped
|
||||
|
||||
if (!fSuccess)
|
||||
if (!fSuccess || (_req.size() != cbWritten))
|
||||
BOOST_FAIL("WriteFile to pipe failed");
|
||||
|
||||
// Read from the pipe.
|
||||
|
Loading…
Reference in New Issue
Block a user