[PATCH] Fix setting error return code of _nss_wins_gethostbyname_r

Andreas Schneider asn at samba.org
Tue Nov 15 06:50:12 UTC 2016


Hello,


attached find a fix for _nss_wins_gethostbyname_r() if ip is set to NULL.

Tested by the reporter, see:

https://bugzilla.samba.org/show_bug.cgi?id=12269


Please review and push!


Thanks,



	Andreas


-- 
Andreas Schneider                   GPG-ID: CC014E3D
Samba Team                             asn at samba.org
www.samba.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-nss_wins-Fix-errno-values-for-HOST_NOT_FOUND.patch
Type: text/x-patch
Size: 792 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20161115/dceb6ed7/0001-nss_wins-Fix-errno-values-for-HOST_NOT_FOUND.bin>


More information about the samba-technical mailing list