Skip to content

Commit 38eaaca

Browse files
committed
fix bug with variables clobbered by longjmp
1 parent 2c00988 commit 38eaaca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sapi/apache2handler/sapi_apache2.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -438,12 +438,12 @@ static void php_apache_request_dtor(request_rec *r TSRMLS_DC)
438438

439439
static int php_handler(request_rec *r)
440440
{
441-
php_struct *ctx;
441+
php_struct * volatile ctx;
442442
void *conf;
443-
apr_bucket_brigade *brigade;
443+
apr_bucket_brigade * volatile brigade;
444444
apr_bucket *bucket;
445445
apr_status_t rv;
446-
request_rec *parent_req = NULL;
446+
request_rec * volatile parent_req = NULL;
447447
TSRMLS_FETCH();
448448

449449
#define PHPAP_INI_OFF \

0 commit comments

Comments
 (0)