Hi all,
In the past we've been reluctant to solve an issue inside
Zend_Db_Statement::_stripQuoted() that caused PHP's PCRE to seg-fault
and crash.
http://framework.zend.com/issues/browse/ZF-5063
http://framework.zend.com/issues/browse/ZF-10209
We've been reluctant for a number of reasons:
OK,
Let me follow up with the details in case you are interested to
contribute by testing the fix on your system against your database.
This is important, we need all the help we can get!
I can reproduce issue ZF-5063 with the following code:
$db =
I just noticed I omitted one essential line in the reproduction
code:
$db = Zend_Db_Table::getDefaultAdapter();
$value = str_repeat('a', 66000) . 'x';
$query = "INSERT INTO `pcre` (`test`) VALUES ('$value')";
$this-view-query = $query;