Mercurial > vim
view runtime/keymap/hebrewp.vim @ 18283:0cb608fc9c60 v8.1.2136
patch 8.1.2136: using freed memory with autocmd from fuzzer
Commit: https://github.com/vim/vim/commit/ec66c41d84e574baf8009dbc0bd088d2bc5b2421
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Oct 11 21:19:13 2019 +0200
patch 8.1.2136: using freed memory with autocmd from fuzzer
Problem: using freed memory with autocmd from fuzzer. (Dhiraj Mishra,
Dominique Pelle)
Solution: Avoid using "wp" after autocommands. (closes #5041)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 11 Oct 2019 21:30:04 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
let encoding = &enc if encoding == 'latin1' if has("unix") let encoding = 'iso-8859-8' else let encoding = 'cp1255' endif endif if encoding == 'utf-8' source <sfile>:p:h/hebrewp_utf-8.vim elseif encoding == 'cp1255' source <sfile>:p:h/hebrewp_cp1255.vim else source <sfile>:p:h/hebrewp_iso-8859-8.vim endif