httpd-test-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject cvs commit: httpd-test/perl-framework/c-modules/random_chunk mod_random_chunk.c
Date Tue, 09 Mar 2004 12:07:19 GMT
jorton      2004/03/09 04:07:19

  Modified:    perl-framework/c-modules/random_chunk mod_random_chunk.c
  Log:
  Fix stack corruption by httpd_test_split_qs_numbers when
  sizeof int != sizeof apr_size_t.
  
  Revision  Changes    Path
  1.10      +2 -2      httpd-test/perl-framework/c-modules/random_chunk/mod_random_chunk.c
  
  Index: mod_random_chunk.c
  ===================================================================
  RCS file: /home/cvs/httpd-test/perl-framework/c-modules/random_chunk/mod_random_chunk.c,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -w -d -u -r1.9 -r1.10
  --- mod_random_chunk.c	1 Jan 2004 13:38:37 -0000	1.9
  +++ mod_random_chunk.c	9 Mar 2004 12:07:19 -0000	1.10
  @@ -102,8 +102,8 @@
   
   static int random_chunk_handler(request_rec *r)
   {
  -    unsigned int seed = 0;
  -    unsigned int count = 0;
  +    apr_size_t seed = 0;
  +    apr_size_t count = 0;
       int i;
       char buf[MAX_SEGMENT + 1];
       unsigned int len;
  
  
  

Mime
View raw message