php-src/ext/soap
Niels Dossche 53218b1a32 Mitigate #51561: SoapServer with a extented class and using sessions, lost the setPersistence()
The problem is that in the testcase, the session is started before the
parent class is loaded. This causes an incomplete class in the session
storage. Then in the soap code the check
`Z_OBJCE_P(tmp_soap_p) == service->soap_class.ce` fails because it is
the incomplete class. It is a silent failure.

We cannot fix this easily. But we should let the user know something is
wrong, because it leaves them confused otherwise. So emit an error to
let them know and suggest a fix.

Closes GH-12540.
2023-10-29 12:56:50 +01:00
..
tests Mitigate #51561: SoapServer with a extented class and using sessions, lost the setPersistence() 2023-10-29 12:56:50 +01:00
config.m4
config.w32
CREDITS
php_encoding.c ext/soap: Add support for clark notation for namespaces in class map 2023-10-23 23:39:28 +02:00
php_encoding.h ext/soap: Add support for clark notation for namespaces in class map 2023-10-23 23:39:28 +02:00
php_http.c Fix wrong backporting of previous soap patch 2023-06-06 18:49:32 -04:00
php_http.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_packet_soap.c Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_packet_soap.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_schema.c ext/soap: Add support for clark notation for namespaces in class map 2023-10-23 23:39:28 +02:00
php_schema.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_sdl.c Merge branch 'PHP-8.3' 2023-10-26 19:59:46 +02:00
php_sdl.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_soap.h Move derefs into accessor macros 2021-08-20 14:15:23 +02:00
php_xml.c Merge branch 'PHP-8.0' into PHP-8.1 2023-07-31 19:53:43 +01:00
php_xml.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
soap.c Mitigate #51561: SoapServer with a extented class and using sessions, lost the setPersistence() 2023-10-29 12:56:50 +01:00
soap.stub.php Declare ext/soap constants in stubs (#9124) 2022-07-25 16:40:41 +02:00
soap_arginfo.h Fix GH-9967 Add support for generating custom function, class const, and property attributes in stubs 2023-08-26 21:35:31 +02:00