httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p..@hyperreal.org
Subject cvs commit: apachen/src/main util_script.c
Date Tue, 21 Oct 1997 13:06:37 GMT
pcs         97/10/21 06:06:36

  Modified:    src/main util_script.c
  Log:
  Fix problem causing crash when a CGI is accessed with a ?arg wich
  does not contain a =.
  PR: 1030
  
  Revision  Changes    Path
  1.80      +3 -3      apachen/src/main/util_script.c
  
  Index: util_script.c
  ===================================================================
  RCS file: /export/home/cvs/apachen/src/main/util_script.c,v
  retrieving revision 1.79
  retrieving revision 1.80
  diff -u -r1.79 -r1.80
  --- util_script.c	1997/10/20 12:08:59	1.79
  +++ util_script.c	1997/10/21 13:06:36	1.80
  @@ -755,13 +755,13 @@
   	else {
   	    if (is_exe || is_binary) {
   		pid = spawnve(_P_NOWAIT, r->filename,
  -			      create_argv(r->pool, argv0, NULL, NULL, r->args,
  -					  (void *) NULL), env);
  +			      create_argv(r->pool, NULL, NULL, NULL, argv0, 
  +					  r->args), env);
   	    }
   	    else if (is_script) {
   		ap_assert(0);
   		pid = spawnve(_P_NOWAIT, interpreter + 2,
  -			      create_argv(r->pool, interpreter + 2, NULL, NULL,
  +			      create_argv(r->pool, NULL, NULL, NULL,
   					  r->filename, r->args), env);
   	    }
   	    else {
  
  
  

Mime
View raw message