changeset 4505:d037b9cbdaaa v7.3.1000

updated for version 7.3.1000 Problem: Typo in char value causes out of bounds access. Solution: Fix character value. (Klemens Baum)
author Bram Moolenaar <bram@vim.org>
date Tue, 21 May 2013 21:37:20 +0200
parents 5dc2263b763b
children 8a2dc8478d55
files src/regexp.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
--- 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,