Add a bit of defensive programming
Modified: trunk/reactos/services/dhcp/adapter.c

Modified: trunk/reactos/services/dhcp/adapter.c
--- trunk/reactos/services/dhcp/adapter.c	2005-11-16 21:43:38 UTC (rev 19282)
+++ trunk/reactos/services/dhcp/adapter.c	2005-11-16 21:44:26 UTC (rev 19283)
@@ -125,6 +125,7 @@
             ( EnumKey, EnumKeysTop[i], "DriverDesc" );
 
         if( DriverDesc &&
+            RootDevice &&
             !strcmp( DriverDesc, Adapter->DhclientInfo.name ) ) {
             TargetKeyName =
                 malloc( strlen( TargetKeyNameStart ) +