Mercurial > vim
view ci/if_ver-cmd.vim @ 27416:0b3bf3cbe42f v8.2.4236
patch 8.2.4236: accessing freed memory
Commit: https://github.com/vim/vim/commit/166788c657f4b1090a31ea37a023b1f2c78790c8
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jan 27 21:56:40 2022 +0000
patch 8.2.4236: accessing freed memory
Problem: Accessing freed memory.
Solution: Set the bh_curr pointer to NULL.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 27 Jan 2022 23:00:03 +0100 |
parents | 27ff44268da5 |
children |
line wrap: on
line source
" Provide 'PrintVer' command to print the interface versions. func s:print_ver(lang, ...) if has(a:lang) exec a:lang join(a:000) else echo 'N/A' endif echo '' endfunc command -nargs=+ PrintVer call <SID>print_ver(<f-args>)