On Sun, Jun 05, 2005 at 10:37:02PM +0000, Philippe Oechslin wrote: | Hello there, | I have tested tnftp 20050511. The behaviour has changed, but there still | is a bug. | | I have downloaded 20050511 and compiled it (./configure, make) on my | Linux Suse 9.2 distribution. | | When I give a username that is too long, the rest of the username stays | in a buffer and is inserted in the next username. At least there is no | interaction with later comands. | | Here is an example: the commands that I typed are | - o ftp.microsoft.com | - user AAA..AAcheck_this_outBBB..BBB | - <blank password> | - user <blank username> | - <blank password> | | tp> o ftp.microsoft.com | Connected to ftp.microsoft.com. | 220 Microsoft FTP Service | Name (ftp.microsoft.com:oechslin): | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcheck_this_outBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB | 331 Password required for | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcheck_th. | Password: | 530 User | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcheck_th | cannot log in. | ftp: Login failed. | ftp> user | (username) 331 Password required for | s_outBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB. | Password: | 530 User | s_outBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB | cannot log in. | Login failed. | | As you can see from the screen dump and from looking at the trafic, the | username is trunctated after 78 characters after the initial user | command with a long username. When I type a second user command without | argument, the rest of the previous username is transmitted. However, the | extra data does not seem to interact with later commands as it did when | I discovered the bug. Is editing enabled or disabled when you attempt this? Can you run your test with "-d" (debug), and send me the full output (including the full string that you're using to cause the problem)? Thanks, Luke.
Attachment:
pgp2iH4UBXOAZ.pgp
Description: PGP signature