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

[MOUNTMGR] MountMgrCreatePoint() - buffer length check error

    XMLWordPrintable

    Details

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

      Description

      If MaxLength is equal to the length of the input buffer, then an error will be returned:

      if (MaxLength >= Stack->Parameters.DeviceIoControl.InputBufferLength)
      {
          return STATUS_INVALID_PARAMETER;
      }
      

      Should be:

      if (MaxLength > Stack->Parameters.DeviceIoControl.InputBufferLength)
      {
          return STATUS_INVALID_PARAMETER;
      }
      

        Attachments

          Activity

            People

            • Assignee:
              Heis Spiter Pierre Schweitzer
              Reporter:
              vgal vgal
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: