mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 01:24:38 +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
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -1280,7 +1280,10 @@ IoAllocateDriverObjectExtension(
|
|||
{
|
||||
if (DriverExtensions->ClientIdentificationAddress ==
|
||||
ClientIdentificationAddress)
|
||||
{
|
||||
KfLowerIrql(OldIrql);
|
||||
return STATUS_OBJECT_NAME_COLLISION;
|
||||
}
|
||||
}
|
||||
|
||||
DriverObject->DriverSection = NewDriverExtension;
|
||||
|
|
Loading…
Reference in a new issue