httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@locus.apache.org
Subject cvs commit: apache-2.0/src/main http_request.c
Date Wed, 13 Sep 2000 21:45:24 GMT
rbb         00/09/13 14:45:23

  Modified:    src/main http_request.c
  Log:
  Fix a seg fault with sub requests.  We must allocate space for the
  sub-requests allowed_methods array before we try to copy into it.
  
  Revision  Changes    Path
  1.46      +1 -0      apache-2.0/src/main/http_request.c
  
  Index: http_request.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/main/http_request.c,v
  retrieving revision 1.45
  retrieving revision 1.46
  diff -u -r1.45 -r1.46
  --- http_request.c	2000/09/13 01:58:15	1.45
  +++ http_request.c	2000/09/13 21:45:21	1.46
  @@ -863,6 +863,7 @@
       rnew->request_config = ap_create_request_config(rnew->pool);
       rnew->htaccess       = r->htaccess;
       rnew->chunked        = r->chunked;
  +    rnew->allowed_methods = ap_make_method_list(rnew->pool, 2);
   
       /* make a copy of the allowed-methods list */
       ap_copy_method_list(rnew->allowed_methods, r->allowed_methods);
  
  
  

Mime
View raw message