[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Vulnerability in VIM?



> The cure is to put "set modelines=0" in ~/.vimrc or /etc/vim/vimrc.
You can probably also get away with "set nomodeline"

> Is the cure worse than the disease?
Why would it be?  Can't you just set that to just happen during mail
handling by doing something like this in you .vimrc?

autocmd BufRead /tmp/mutt* set modelines=0

or

autocmd FileType mail set nomodeline

-- 
http://torrin.dyndns.org
http://www.torrin.net



Reply to: