Mantis - php5
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
5167 | regular use | minor | have not tried | 2014-04-22 15:20 | 2014-04-22 15:20 |
|
|||||
Reporter: | dam | Platform: | |||
Assigned To: | OS: | ||||
Priority: | normal | OS Version: | |||
Status: | new | Product Version: | |||
Product Build: | Resolution: | open | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | |||
|
|||||
Summary: | 0005167: pcre should be linked without stack recursion | ||||
Description: |
For example websvn uses php5 pcre for analysis and markup which requires massive stackspace to be configure in /opt/csw/apache2/etc/envvars like ulimit -s 1000000 Otherwise the https process crashes with stack overflow: ... (endless match recursions) fbef6c94 match (8529921, 82cdf88, 8529920, 2, feffda60, 0) + 10122 fbef6e7c match (8529921, 82cdf85, 8529920, 2, feffda60, 0) + 1030a fbef6c94 match (8529920, 82cdf88, 8529920, 2, feffda60, 0) + 10122 fbef6e7c match (8529920, 82cdf85, 8529920, 2, feffda60, 0) + 1030a fbee83e7 match (8529920, 82cdf80, 8529920, 2, feffda60, 0) + 1875 fbf0179d php_pcre_exec (82cdf58, feffdbf0, 8529920, 629db, 0, 0) + cfd fbf06bc7 php_pcre_match_impl (82ba3b8, 8529920, 629db, 84c4a98, 0, 0) + 2d7 fbf068c1 php_do_pcre_match (2, 84c4a98, 0, 0, 1, 0) + a1 fbf0740d zif_preg_match (2, 84c4a98, 0, 0, 1, 81a3770) + 1c fc0ebc55 zend_do_fcall_common_helper_SPEC (82e8568, fc430e38, feffddc8, fc0f14f2, fc4945c8, 0) + c95 fc0f15dd ZEND_DO_FCALL_SPEC_CONST_HANDLER (82e8568, 0, 10, fc0ea7bf) + f9 fc0eaa0a execute (81b2050, 0, 2, fc0c545e) + 259 fc0c59fe zend_execute_scripts (8, 0, 3, 0, feffe7d0, 0) + 5ae The solution is to dynamically link against correctly compiled pcre or statically link against updated pcre. |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: | |||||
|
|||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2014-04-22 15:20 | dam | New Issue |
There are no notes attached to this issue. |