http://bugs.winehq.org/show_bug.cgi?id=20860
--- Comment #1 from Juan Lang juan_lang@yahoo.com 2009-12-03 20:19:42 --- The error is in the caller, which is passing too short a buffer. I'll send a patch for this error, but others remain, especially in ftp.c. Here's one:
SendAsyncCallback(&hIC->hdr, dwContext, INTERNET_STATUS_CONNECTED_TO_SERVER, &socketAddr, sock_namelen);
Note that utility.c assumes the lpvStatusInfo is a wide string, not a socket address. Unless FTP cannot be used in async mode (I don't really know), this is clearly bogus.