mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
- Lower IRQL in error case of IoAllocateDriverObjectExtension.
svn path=/trunk/; revision=8794
This commit is contained in:
parent
be092c4712
commit
91c3d64bf5
1 changed files with 4 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: driver.c,v 1.36 2004/03/14 17:10:48 navaraf Exp $
|
/* $Id: driver.c,v 1.37 2004/03/19 17:37:57 navaraf Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -1280,8 +1280,11 @@ IoAllocateDriverObjectExtension(
|
||||||
{
|
{
|
||||||
if (DriverExtensions->ClientIdentificationAddress ==
|
if (DriverExtensions->ClientIdentificationAddress ==
|
||||||
ClientIdentificationAddress)
|
ClientIdentificationAddress)
|
||||||
|
{
|
||||||
|
KfLowerIrql(OldIrql);
|
||||||
return STATUS_OBJECT_NAME_COLLISION;
|
return STATUS_OBJECT_NAME_COLLISION;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
DriverObject->DriverSection = NewDriverExtension;
|
DriverObject->DriverSection = NewDriverExtension;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue