Mercurial > vim
comparison src/proto/misc2.pro @ 28893:aa44d5842d6c v8.2.4969
patch 8.2.4969: changing text in Visual mode may cause invalid memory access
Commit: https://github.com/vim/vim/commit/7ce5b2b590256ce53d6af28c1d203fb3bc1d2d97
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon May 16 19:40:59 2022 +0100
patch 8.2.4969: changing text in Visual mode may cause invalid memory access
Problem: Changing text in Visual mode may cause invalid memory access.
Solution: Check the Visual position after making a change.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 16 May 2022 20:45:03 +0200 |
parents | 53c608c7ea9e |
children | 004aee2845d2 |
comparison
equal
deleted
inserted
replaced
28892:4df932719c00 | 28893:aa44d5842d6c |
---|---|
15 void check_pos(buf_T *buf, pos_T *pos); | 15 void check_pos(buf_T *buf, pos_T *pos); |
16 void check_cursor_lnum(void); | 16 void check_cursor_lnum(void); |
17 void check_cursor_col(void); | 17 void check_cursor_col(void); |
18 void check_cursor_col_win(win_T *win); | 18 void check_cursor_col_win(win_T *win); |
19 void check_cursor(void); | 19 void check_cursor(void); |
20 void check_visual_pos(void); | |
20 void adjust_cursor_col(void); | 21 void adjust_cursor_col(void); |
21 int leftcol_changed(void); | 22 int leftcol_changed(void); |
22 int copy_option_part(char_u **option, char_u *buf, int maxlen, char *sep_chars); | 23 int copy_option_part(char_u **option, char_u *buf, int maxlen, char *sep_chars); |
23 int vim_isspace(int x); | 24 int vim_isspace(int x); |
24 int simplify_key(int key, int *modifiers); | 25 int simplify_key(int key, int *modifiers); |