[Bug 18980] Canon's CONSOLE Image Control & Storage Software fails on administrator privs check

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Jun 17 14:40:59 CDT 2009


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





--- Comment #1 from Anastasius Focht <focht at gmx.net>  2009-06-17 14:40:58 ---
Hello,

after reading some MSDN example code my assumption that GetTokenInformation()
is the one to be blamed here might be wrong.
The problematic one could also be GetSidSubAuthorityCount().

Maybe someone can extend the conformance test for GetTokenInformation() and
check last error after successful retrieval with correct buffer size if it's
still the same (ERROR_INSUFFICIENT_BUFFER from first call to query buffer
size)?
Also a test for GetSidSubAuthorityCount() to check for last error modification
might be useful.

The app doesn't make any additional API calls in between that sub authority
comparison loop hence one of both must be guilty ;-)

Regards

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