Index: session.c =================================================================== RCS file: /repository/php-src/ext/session/session.c,v retrieving revision 1.391.2.11 diff -u -p -d -r1.391.2.11 session.c --- session.c 24 Mar 2005 00:17:53 -0000 1.391.2.11 +++ session.c 11 Apr 2005 07:05:22 -0000 @@ -94,6 +94,9 @@ static const ps_serializer *_php_find_ps static PHP_INI_MH(OnUpdateSaveHandler) { + if (new_value == NULL) { + return FAILURE; + } SESSION_CHECK_ACTIVE_STATE; PS(mod) = _php_find_ps_module(new_value TSRMLS_CC); @@ -107,6 +110,9 @@ static PHP_INI_MH(OnUpdateSaveHandler) static PHP_INI_MH(OnUpdateTransSid) { + if (new_value == NULL) { + return FAILURE; + } SESSION_CHECK_ACTIVE_STATE; if (!strncasecmp(new_value, "on", sizeof("on"))) { @@ -120,6 +126,9 @@ static PHP_INI_MH(OnUpdateTransSid) static PHP_INI_MH(OnUpdateSerializer) { + if (new_value == NULL) { + return FAILURE; + } SESSION_CHECK_ACTIVE_STATE; PS(serializer) = _php_find_ps_serializer(new_value TSRMLS_CC);