Mailing List Archive

cvs commit: apache-1.3/src/main http_main.c
coar 98/05/07 20:17:03

Modified: . STATUS
src/main http_main.c
Log:
Fix a broken cleanup registration that was breaking CGI handling.

Revision Changes Path
1.383 +0 -5 apache-1.3/STATUS

Index: STATUS
===================================================================
RCS file: /export/home/cvs/apache-1.3/STATUS,v
retrieving revision 1.382
retrieving revision 1.383
diff -u -r1.382 -r1.383
--- STATUS 1998/05/08 02:24:49 1.382
+++ STATUS 1998/05/08 03:17:00 1.383
@@ -11,11 +11,6 @@

FINAL RELEASE SHOWSTOPPERS:

- * mod_cgi is broken; working scripts are currently resulting in
- 'premature end of script headers.' (See DougM's message
- <35523DAC.84F487DF@telebusiness.co.nz>). Maybe Ben's change to the
- script Status checking?
-
* Someone other than Dean has to do a security/correctness review on
psprintf(), bprintf(), and ap_snprintf(). In particular these routines
do lots of fun pointer manipulations and such and possibly have overflow



1.333 +2 -2 apache-1.3/src/main/http_main.c

Index: http_main.c
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/main/http_main.c,v
retrieving revision 1.332
retrieving revision 1.333
diff -u -r1.332 -r1.333
--- http_main.c 1998/05/07 12:24:25 1.332
+++ http_main.c 1998/05/08 03:17:01 1.333
@@ -370,8 +370,8 @@
* pointer on pool destruction.
*/
if (server_version == NULL) {
- ap_register_cleanup(pconf, NULL, (void (*)(void *))reset_version,
- NULL);
+ ap_register_cleanup(pconf, NULL, reset_version,
+ ap_null_cleanup);
server_version = ap_pstrdup(pconf, component);
}
else {