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

ZwCreateSection doesn't handle SECTION_NOT_SUPPORTED situations

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • NTCore
    • None
    • 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

              bug zilla Bug Zilla
              lorddoskias lorddoskias
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: