[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    make check fails in iphlapi
From:       Marcus Meissner <marcus () jet ! franken ! de>
Date:       2006-01-30 8:07:08
Message-ID: 20060130080708.GA29739 () galeere ! franken ! de
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic