Tartarus CVS: putty simon

tartarus-commits@lists.tartarus.org tartarus-commits@lists.tartarus.org
Sun, 18 Aug 2002 10:10:17 +0100


CVSROOT:	/home/cvs
Module name:	putty
Changes by:	simon	02/08/18 10:10:17

Modified files:
	.              : ssh.c 

Log message:
In SSH2, if decrypting the packet length gave us a negative value,
subsequent packet-receiver code would fail to notice anything was
wrong and segfault. Since this is clearly a silly packet length
anyway, we now explicitly reject it as a daft encryption error.