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

[MOUNTMGR] MountMgrCreatePoint() - buffer length check error

    XMLWordPrintable

Details

    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

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

            Dates

              Created:
              Updated:
              Resolved: