From: Michael Wallner Date: Tue, 22 Apr 2014 09:56:23 +0000 (+0200) Subject: fix bug #67089 Segmentation fault (TSRM) X-Git-Tag: RELEASE_2_0_7~28 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=1b43287170541e6276f1e1676921125b04a0baf4;p=m6w6%2Fext-http fix bug #67089 Segmentation fault (TSRM) --- diff --git a/php_http_message.c b/php_http_message.c index a6414e4..0ffdd9e 100644 --- a/php_http_message.c +++ b/php_http_message.c @@ -784,7 +784,7 @@ STATUS php_http_message_object_set_body(php_http_message_object_t *msg_obj, zval STATUS php_http_message_object_init_body_object(php_http_message_object_t *obj) { - TSRMLS_FETCH_FROM_CTX(obj); + TSRMLS_FETCH_FROM_CTX(obj->message->ts); php_http_message_body_addref(obj->message->body); return php_http_new(NULL, php_http_message_body_class_entry, (php_http_new_t) php_http_message_body_object_new_ex, NULL, obj->message->body, (void *) &obj->body TSRMLS_CC);