[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.47.4.1 and 1.47.4.2

version 1.47.4.1, 2005/09/04 18:40:04 version 1.47.4.2, 2006/02/03 02:53:45
Line 21 
Line 21 
 #include "getput.h"  #include "getput.h"
 #include "log.h"  #include "log.h"
 #include "xmalloc.h"  #include "xmalloc.h"
   #include "misc.h"
   
 #include "sftp.h"  #include "sftp.h"
 #include "sftp-common.h"  #include "sftp-common.h"
Line 925 
Line 926 
                 return;         /* Incomplete message. */                  return;         /* Incomplete message. */
         cp = buffer_ptr(&iqueue);          cp = buffer_ptr(&iqueue);
         msg_len = GET_32BIT(cp);          msg_len = GET_32BIT(cp);
         if (msg_len > 256 * 1024) {          if (msg_len > SFTP_MAX_MSG_LENGTH) {
                 error("bad message ");                  error("bad message ");
                 exit(11);                  exit(11);
         }          }
Line 1015 
Line 1016 
         fd_set *rset, *wset;          fd_set *rset, *wset;
         int in, out, max;          int in, out, max;
         ssize_t len, olen, set_size;          ssize_t len, olen, set_size;
   
           /* Ensure that fds 0, 1 and 2 are open or directed to /dev/null */
           sanitise_stdfd();
   
         /* XXX should use getopt */          /* XXX should use getopt */
   

Legend:
Removed from v.1.47.4.1  
changed lines
  Added in v.1.47.4.2