Got it!  The necessary header for php_url_encode wasn't included, and
the implicit declaration wasn't quite right.  The following patch
appears to stop the segfaults:

--- ext/session/session.c.orig  2007-12-01 05:41:38.502160889 +0000
+++ ext/session/session.c       2007-12-01 05:27:50.052388781 +0000
@@ -46,6 +46,7 @@
 #include "ext/standard/php_rand.h"                   /* for RAND_MAX */
 #include "ext/standard/info.h"
 #include "ext/standard/php_smart_str.h"
+#include "ext/standard/url.h"
 
 #include "mod_files.h"
 #include "mod_user.h"

-- 
php5 5.2.3-1ubuntu6.1 introduced segfault regression
https://bugs.launchpad.net/bugs/173043
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to