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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 0.4.0
    • Win32SS
    • 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
          Nathan Osman
        2. ros-bug.exe
          109 kB
          Nathan Osman
        3. ros-bug-debug-log.txt
          18 kB
          Nathan Osman

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: