[Bug 52224] inetmib1:main test times out in linux

WineHQ Bugzilla wine-bugs at winehq.org
Thu Dec 16 04:24:35 CST 2021


https://bugs.winehq.org/show_bug.cgi?id=52224

--- Comment #1 from Bernhard Übelacker <bernhardu at mailbox.org> ---
This seems to be caused by the last loop in testQuery is never left.
https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/inetmib1/tests/main.c#l491

Unfortunately when submitting an no-change-patch
with WINETEST_REPORT_SUCCESS active,
it produces over 200 MB output until the timeout is reached.

The whole SNMP functionality seems to iterate over open UDP ports.
But it iterates always over just the two first entries,
therefore never finishes.

This open UDP ports are queried by GetUdpTable, which returns a sorted list.
But the dwLocalPort is returned as big-endian.

Unfortunately the inetmib1 dll seems not to take the endianess
into account, therefore, as sorting matters, it finds always the
same two entries.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list