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

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: Major
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: NTCore
    • Labels:
      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

            • Assignee:
              hbelusca HBelusca
              Reporter:
              hbelusca HBelusca
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: