cvs: php4 /sapi/apache2filter sapi_apache2.c
| From: | Sterling Hughes | Date: | Sat, 18 Aug 2001 01:34:20 +0000 |
| Subject: | cvs: php4 /sapi/apache2filter sapi_apache2.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-6926@lists.php.net to get a copy of this message | ||
sterling Fri Aug 17 21:34:20 2001 EDT
Modified files:
/php4/sapi/apache2filter sapi_apache2.c
Log:
fix crash bug (Doug MacEachern, dougm@covalent.net)
Index: php4/sapi/apache2filter/sapi_apache2.c
diff -u php4/sapi/apache2filter/sapi_apache2.c:1.43 php4/sapi/apache2filter/sapi_apache2.c:1.44
--- php4/sapi/apache2filter/sapi_apache2.c:1.43 Fri Aug 17 18:25:13 2001
+++ php4/sapi/apache2filter/sapi_apache2.c Fri Aug 17 21:34:19 2001
@@ -163,6 +163,9 @@
apr_bucket_brigade *bb;
apr_bucket *b;
+ if (!server_context)
+ return;
+
/* Send a flush bucket down the filter chain. The current default
* handler seems to act on the first flush bucket, but ignores
* all further flush buckets.