home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 7.4 / 7.4.054 < prev    next >
Encoding:
Internet Message Format  |  2013-11-01  |  1.4 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.4.054
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.4.054
  11. Problem:    Reading past end of the 'stl' string.
  12. Solution:   Don't increment pointer when already at the NUL. (Christian
  13.             Brabandt)
  14. Files:      src/buffer.c
  15.  
  16.  
  17. *** ../vim-7.4.053/src/buffer.c    2013-08-14 17:11:14.000000000 +0200
  18. --- src/buffer.c    2013-11-02 04:34:26.000000000 +0100
  19. ***************
  20. *** 4062,4068 ****
  21.           item[curitem].minwid = -syn_namen2id(t, (int)(s - t));
  22.           curitem++;
  23.           }
  24. !         ++s;
  25.           continue;
  26.       }
  27.   
  28. --- 4062,4069 ----
  29.           item[curitem].minwid = -syn_namen2id(t, (int)(s - t));
  30.           curitem++;
  31.           }
  32. !         if (*s != NUL)
  33. !         ++s;
  34.           continue;
  35.       }
  36.   
  37. *** ../vim-7.4.053/src/version.c    2013-11-02 04:19:10.000000000 +0100
  38. --- src/version.c    2013-11-02 04:31:50.000000000 +0100
  39. ***************
  40. *** 740,741 ****
  41. --- 740,743 ----
  42.   {   /* Add new patch number below this line */
  43. + /**/
  44. +     54,
  45.   /**/
  46.  
  47. -- 
  48. Every person is responsible for the choices he makes.
  49.  
  50.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  51. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  52. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  53.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  54.