On 02-July-2022 22:43, Bram Moolenaar wrote:
Patch 9.0.0025
Problem:    Accessing beyond allocated memory when using the cmdline window in
             Ex mode.
Solution:   Use "*" instead of "'<,'>" for Visual mode.
Files:      src/ex_docmd.c, src/testdir/test_cmdline.vim
// Special case: empty command uses "+":
!               //  "'<,'>mods" -> "mods *+
!               //  Use "*" instead of "'<,'>" to avoid the command getting
!               //  longer, in case is was allocated.
                mch_memmove(orig_cmd, cmd_start, len);

In ex_docmd.c:
:3123 s/in case*is *was allocated/in case*it *was allocated

Cheers
John

--
--
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 vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/a944b1e9-cdcd-99fd-3e56-e5a3da7de2d1%40internode.on.net.

Raspunde prin e-mail lui