Patch session5.3.3.diff for Session related Bug #53295
Patch version 2010-11-11 14:51 UTC
Return to Bug #53295 |
Download this patch
Patch Revisions:
Developer: yoram.b@zend.com
diff -r -u php-5.3.3/ext/session/session.c php-5.3.3-new/ext/session/session.c
--- php-5.3.3/ext/session/session.c 2010-06-09 01:30:16.000000000 +0300
+++ php-5.3.3-new/ext/session/session.c 2010-10-12 15:06:35.000000000 +0200
@@ -2132,6 +2132,8 @@
{
php_rinit_session_globals(TSRMLS_C);
+ /* we use the struct union-member, not the array, to avoid size constant */
+ memset (&(PS(mod_user_names).name),0,sizeof(PS(mod_user_names)));
if (PS(mod) == NULL) {
char *value;
|