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

mm: mpress-compressed files not mapped correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • None
    • NTCore

    Description

      Executables compressed with mpress.exe (used by SumatraPDF) are not mapped correctly by ROS.
      The attached testcase runs fine uncompressed, and crashes (due to missing kernel32 import - CORE-6957) in the compressed version.
      There are two sections, one starting at 401000 with size 4000, one starting at 405000 with size 320.
      ROS maps the headers correctly, then has a gap from 401000 to 405000, and maps a zero page at 405000.

      Attachments

        1. hello32.c
          0.3 kB
        2. hello32-compressed.exe
          2 kB
        3. hello32-uncompressed.exe
          3 kB
        4. mm-section-uninit.patch
          5 kB
        5. mm-section-uninit.patch
          5 kB

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: