[Bug 29891] Symantec VIP Access can not be activated

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Mar 10 17:51:37 CST 2012


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

Catalin Sanda <catalin.sanda at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |catalin.sanda at gmail.com

--- Comment #6 from Catalin Sanda <catalin.sanda at gmail.com> 2012-03-10 17:51:37 CST ---
I managed to make the registration process working. It fails because of a bug
in the application which coupled with a bug in Windows makes the app run there
but not on Wine. More precisely the app calls WinHttpAddRequestHeaders with a
header ending in \n\r instead of the normal \r\n combination. Windows trims the
sequence and creates a valid request, but Wine appends and additional \r\n to
the header and sends an invalid request to which the server responds with a 400
Bad Request.

I'll attach the winhttp log and a quick and dirty win console app to test the
behavior on Windows.

To make it work I patched the add_request_headers function in request.c to also
accept the \n\r combination. 

The bad news is that although the registration is now working and I got a valid
Credential ID a security code is not generated. I tried to debug it but no luck
so far. The app calls a SetWindowTextW with an empty string instead of the
code. I tried following the string pointer to see where it is set but couldn't
find anything of use. I ran out of ideas on how to further investigate this. 

Any tips on how to proceed next are greatly appreciated.

-- 
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