[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug in ftpd
From: |
Paul Poh |
Subject: |
Bug in ftpd |
Date: |
Thu, 19 Sep 2002 21:13:32 -0400 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826 |
There is a bug in the ftpd daemon of the latest inetutils-1.4.1 that
causes the server to bind to the incorrect port.
In ftpd/server_mode.c, line 96, the correct line should be:
port = (sv == NULL) ? DEFPORT : ntohs(sv->s_port);
The previous call to getservbyname() returns the port number in network
byte order.
Thanks.