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

Diff for /src/usr.bin/ssh/ssh.c between version 1.271 and 1.272

version 1.271, 2006/03/20 18:42:26 version 1.272, 2006/03/25 00:05:41
Line 672 
Line 672 
         if (options.rhosts_rsa_authentication ||          if (options.rhosts_rsa_authentication ||
             options.hostbased_authentication) {              options.hostbased_authentication) {
                 sensitive_data.nkeys = 3;                  sensitive_data.nkeys = 3;
                 sensitive_data.keys = xmalloc(sensitive_data.nkeys *                  sensitive_data.keys = xcalloc(sensitive_data.nkeys,
                     sizeof(Key));                      sizeof(Key));
   
                 PRIV_START;                  PRIV_START;
Line 1229 
Line 1229 
         int i;          int i;
         char name[1024], *cp;          char name[1024], *cp;
   
         strlcpy(name, env, sizeof(name));          if (strlcpy(name, env, sizeof(name)) >= sizeof(name))
                   fatal("env_permitted: name too long");
         if ((cp = strchr(name, '=')) == NULL)          if ((cp = strchr(name, '=')) == NULL)
                 return (0);                  return (0);
   

Legend:
Removed from v.1.271  
changed lines
  Added in v.1.272