[Bug 52694] New: EnumPrintersW crashes on Linux but not on Windows
WineHQ Bugzilla
wine-bugs at winehq.org
Fri Mar 18 15:18:31 CDT 2022
https://bugs.winehq.org/show_bug.cgi?id=52694
Bug ID: 52694
Summary: EnumPrintersW crashes on Linux but not on Windows
Product: Wine
Version: 7.4
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs at winehq.org
Reporter: mikrutrafal at protonmail.com
Distribution: ---
```
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;
let mut argument_5 = 10000;
let argument_5 = &mut argument5;
let mut argument_6 = 10000;
let argument_6 = &mut argument6;
EnumPrintersW(argument_0,argument_1,argument_2,argument_3,argument_4,argument_5,argument_6);
```
seems to crash app
Steps to reproduce
- Download Fuzzer -
https://github.com/qarmin/Win32Fuzzer/releases/download/1.1.0/win_project_64.exe
- Create `settings.txt` in same folder
- Fill it with this content
```
allowed_functions:
EnumPrintersW
repeating_number:
50
random:
false
```
- Run `win_project_64.exe`
```
01e0:fixme:winspool:WINSPOOL_EnumPrintersW dwType = 00002710
wine: Unhandled page fault on execute access to 0000000000000000 at address
0000000000000000 (thread 01e0), starting debugger...
Unhandled exception: page fault on execute access to 0x0000000000000000
in 64-bit code (0x0000000000000000).
....
....
System information:
Wine build: wine-7.4
Platform: x86_64
Version: Windows 10
Host system: Linux
Host version: 5.13.0-35-generic
```
--
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