Mikael Magnusson <[EMAIL PROTECTED]> wrote Fri, Jun 10, 2005: > IPv6 ftp connections crash if "set protocol.ftp.use_epsv = 0" is set in > elisp.conf. > > The crash is caused by get_pasv6_socket, which overwrites the stack since it > clears an argument of type struct sockaddr_storage in get_pasv6_socket, but > it was passed a struct sockaddr_in6 as parameter. The size of > struct sockaddr_storage (128) is larger than struct sockaddr_in6 (28), which > leads to overwriting the stack.
Thanks, I've applied it upstream. However the patch seemed to have been whitespace corrupted. The diffs for my commit is here: http://cvsweb.elinks.or.cz/cvsweb.cgi/elinks/AUTHORS.diff?r1=1.178.2.9&r2=1.178.2.10&f=u http://cvsweb.elinks.or.cz/cvsweb.cgi/elinks/src/protocol/ftp/ftp.c.diff?r1=1.182.2.6&r2=1.182.2.7&f=u -- Jonas Fonseca -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]