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.599 < prev    next >
Encoding:
Internet Message Format  |  2015-01-27  |  1.5 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.4.599
  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.599
  11. Problem:    Out-of-memory error.
  12. Solution:   Avoid trying to allocate a negative amount of memory, use size_t
  13.         instead of int. (Dominique Pelle)
  14. Files:        src/regexp_nfa.c
  15.  
  16.  
  17. *** ../vim-7.4.598/src/regexp_nfa.c    2015-01-27 12:59:51.855602435 +0100
  18. --- src/regexp_nfa.c    2015-01-27 14:33:25.798181195 +0100
  19. ***************
  20. *** 5408,5414 ****
  21.       regsubs_T        *m;
  22.   {
  23.       int        result;
  24. !     int        size = 0;
  25.       int        flag = 0;
  26.       int        go_to_nextline = FALSE;
  27.       nfa_thread_T *t;
  28. --- 5408,5414 ----
  29.       regsubs_T        *m;
  30.   {
  31.       int        result;
  32. !     size_t    size = 0;
  33.       int        flag = 0;
  34.       int        go_to_nextline = FALSE;
  35.       nfa_thread_T *t;
  36. *** ../vim-7.4.598/src/version.c    2015-01-27 14:09:29.625898193 +0100
  37. --- src/version.c    2015-01-27 14:29:06.733017025 +0100
  38. ***************
  39. *** 743,744 ****
  40. --- 743,746 ----
  41.   {   /* Add new patch number below this line */
  42. + /**/
  43. +     599,
  44.   /**/
  45.  
  46. -- 
  47. You cannot have a baby in one month by getting nine women pregnant.
  48.  
  49.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  50. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  51. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  52.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  53.