[Bug 28756] ws2_32/tests/sock.ok: uninitialised value created in test_events(), used in get_cached_fd()?
wine-bugs at winehq.org
wine-bugs at winehq.org
Thu Oct 20 18:08:00 CDT 2011
http://bugs.winehq.org/show_bug.cgi?id=28756
Bruno Jesus <00cpxxx at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |00cpxxx at gmail.com
--- Comment #1 from Bruno Jesus <00cpxxx at gmail.com> 2011-10-20 18:08:00 CDT ---
This is really weird. The get_cached_fd function is inline and there is no way
that this variable is left uninitialised. Maybe setting entry = 0 will silence
the valgrind warning, but should produce a new "dead assignment" warning.
There are 3 different functions using the exact same approach: get_cache_fd,
server_remove_fd_from_cache and add_fd_to_cache.
It seems that the compiler thought it was better to not inline the function or
valgind is checking the source and is ignoring the inline attribute.
--
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.
More information about the wine-bugs
mailing list