[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.137 and 1.138

version 1.137, 2006/03/19 18:51:18 version 1.138, 2006/03/25 01:13:23
Line 1171 
Line 1171 
         if (bp->buf == NULL)          if (bp->buf == NULL)
                 bp->buf = xmalloc(size);                  bp->buf = xmalloc(size);
         else          else
                 bp->buf = xrealloc(bp->buf, size);                  bp->buf = xrealloc(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.137  
changed lines
  Added in v.1.138