stas Tue Aug 8 13:12:37 2006 UTC
Modified files:
/php-src/sapi/apache2handler sapi_apache2.c
Log:
fix bug with variables clobbered by longjmp
http://cvs.php.net/viewvc.cgi/php-src/sapi/apache2handler/sapi_apache2.c?r1=1.72&r2=1.73&diff_format=u
Index: php-src/sapi/apache2handler/sapi_apache2.c
diff -u php-src/sapi/apache2handler/sapi_apache2.c:1.72
php-src/sapi/apache2handler/sapi_apache2.c:1.73
--- php-src/sapi/apache2handler/sapi_apache2.c:1.72 Wed Jul 26 10:30:45 2006
+++ php-src/sapi/apache2handler/sapi_apache2.c Tue Aug 8 13:12:37 2006
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: sapi_apache2.c,v 1.72 2006/07/26 10:30:45 tony2001 Exp $ */
+/* $Id: sapi_apache2.c,v 1.73 2006/08/08 13:12:37 stas Exp $ */
#define ZEND_INCLUDE_FULL_WINDOWS_HEADERS
@@ -460,12 +460,12 @@
static int php_handler(request_rec *r)
{
- php_struct *ctx;
+ php_struct * volatile ctx;
void *conf;
- apr_bucket_brigade *brigade;
+ apr_bucket_brigade * volatile brigade;
apr_bucket *bucket;
apr_status_t rv;
- request_rec *parent_req = NULL;
+ request_rec * volatile parent_req = NULL;
TSRMLS_FETCH();
#define PHPAP_INI_OFF php_apache_ini_dtor(r, parent_req TSRMLS_CC);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php