[Bug 31772] NtQuerySystemInformation doesn't fill ReturnLength properly with SystemProcessInformation

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Jun 15 12:33:48 CDT 2013


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

Christian Costa <titan.costa at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |titan.costa at gmail.com

--- Comment #3 from Christian Costa <titan.costa at gmail.com> 2013-06-15 12:33:48 CDT ---
This is fixed in current wine. This case is cover by tests. This bu can be
closed then.

    /* test ReturnLength */
    ReturnLength = 0;
    status = pNtQuerySystemInformation(SystemProcessInformation, NULL, 0,
&ReturnLength);
    ok( status == STATUS_INFO_LENGTH_MISMATCH, "Expected STATUS_LENGTH_MISMATCH
got %08x\n", status);
    ok( ReturnLength > 0 || broken(ReturnLength == 0) /* NT4, Win2K */,
        "Expected a ReturnLength to show the needed length\n");

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