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

Diff for /src/usr.bin/ssh/clientloop.c between version 1.255 and 1.256

version 1.255, 2013/11/08 00:39:15 version 1.256, 2013/11/20 20:54:10
Line 281 
Line 281 
   
         dlen = strlen(display);          dlen = strlen(display);
         for (i = 0; i < dlen; i++) {          for (i = 0; i < dlen; i++) {
                 if (!isalnum(display[i]) &&                  if (!isalnum((u_char)display[i]) &&
                     strchr(SSH_X11_VALID_DISPLAY_CHARS, display[i]) == NULL) {                      strchr(SSH_X11_VALID_DISPLAY_CHARS, display[i]) == NULL) {
                         debug("Invalid character '%c' in DISPLAY", display[i]);                          debug("Invalid character '%c' in DISPLAY", display[i]);
                         return 0;                          return 0;
Line 875 
Line 875 
         cmd = s = read_passphrase("\r\nssh> ", RP_ECHO);          cmd = s = read_passphrase("\r\nssh> ", RP_ECHO);
         if (s == NULL)          if (s == NULL)
                 goto out;                  goto out;
         while (isspace(*s))          while (isspace((u_char)*s))
                 s++;                  s++;
         if (*s == '-')          if (*s == '-')
                 s++;    /* Skip cmdline '-', if any */                  s++;    /* Skip cmdline '-', if any */
Line 929 
Line 929 
                 goto out;                  goto out;
         }          }
   
         while (isspace(*++s))          while (isspace((u_char)*++s))
                 ;                  ;
   
         /* XXX update list of forwards in options */          /* XXX update list of forwards in options */

Legend:
Removed from v.1.255  
changed lines
  Added in v.1.256