mirror of
https://github.com/php/php-src.git
synced 2024-12-05 07:46:06 +08:00
Fixed possible crash
This commit is contained in:
parent
30c916f21a
commit
e7217e032c
@ -2298,7 +2298,7 @@ static zval *guess_zval_convert(encodeTypePtr type, xmlNodePtr data)
|
||||
if (tmpattr != NULL) {
|
||||
type_name = tmpattr->children->content;
|
||||
enc = get_encoder_from_prefix(SOAP_GLOBAL(sdl), data, tmpattr->children->content);
|
||||
if (type == &enc->details) {
|
||||
if (enc && type == &enc->details) {
|
||||
enc = NULL;
|
||||
}
|
||||
if (enc != NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user