4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: Accessing freed memory when closing the cmdline window when
12 'bufhide' is set to "wipe".
13 Solution: Check if the buffer still exists before invoking close_buffer()
18 *** ../vim-7.2.381/src/ex_getln.c 2010-03-02 15:55:51.000000000 +0100
19 --- src/ex_getln.c 2010-03-02 16:29:38.000000000 +0100
25 ! close_buffer(NULL, bp, DOBUF_WIPE);
27 /* Restore window sizes. */
28 win_size_restore(&winsizes);
34 ! /* win_close() may have already wiped the buffer when 'bh' is
37 ! close_buffer(NULL, bp, DOBUF_WIPE);
39 /* Restore window sizes. */
40 win_size_restore(&winsizes);
41 *** ../vim-7.2.381/src/version.c 2010-03-02 15:55:51.000000000 +0100
42 --- src/version.c 2010-03-02 17:22:11.000000000 +0100
46 { /* Add new patch number below this line */
52 You had connectors? Eeee, when I were a lad we 'ad to carry the
53 bits between the computer and the terminal with a spoon...
55 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
56 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
57 \\\ download, build and distribute -- http://www.A-A-P.org ///
58 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///