Matej Vela wrote:

> Judging by the changes in PHP5, the problem is caused by the call to
> zend_parse_parameters(), which should be provided with an int rather
> than a long for the string length.  Please test the following patch.


<snip>

> Also, please test whether it accepts empty strings -- there's another
> change in PHP5 for that, but I'm not sure that it's strictly
> necessary.

The patch fixes the original bug. Passing an empty string to
sqlite_escape_string also succeeds (returns an empty string) without error.

Thanks for providing the patch :)

Cheers

-- 
Matt Brown
[EMAIL PROTECTED]
Mob +64 21 611 544 www.mattb.net.nz

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to