From 2eec59e30b5932b957387d4b513958062feb1905 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 21 May 2013 21:37:20 +0200 Subject: [PATCH] updated for version 7.3.1000 Problem: Typo in char value causes out of bounds access. Solution: Fix character value. (Klemens Baum) --- src/regexp.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/regexp.c b/src/regexp.c index 29b40813f4..c7b25c2b23 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 ae257e91ec..b931535961 100644 --- a/src/version.c +++ b/src/version.c @@ -728,6 +728,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1000, /**/ 999, /**/