[Bug 35284] Polar WebSync client 2.8.x fails to communicate with 'polard' service (WS2_AcceptEx with zero 'local_addr_len' parameter)
wine-bugs at winehq.org
wine-bugs at winehq.org
Thu Jan 2 03:36:07 CST 2014
http://bugs.winehq.org/show_bug.cgi?id=35284
--- Comment #6 from Anastasius Focht <focht at gmx.net> ---
Hello Bruno,
it seems both, 'dest_len' and 'local_addr_len' are hard-coded to zero.
I attached to the running service and dumped the disassembly from there:
--- snip ---
...
102041AA MOV DWORD PTR SS:[EBP-4],0
102041B1 LEA EDX,[EBP-58]
102041B4 PUSH EDX ; LPOVERLAPPED overlapped
102041B5 LEA EAX,[EBP-44]
102041B8 PUSH EAX ; LPDWORD received
102041B9 LEA ECX,[EBP-78]
102041BC CALL 1000D6F0
102041C1 PUSH EAX ; DWORD rem_addr_len
102041C2 PUSH 0 ; DWORD local_addr_len
102041C4 PUSH 0 ; DWORD dest_len
102041C6 LEA ECX,[EBP-78]
102041C9 CALL 1000E1B0
102041CE PUSH EAX ; PVOID dest
102041CF MOV ECX,DWORD PTR SS:[EBP+8]
102041D2 PUSH ECX ; SOCKET acceptor
102041D3 MOV EDX,DWORD PTR SS:[EBP-0C8]
102041D9 MOV EAX,DWORD PTR DS:[EDX+4]
102041DC PUSH EAX ; SOCKET listener
102041DD CALL DWORD PTR SS:[EBP-40] ; WS2_AcceptEx()
102041E0 MOV DWORD PTR SS:[EBP-5C],EAX
102041E3 CMP DWORD PTR SS:[EBP-5C],0
102041E7 JNE 10204346
102041ED CALL DWORD PTR DS:[<&WS2_32.#111>] ; WSAGetLastError()
102041F3 MOV DWORD PTR SS:[EBP-0D0],EAX
102041F9 CMP DWORD PTR SS:[EBP-0D0],3E5 ; WSA_IO_PENDING
10204203 JE SHORT 1020421A
10204205 CMP DWORD PTR SS:[EBP-0D0],2746 ; WSAECONNRESET
1020420F JE 102042E7
...
--- snip ---
Regards
--
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