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

bufsize calculation in MessageBoxTimeoutIndirectW is wrong

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • Win32SS
    • None
    • Operating System: ReactOS
      Platform: x86 Hardware

    Description

      file: lib/user32/windows/message.c

      function: MessageBoxTimeoutIndirectW

      the calculation for bufsize neglects some of the data being stuffed
      into the buffer. For now we are adding an additional 1024 bytes to
      compensate, but eventually the calculation should be corrected.

      Recommended that even when bufsize calculation is fixed, that we
      still leave a small "oops" buffer in, because someone may break
      it in the future.

      Attachments

        Activity

          People

            bug zilla Bug Zilla
            royce3 Royce3
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: