Re: cvs: php4 /ext/session php_session.h

From: Date: Sat, 19 May 2001 19:25:14 +0000
Subject: Re: cvs: php4 /ext/session php_session.h
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-5856@lists.php.net to get a copy of this message
On Sat, 19 May 2001, Andi Gutmans wrote: > We need to fix the 4.0.6 branch too. I suggest not merging zend_hash.c and > changing the macro to the following in the branch: > { > void *dummy = (void *) 1; > zend_hash_update(&PS(vars), name, namelen + 1, dummy, sizeof(void > *), NULL) > } > > Will that work for you? The segfault only happens, if nDataSize == sizeof(void *) and pDataPtr == 0 which is not used by the code in the 4.0.6 branch (nDataSize is 0). So, the code should be fine as it is.. - Sascha Experience IRCG http://schumann.cx/ http://schumann.cx/ircg

« previous php.cvs (#5856) next »