1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00

Make the outgoing SSH2 sequence number unsigned, so as to avoid depending

on overflow behaviour of signed integers.

[originally from svn r5142]
This commit is contained in:
Ben Harris 2005-01-19 12:34:52 +00:00
parent b4b415e546
commit e94042612f

2
ssh.c
View File

@ -689,7 +689,7 @@ struct ssh_tag {
int overall_bufsize;
int throttled_all;
int v1_stdout_throttling;
int v2_outgoing_sequence;
unsigned long v2_outgoing_sequence;
int ssh1_rdpkt_crstate;
int ssh2_rdpkt_crstate;