From 03418d6378fe72bea2ff4b941792054dd208b65d Mon Sep 17 00:00:00 2001 From: marha Date: Wed, 23 Apr 2014 23:26:24 +0200 Subject: Synchrnoised plink with svn version of putty --- tools/plink/sshshare.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/plink/sshshare.c') diff --git a/tools/plink/sshshare.c b/tools/plink/sshshare.c index bd4602b5b..bf2a64c29 100644 --- a/tools/plink/sshshare.c +++ b/tools/plink/sshshare.c @@ -1763,7 +1763,7 @@ static int share_receive(Plug plug, int urgent, char *data, int len) crGetChar(c); if (c == '\012') break; - if (cs->recvlen > sizeof(cs->recvbuf)) { + if (cs->recvlen >= sizeof(cs->recvbuf)) { char *buf = dupprintf("Version string far too long\n"); share_disconnect(cs, buf); sfree(buf); -- cgit v1.2.3