[Bug 536620] [NEW] SEGV when using pasv_address

Stephane Chazelas stephane.chazelas at seebyte.com
Wed Mar 10 12:41:42 GMT 2010


Public bug reported:

Binary package hint: vsftpd

vsftpd                            2.2.0-1ubuntu1

Any attempt to set the pasv_address configuration parameter causes
vsftpd to SEGV upon a client issuing a PASV FTP command.

The bug was already fixed upstreams in 2.2.1, the fix is:

--- vsftpd-2.2.0/postlogin.c    2009-08-08 02:49:15.000000000 +0100
+++ vsftpd-2.2.0.fixed/postlogin.c      2010-03-10 12:28:30.000000000 +0000
@@ -584,6 +584,7 @@ handle_pasv(struct vsf_session* p_sess,
   if (tunable_pasv_address != 0)
   {
     /* Report passive address as specified in configuration */
+    vsf_sysutil_sockaddr_alloc_ipv4(&s_p_sockaddr);
     if (vsf_sysutil_inet_aton(tunable_pasv_address, s_p_sockaddr) == 0)
     {
       die("invalid pasv_address");

Any way that this fix be applied to the karmic package?

** Affects: vsftpd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
SEGV when using pasv_address
https://bugs.launchpad.net/bugs/536620
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vsftpd in ubuntu.



More information about the Ubuntu-server-bugs mailing list