Hi all!
Plz, take a look at bug #29336 ( http://bugs.php.net/29336 for lazy
ones =)).
HEAD segfaults on session_start()
after empty_string ->
STR_EMPTY_ALLOC() change. This happens because SID constant gets
initialized with "" string instead of STR_EMPTY_ALLOC().
The patch: http://tony2004.phpclub.net/dev/tmp/session.diff seems to
be the solution.
Another one issue, that is being fixed by this patch, is false memory
leak message ("Freeing 0 bytes blah-blah"), similar to this:
http://lists.php.net/php.zend-engine.cvs/2796 issue.
Is there any comments/objections against the patch?
WBR,
Antony Dovgal aka tony2001
tony2001@phpclub.net || antony@dovgal.com
Hi all!
Plz, take a look at bug #29336 ( http://bugs.php.net/29336 for lazy
ones =)).
HEAD segfaults onsession_start()
after empty_string ->
STR_EMPTY_ALLOC() change. This happens because SID constant gets
initialized with "" string instead of STR_EMPTY_ALLOC().The patch: http://tony2004.phpclub.net/dev/tmp/session.diff seems to
be the solution.
The second part regarding session.c is ok.
Another one issue, that is being fixed by this patch, is false memory
leak message ("Freeing 0 bytes blah-blah"), similar to this:
http://lists.php.net/php.zend-engine.cvs/2796 issue.
The read process should just be skipped, if the file has zero
length. I'll look into this later this day.
- Sascha
On Mon, 26 Jul 2004 09:58:01 +0200 (CEST)
Sascha Schumann sascha@schumann.cx wrote:
Hi all!
Plz, take a look at bug #29336 ( http://bugs.php.net/29336 for lazy
ones =)).
HEAD segfaults onsession_start()
after empty_string ->
STR_EMPTY_ALLOC() change. This happens because SID constant gets
initialized with "" string instead of STR_EMPTY_ALLOC().The patch: http://tony2004.phpclub.net/dev/tmp/session.diff seems to
be the solution.The second part regarding session.c is ok.
commit, please? =)
Another one issue, that is being fixed by this patch, is false
memory leak message ("Freeing 0 bytes blah-blah"), similar to this:
http://lists.php.net/php.zend-engine.cvs/2796 issue.The read process should just be skipped, if the file has zero length. I'll look into this later this day.
ok, thanks.
WBR,
Antony Dovgal aka tony2001
tony2001@phpclub.net || antony@dovgal.com