https://bugs.winehq.org/show_bug.cgi?id=43574
Bug ID: 43574 Summary: Test for ntprint crashes after null pointer dereference if ntprint.dll is missing. Product: Wine Version: unspecified Hardware: x86 OS: Windows Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: kamil.hornicek@reactos.org
Created attachment 58986 --> https://bugs.winehq.org/attachment.cgi?id=58986 suggested patch
The ntprint test crashes on ntprint.c:74 when ntprint.dll is not present, because pPSetupCreateMonitorInfo and the other function pointers are null in that case. I suggest fixing this by reusing the same code that's present for example in the spoolss test.
https://bugs.winehq.org/show_bug.cgi?id=43574
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
--- Comment #1 from Austin English austinenglish@gmail.com --- Please send patches to wine-patches@winehq.org