http://bugs.winehq.org/show_bug.cgi?id=17263
--- Comment #2 from Luke Kenneth Casson Leighton lkcl@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.