diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-12-29 22:28:46 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-12-29 22:28:46 +0100 |
commit | a8bfa1727a370d659dc0ccc3f0fd1763b10b5457 (patch) | |
tree | 17834c1ce84410330af2cae7feecfb589fd5880a /src/proto/regexp.pro | |
parent | 1ea88a3e12e5f6afc5353cd0d6e6d4f4a89ced94 (diff) | |
download | vim-git-a8bfa1727a370d659dc0ccc3f0fd1763b10b5457.tar.gz |
patch 8.1.0661: clipboard regexp might be used recursivelyv8.1.0661
Problem: Clipboard regexp might be used recursively.
Solution: Check for recursive use and bail out.
Diffstat (limited to 'src/proto/regexp.pro')
-rw-r--r-- | src/proto/regexp.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/regexp.pro b/src/proto/regexp.pro index d22a83b0e..a33fdd989 100644 --- a/src/proto/regexp.pro +++ b/src/proto/regexp.pro @@ -13,6 +13,7 @@ char_u *reg_submatch(int no); list_T *reg_submatch_list(int no); regprog_T *vim_regcomp(char_u *expr_arg, int re_flags); void vim_regfree(regprog_T *prog); +int regprog_in_use(regprog_T *prog); int vim_regexec_prog(regprog_T **prog, int ignore_case, char_u *line, colnr_T col); int vim_regexec(regmatch_T *rmp, char_u *line, colnr_T col); int vim_regexec_nl(regmatch_T *rmp, char_u *line, colnr_T col); |