httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bri...@apache.org
Subject cvs commit: httpd-2.0/modules/http http_protocol.c
Date Mon, 07 Oct 2002 15:30:44 GMT
brianp      2002/10/07 08:30:43

  Modified:    modules/http http_protocol.c
  Log:
  Fixed the new send_all_header_fields() function to properly
  compute the size of the iovec array.
  
  Revision  Changes    Path
  1.461     +2 -1      httpd-2.0/modules/http/http_protocol.c
  
  Index: http_protocol.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/http/http_protocol.c,v
  retrieving revision 1.460
  retrieving revision 1.461
  diff -u -r1.460 -r1.461
  --- http_protocol.c	7 Oct 2002 05:10:53 -0000	1.460
  +++ http_protocol.c	7 Oct 2002 15:30:43 -0000	1.461
  @@ -1168,7 +1168,8 @@
       }
       t_elt = (const apr_table_entry_t *)(elts->elts);
       t_end = t_elt + elts->nelts;
  -    vec = (struct iovec *)apr_palloc(h->pool, 4 * elts->nelts);
  +    vec = (struct iovec *)apr_palloc(h->pool, 4 * elts->nelts *
  +                                     sizeof(struct iovec));
       vec_next = vec;
   
       /* For each field, generate
  
  
  

Mime
View raw message