[Bug 54588] New: iphlpapi:iphlpapi - test_GetExtendedTcpTable() sometimes fails because the buffer is too small in Wine
https://bugs.winehq.org/show_bug.cgi?id=54588 Bug ID: 54588 Summary: iphlpapi:iphlpapi - test_GetExtendedTcpTable() sometimes fails because the buffer is too small in Wine Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: iphlpapi Assignee: wine-bugs(a)winehq.org Reporter: fgouget(a)codeweavers.com Distribution: --- iphlpapi:iphlpapi - test_GetExtendedTcpTable() sometimes fails because the buffer is too small in Wine: iphlpapi.c:1892: Test failed: got 122 iphlpapi.c:1910: Test failed: got 122 iphlpapi.c:1949: Test failed: got 122 See https://test.winehq.org/data/patterns.html#iphlpapi:iphlpapi This looks like the same issue as with GetAdaptersAddresses(): the number of entries in the table increases between the first call to compute the size and the second call that tries to fill the table. So all uses of GetAdaptersAddresses() should use a loop to defend against this. nsi:nsi also uses a similar code pattern and although it does not seem to have failures, it should probably be patched too. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=54588 François Gouget <fgouget(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase -- 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.
https://bugs.winehq.org/show_bug.cgi?id=54588 Hans Leidekker <hans(a)meelstraat.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |46e3f259c145419e93cf3daecd9 | |92e053e6cdf6f Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #1 from Hans Leidekker <hans(a)meelstraat.net> --- Fixed by 46e3f259c145419e93cf3daecd992e053e6cdf6f. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=54588 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #2 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 8.17. -- 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.
participants (1)
-
WineHQ Bugzilla