ws2_32: Fix allocating a hostent with no h_aliases list.
Erich Hoover
ehoover at mines.edu
Sat Dec 12 18:03:17 CST 2009
Real Name:
Erich Hoover
Description:
The attached patch fixes Bug #20995, which was introduced by
commit 355818ae1e1222bffab7d014a952e4f70e3623d0. When an application
requests the local IP addresses using gethostbyname() the returned
hostent has an empty h_aliases list. Without this patch applications
will crash if they examine the h_aliases list without first ensuring
that h_aliases is non-NULL.
Changelog:
ws2_32: Fix allocating a hostent with no h_aliases list.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ws2_32-Fix-allocating-a-hostent-with-no-h_aliases-li.patch
Type: text/x-diff
Size: 3681 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20091212/9c5fe1ee/attachment-0001.patch>
More information about the wine-patches
mailing list