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

ZwCreateSection doesn't handle SECTION_NOT_SUPPORTED situations

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: NTCore
    • Labels:
      None
    • Environment:

      r58829

      Description

      On Windows if FileObject->SectionObjectPointer is NULL ZwCreateSection returns STATUS_INVALID_FILE_FOR_SECTION whereas on ROS it crashes at e:\drivers\reactos\ntoskrnl\cc\copy.c on the following line:

      Bcb = FileObject->SectionObjectPointer->SharedCacheMap;

      This clearly happens because SectionObjectPointer is passed without its existence being checked.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bug zilla Bug Zilla
                Reporter:
                lorddoskias lorddoskias
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: