Error connecting to hosts resolved from /etc/hosts

José Micó jose.mico at
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/ line 1019.

Seems like $sockaddr remains tainted. As a workaround, I patched making it untaint parsed addresses within 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: untaint_hosts.patch
Type: text/x-patch
Size: 460 bytes
Desc: not available
URL: <>

More information about the anyevent mailing list