You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by Roy Fielding <fi...@hyperreal.com> on 1997/02/10 12:31:32 UTC
cvs commit: apache/src CHANGES util_script.c
fielding 97/02/10 03:31:32
Modified: src CHANGES util_script.c
Log:
Fixed core dump when DocumentRoot is a CGI. [reported by geddis@tesserae.com]
Submitted by: Ben Laurie
Reviewed by: Roy Fielding, Dean Gaudet
Revision Changes Path
1.152 +5 -2 apache/src/CHANGES
Index: CHANGES
===================================================================
RCS file: /export/home/cvs/apache/src/CHANGES,v
retrieving revision 1.151
retrieving revision 1.152
diff -C3 -r1.151 -r1.152
*** CHANGES 1997/02/10 10:29:07 1.151
--- CHANGES 1997/02/10 11:31:30 1.152
***************
*** 1,7 ****
Changes with Apache 1.2b7
*) Fixed potential file descriptor leak in mod_asis; updated it and
! http__core to use pfopen/pfclose instead of fopen/fclose.
[Randy Terbush and Roy Fielding]
*) Fixed handling of unsigned ints in ap_snprintf() on some chips such
--- 1,10 ----
Changes with Apache 1.2b7
+ *) Fixed core dump when DocumentRoot is a CGI.
+ [Ben Laurie, reported by geddis@tesserae.com]
+
*) Fixed potential file descriptor leak in mod_asis; updated it and
! http_core to use pfopen/pfclose instead of fopen/fclose.
[Randy Terbush and Roy Fielding]
*) Fixed handling of unsigned ints in ap_snprintf() on some chips such
***************
*** 27,33 ****
*) Tweak byteserving code (e.g. serving PDF files) to work around a
bug in Netscape Navigator. [Alexei Kosut]
! *) Port to HP MPE operating system for HP 3000 machines
[Mark Bixby <ma...@cccd.edu>]
*) Fixed bug which caused a segmentation fault if only one argument
--- 30,36 ----
*) Tweak byteserving code (e.g. serving PDF files) to work around a
bug in Netscape Navigator. [Alexei Kosut]
! *) Port to HP MPE operating system for HP 3000 machines
[Mark Bixby <ma...@cccd.edu>]
*) Fixed bug which caused a segmentation fault if only one argument
1.44 +3 -0 apache/src/util_script.c
Index: util_script.c
===================================================================
RCS file: /export/home/cvs/apache/src/util_script.c,v
retrieving revision 1.43
retrieving revision 1.44
diff -C3 -r1.43 -r1.44
*** util_script.c 1997/02/10 11:18:19 1.43
--- util_script.c 1997/02/10 11:31:31 1.44
***************
*** 223,228 ****
--- 223,231 ----
while (lu-- && lp-- && uri[lu] == path_info[lp]);
+ if (lu == -1)
+ lu=0;
+
while (uri[lu] != '\0' && uri[lu] != '/')
lu++;