home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 7.4 / 7.4.379 < prev    next >
Encoding:
Internet Message Format  |  2014-07-22  |  1.3 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.4.379
  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.4.379
  11. Problem:    Accessing freed memory after using setqflist(list, 'r'). (Lcd)
  12. Solution:   Reset qf_index.
  13. Files:        src/quickfix.c
  14.  
  15.  
  16. *** ../vim-7.4.378/src/quickfix.c    2014-07-23 15:54:43.443903036 +0200
  17. --- src/quickfix.c    2014-07-23 16:11:59.915895586 +0200
  18. ***************
  19. *** 2173,2178 ****
  20. --- 2173,2179 ----
  21.       }
  22.       vim_free(qi->qf_lists[idx].qf_title);
  23.       qi->qf_lists[idx].qf_title = NULL;
  24. +     qi->qf_lists[idx].qf_index = 0;
  25.   }
  26.   
  27.   /*
  28. *** ../vim-7.4.378/src/version.c    2014-07-23 15:54:43.443903036 +0200
  29. --- src/version.c    2014-07-23 16:14:43.995894407 +0200
  30. ***************
  31. *** 736,737 ****
  32. --- 736,739 ----
  33.   {   /* Add new patch number below this line */
  34. + /**/
  35. +     379,
  36.   /**/
  37.  
  38. -- 
  39. "Lisp has all the visual appeal of oatmeal with nail clippings thrown in."
  40.                                                          -- Larry Wall
  41.  
  42.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  43. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  44. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  45.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  46.