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

NTVDM is not invoked for files with an invalid PE header

    XMLWordPrintable

    Details

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

      Description

      Executables with an invalid PE signature should not return STATUS_INVALID_IMAGE_FORMAT to give ntvdm a chance to handle the application.
      In PeFmtCreateSection, the unaligned case already returns STATUS_INVALID_IMAGE_PROTECT instead if the PE signature is incorrect. The aligned case behaves differently.
      This happens with e.g. FIFA '94. Spotted by V.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ThFabba ThFabba
                Reporter:
                ThFabba ThFabba
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: