diff options
| author | Sterling Hughes <sterling@php.net> | 2001-08-18 01:34:19 +0000 |
|---|---|---|
| committer | Sterling Hughes <sterling@php.net> | 2001-08-18 01:34:19 +0000 |
| commit | 0e12954669890ac46f10bd7e8da6e7560a87b018 (patch) | |
| tree | 4cd009245be7328a3223027e96fe12ea9a74b3ee | |
| parent | 25363e07444c32ba71b607b4d6507ea060668892 (diff) | |
| download | php-git-0e12954669890ac46f10bd7e8da6e7560a87b018.tar.gz | |
fix crash bug (Doug MacEachern, dougm@covalent.net)
| -rw-r--r-- | sapi/apache2filter/sapi_apache2.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sapi/apache2filter/sapi_apache2.c b/sapi/apache2filter/sapi_apache2.c index d50c078417..9d76e13245 100644 --- a/sapi/apache2filter/sapi_apache2.c +++ b/sapi/apache2filter/sapi_apache2.c @@ -163,6 +163,9 @@ php_apache_sapi_flush(void *server_context) 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. |
