WinInet: Fix For Non-Thread-Safe gethostbyname
rob at codeweavers.com
Tue Nov 23 10:32:46 CST 2004
The GetAddress function can sometimes cause an access violation because
gethostbyname isn't thread-safe. We can work around this by not
accessing the hostent returned outside of the critical section.
Make GetAddress safer by wrapping a critical section around
gethostbyname and only accessing hostent where necessary.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6663 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20041123/d3107ae8/wininet_threadsafefix.bin
More information about the wine-patches