Skip to content
This repository has been archived by the owner on May 16, 2018. It is now read-only.

Fix pcre segmentation fault in Zend_Db_Statement #705

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ghost
Copy link

@ghost ghost commented Jun 20, 2016

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
Copy link

You have to add unit test

@ghost
Copy link
Author

ghost commented Jun 20, 2016

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

@ghost ghost force-pushed the db_regexp_fix branch 7 times, most recently from bb80c6e to d25f64d Compare June 21, 2016 10:22
@ghost ghost force-pushed the db_regexp_fix branch from d25f64d to a5664a6 Compare October 18, 2016 09:38
@ghost ghost force-pushed the db_regexp_fix branch from a5664a6 to 8988a81 Compare November 4, 2016 08:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants