[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#4984: dupload doesn't like passowrd's with 0 in them



Package: dupload
Version: 1.7

When dupload prompts you for a password, it seems to interprate the
number '0' the same as it does \n. Sample:

[joey@kite] ~/debian/build>dupload -n pente_2.1.11-3_i386.changes --to localhost
Uploading to master.debian.org:/home/Debian/ftp/private/project/Incoming/
[ job pente_2.1.11-3_i386 from pente_2.1.11-3_i386.changes
 pente_2.1.11-3.diff.gz, md5sum ok
 pente_2.1.11-3.dsc, md5sum ok
 pente_2.1.11-3_i386.deb, md5sum ok
 pente_2.1.11-3_i386.changes ]
Password for joey's ftp account on master.debian.org: **** 
Uploading to master (master.debian.org)
+ ftp_open(master.debian.org, joey, test)
..

Note that the password I really entered was 'test0'.

I've tracked the problem down to the line in getpass() that runs stty. If
that line is disabled, 0 is no longer treated as end of line.

-- 
#!/usr/bin/perl -i\$q='$q',\$p='$p';eval\$q.\$\^I\n"#  #  jeh22@cornell.edu
$q='print"$p$^I\n',$p='#!/usr/bin/perl -i';eval$q.$^I  #          Joey Hess
               "true - do nothing, successfully" - - true (1)

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: