Comment #1 on issue 96 by [email protected]: Use of memory after free when pasting in read-only file using Perforce plugin
http://code.google.com/p/vim/issues/detail?id=96
It's tricky that u_undo() may cause an autocommand to be executed, it could do just about anything and make any pointers invalid. Probably the best solution is to invoke u_undo() first, before calling get_yank_register(). It might change undo behavior a bit, perhaps only do it when there is an autocommand?
-- 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
