[Bug 50791] NtQueryObject( ..., ObjectBasicInformation, NULL, 0, &retLen) returns incorrect NTSTATUS error code and no buffer size (EditSection, Google sandbox-attacksurface-analysis-tools v1.1.x)

WineHQ Bugzilla wine-bugs at winehq.org
Fri Apr 16 13:40:12 CDT 2021


https://bugs.winehq.org/show_bug.cgi?id=50791

--- Comment #2 from Gijs Vermeulen <gijsvrm at gmail.com> ---
I've sent <https://source.winehq.org/patches/data/204017> for this.

Contrary to what MSDN states, it seems that retLen is not written in the case
where buffer is NULL.

I removed the explicit test for this because the results where inconsistent.
The 32bit tests set retLen to 0, while the 64bit tests just leaves it be. You
can see this here: <https://testbot.winehq.org/JobDetails.pl?Key=88883>

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