httpd-test-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aa...@apache.org
Subject cvs commit: httpd-test/flood flood_round_robin.c
Date Thu, 03 Jan 2002 15:45:02 GMT
aaron       02/01/03 07:45:02

  Modified:    flood    flood_round_robin.c
  Log:
  Fix unterminated-string bug that would give us corrupted cookie data when
  multiple cookies were used.
  
  Submitted by:	Chris Williams <chriwill@cmguc.com>
  Reviewed by:	Aaron Bannert
  
  Revision  Changes    Path
  1.20      +1 -1      httpd-test/flood/flood_round_robin.c
  
  Index: flood_round_robin.c
  ===================================================================
  RCS file: /home/cvs/httpd-test/flood/flood_round_robin.c,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- flood_round_robin.c	3 Oct 2001 01:24:01 -0000	1.19
  +++ flood_round_robin.c	3 Jan 2002 15:45:01 -0000	1.20
  @@ -143,7 +143,7 @@
           while (cook)
           {
               if (cook != p->cookie)
  -                cookies = apr_pstrcat(p->pool, cookies, ";");
  +                cookies = apr_pstrcat(p->pool, cookies, ";", NULL);
   
               cookies = apr_pstrcat(p->pool, cookies, cook->name, "=", 
                                     cook->value, NULL);
  
  
  

Mime
View raw message