httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0 CHANGES
Date Mon, 15 Mar 2004 20:00:16 GMT
trawick     2004/03/15 12:00:16

  Modified:    modules/generators mod_cgid.c
               .        CHANGES
  Log:
  mod_cgid: Fix storage corruption caused by use of incorrect pool.
  
  Revision  Changes    Path
  1.166     +1 -1      httpd-2.0/modules/generators/mod_cgid.c
  
  Index: mod_cgid.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/generators/mod_cgid.c,v
  retrieving revision 1.165
  retrieving revision 1.166
  diff -u -r1.165 -r1.166
  --- mod_cgid.c	9 Feb 2004 20:29:19 -0000	1.165
  +++ mod_cgid.c	15 Mar 2004 20:00:11 -0000	1.166
  @@ -812,7 +812,7 @@
       apr_pool_userdata_get((void **)&procnew, userdata_key, main_server->process->pool);
       if (!procnew) {
           first_time = 1;
  -        procnew = apr_pcalloc(p, sizeof(*procnew));
  +        procnew = apr_pcalloc(main_server->process->pool, sizeof(*procnew));
           procnew->pid = -1;
           procnew->err = procnew->in = procnew->out = NULL;
           apr_pool_userdata_set((const void *)procnew, userdata_key,
  
  
  
  1.1425    +3 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.1424
  retrieving revision 1.1425
  diff -u -r1.1424 -r1.1425
  --- CHANGES	14 Mar 2004 16:24:55 -0000	1.1424
  +++ CHANGES	15 Mar 2004 20:00:13 -0000	1.1425
  @@ -2,6 +2,9 @@
   
     [Remove entries to the current 2.0 section below, when backported]
   
  +  *) mod_cgid: Fix storage corruption caused by use of incorrect pool.
  +     [Jeff Trawick]
  +
     *) Satisfy directives now can be influenced by a surrounding <Limit>
        container.  PR 14726.  [André Malo]
   
  
  
  

Mime
View raw message