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

mm: mpress-compressed files not mapped correctly

    XMLWordPrintable

    Details

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

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: