]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.0101: invalid memory access in diff mode with "dp" and undo v9.0.0101
authorBram Moolenaar <Bram@vim.org>
Thu, 28 Jul 2022 17:44:27 +0000 (18:44 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 28 Jul 2022 17:44:27 +0000 (18:44 +0100)
commit4e677b9c40ccbc5f090971b31dc2fe07bf05541d
tree80c6f0dd96f2d82b5ebb9fe0b2e36d1fc5a6c1af
parentcb5ed4d6252a7c76c2f85ae95cb1e4e2bccc41fc
patch 9.0.0101: invalid memory access in diff mode with "dp" and undo

Problem:    Invalid memory access in diff mode with "dp" and undo.
Solution:   Make sure the line number does not go below one.
src/diff.c
src/testdir/test_diffmode.vim
src/version.c