socket.c address header check in WS2_recv - the missing part after removing buffer allocation functions

Arunas Pranckevicius apranckevicius at gmail.com
Thu Oct 11 17:01:20 CDT 2007


Hello,

This patch came out after i was trying to run Darkspace MMO beta
client and it was causing deadlock because of WS2_recv function was
waiting to finish forever. Please test if my patch breaks stuff and
please test Blocking,Nonblocking, Async (all) modes when receiving
data in IP sockets.

The got host header structure error checking code got removed long
time ago after sockets buffer HeapAlloc/Free (julliard patch)
functions was removed. Now WS2_recv is more similar to WS2_send when
checking address structures when functions get it. Please help to fix
other parts what cause NULL host header structures to be sent into
WS2_recv/WS2_send functions as well.

Cheers,
Arunas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: socket.c-recv-host-headers-check.patch
Type: application/octet-stream
Size: 1835 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20071011/d005de89/attachment.obj 


More information about the wine-patches mailing list