Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-9578

Passing GetDesktopWindow() to GetWindowPlacement() causes NULL pointer dereference

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 0.4.0
    • Component/s: Win32SS
    • Labels:
      None

      Description

      I have attached a simple Win32 application that will reproducibly cause a NULL pointer dereference in win32ss/user/ntuser/winpos.c:404 (the end result is a BSOD). The problem occurs when GetWindowPlacement() is called with GetDesktopWindow() as the first parameter.

      For convenience, I have attached both the source file and the compiled exe that reproduce the error.

        Attachments

        1. ros-bug.cpp
          0.3 kB
        2. ros-bug.exe
          109 kB
        3. ros-bug-debug-log.txt
          18 kB

          Activity

            People

            • Assignee:
              jimtabor jimtabor
              Reporter:
              nathan-osman Nathan Osman
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: