File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,8 @@ PHP NEWS
75
75
should warning). (Yasuo)
76
76
. Fixed bug #49175 (mod_files.sh does not support hash bits). Patch by
77
77
oorza2k5 at gmail dot com (Yasuo)
78
+ . Fixed bug #62129 (rfc1867 crashes php even though turned off). (gxd305 at
79
+ gmail dot com)
78
80
79
81
- Sockets:
80
82
. Implemented FR #63472 (Setting SO_BINDTODEVICE with socket_set_option).
Original file line number Diff line number Diff line change @@ -2246,8 +2246,11 @@ static PHP_MSHUTDOWN_FUNCTION(session) /* {{{ */
2246
2246
PHP_MSHUTDOWN (ps_mm ) (SHUTDOWN_FUNC_ARGS_PASSTHRU );
2247
2247
#endif
2248
2248
2249
- /* restore the orig callback */
2250
- php_rfc1867_callback = php_session_rfc1867_orig_callback ;
2249
+ /* reset rfc1867 callbacks */
2250
+ php_session_rfc1867_orig_callback = NULL ;
2251
+ if (php_rfc1867_callback == php_session_rfc1867_callback ) {
2252
+ php_rfc1867_callback = NULL ;
2253
+ }
2251
2254
2252
2255
ps_serializers [PREDEFINED_SERIALIZERS ].name = NULL ;
2253
2256
memset (& ps_modules [PREDEFINED_MODULES ], 0 , (MAX_MODULES - PREDEFINED_MODULES )* sizeof (ps_module * ));
You can’t perform that action at this time.
0 commit comments