mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
- Fix adapter failure if a network address of invalid length is specified
svn path=/trunk/; revision=41586
This commit is contained in:
@@ -373,7 +373,7 @@ static NDIS_STATUS NTAPI MiniportInitialize(
|
||||
NdisCloseConfiguration(ConfigurationHandle);
|
||||
}
|
||||
|
||||
if (Status != NDIS_STATUS_SUCCESS)
|
||||
if (Status != NDIS_STATUS_SUCCESS || RegNetworkAddressLength != DRIVER_LENGTH_OF_ADDRESS)
|
||||
{
|
||||
int i;
|
||||
for (i = 0; i < DRIVER_LENGTH_OF_ADDRESS; i++)
|
||||
|
||||
Reference in New Issue
Block a user