ntdll: Fix NtQueryInformationToken(TokenGroups)
Robert Shearman
rob at codeweavers.com
Mon May 1 04:36:30 CDT 2006
ChangeLog:
Fix the buffer check for NtQueryInformationToken(TokenGroups) so that it
doesn't return STATUS_BUFFER_TOO_SMALL when it shouldn't. Use the same
code for returning the required buffer and for calculating whether the
buffer is sufficient so this can't happen again.
Add missing break statement (spotted by Dan Kegel).
dlls/ntdll/nt.c | 21 ++++++++-------------
1 files changed, 8 insertions(+), 13 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cd30132e2ae76dc9a1e94549369e7a7e047664f5.diff
Type: text/x-patch
Size: 1964 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060501/24a2716e/cd30132e2ae76dc9a1e94549369e7a7e047664f5.diff
More information about the wine-patches
mailing list