Hi,

make check here fails in dlls/iphlapi/tests with:

make[1]: Entering directory `/home/marcus/projects/wine/dlls/iphlpapi/tests'
../../../tools/runtest -q -P wine -M iphlpapi.dll -T ../../.. -p 
iphlpapi_test.exe.so iphlpapi.c && touch iphlpapi.ok
[..]
trace:iphlpapi:GetAdaptersInfo pAdapterInfo (nil), pOutBufLen (nil)
trace:iphlpapi:GetAdaptersInfo returning 87
trace:iphlpapi:GetAdaptersInfo pAdapterInfo (nil), pOutBufLen 0x55c2fae8
trace:iphlpapi:GetAdaptersInfo returning 111
trace:iphlpapi:GetAdaptersInfo pAdapterInfo 0x7c0097f0, pOutBufLen 0x55c2fae8
fixme:iphlpapi:GetAdaptersInfo table->numind 4, numnonloopback 4, 
ipaddrtab->numents 3, numipaddresses 3
trace:iphlpapi:GetAdaptersInfo returning 0
*** glibc detected *** free(): invalid next size (normal): 0x7c0096d8 ***

The test is testGetAdaptersInfo() and I guess the GetAdaptersInfo() call 
overwrites
the end of the malloc()ed buffer.

I don't really know whats broken there.

the values of the interesting parameters:
        table->numIndexes is 4
        numNonLoopbackInterfaces is 4
        ipAddrTable->dwNumEntries 3
        numIPAddresses 3

Ciao, Marcus


Reply via email to