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

Diff for /src/usr.bin/ssh/misc.c between version 1.124 and 1.125

version 1.124, 2018/03/02 03:02:11 version 1.125, 2018/03/03 03:15:51
Line 1835 
Line 1835 
         }          }
   
         /* Allocate space and format the variable in the appropriate slot. */          /* Allocate space and format the variable in the appropriate slot. */
           /* XXX xasprintf */
         env[i] = xmalloc(strlen(name) + 1 + strlen(value) + 1);          env[i] = xmalloc(strlen(name) + 1 + strlen(value) + 1);
         snprintf(env[i], strlen(name) + 1 + strlen(value) + 1, "%s=%s", name, value);          snprintf(env[i], strlen(name) + 1 + strlen(value) + 1, "%s=%s", name, value);
 }  }

Legend:
Removed from v.1.124  
changed lines
  Added in v.1.125