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

Diff for /src/usr.bin/ssh/sftp-server.c between version 1.54 and 1.55

version 1.54, 2006/03/25 00:05:41 version 1.55, 2006/03/25 01:13:23
Line 700 
Line 700 
                 while ((dp = readdir(dirp)) != NULL) {                  while ((dp = readdir(dirp)) != NULL) {
                         if (count >= nstats) {                          if (count >= nstats) {
                                 nstats *= 2;                                  nstats *= 2;
                                 stats = xrealloc(stats, nstats * sizeof(Stat));                                  stats = xrealloc(stats, nstats, sizeof(Stat));
                         }                          }
 /* XXX OVERFLOW ? */  /* XXX OVERFLOW ? */
                         snprintf(pathname, sizeof pathname, "%s%s%s", path,                          snprintf(pathname, sizeof pathname, "%s%s%s", path,

Legend:
Removed from v.1.54  
changed lines
  Added in v.1.55