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

RtlImageNtHeaderEx needs SEH

    XMLWordPrintable

    Details

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

      Description

      RtlImageNtHeaderEx needs seh.

      Currently, this cannot be added because the rtl library is also used in:

      • rosload
      • freeldr_pe
      • bootmgfw

      One possible solution would be to:

      19:25:55 <@hbelusca> one may create a "minirtl" library whose purpose is to be used in freeldr or host-tools for example, that does not compile SEH support, and the regular "rtl" library that is used in ntdll and ntoskrnl.
      

      ThFabba suggested another alternative, which sounds simpler:

      should we simply have the rtl library provide a private RtlpImageNtHeader function and put the SEH-wrapped public version in libsupp.c?
      

      When this is fixed, the hack in FreeLibrary can be removed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                learn_more Mark Jansen
                Reporter:
                learn_more Mark Jansen
              • Votes:
                3 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: