diff options
author | Antony Dovgal <tony2001@php.net> | 2005-06-02 21:04:12 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2005-06-02 21:04:12 +0000 |
commit | 56a68b5be1e547ce9e7842e4de2666d136d1971c (patch) | |
tree | dc2a42d891a95595d4ba2a74a8b545397be82261 /ext/curl/php_curl.h | |
parent | 2018d2df3238eec320283089a695f8d3564b3b44 (diff) | |
download | php-git-56a68b5be1e547ce9e7842e4de2666d136d1971c.tar.gz |
fix bug #33222 (segfault when CURL handle is closed in a callback).
fix segfaults when CURL callback functions throw exception.
Diffstat (limited to 'ext/curl/php_curl.h')
-rw-r--r-- | ext/curl/php_curl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/curl/php_curl.h b/ext/curl/php_curl.h index d2a14c43b7..2f8ba6111f 100644 --- a/ext/curl/php_curl.h +++ b/ext/curl/php_curl.h @@ -121,6 +121,7 @@ typedef struct { php_curl_handlers *handlers; long id; unsigned int uses; + zend_bool in_callback; } php_curl; typedef struct { |