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

ObpLookupObjectName fails with \??\C:\Documents and Settings\Administrator\Desktop\bpen.ttf

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • None
    • None
    • None

    Description

      ObpLookupObjectName fails with ??\C:\Documents and Settings\Administrator\Desktop\bpen.ttf (ofc a ttf file was created there).
      The UNICODE_STRING evolves from:
      ??\C:\Documents and Settings\Administrator\Desktop
      to
      \GLOBAL??\C:\Documents and Settings\Administrator\Desktop\bpen.ttf
      then to
      \Device\Harddisk0\Partition1\Documents and Settings\Administrator\Desktop\bpen.ttf
      then it loops through:
      \Harddisk0\Partition1\Documents and Settings\Administrator\Desktop\bpen.ttf
      \Partition1\Documents and Settings\Administrator\Desktop\bpen.ttf
      And finally:
      \Documents and Settings\Administrator\Desktop\bpen.ttf

      Then ParseRoutine = ObjectHeader->Type->TypeInfo.ParseProcedure; is ParseRoutine = 0x80463e30 , so ParseRoutine is called:

      ParseRoutine(Object,
      ObjectType,
      AccessState,
      AccessCheckMode,
      Attributes,
      ObjectName,
      &RemainingName,
      ParseContext,
      SecurityQos,
      &Object);
      Params:
      kd> ?? Object
      void * 0x00000000
      kd> ?? ObjectType
      struct _OBJECT_TYPE * 0x00000000
      kd> ?? AccessState
      struct _ACCESS_STATE * 0xb11aa8b0
      +0x000 OperationID : _LUID
      +0x008 SecurityEvaluated : 0 ''
      +0x009 GenerateAudit : 0 ''
      +0x00a GenerateOnClose : 0 ''
      +0x00b PrivilegesAllocated : 0 ''
      +0x00c Flags : 0
      +0x010 RemainingDesiredAccess : 0x120089
      +0x014 PreviouslyGrantedAccess : 0
      +0x018 OriginalDesiredAccess : 0x120089
      +0x01c SubjectSecurityContext : _SECURITY_SUBJECT_CONTEXT
      +0x02c SecurityDescriptor : (null)
      +0x030 AuxData : 0xb11aa968 Void
      +0x034 Privileges : <unnamed-tag>
      +0x060 AuditPrivileges : 0 ''
      +0x064 ObjectName : _UNICODE_STRING ""
      +0x06c ObjectTypeName : _UNICODE_STRING ""
      kd> ?? AccessCheckMode
      char 0n0 ''
      kd> ?? Attributes
      unsigned long 0x40
      kd> ?? ObjectName
      struct _UNICODE_STRING * 0xf80a8a50
      "\Device\Harddisk0\Partition1\Documents and Settings\Administrator\Desktop\bpen.ttf"
      +0x000 Length : 0x11c
      +0x002 MaximumLength : 0x11e
      +0x004 Buffer : 0xb0f7ec60 "\Device\Harddisk0\Partition1\Documents and Settings\Administrator\Desktop\bpen.ttf"
      kd> ?? RemainingName
      struct _UNICODE_STRING
      "\Documents and Settings\Administrator\Desktop\bpen.ttf"
      +0x000 Length : 0xe4
      +0x002 MaximumLength : 0x11e
      +0x004 Buffer : 0xb0f7ec98 "\Documents and Settings\Administrator\Desktop\bpen.ttf"
      kd> ?? ParseContext
      void * 0xb106d750
      kd> ?? SecurityQos
      struct _SECURITY_QUALITY_OF_SERVICE * 0x00000000

      Hope this helps

      Attachments

        Issue Links

          Activity

            People

              vicmarcal vicmarcal
              vicmarcal vicmarcal
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: