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

Diff for /src/usr.bin/ssh/Attic/uuencode.c between version 1.27 and 1.28

version 1.27, 2013/05/17 00:13:14 version 1.28, 2015/04/24 01:36:24
Line 80 
Line 80 
                 fprintf(fp, "dump_base64: len > 65536\n");                  fprintf(fp, "dump_base64: len > 65536\n");
                 return;                  return;
         }          }
         buf = xmalloc(2*len);          buf = xreallocarray(NULL, 2, len);
         n = uuencode(data, len, buf, 2*len);          n = uuencode(data, len, buf, 2*len);
         for (i = 0; i < n; i++) {          for (i = 0; i < n; i++) {
                 fprintf(fp, "%c", buf[i]);                  fprintf(fp, "%c", buf[i]);

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28