CVE-2022-2175: fix invalid memory access in cmdlineinsertreg() when
using an expression on the command line; save/restore newcmdpos around
the expression evaluation (exgetln.c, upstream patch 8.2.5148; hunk 3
context adjusted for 8.2.2637)
CVE-2022-3256: fix use-after-free in movemark() when an autocommand
changes the mark; make a local copy of the fmark before potentially
triggering buffer autocommands (mark.c, upstream patch 9.0.0530)
CVE-2022-4292: fix use-after-free in didsetspelllang() when a
SpellFileMissing autocommand uses :bwipe to close the current window;
also bail out when the window is no longer valid (spell.c, upstream
patch 9.0.0882)
CVE-2022-3324: fix negative-index buffer access caused by negative
window width; clamp nextcurwinsize in winequalrec() and clamp
wp->wwidth in winnew_width() (window.c, upstream patch 9.0.0598)