httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@locus.apache.org
Subject cvs commit: apache-2.0/src CHANGES
Date Sat, 29 Jul 2000 02:04:51 GMT
trawick     00/07/28 19:04:50

  Modified:    src/modules/standard mod_mime_magic.c
               src      CHANGES
  Log:
  Fix segfault/SIGSEGV when running gzip from mod_mime_magic.c.
  An invalid ap_proc_t was passed to ap_create_process().
  
  Revision  Changes    Path
  1.24      +2 -1      apache-2.0/src/modules/standard/mod_mime_magic.c
  
  Index: mod_mime_magic.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_mime_magic.c,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- mod_mime_magic.c	2000/07/24 20:48:24	1.23
  +++ mod_mime_magic.c	2000/07/29 02:04:49	1.24
  @@ -2148,7 +2148,7 @@
       request_rec *r = parm->r;
       ap_pool_t *child_context = cntxt;
       ap_procattr_t *procattr;
  -    ap_proc_t *procnew = NULL;
  +    ap_proc_t *procnew;
       ap_iol *iol;
   
       env = ap_create_environment(child_context, r->subprocess_env);
  @@ -2172,6 +2172,7 @@
               close(STDERR_FILENO);
           }
   
  +        procnew = ap_pcalloc(child_context, sizeof(*procnew));
           rc = ap_create_process(procnew, compr[parm->method].argv[0],
                                  new_argv, env, procattr, child_context);
   
  
  
  
  1.184     +4 -0      apache-2.0/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/CHANGES,v
  retrieving revision 1.183
  retrieving revision 1.184
  diff -u -r1.183 -r1.184
  --- CHANGES	2000/07/28 20:46:24	1.183
  +++ CHANGES	2000/07/29 02:04:49	1.184
  @@ -1,4 +1,8 @@
   Changes with Apache 2.0a5
  +  *) Fix segfault/SIGSEGV when running gzip from mod_mime_magic.c.
  +     An invalid ap_proc_t was passed to ap_create_process().
  +     [Jeff Trawick]
  +
     *) Allow modules to register filters.  Those filters are still
        never called, but this is a step in the right direction.
        [Ryan Bloom and Greg Stein]
  
  
  

Mime
View raw message