[Webkit-unassigned] [Bug 42710] Assertion in Connection::readEventHandler when launching WebKitTestRunner

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 21 10:58:40 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=42710





--- Comment #5 from Adam Roben (aroben) <aroben at apple.com>  2010-07-21 10:58:40 PST ---
I think our existing ReadFile code is a little wrong. MSDN says:

Use NULL for [lpNumberOfBytesRead] if this is an asynchronous operation to avoid potentially erroneous results.
<http://msdn.microsoft.com/en-us/library/aa365467(VS.85).aspx>

But we're not doing that. I think we're supposed to call GetOverlappedResult to get the number of bytes read even if ReadFile returns TRUE.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list