|
Karsten Hopp |
0157e7 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
0157e7 |
Subject: Patch 7.2.039
|
|
Karsten Hopp |
0157e7 |
Fcc: outbox
|
|
Karsten Hopp |
0157e7 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
0157e7 |
Mime-Version: 1.0
|
|
Karsten Hopp |
0157e7 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
0157e7 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
0157e7 |
------------
|
|
Karsten Hopp |
0157e7 |
|
|
Karsten Hopp |
0157e7 |
Patch 7.2.039
|
|
Karsten Hopp |
0157e7 |
Problem: Accessing freed memory on exit when EXITFREE is defined.
|
|
Karsten Hopp |
0157e7 |
Solution: Call hash_init() on the v: hash table.
|
|
Karsten Hopp |
0157e7 |
Files: src/eval.c
|
|
Karsten Hopp |
0157e7 |
|
|
Karsten Hopp |
0157e7 |
|
|
Karsten Hopp |
0157e7 |
*** ../vim-7.2.038/src/eval.c Sun Nov 9 17:21:10 2008
|
|
Karsten Hopp |
0157e7 |
--- src/eval.c Wed Nov 12 12:15:14 2008
|
|
Karsten Hopp |
0157e7 |
***************
|
|
Karsten Hopp |
0157e7 |
*** 856,861 ****
|
|
Karsten Hopp |
0157e7 |
--- 856,862 ----
|
|
Karsten Hopp |
0157e7 |
}
|
|
Karsten Hopp |
0157e7 |
}
|
|
Karsten Hopp |
0157e7 |
hash_clear(&vimvarht);
|
|
Karsten Hopp |
0157e7 |
+ hash_init(&vimvarht); /* garbage_collect() will access it */
|
|
Karsten Hopp |
0157e7 |
hash_clear(&compat_hashtab);
|
|
Karsten Hopp |
0157e7 |
|
|
Karsten Hopp |
0157e7 |
/* script-local variables */
|
|
Karsten Hopp |
0157e7 |
*** ../vim-7.2.038/src/version.c Wed Nov 12 14:52:11 2008
|
|
Karsten Hopp |
0157e7 |
--- src/version.c Wed Nov 12 15:09:39 2008
|
|
Karsten Hopp |
0157e7 |
***************
|
|
Karsten Hopp |
0157e7 |
*** 678,679 ****
|
|
Karsten Hopp |
0157e7 |
--- 678,681 ----
|
|
Karsten Hopp |
0157e7 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
0157e7 |
+ /**/
|
|
Karsten Hopp |
0157e7 |
+ 39,
|
|
Karsten Hopp |
0157e7 |
/**/
|
|
Karsten Hopp |
0157e7 |
|
|
Karsten Hopp |
0157e7 |
--
|
|
Karsten Hopp |
0157e7 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
0157e7 |
242. You turn down a better-paying job because it doesn't come with
|
|
Karsten Hopp |
0157e7 |
a free e-mail account.
|
|
Karsten Hopp |
0157e7 |
|
|
Karsten Hopp |
0157e7 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
0157e7 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
0157e7 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
0157e7 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|