[MDEV-5620] CMake option to compile against an external PCRE library Created: 2014-02-06 Updated: 2014-03-04 Resolved: 2014-03-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.8 |
| Fix Version/s: | 10.0.9 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Alexander Barkov | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Description |
|
Under terms of The problem is that using an external PCRE is dangerous There are some options: |
| Comments |
| Comment by Sergei Golubchik [ 2014-02-19 ] |
|
Our PCRE stack_guard patch is now in Mageia. |
| Comment by Sergei Golubchik [ 2014-02-19 ] |
|
I suppose now we can allow system PCRE if it supports pcre_stack_guard (cmake can check for it). When official PCRE will have a solution for this stack overflow we can extend the CMakeLists.txt to check for this solution too. |
| Comment by Oden Eriksson [ 2014-02-19 ] |
|
PCRE upstream accepted the stack guard patch with some small changes. This patch has been added to the mageia cauldron packages. Here's the upstream one: "svn diff -r\1453:1454 svn://vcs.exim.org/pcre/code/trunk" (had to escape the first revision, weird...) |