Mercurial > vim
view src/proto/digraph.pro @ 23760:bb2afcad503b v8.2.2421
patch 8.2.2421: double free when using autocommand with "argdel"
Commit: https://github.com/vim/vim/commit/5ed58c7b700fcb9fd03c418300145b616f4bdcdd
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jan 28 14:24:55 2021 +0100
patch 8.2.2421: double free when using autocommand with "argdel"
Problem: Double free when using autocommand with "argdel". (Houyunsong)
Solution: Add the arglist_locked flag.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 28 Jan 2021 14:30:05 +0100 |
parents | 55ccc2d353bd |
children | c626fd34b66f |
line wrap: on
line source
/* digraph.c */ int do_digraph(int c); char_u *get_digraph_for_char(int val_arg); int get_digraph(int cmdline); int getdigraph(int char1, int char2, int meta_char); void putdigraph(char_u *str); void listdigraphs(int use_headers); char *keymap_init(void); void ex_loadkeymap(exarg_T *eap); void keymap_clear(garray_T *kmap); /* vim: set ft=c : */