1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-01 03:22:48 -05:00

Merge branch 'pre-0.67'

This commit is contained in:
Simon Tatham
2016-02-29 19:59:59 +00:00
13 changed files with 75 additions and 47 deletions

2
pscp.c
View File

@ -1495,7 +1495,7 @@ int scp_get_sink_action(struct scp_sink_action *act)
{
char sizestr[40];
if (sscanf(act->buf, "%lo %s %n", &act->permissions,
if (sscanf(act->buf, "%lo %39s %n", &act->permissions,
sizestr, &i) != 2)
bump("Protocol error: Illegal file descriptor format");
act->size = uint64_from_decimal(sizestr);