[Bug 17263] missing expectation of ERROR_MORE_DATA status code in rpcrt4_conn_np_read

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Feb 6 04:48:49 CST 2009


http://bugs.winehq.org/show_bug.cgi?id=17263





--- Comment #2 from Luke Kenneth Casson Leighton <lkcl at lkcl.net>  2009-02-06 04:48:49 ---
[posted to wine-patches]

this is the first and most immediate of the uses of ReadFile on message-mode
named pipes which needs attention. when ReadFile begins to [correctly] return
ERROR_MORE_DATA on short reads, rpcrt4_conn_np_read() erroneously fails.  this
causes wine to immediately bomb out on the very first MSRPC interaction, which
happens to be a svcctl operation on wine start-up.

there are _going_ to be more of these, and a thorough audit should be carried
out of all uses of message-mode named pipes in wine to ensure that the status
code ERROR_MORE_DATA is accepted.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list