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

Diff for /src/usr.bin/ssh/scp.c between version 1.181 and 1.182

version 1.181, 2015/01/16 06:40:12 version 1.182, 2015/04/24 01:36:00
Line 1300 
Line 1300 
         if (bp->buf == NULL)          if (bp->buf == NULL)
                 bp->buf = xmalloc(size);                  bp->buf = xmalloc(size);
         else          else
                 bp->buf = xrealloc(bp->buf, 1, size);                  bp->buf = xreallocarray(bp->buf, 1, size);
         memset(bp->buf, 0, size);          memset(bp->buf, 0, size);
         bp->cnt = size;          bp->cnt = size;
         return (bp);          return (bp);

Legend:
Removed from v.1.181  
changed lines
  Added in v.1.182