]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Someone complained that their keyboard-interactive password prompt was being
authorJacob Nevins <jacobn@chiark.greenend.org.uk>
Tue, 17 Aug 2004 14:08:05 +0000 (14:08 +0000)
committerJacob Nevins <jacobn@chiark.greenend.org.uk>
Tue, 17 Aug 2004 14:08:05 +0000 (14:08 +0000)
commit1af5523edcc4181b9d55da57922861a446cea567
tree65dbff8729ab44d0d5ab4cd9a2e80fcd458d8b88
parente8b2b6a5dcb04239bc431decb4adfc2bc4a10f25
Someone complained that their keyboard-interactive password prompt was being
truncated - it was from OpenSSH on HP/UX and had all sorts of stuff in it
("last successful login" etc).

Bodged it by bumping up the space allocated in the fixed array for a password
prompt. Also added an indication that the prompt is being truncated, as
required by draft-ietf-secsh-auth-kbdinteract-06.

(NB that before this checkin, there was a more-or-less harmless buffer overread
where if we ever received a keyboard-interactive prompt with echo=1, we'd
probably spew goo on the terminal; fixed now.)

[originally from svn r4476]
ssh.c