diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2018-11-04 16:46:27 +0100 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2018-11-04 16:47:13 +0100 |
commit | 579d76d87b7ef3d8d2a084712f95bc9476919c72 (patch) | |
tree | 03f7b8f21e9966bce269bccc27fc3ce44db5cc61 /ext/soap/php_sdl.c | |
parent | 7f5f46013b8a37bab6b378903aace5da9ce8dc5e (diff) | |
parent | 0afc818976a3f0f353916fc1f81e8c82a11fb68b (diff) | |
download | php-git-579d76d87b7ef3d8d2a084712f95bc9476919c72.tar.gz |
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fix #76348: WSDL_CACHE_MEMORY causes Segmentation fault
Diffstat (limited to 'ext/soap/php_sdl.c')
-rw-r--r-- | ext/soap/php_sdl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/soap/php_sdl.c b/ext/soap/php_sdl.c index 2cc46b7387..8ab82d0900 100644 --- a/ext/soap/php_sdl.c +++ b/ext/soap/php_sdl.c @@ -2448,7 +2448,7 @@ static HashTable* make_persistent_sdl_function_headers(HashTable *headers, HashT pheader->ns = strdup(pheader->ns); } - if (pheader->encode->details.sdl_type) { + if (pheader->encode && pheader->encode->details.sdl_type) { if ((penc = zend_hash_str_find_ptr(ptr_map, (char*)&pheader->encode, sizeof(encodePtr))) == NULL) { assert(0); } |