Mercurial > vim
annotate src/proto/if_ole.pro @ 19121:a51fee786930 v8.2.0120
patch 8.2.0120: virtcol() does not check arguments to be valid
Commit: https://github.com/vim/vim/commit/b3d33d8570bc49a7f90990572d7f9630a1bfae02
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 15 20:36:55 2020 +0100
patch 8.2.0120: virtcol() does not check arguments to be valid
Problem: virtcol() does not check arguments to be valid, which may lead to
a crash.
Solution: Check the column to be valid. Do not decrement MAXCOL.
(closes #5480)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 15 Jan 2020 20:45:04 +0100 |
parents | 744c66477ba9 |
children |
rev | line source |
---|---|
7 | 1 /* if_ole.cpp */ |
7813
744c66477ba9
commit https://github.com/vim/vim/commit/4349c57543a98dc417b74da5a08c326337aa0bd3
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
2 void InitOLE(int* pbDoRestart); |
744c66477ba9
commit https://github.com/vim/vim/commit/4349c57543a98dc417b74da5a08c326337aa0bd3
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
3 void UninitOLE(void); |
744c66477ba9
commit https://github.com/vim/vim/commit/4349c57543a98dc417b74da5a08c326337aa0bd3
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
4 void RegisterMe(int silent); |
744c66477ba9
commit https://github.com/vim/vim/commit/4349c57543a98dc417b74da5a08c326337aa0bd3
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
5 void UnregisterMe(int bNotifyUser); |