|
Karsten Hopp |
ef6c19 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
ef6c19 |
Subject: Patch 7.3.361
|
|
Karsten Hopp |
ef6c19 |
Fcc: outbox
|
|
Karsten Hopp |
ef6c19 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
ef6c19 |
Mime-Version: 1.0
|
|
Karsten Hopp |
ef6c19 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
ef6c19 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
ef6c19 |
------------
|
|
Karsten Hopp |
ef6c19 |
|
|
Karsten Hopp |
ef6c19 |
Patch 7.3.361
|
|
Karsten Hopp |
ef6c19 |
Problem: Accessing memory after it is freed when EXITFREE is defined.
|
|
Karsten Hopp |
ef6c19 |
Solution: Don't access curwin when firstwin is NULL. (Dominique Pelle)
|
|
Karsten Hopp |
ef6c19 |
Files: src/buffer.c
|
|
Karsten Hopp |
ef6c19 |
|
|
Karsten Hopp |
ef6c19 |
*** ../vim-7.3.360/src/buffer.c 2011-09-14 17:50:05.000000000 +0200
|
|
Karsten Hopp |
ef6c19 |
--- src/buffer.c 2011-11-30 15:38:00.000000000 +0100
|
|
Karsten Hopp |
ef6c19 |
***************
|
|
Karsten Hopp |
ef6c19 |
*** 567,574 ****
|
|
Karsten Hopp |
ef6c19 |
diff_buf_delete(buf); /* Can't use 'diff' for unloaded buffer. */
|
|
Karsten Hopp |
ef6c19 |
#endif
|
|
Karsten Hopp |
ef6c19 |
#ifdef FEAT_SYN_HL
|
|
Karsten Hopp |
ef6c19 |
! if (curwin->w_buffer == buf)
|
|
Karsten Hopp |
ef6c19 |
! reset_synblock(curwin); /* remove any ownsyntax */
|
|
Karsten Hopp |
ef6c19 |
#endif
|
|
Karsten Hopp |
ef6c19 |
|
|
Karsten Hopp |
ef6c19 |
#ifdef FEAT_FOLDING
|
|
Karsten Hopp |
ef6c19 |
--- 567,575 ----
|
|
Karsten Hopp |
ef6c19 |
diff_buf_delete(buf); /* Can't use 'diff' for unloaded buffer. */
|
|
Karsten Hopp |
ef6c19 |
#endif
|
|
Karsten Hopp |
ef6c19 |
#ifdef FEAT_SYN_HL
|
|
Karsten Hopp |
ef6c19 |
! /* Remove any ownsyntax, unless exiting. */
|
|
Karsten Hopp |
ef6c19 |
! if (firstwin != NULL && curwin->w_buffer == buf)
|
|
Karsten Hopp |
ef6c19 |
! reset_synblock(curwin);
|
|
Karsten Hopp |
ef6c19 |
#endif
|
|
Karsten Hopp |
ef6c19 |
|
|
Karsten Hopp |
ef6c19 |
#ifdef FEAT_FOLDING
|
|
Karsten Hopp |
ef6c19 |
*** ../vim-7.3.360/src/version.c 2011-11-30 15:19:25.000000000 +0100
|
|
Karsten Hopp |
ef6c19 |
--- src/version.c 2011-11-30 15:40:22.000000000 +0100
|
|
Karsten Hopp |
ef6c19 |
***************
|
|
Karsten Hopp |
ef6c19 |
*** 716,717 ****
|
|
Karsten Hopp |
ef6c19 |
--- 716,719 ----
|
|
Karsten Hopp |
ef6c19 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
ef6c19 |
+ /**/
|
|
Karsten Hopp |
ef6c19 |
+ 361,
|
|
Karsten Hopp |
ef6c19 |
/**/
|
|
Karsten Hopp |
ef6c19 |
|
|
Karsten Hopp |
ef6c19 |
|
|
Karsten Hopp |
ef6c19 |
--
|
|
Karsten Hopp |
ef6c19 |
From the classified section of a city newspaper:
|
|
Karsten Hopp |
ef6c19 |
Dog for sale: eats anything and is fond of children.
|
|
Karsten Hopp |
ef6c19 |
|
|
Karsten Hopp |
ef6c19 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
ef6c19 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
ef6c19 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
ef6c19 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|