CVE-2022-1735: re-check the Visual start position after every buffer change with check_visual_pos() so a change made in Visual mode cannot leave it past the end of the line or buffer
CVE-2022-2289: stop :diffget/:diffput when mark_adjust() has freed the current diff block, so the loop no longer reads the freed block
CVE-2022-2264: subtract the unused trailing block padding from the put length in do_put() so the end mark is not set past the end of the line
CVE-2022-2571: check the line length before skipping the completion prefix in ins_compl_get_exp() and find_pattern_in_path() so insert mode completion cannot read past the end of the line
CVE-2022-0685: use vim_isalpha() instead of isalpha() in unix_expandpath() so a special multi-byte character cannot crash file name expansion