]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.2.0293: :packadd may lead to heap-buffer-overflow v9.2.0293
authorzeertzjq <zeertzjq@outlook.com>
Sat, 4 Apr 2026 08:32:33 +0000 (08:32 +0000)
committerChristian Brabandt <cb@256bit.org>
Sat, 4 Apr 2026 08:32:33 +0000 (08:32 +0000)
commitbc182ae56eb71b94738aaa3bd607c32f584fc200
tree63cec32b22b76533b095fc360b12e3dfb7b24e8f
parenta9d01da6616a702ec093b0abc75e097368889524
patch 9.2.0293: :packadd may lead to heap-buffer-overflow

Problem:  :packadd may lead to heap-buffer-overflow when all entries in
          'runtimepath' have the same length (after 9.2.0291).
Solution: Check for comma after current entry properly (zeertzjq).

related: #19854
closes:  #19911

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/scriptfile.c
src/testdir/test_packadd.vim
src/version.c