mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 19:26:42 +00:00
Prevents a freeze when running the bootcd. Still needs to investigate to find the real reason.
svn path=/trunk/; revision=26070
This commit is contained in:
@@ -1203,6 +1203,14 @@ IopCreateDriver(IN PUNICODE_STRING DriverName OPTIONAL,
|
||||
&ServiceKeyName,
|
||||
sizeof(UNICODE_STRING));
|
||||
|
||||
if (!DriverName)
|
||||
{
|
||||
/* HACK: Something goes wrong in next lines in this case.
|
||||
* Just leave to prevent a freeze */
|
||||
*pDriverObject = DriverObject;
|
||||
return Status;
|
||||
}
|
||||
|
||||
/* Add the Object and get its handle */
|
||||
Status = ObInsertObject(DriverObject,
|
||||
NULL,
|
||||
|
||||
Reference in New Issue
Block a user