zendframework / zf1

This project reached its end-of-life on 2016-09-28. Contains conversion of ZF1 subversion repo to git, from version 15234 forward, and only containing master and release-1.12 branches and 1.12 tags.
https://framework.zend.com/blog/2016-06-28-zf1-eol.html
BSD 3-Clause "New" or "Revised" License
357 stars 802 forks source link

Fix pcre segmentation fault in Zend_Db_Statement #705

Open ghost opened 8 years ago

ghost commented 8 years ago

We encountered some segmentation faults on long queries (>10.000 characters) containing double quotes at this place. Marking the capture as ignored fixed it. After all it is not used anyway.

vaclavvanik commented 8 years ago

You have to add unit test

ghost commented 8 years ago

Test added, causes the segmentation fault in old code, passes in new one.