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

    • Bug
    • Resolution: Fixed
    • Minor
    • 0.4.0
    • NTCore
    • 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

              ThFabba ThFabba
              ThFabba ThFabba
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: