From ca58a863610d3ea974c1c0eaaadda14ff6972ddc27d188a34216942163b9f14e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= <mimi.vx@gmail.com>
Date: Thu, 3 Feb 2022 12:20:53 +0000
Subject: [PATCH] =?UTF-8?q?-=20Updated=20to=20version=208.2.4286,=20fixes?=
 =?UTF-8?q?=20the=20following=20problems=20=20=20*=20Compiler=20warning=20?=
 =?UTF-8?q?for=20uninitialized=20variable.=20=20=20*=20Unused=20entry=20in?=
 =?UTF-8?q?=20keymap=20enum.=20=20=20*=20CI=20log=20output=20is=20long.=20?=
 =?UTF-8?q?=20=20*=20Coverity=20warns=20for=20using=20a=20NULL=20pointer.?=
 =?UTF-8?q?=20=20=20*=20Generating=20nv=5Fcmdidxs.h=20requires=20building?=
 =?UTF-8?q?=20Vim=20twice.=20=20=20*=20Vim9=20expr=20test=20fails=20withou?=
 =?UTF-8?q?t=20the=20channel=20feature.=20(Dominique=20Pell=C3=A9)=20=20?=
 =?UTF-8?q?=20*=20The=20EBCDIC=20support=20is=20outdated.=20=20=20*=20Basi?=
 =?UTF-8?q?c=20and=20form=20filetype=20detection=20is=20incomplete.=20=20?=
 =?UTF-8?q?=20*=20Cannot=20use=20an=20autoload=20function=20from=20a=20pac?=
 =?UTF-8?q?kage=20under=20start.=20=20=20*=20Separate=20test=20function=20?=
 =?UTF-8?q?for=20the=20GUI=20scrollbar.=20=20=20*=20Vim9:=20an=20import=20?=
 =?UTF-8?q?does=20not=20shadow=20a=20command=20modifier.=20=20=20*=20Build?=
 =?UTF-8?q?=20with=20Athena=20GUI=20fails.=20(Elimar=20Riesebieter)=20=20?=
 =?UTF-8?q?=20*=20Vim9:=20cannot=20change=20item=20type=20with=20map()=20a?=
 =?UTF-8?q?fter=20range().=20=20=20*=20list-dict=20test=20crashes.=20=20?=
 =?UTF-8?q?=20*=20Using=20freed=20memory=20with=20:lopen=20and=20:bwipe.?=
 =?UTF-8?q?=20=20=20*=20Restricted=20mode=20requires=20the=20-Z=20command?=
 =?UTF-8?q?=20line=20option.=20=20=20*=20Using=20a=20variable=20for=20the?=
 =?UTF-8?q?=20return=20value=20is=20not=20needed.=20=20=20*=20Old=20mac=20?=
 =?UTF-8?q?resources=20files=20are=20no=20longer=20used.=20=20=20*=20Vim9:?=
 =?UTF-8?q?=20type=20of=20item=20in=20for=20loop=20not=20checked=20properl?=
 =?UTF-8?q?y.=20=20=20*=20Vim9:=20strict=20type=20checking=20after=20copy(?=
 =?UTF-8?q?)=20and=20deepcopy().=20-=20fixes=20boo#1195499=20CVE-2022-0417?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=702
---
 vim-8.2.4266.tar.gz |  3 ---
 vim-8.2.4286.tar.gz |  3 +++
 vim.changes         | 26 ++++++++++++++++++++++++++
 vim.spec            |  2 +-
 4 files changed, 30 insertions(+), 4 deletions(-)
 delete mode 100644 vim-8.2.4266.tar.gz
 create mode 100644 vim-8.2.4286.tar.gz

diff --git a/vim-8.2.4266.tar.gz b/vim-8.2.4266.tar.gz
deleted file mode 100644
index b947ef9..0000000
--- a/vim-8.2.4266.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:e9cd8c4add5897c92c67bac4284df7a6973814871ee88c01b6f96ea259d022fe
-size 16013662
diff --git a/vim-8.2.4286.tar.gz b/vim-8.2.4286.tar.gz
new file mode 100644
index 0000000..4941821
--- /dev/null
+++ b/vim-8.2.4286.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e7f4fc0c04668940bd2c31dfa1d344c4391cb5ac6697ee6f0c97499318ee86db
+size 15963099
diff --git a/vim.changes b/vim.changes
index 51e7184..6b5fdee 100644
--- a/vim.changes
+++ b/vim.changes
@@ -1,6 +1,32 @@
+-------------------------------------------------------------------
+Thu Feb  3 12:18:46 UTC 2022 - Ondřej Súkup <mimi.vx@gmail.com>
+
+- Updated to version 8.2.4286, fixes the following problems
+  * Compiler warning for uninitialized variable.
+  * Unused entry in keymap enum.
+  * CI log output is long.
+  * Coverity warns for using a NULL pointer.
+  * Generating nv_cmdidxs.h requires building Vim twice.
+  * Vim9 expr test fails without the channel feature. (Dominique Pellé)
+  * The EBCDIC support is outdated.
+  * Basic and form filetype detection is incomplete.
+  * Cannot use an autoload function from a package under start.
+  * Separate test function for the GUI scrollbar.
+  * Vim9: an import does not shadow a command modifier.
+  * Build with Athena GUI fails. (Elimar Riesebieter)
+  * Vim9: cannot change item type with map() after range().
+  * list-dict test crashes.
+  * Using freed memory with :lopen and :bwipe.
+  * Restricted mode requires the -Z command line option.
+  * Using a variable for the return value is not needed.
+  * Old mac resources files are no longer used.
+  * Vim9: type of item in for loop not checked properly.
+  * Vim9: strict type checking after copy() and deepcopy().
+
 -------------------------------------------------------------------
 Mon Jan 31 11:21:06 UTC 2022 - Ondřej Súkup <mimi.vx@gmail.com>
 
+- fixes boo#1195499 CVE-2022-0417
 - fixes boo#1195336 CVE-2022-0393
 - Updated to version 8.2.4266, fixes the following problems
   * Cannot use an import in 'patchexpr'.
diff --git a/vim.spec b/vim.spec
index f61a6b5..2366d27 100644
--- a/vim.spec
+++ b/vim.spec
@@ -17,7 +17,7 @@
 
 
 %define pkg_version 8.2
-%define patchlevel 4266
+%define patchlevel 4286
 %define patchlevel_compact %{patchlevel}
 %define VIM_SUBDIR vim82
 %define site_runtimepath %{_datadir}/vim/site