[Bug 19144] QueryContextAttributesW returns wrong return value

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Aug 5 17:13:32 CDT 2009


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





--- Comment #7 from Juan Lang <juan_lang at yahoo.com>  2009-08-05 17:13:32 ---
(In reply to comment #6)
> Look at this sniplet:
> 
> trace:secur32:schan_QueryContextAttributesW context_handle 0x1bc010, attribute
> 0x4, buffer 0x35cdb48
> trace:secur32:schan_QueryContextAttributesW Using 16 mac bytes, block size 1
> (...)
> 001d:Call KERNEL32.TlsSetValue(0000000c,80090308) ret=65001800
> 001d:Ret  KERNEL32.TlsSetValue() retval=00000001 ret=65001800
> (...)
> 
> I think it checks something, what QueryContextAttributesW returns, and set into
> a TLS. (80090308 is SEC_E_INVALID_TOKEN)

Thanks for uploading the log.

I agree that it's likely to have something to do with what
QueryContextAttributesW returns, but I think it's more likely that its in the
value in the returned buffer, and not the return value.  Henri may have a point
that we're ignoring something we shouldn't in creating the connection.  I'll
attach a patch that traces the input a bit more that may give more insight.

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