]> git.pld-linux.org Git - packages/vim.git/blob - 7.3.361
- new
[packages/vim.git] / 7.3.361
1 To: vim_dev@googlegroups.com
2 Subject: Patch 7.3.361
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.361
11 Problem:    Accessing memory after it is freed when EXITFREE is defined.
12 Solution:   Don't access curwin when firstwin is NULL. (Dominique Pelle)
13 Files:      src/buffer.c
14
15 *** ../vim-7.3.360/src/buffer.c 2011-09-14 17:50:05.000000000 +0200
16 --- src/buffer.c        2011-11-30 15:38:00.000000000 +0100
17 ***************
18 *** 567,574 ****
19       diff_buf_delete(buf);         /* Can't use 'diff' for unloaded buffer. */
20   #endif
21   #ifdef FEAT_SYN_HL
22 !     if (curwin->w_buffer == buf)
23 !       reset_synblock(curwin);     /* remove any ownsyntax */
24   #endif
25   
26   #ifdef FEAT_FOLDING
27 --- 567,575 ----
28       diff_buf_delete(buf);         /* Can't use 'diff' for unloaded buffer. */
29   #endif
30   #ifdef FEAT_SYN_HL
31 !     /* Remove any ownsyntax, unless exiting. */
32 !     if (firstwin != NULL && curwin->w_buffer == buf)
33 !       reset_synblock(curwin);
34   #endif
35   
36   #ifdef FEAT_FOLDING
37 *** ../vim-7.3.360/src/version.c        2011-11-30 15:19:25.000000000 +0100
38 --- src/version.c       2011-11-30 15:40:22.000000000 +0100
39 ***************
40 *** 716,717 ****
41 --- 716,719 ----
42   {   /* Add new patch number below this line */
43 + /**/
44 +     361,
45   /**/
46
47
48 -- 
49 From the classified section of a city newspaper:
50 Dog for sale: eats anything and is fond of children.
51
52  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
53 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
54 \\\  an exciting new programming language -- http://www.Zimbu.org        ///
55  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.038258 seconds and 3 git commands to generate.