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.3 / 7.3.158 < prev    next >
Encoding:
Internet Message Format  |  2012-11-20  |  1.5 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.3.158
  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.3.158
  11. Problem:    Might use uninitialized memory in C indenting.
  12. Solution:   Init arrays to empty.
  13. Files:        src/misc1.c
  14.  
  15.  
  16. *** ../vim-7.3.157/src/misc1.c    2011-04-11 14:26:15.000000000 +0200
  17. --- src/misc1.c    2011-04-11 14:11:17.000000000 +0200
  18. ***************
  19. *** 6433,6438 ****
  20. --- 6433,6440 ----
  21.       /* find how indented the line beginning the comment is */
  22.       getvcol(curwin, trypos, &col, NULL, NULL);
  23.       amount = col;
  24. +     *lead_start = NUL;
  25. +     *lead_middle = NUL;
  26.   
  27.       p = curbuf->b_p_com;
  28.       while (*p != NUL)
  29. *** ../vim-7.3.157/src/version.c    2011-04-11 14:26:15.000000000 +0200
  30. --- src/version.c    2011-04-11 14:27:05.000000000 +0200
  31. ***************
  32. *** 716,717 ****
  33. --- 716,719 ----
  34.   {   /* Add new patch number below this line */
  35. + /**/
  36. +     158,
  37.   /**/
  38.  
  39. -- 
  40. It's totally unfair to suggest - as many have - that engineers are socially
  41. inept.  Engineers simply have different objectives when it comes to social
  42. interaction.
  43.                 (Scott Adams - The Dilbert principle)
  44.  
  45.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  46. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  47. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  48.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  49.