[Bug 43574] New: Test for ntprint crashes after null pointer dereference if ntprint.dll is missing.

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Aug 19 07:27:56 CDT 2017


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 at winehq.org
          Reporter: kamil.hornicek at 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.

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