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

Diff for /src/usr.bin/sudo/Attic/sudo.c between version 1.17 and 1.18

version 1.17, 2003/03/15 21:23:54 version 1.18, 2003/04/01 15:47:51
Line 98 
Line 98 
 #include "version.h"  #include "version.h"
   
 #ifndef lint  #ifndef lint
 static const char rcsid[] = "$Sudo: sudo.c,v 1.333 2003/03/15 20:31:01 millert Exp $";  static const char rcsid[] = "$Sudo: sudo.c,v 1.334 2003/04/01 15:02:49 millert Exp $";
 #endif /* lint */  #endif /* lint */
   
 /*  /*
Line 613 
Line 613 
             user_args = (char *) emalloc(size);              user_args = (char *) emalloc(size);
             for (to = user_args, from = NewArgv + 1; *from; from++) {              for (to = user_args, from = NewArgv + 1; *from; from++) {
                 n = strlcpy(to, *from, size - (to - user_args));                  n = strlcpy(to, *from, size - (to - user_args));
                 if (n >= size) {                  if (n >= size - (to - user_args)) {
                     (void) fprintf(stderr,                      (void) fprintf(stderr,
                         "%s: internal error, init_vars() overflow\n", Argv[0]);                          "%s: internal error, init_vars() overflow\n", Argv[0]);
                     exit(1);                      exit(1);

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18