[Bug 52694] EnumPrintersW crashes on Linux but not on Windows

WineHQ Bugzilla wine-bugs at winehq.org
Sat Mar 19 08:13:02 CDT 2022


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

Eric Pouech <eric.pouech at orange.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eric.pouech at orange.fr

--- Comment #1 from Eric Pouech <eric.pouech at orange.fr> ---
(In reply to Rafał Mikrut from comment #0)
> ```
> let argument_0 = 10000;
> let argument_1 = PCWSTR::default();
> let argument_2 = 10000;
> let mut argument_3 = 100;
> let argument_3 = &mut argument3;
> let argument_4 = 10000;
in EnumPrinterW, argument_3 is supposed to be an array of bytes of size
argument_4, which is clearly not the case in your scenario...
hence the crash

do you a real app depending on this?
A+

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