diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-12-02 18:42:33 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-12-02 18:42:33 +0000 |
commit | 9ac38129b6d409f73e29b1d51a5d459cf050410f (patch) | |
tree | 6425c200c8015001df1e61d3c633a32f48f6f6e2 /src/errors.h | |
parent | 69c76171f1a78b829196f72d7010fbe1d9ad2944 (diff) |
patch 8.2.3721: using memory freed by losing the clipboard selectionv8.2.3721
Problem: Using memory freed by losing the clipboard selection. (Dominique
Pellé)
Solution: Check y_array is still valid after calling changed_lines().
(closes #9253)
Diffstat (limited to 'src/errors.h')
-rw-r--r-- | src/errors.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/errors.h b/src/errors.h index 1d6a3a3c66..047ff9c8f1 100644 --- a/src/errors.h +++ b/src/errors.h @@ -316,7 +316,8 @@ EXTERN char e_cannot_index_number[] INIT(= N_("E1062: Cannot index a Number")); EXTERN char e_type_mismatch_for_v_variable[] INIT(= N_("E1063: Type mismatch for v: variable")); -// E1064 unused +EXTERN char e_yank_register_changed_while_using_it[] + INIT(= N_("E1064: Yank register changed while using it")); // E1065 unused EXTERN char e_cannot_declare_a_register_str[] INIT(= N_("E1066: Cannot declare a register: %s")); |