[PATCH] xslt sablot backend
| From: | Lenar Lõhmus | Date: | Sat, 11 May 2002 10:15:18 +0000 |
| Subject: | [PATCH] xslt sablot backend | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-83901@lists.php.net to get a copy of this message | ||
Hello,
Two problems with sablot support in PHP 4.1.2 (and propably later releases).
1) This patch makes xslt/sablot to work with libsablot >= 0.90 and also
makes it incompatible with earlier sablotron releases. This fix might be in
HEAD already (at least it seems so), but please include this with next
minor release since anything < 0.90 is too damn old if we are talking about
sablotron.
2) Added a lot of if(retval) checks to avoid segfaults when user specified
callback doesn't exist. Right now after module issues warning it segfaults
when trying to zval_ptr_dtor(retval) because that retval isn't actually
allocated when specified function doesn't exist.
This patch is against 4.1.2 source.
Thanks,
Lenar
Attachment: [text/x-csrc] sablot.c.patch
Attachment: [text/x-csrc] sablot.c.patch