httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dgau...@hyperreal.org
Subject cvs commit: apache-1.2/src CHANGES http_protocol.c
Date Wed, 01 Apr 1998 11:48:13 GMT
dgaudet     98/04/01 03:48:13

  Modified:    src       CHANGES http_protocol.c
  Log:
  parse_uri didn't test for nul properly
  
  PR:		2019
  Submitted by:	Patrick Bihan-Faou <pbf@gandalf.com>
  
  Revision  Changes    Path
  1.305     +3 -0      apache-1.2/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /export/home/cvs/apache-1.2/src/CHANGES,v
  retrieving revision 1.304
  retrieving revision 1.305
  diff -u -r1.304 -r1.305
  --- CHANGES	1998/03/26 21:27:44	1.304
  +++ CHANGES	1998/04/01 11:48:11	1.305
  @@ -1,5 +1,8 @@
   Changes with Apache 1.2.7
   
  +  *) Fix a typo in url parsing code that could cause it to read past
  +     end of buffer.  [Patrick Bihan-Faou <pbf@gandalf.com>] PR#2019
  +
     *) Fixed a bug in URL parsing that caused a wrong decoding of
        URLs with empty paths.
        [Alvaro Martínez Echevarría <alvaro@lander.es>]
  
  
  
  1.134     +1 -1      apache-1.2/src/http_protocol.c
  
  Index: http_protocol.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.2/src/http_protocol.c,v
  retrieving revision 1.133
  retrieving revision 1.134
  diff -u -r1.133 -r1.134
  --- http_protocol.c	1998/03/26 21:27:45	1.133
  +++ http_protocol.c	1998/04/01 11:48:12	1.134
  @@ -512,7 +512,7 @@
   #endif
   
   /* A proxy request contains a ':' early on, but not as first character */
  -    for (s=uri; s != '\0'; s++)
  +    for (s=uri; *s != '\0'; s++)
   	if (!isalnum(*s) && *s != '+' && *s != '-' && *s != '.') break;
   
       if (*s == ':' && s != uri)
  
  
  

Mime
View raw message