John Marriott wrote:

> 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

Thanks.

-- 
Despite the cost of living, have you noticed how it remains so popular?

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20220703121644.A61831C091A%40moolenaar.net.

Raspunde prin e-mail lui