diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-05-16 19:40:59 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-05-16 19:40:59 +0100 |
commit | 7ce5b2b590256ce53d6af28c1d203fb3bc1d2d97 (patch) | |
tree | d40856d0b0eb3723b94a0543db98cd8d96cb2d50 /src/proto/misc2.pro | |
parent | 60ae0e71490c97f2871a6344aca61cacf220f813 (diff) |
patch 8.2.4969: changing text in Visual mode may cause invalid memory accessv8.2.4969
Problem: Changing text in Visual mode may cause invalid memory access.
Solution: Check the Visual position after making a change.
Diffstat (limited to 'src/proto/misc2.pro')
-rw-r--r-- | src/proto/misc2.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/misc2.pro b/src/proto/misc2.pro index fe0a4fbb53..2728ffe64f 100644 --- a/src/proto/misc2.pro +++ b/src/proto/misc2.pro @@ -17,6 +17,7 @@ void check_cursor_lnum(void); void check_cursor_col(void); void check_cursor_col_win(win_T *win); void check_cursor(void); +void check_visual_pos(void); void adjust_cursor_col(void); int leftcol_changed(void); int copy_option_part(char_u **option, char_u *buf, int maxlen, char *sep_chars); |