httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stodd...@hyperreal.org
Subject cvs commit: apache-2.0/src/lib/apr/threadproc/win32 proc.c
Date Mon, 01 Nov 1999 20:02:46 GMT
stoddard    99/11/01 12:02:42

  Modified:    src/lib/apr/threadproc/win32 proc.c
  Log:
  Fix bug exposed when no arg list is passed into ap_create_process.
  
  Revision  Changes    Path
  1.12      +1 -1      apache-2.0/src/lib/apr/threadproc/win32/proc.c
  
  Index: proc.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/threadproc/win32/proc.c,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- proc.c	1999/10/17 01:27:15	1.11
  +++ proc.c	1999/11/01 20:02:37	1.12
  @@ -215,7 +215,7 @@
       }
       cmdline = ap_pstrdup(cont, progname);
       i = 0;
  -    while (args[i]) {
  +    while (args && args[i]) {
           cmdline = ap_pstrcat(cont, cmdline, " ", args[i], NULL);
           i++;
       }
  
  
  

Mime
View raw message