Mercurial > vim
view runtime/indent/xhtml.vim @ 15109:b91cd042c2fc v8.1.0565
patch 8.1.0565: asan complains about reading before allocated block
commit https://github.com/vim/vim/commit/10600db772a6b50093b8027509d7089c209d1e26
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Dec 5 19:46:07 2018 +0100
patch 8.1.0565: asan complains about reading before allocated block
Problem: Asan complains about reading before allocated block.
Solution: Workaround: Avoid offset from becoming negative.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 05 Dec 2018 20:00:07 +0100 |
parents | 25dd5036f2b0 |
children | 4027cefc2aab |
line wrap: on
line source
" Vim indent file " Language: XHTML " Maintainer: Bram Moolenaar <Bram@vim.org> (for now) " Last Change: 2005 Jun 24 " Only load this indent file when no other was loaded. if exists("b:did_indent") finish endif " Handled like HTML for now. runtime! indent/html.vim