[ros-bugs] [Bug 2937] New: Multiple bugs in file reactos\ntoskrnl\config\ntapi.c

ReactOS.Bugzilla at www.reactos.org ReactOS.Bugzilla at www.reactos.org
Sat Jan 5 23:30:07 CET 2008


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

           Summary: Multiple bugs in file reactos\ntoskrnl\config\ntapi.c
           Product: ReactOS
           Version: TRUNK
          Platform: VMWare 6
        OS/Version: ReactOS
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: Kernel
        AssignedTo: ros-bugs at reactos.org
        ReportedBy: valar at i.com.ua
         QAContact: ros-bugs at reactos.org


Does not check parametres of functions on correctness of values. 
For examples:
1. function NtCreateKey:
line 35: DPRINT("NtCreateKey(OB 0x%wZ)\n", ObjectAttributes->ObjectName); // If
ObjectAttributes == NULL then kernel crash.
line 50: if (NT_SUCCESS(Status)) *KeyHandle = Handle; //Dangerous operation

2. function NtOpenKey:
line 67: DPRINT("NtOpenKey(OB 0x%wZ)\n", ObjectAttributes->ObjectName); // If
ObjectAttributes == NULL then kernel crash.
line 77: if (NT_SUCCESS(Status)) *KeyHandle = Handle; // Dangerous operation

And so on...


-- 
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