projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
be7b421
)
fix bug #67089 Segmentation fault (TSRM)
author
Michael Wallner
<mike@php.net>
Tue, 22 Apr 2014 09:56:23 +0000
(11:56 +0200)
committer
Michael Wallner
<mike@php.net>
Tue, 22 Apr 2014 09:56:23 +0000
(11:56 +0200)
php_http_message.c
patch
|
blob
|
history
diff --git
a/php_http_message.c
b/php_http_message.c
index a6414e400dea8182bf3324c828d4d572e26e7d9b..0ffdd9e5002572110231e9fd768554a332934af1 100644
(file)
--- 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);