mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3: NEWS for #66049 Fix #66049 Typemap can break parsing in parse_packet_soap leading to a segfault
This commit is contained in:
commit
1c230c27ec
2 changed files with 51 additions and 0 deletions
|
@ -192,6 +192,7 @@ bool parse_packet_soap(zval *this_ptr, char *buffer, int buffer_size, sdlFunctio
|
|||
if (tmp != NULL && tmp->children != NULL) {
|
||||
zval zv;
|
||||
master_to_zval(&zv, get_conversion(IS_STRING), tmp);
|
||||
convert_to_string(&zv)
|
||||
faultstring = Z_STR(zv);
|
||||
}
|
||||
|
||||
|
@ -199,6 +200,7 @@ bool parse_packet_soap(zval *this_ptr, char *buffer, int buffer_size, sdlFunctio
|
|||
if (tmp != NULL && tmp->children != NULL) {
|
||||
zval zv;
|
||||
master_to_zval(&zv, get_conversion(IS_STRING), tmp);
|
||||
convert_to_string(&zv)
|
||||
faultactor = Z_STR(zv);
|
||||
}
|
||||
|
||||
|
@ -222,6 +224,7 @@ bool parse_packet_soap(zval *this_ptr, char *buffer, int buffer_size, sdlFunctio
|
|||
if (tmp != NULL && tmp->children != NULL) {
|
||||
zval zv;
|
||||
master_to_zval(&zv, get_conversion(IS_STRING), tmp);
|
||||
convert_to_string(&zv)
|
||||
faultstring = Z_STR(zv);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue