summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <bram@vim.org>2013-05-21 21:37:20 +0200
committerBram Moolenaar <bram@vim.org>2013-05-21 21:37:20 +0200
commit7c5533ae20f6c6c62a22a6fb1366382157e4386f (patch)
treec13afbf95027402fecd9293901380458e0a67d50
parentfc712d6001074c348494f1c5650258de1f9986f5 (diff)
downloadvim-7c5533ae20f6c6c62a22a6fb1366382157e4386f.tar.gz
updated for version 7.3.1000v7.3.1000v7-3-1000
Problem: Typo in char value causes out of bounds access. Solution: Fix character value. (Klemens Baum)
-rw-r--r--src/regexp.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/regexp.c b/src/regexp.c
index 29b40813..c7b25c2b 100644
--- a/src/regexp.c
+++ b/src/regexp.c
@@ -6899,7 +6899,7 @@ mb_decompose(c, c1, c2, c3)
{
decomp_T d;
- if (c >= 0x4b20 && c <= 0xfb4f)
+ if (c >= 0xfb20 && c <= 0xfb4f)
{
d = decomp_table[c - 0xfb20];
*c1 = d.a;
diff --git a/src/version.c b/src/version.c
index ae257e91..b9315359 100644
--- a/src/version.c
+++ b/src/version.c
@@ -729,6 +729,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1000,
+/**/
999,
/**/
998,