|
|
073263 |
To: vim_dev@googlegroups.com
|
|
|
073263 |
Subject: Patch 7.4.379
|
|
|
073263 |
Fcc: outbox
|
|
|
073263 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
|
073263 |
Mime-Version: 1.0
|
|
|
073263 |
Content-Type: text/plain; charset=UTF-8
|
|
|
073263 |
Content-Transfer-Encoding: 8bit
|
|
|
073263 |
------------
|
|
|
073263 |
|
|
|
073263 |
Patch 7.4.379
|
|
|
073263 |
Problem: Accessing freed memory after using setqflist(list, 'r'). (Lcd)
|
|
|
073263 |
Solution: Reset qf_index.
|
|
|
073263 |
Files: src/quickfix.c
|
|
|
073263 |
|
|
|
073263 |
|
|
|
073263 |
*** ../vim-7.4.378/src/quickfix.c 2014-07-23 15:54:43.443903036 +0200
|
|
|
073263 |
--- src/quickfix.c 2014-07-23 16:11:59.915895586 +0200
|
|
|
073263 |
***************
|
|
|
073263 |
*** 2173,2178 ****
|
|
|
073263 |
--- 2173,2179 ----
|
|
|
073263 |
}
|
|
|
073263 |
vim_free(qi->qf_lists[idx].qf_title);
|
|
|
073263 |
qi->qf_lists[idx].qf_title = NULL;
|
|
|
073263 |
+ qi->qf_lists[idx].qf_index = 0;
|
|
|
073263 |
}
|
|
|
073263 |
|
|
|
073263 |
/*
|
|
|
073263 |
*** ../vim-7.4.378/src/version.c 2014-07-23 15:54:43.443903036 +0200
|
|
|
073263 |
--- src/version.c 2014-07-23 16:14:43.995894407 +0200
|
|
|
073263 |
***************
|
|
|
073263 |
*** 736,737 ****
|
|
|
073263 |
--- 736,739 ----
|
|
|
073263 |
{ /* Add new patch number below this line */
|
|
|
073263 |
+ /**/
|
|
|
073263 |
+ 379,
|
|
|
073263 |
/**/
|
|
|
073263 |
|
|
|
073263 |
--
|
|
|
073263 |
"Lisp has all the visual appeal of oatmeal with nail clippings thrown in."
|
|
|
073263 |
-- Larry Wall
|
|
|
073263 |
|
|
|
073263 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
|
073263 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
|
073263 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
|
073263 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|