Error connecting to hosts resolved from /etc/hosts
José Micó
jose.mico at gmail.com
Sat Jun 23 23:05:08 CEST 2012
When running with -T switch and AnyEvent::Socket tries to connect to a
host which was resolved from /etc/hosts, it dies with error:
Insecure dependency in connect while running with -T switch at
/.../AnyEvent/Socket.pm line 1019.
Seems like $sockaddr remains tainted. As a workaround, I patched
Socket.pm making it untaint parsed addresses within
AnyEvent::Socket::_parse_hosts().
Regards,
José
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schmorp.de/pipermail/anyevent/attachments/20120623/361bb721/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: untaint_hosts.patch
Type: text/x-patch
Size: 460 bytes
Desc: not available
URL: <http://lists.schmorp.de/pipermail/anyevent/attachments/20120623/361bb721/attachment.bin>
More information about the anyevent
mailing list