patch 8.2.5016: access before start of text with a put command v8.2.5016
authorBram Moolenaar <Bram@vim.org>
Wed, 25 May 2022 14:15:38 +0000 (15:15 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 25 May 2022 14:15:38 +0000 (15:15 +0100)
commit2a585c85013be22f59f184d49612074fd9b115d7
tree22b78f9671824007f332a1451d76bbd9b8440ee3
parentbf82df0dd48a26404b92a596498b6892c9572c53
patch 8.2.5016: access before start of text with a put command

Problem:    Access before start of text with a put command.
Solution:   Check the length is more than zero.
src/register.c
src/testdir/test_put.vim
src/version.c