[Bug 28818] New: GetNetworkParams occasionally returns ERROR_BUFFER_OVERFLOW (race condition?)
http://bugs.winehq.org/show_bug.cgi?id=28818 Bug #: 28818 Summary: GetNetworkParams occasionally returns ERROR_BUFFER_OVERFLOW (race condition?) Product: Wine Version: 1.3.30 Platform: x86 OS/Version: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: cdavis(a)mymail.mines.edu Classification: Unclassified A common pattern for functions returning variable-sized data is to call the function twice: once to get the size of the data, and once again to actually get the data. The GetNetworkParams() function in iphlpapi is one such function. Occasionally on Mac, GetNetworkParams() will return ERROR_BUFFER_OVERFLOW the second time, even with a buffer of the size returned from the first time. My guess is that the size is changing in between calls. I'm not sure if this is a bug or what--can this happen on Windows? Also, is this a Wine bug, or a bug in the Mac version of the BIND9 resolver? Apple says the BIND9 resolver API is not recommended, and that new programs should use the API in <dns.h> instead. Should Wine be doing this? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=28818 --- Comment #1 from Austin English <austinenglish(a)gmail.com> 2013-11-13 16:49:35 CST --- This is your friendly reminder that there has been no bug activity for 2 years. Is this still an issue in current (1.7.6 or newer) wine? If so, please attach the terminal output in 1.7.6 (see http://wiki.winehq.org/FAQ#get_log). -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=28818 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |ABANDONED --- Comment #2 from Austin English <austinenglish(a)gmail.com> --- Abandoned. -- 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=28818 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #3 from Austin English <austinenglish(a)gmail.com> --- Closing. -- 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)
-
wine-bugs@winehq.org