[BACK]Return to sftp-common.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/sftp-common.c between version 1.31 and 1.32

version 1.31, 2018/09/13 15:23:32 version 1.32, 2020/10/18 11:32:02
Line 131 
Line 131 
                 u_int i, count;                  u_int i, count;
   
                 if ((r = sshbuf_get_u32(b, &count)) != 0)                  if ((r = sshbuf_get_u32(b, &count)) != 0)
                         fatal("%s: buffer error: %s", __func__, ssh_err(r));                          return r;
                 for (i = 0; i < count; i++) {                  for (i = 0; i < count; i++) {
                         if ((r = sshbuf_get_cstring(b, &type, NULL)) != 0 ||                          if ((r = sshbuf_get_cstring(b, &type, NULL)) != 0 ||
                             (r = sshbuf_get_string(b, &data, &dlen)) != 0)                              (r = sshbuf_get_string(b, &data, &dlen)) != 0)

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32