[cups.bugs] [LOW] STR #3955: httpAddrLocalhost misses V4COMPAT check

Tim Waugh twaugh at redhat.com
Thu Oct 6 02:40:23 PDT 2011


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

If an IPv6-addressed system has "localhost" resolving to 127.0.0.1, CUPS
will see getsockname() returning ::127.0.0.1, but this does not get
classed as a localhost address.

Patch attached which seems to work here.

Link: http://www.cups.org/str.php?L3955
Version: 1.5.0
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cups-loopback.patch
URL: <http://lists.cups.org/pipermail/cups-devel/attachments/20111006/5bd9a970/attachment.ksh>


More information about the cups-devel mailing list