mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 02:44:46 +00:00
iphlpapi: Correctly index dynamic data array.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
This commit is contained in:
parent
6b151e6937
commit
fae847adcf
|
@ -2344,7 +2344,8 @@ DWORD WINAPI GetIpNetTable( MIB_IPNETTABLE *table, ULONG *size, BOOL sort )
|
|||
memset( row->bPhysAddr + row->dwPhysAddrLen, 0,
|
||||
sizeof(row->bPhysAddr) - row->dwPhysAddrLen );
|
||||
row->dwAddr = keys[i].addr.s_addr;
|
||||
switch (dyn->state)
|
||||
|
||||
switch (dyn[i].state)
|
||||
{
|
||||
case NlnsUnreachable:
|
||||
case NlnsIncomplete:
|
||||
|
|
Loading…
Reference in a new issue