Karsten Hopp ae61a4
To: vim_dev@googlegroups.com
Karsten Hopp ae61a4
Subject: Patch 7.3.1000
Karsten Hopp ae61a4
Fcc: outbox
Karsten Hopp ae61a4
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp ae61a4
Mime-Version: 1.0
Karsten Hopp ae61a4
Content-Type: text/plain; charset=UTF-8
Karsten Hopp ae61a4
Content-Transfer-Encoding: 8bit
Karsten Hopp ae61a4
------------
Karsten Hopp ae61a4
Karsten Hopp ae61a4
Patch 7.3.1000 (whoa!)
Karsten Hopp ae61a4
Problem:    Typo in char value causes out of bounds access.
Karsten Hopp ae61a4
Solution:   Fix character value.  (Klemens Baum)
Karsten Hopp ae61a4
Files:	    src/regexp.c
Karsten Hopp ae61a4
Karsten Hopp ae61a4
Karsten Hopp ae61a4
*** ../vim-7.3.999/src/regexp.c	2013-05-21 00:02:54.000000000 +0200
Karsten Hopp ae61a4
--- src/regexp.c	2013-05-21 21:25:58.000000000 +0200
Karsten Hopp ae61a4
***************
Karsten Hopp ae61a4
*** 6899,6905 ****
Karsten Hopp ae61a4
  {
Karsten Hopp ae61a4
      decomp_T d;
Karsten Hopp ae61a4
  
Karsten Hopp ae61a4
!     if (c >= 0x4b20 && c <= 0xfb4f)
Karsten Hopp ae61a4
      {
Karsten Hopp ae61a4
  	d = decomp_table[c - 0xfb20];
Karsten Hopp ae61a4
  	*c1 = d.a;
Karsten Hopp ae61a4
--- 6899,6905 ----
Karsten Hopp ae61a4
  {
Karsten Hopp ae61a4
      decomp_T d;
Karsten Hopp ae61a4
  
Karsten Hopp ae61a4
!     if (c >= 0xfb20 && c <= 0xfb4f)
Karsten Hopp ae61a4
      {
Karsten Hopp ae61a4
  	d = decomp_table[c - 0xfb20];
Karsten Hopp ae61a4
  	*c1 = d.a;
Karsten Hopp ae61a4
*** ../vim-7.3.999/src/version.c	2013-05-21 21:20:16.000000000 +0200
Karsten Hopp ae61a4
--- src/version.c	2013-05-21 21:22:14.000000000 +0200
Karsten Hopp ae61a4
***************
Karsten Hopp ae61a4
*** 730,731 ****
Karsten Hopp ae61a4
--- 730,733 ----
Karsten Hopp ae61a4
  {   /* Add new patch number below this line */
Karsten Hopp ae61a4
+ /**/
Karsten Hopp ae61a4
+     1000,
Karsten Hopp ae61a4
  /**/
Karsten Hopp ae61a4
Karsten Hopp ae61a4
-- 
Karsten Hopp ae61a4
ARTHUR: The swallow may fly south with the sun, or the house martin or the
Karsten Hopp ae61a4
        plover seek warmer hot lands in winter, yet these are not strangers to
Karsten Hopp ae61a4
        our land.
Karsten Hopp ae61a4
SOLDIER: Are you suggesting coconuts migrate?
Karsten Hopp ae61a4
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
Karsten Hopp ae61a4
Karsten Hopp ae61a4
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp ae61a4
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp ae61a4
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp ae61a4
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///