|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-04-28 14:45 UTC] derick@php.net
[2001-05-16 01:02 UTC] sniper@php.net
[2001-05-16 10:35 UTC] bf at ez dot no
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 06:00:02 2025 UTC |
I had code like this: $user = new eZUser( $session->variable("AuthenticatedUser" ) ); And I noticed now that this creates a segfault in php. The workaround is changing the code to: $val = $session->variable( "AuthenticatedUser" ); $user = new eZUser( $val ); The code worked with php-4.0.3pl1 and has worked with 4.0.4, but it's reproduceable and I think it's a PHP bug. The eZSession::variable() function returns a string value. I've tested it with 4.0.4pl1 and the bug is still there.