File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 4
4
5
5
- Core:
6
6
. Fixed bug #63305 (zend_mm_heap corrupted with traits). (Dmitry, Laruence)
7
+ . Fixed bug #63369 ((un)serialize() leaves dangling pointers, causes crashes).
8
+ (Tony, Andrew Sitnikov)
7
9
8
10
- Curl:
9
11
. Fixed bug #63363 (Curl silently accepts boolean true for SSL_VERIFYHOST).
Original file line number Diff line number Diff line change @@ -3684,6 +3684,11 @@ PHP_MSHUTDOWN_FUNCTION(basic) /* {{{ */
3684
3684
PHP_RINIT_FUNCTION (basic ) /* {{{ */
3685
3685
{
3686
3686
memset (BG (strtok_table ), 0 , 256 );
3687
+
3688
+ BG (serialize_lock ) = 0 ;
3689
+ memset (& BG (serialize ), 0 , sizeof (BG (serialize )));
3690
+ memset (& BG (unserialize ), 0 , sizeof (BG (unserialize )));
3691
+
3687
3692
BG (strtok_string ) = NULL ;
3688
3693
BG (strtok_zval ) = NULL ;
3689
3694
BG (strtok_last ) = NULL ;
You can’t perform that action at this time.
0 commit comments