DO NOT REPLY [Bug 5851] Name lookup failures

samba-bugs at samba.org samba-bugs at samba.org
Sat Oct 25 16:23:21 GMT 2008


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


wayned at samba.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
            Summary|Name lookup failures and    |Name lookup failures
                   |CIDR regression             |




------- Comment #2 from wayned at samba.org  2008-10-25 11:23 CST -------
I have applied your fix to lib/getaddrinfo.c -- much appreciated!

The change to access.c is not needed, though, as the code right after your
insertion is the code that handles CIDR notation.  A value such as "16" passed
to inet_pton() should return back a 0, since it does not have the required
format for either an IPv4 or IPv6 address.  If cygwin is returning a positive
value, you can use the version of inet_pton() provided by the lib/inet_pton.c
file (and report the error to the cygwin folks).

Thanks for your report!


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the rsync mailing list