]> granicus.if.org Git - vim/commit
patch 8.2.5148: invalid memory access when using expression on command line v8.2.5148
authorBram Moolenaar <Bram@vim.org>
Wed, 22 Jun 2022 12:51:54 +0000 (13:51 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 22 Jun 2022 12:51:54 +0000 (13:51 +0100)
commit6046aded8da002b08d380db29de2ba0268b6616e
tree6e39a70e4151f0e53544f2aaf276c036a4679289
parent12a49408b3d60a55b1e098f97d3f1127a75fb3bf
patch 8.2.5148: invalid memory access when using expression on command line

Problem:    Invalid memory access when using an expression on the command line.
Solution:   Make sure the position does not go negative.
src/ex_getln.c
src/testdir/test_cmdline.vim
src/version.c