Karsten Hopp db2e36
To: vim_dev@googlegroups.com
Karsten Hopp db2e36
Subject: Patch 7.3.158
Karsten Hopp db2e36
Fcc: outbox
Karsten Hopp db2e36
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp db2e36
Mime-Version: 1.0
Karsten Hopp db2e36
Content-Type: text/plain; charset=UTF-8
Karsten Hopp db2e36
Content-Transfer-Encoding: 8bit
Karsten Hopp db2e36
------------
Karsten Hopp db2e36
Karsten Hopp db2e36
Patch 7.3.158
Karsten Hopp db2e36
Problem:    Might use uninitialized memory in C indenting.
Karsten Hopp db2e36
Solution:   Init arrays to empty.
Karsten Hopp db2e36
Files:	    src/misc1.c
Karsten Hopp db2e36
Karsten Hopp db2e36
Karsten Hopp db2e36
*** ../vim-7.3.157/src/misc1.c	2011-04-11 14:26:15.000000000 +0200
Karsten Hopp db2e36
--- src/misc1.c	2011-04-11 14:11:17.000000000 +0200
Karsten Hopp db2e36
***************
Karsten Hopp db2e36
*** 6433,6438 ****
Karsten Hopp db2e36
--- 6433,6440 ----
Karsten Hopp db2e36
  	/* find how indented the line beginning the comment is */
Karsten Hopp db2e36
  	getvcol(curwin, trypos, &col, NULL, NULL);
Karsten Hopp db2e36
  	amount = col;
Karsten Hopp db2e36
+ 	*lead_start = NUL;
Karsten Hopp db2e36
+ 	*lead_middle = NUL;
Karsten Hopp db2e36
  
Karsten Hopp db2e36
  	p = curbuf->b_p_com;
Karsten Hopp db2e36
  	while (*p != NUL)
Karsten Hopp db2e36
*** ../vim-7.3.157/src/version.c	2011-04-11 14:26:15.000000000 +0200
Karsten Hopp db2e36
--- src/version.c	2011-04-11 14:27:05.000000000 +0200
Karsten Hopp db2e36
***************
Karsten Hopp db2e36
*** 716,717 ****
Karsten Hopp db2e36
--- 716,719 ----
Karsten Hopp db2e36
  {   /* Add new patch number below this line */
Karsten Hopp db2e36
+ /**/
Karsten Hopp db2e36
+     158,
Karsten Hopp db2e36
  /**/
Karsten Hopp db2e36
Karsten Hopp db2e36
-- 
Karsten Hopp db2e36
It's totally unfair to suggest - as many have - that engineers are socially
Karsten Hopp db2e36
inept.  Engineers simply have different objectives when it comes to social
Karsten Hopp db2e36
interaction.
Karsten Hopp db2e36
				(Scott Adams - The Dilbert principle)
Karsten Hopp db2e36
Karsten Hopp db2e36
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp db2e36
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp db2e36
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp db2e36
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///