Fix off-by-one in memory management of PPK reading routine, which could cause
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Tue, 1 Mar 2005 23:48:45 +0000 (23:48 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Tue, 1 Mar 2005 23:48:45 +0000 (23:48 +0000)
commitfe41296f3a606d763da0979be70a6b88496c1468
tree3e56e0884addec14b48b7b58f1e759c7d416707a
parent8154b6022bd42b4aba03fc9adcbabd4f588b6575
Fix off-by-one in memory management of PPK reading routine, which could cause
1-byte buffer overflow when reading .PPK files with long lines (>=128 bytes
in header value -- probably only happened in practice in the comment field).

git-svn-id: svn://svn.tartarus.org/sgt/putty@5427 cda61777-01e9-0310-a592-d414129be87e
sshpubk.c