[ros-bugs] [Bug 3473] New: kernel Object for drivers fail to be Deleted due to unrealistic header PointerCount

ReactOS.Bugzilla at www.reactos.org ReactOS.Bugzilla at www.reactos.org
Wed Jul 9 01:32:30 CEST 2008


http://www.reactos.org/bugzilla/show_bug.cgi?id=3473

           Summary: kernel Object for drivers fail to be Deleted due to
                    unrealistic header PointerCount
           Product: ReactOS
           Version: TRUNK
          Platform: Virtual PC
        OS/Version: ReactOS
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: Kernel
        AssignedTo: ros-bugs at reactos.org
        ReportedBy: martinmnet at hotmail.com
         QAContact: ros-bugs at reactos.org


The problem is in /ntoskrnl/io/iomgr/driver.c
The function IopCreateDriver 
    Status = ObInsertObject(DriverObject,
                            NULL,
                            FILE_READ_DATA,
                            OBJ_KERNEL_HANDLE,
                            NULL,
                            &hDriver);
This eventually ends up calling ObpCreateHandle 
with OBJ_KERNEL_HANDLE value passed as the Additional References parameter.

And in ObpCreateHandle the PointerCount is incremented to this
OBJ_KERNEL_HANDLE value.

Debugging:

(ntoskrnl/ob/obref.c:308) ---> ObfDereferenceObject - Object: Driver, Address:
80e77048, PointerCount: 513


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the Ros-bugs mailing list