[net.unix-wizards] 4.2 ftp has 8 character passwords

rws%mit-bold@sri-unix.UUCP (01/31/84)

From:  Robert W. Scheifler <rws@mit-bold>

Description:
	User ftp truncates passwords to 8 characters, which loses
	completely when talking to non-Unix sites.
Repeat-By:
	ftp to a TOPS-20, for example, and try to login to an
	account with a long password.
Fix:
	Change
		static char pbuf[9];
	to
		static char pbuf[51];
	and
		if (p < &pbuf[8])
	to
		if (p < &pbuf[50])
	or some other suitably large values.  (Geez, C+Unix=blech.)