Author: cgutman
Date: Sun Aug 3 00:10:53 2008
New Revision: 35055
URL:
http://svn.reactos.org/svn/reactos?rev=35055&view=rev
Log:
- Check to see if the ZwEnumerateKey call succeeded with the larger buffer and continue
if possible
Modified:
branches/aicom-network-fixes/drivers/network/tcpip/datalink/lan.c
Modified: branches/aicom-network-fixes/drivers/network/tcpip/datalink/lan.c
URL:
http://svn.reactos.org/svn/reactos/branches/aicom-network-fixes/drivers/net…
==============================================================================
--- branches/aicom-network-fixes/drivers/network/tcpip/datalink/lan.c [iso-8859-1]
(original)
+++ branches/aicom-network-fixes/drivers/network/tcpip/datalink/lan.c [iso-8859-1] Sun Aug
3 00:10:53 2008
@@ -860,8 +860,10 @@
Status = ZwEnumerateKey( EnumKey, i, KeyBasicInformation,
Kbio, KbioLength, &ResultLength );
- TI_DbgPrint(DEBUG_DATALINK,("Couldn't enum key child %d\n",
i));
- return Status;
+ if( !NT_SUCCESS(Status) ) {
+ TI_DbgPrint(DEBUG_DATALINK,("Couldn't enum key child %d\n",
i));
+ return Status;
+ }
}
if( NT_SUCCESS(Status) ) {