ID: 14169
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: Sablotron XSL
Operating System: Solaris
PHP Version: 4.0CVS-2001-11-21
New Comment:
Fixed in CVS
Derick
Previous Comments:
------------------------------------------------------------------------
[2001-11-21 21:34:09] [EMAIL PROTECTED]
zend_register_functions () traverses a list, implemented as a 0-terminated
array, to register functions. When passed the ext/xslt/sablot.c`xslt_functions[]
array, it crashes because there is no trailing entry whose p->fname member
is null. Easy fix:
PHP_FE(xslt_free, NULL)
+ {0, 0, 0},
};
./configure \
--disable-force-cgi-redirect \
--disable-short-tags \
--enable-debugger \
--enable-discard-path \
--enable-maintainer-mode \
--enable-mbstr-enc-trans \
--enable-mbstring \
--enable-safe-mode \
--enable-track-dirs \
--enable-track-vars \
--enable-url-includes \
--enable-wddx \
--enable-xslt \
--prefix=/usr/localhost \
--with-apxs=/c0/http/apache_1.3.22/apache/sbin/apxs \
--with-config-file-path=$PWD \
--with-curl=/usr/localhost/new \
--with-exec-dir=$PWD \
--with-expat-dir=/usr/localhost \
--with-iconv \
--with-mysql=/c0/src/mysql/mysql-3.22.32-sun-solaris2.7-sparc \
--with-pgsql=/opt/pgsql \
--with-xslt-sablot \
"$@" \
< /dev/null
I also had to hack up the configure script to locate my sablot installation.
But that's another tale of woe.
Happy US national holiday!
S.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14169&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]