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

Improve NtLoadKey and add some SEH / correct user-mode parameter capture in nt/cm-API

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 0.4.11
    • NTCore
    • None

    Description

      NtLoadKey (and other similar functions) take in arguments OBJECT_ATTRIBUTES structures, which are currently:

      • not probed for invalid user-mode data;
      • correctly differentiate user-mode vs. kernel-mode root directory handles (in OBJECT_ATTRIBUTES). Note that most of the Cm* APIs suppose their parameters are kernel-mode.
      • if an object file name relative to a Root directory is given, this file name is not resolved, leading to subsequent failure of these API with the STATUS_OBJECT_PATH_SYNTAX_BAD error.

      These three points must be fixed.

      Attachments

        Activity

          People

            hbelusca hbelusca
            hbelusca hbelusca
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: