[Bug 10612] LookupAccountNameA returns Domain Size that is one byte too big
wine-bugs at winehq.org
wine-bugs at winehq.org
Wed Jan 14 20:52:21 CST 2009
http://bugs.winehq.org/show_bug.cgi?id=10612
Nikolay Sivov <bunglehead at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bunglehead at gmail.com
--- Comment #9 from Nikolay Sivov <bunglehead at gmail.com> 2009-01-14 20:52:21 ---
I can't reproduce this on wine-1.1.12-586-g8b10dd2.
First call LookupAccountNameA returns length including NULL and the second one
returns copied characters count without NULL.
Daniel, could you be more specific about argument set - I've tested this on
WinXP SP2 with NULL account name and it matches Wine behavior here:
--- 1st call
LookupAccountNameA(NULL, NULL, NULL, &sid_size, NULL, &domain_size, &sid_use);
--- 2nd call
/* try NULL account name */
LookupAccountNameA(NULL, NULL, psid, &sid_size, domain, &domain_size,
&sid_use);
---
Example taken from current test_LookupAccountName from advapi32/tests.
--
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