vim: fix CVE-2021-3796, CVE-2021-3872, and CVE-2021-3875

Backport patches from upstream to fix these CVEs.

(From OE-Core rev: b493eb4f9a6bb75a2f01a53b6c70762845bf79f9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2021-11-09 23:13:07 +00:00
committed by Richard Purdie
parent 47b01a4ef3
commit ce534e8e16
5 changed files with 344 additions and 2 deletions

View File

@@ -18,8 +18,12 @@ SRC_URI = "git://github.com/vim/vim.git;branch=master;protocol=https \
file://no-path-adjust.patch \
file://racefix.patch \
file://b7081e135a16091c93f6f5f7525a5c58fb7ca9f9.patch \
file://CVE-2021-3778.patch \
"
file://CVE-2021-3778.patch \
file://0002-patch-8.2.3428-using-freed-memory-when-replacing.patch \
file://0003-patch-8.2.3487-illegal-memory-access-if-buffer-name-.patch \
file://0004-patch-8.2.3489-ml_get-error-after-search-with-range.patch \
file://0005-patch-8.2.3564-invalid-memory-access-when-scrolling-.patch \
"
SRCREV = "98056533b96b6b5d8849641de93185dd7bcadc44"