Patch 7.4.2310 (after 7.4.2304)
Problem:    Accessing freed memory when a timer does not repeat.
Solution:   Free after removing it. (Dominique Pelle)
Files:      src/ex_cmds2.c


*** ../vim-7.4.2309/src/ex_cmds2.c      2016-09-01 21:26:16.166308476 +0200
--- src/ex_cmds2.c      2016-09-02 21:58:28.240569008 +0200
***************
*** 1222,1229 ****
                }
                else
                {
-                   free_timer(timer);
                    remove_timer(timer);
                }
                /* the callback may do anything, start all over */
                break;
--- 1222,1229 ----
                }
                else
                {
                    remove_timer(timer);
+                   free_timer(timer);
                }
                /* the callback may do anything, start all over */
                break;
*** ../vim-7.4.2309/src/version.c       2016-09-02 21:48:28.565811651 +0200
--- src/version.c       2016-09-02 22:18:39.406152683 +0200
***************
*** 765,766 ****
--- 765,768 ----
  {   /* Add new patch number below this line */
+ /**/
+     2310,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
139. You down your lunch in five minutes, at your desk, so you can
     spend the rest of the hour surfing the Net.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui