Mercurial > vim
view src/proto/spellfile.pro @ 14077:873542706b0b v8.1.0056
patch 8.1.0056: crash when using :hardcopy with illegal byte
commit https://github.com/vim/vim/commit/43dee181f596c81b99e200b6cdfeb02ecfed42c8
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 16 14:44:11 2018 +0200
patch 8.1.0056: crash when using :hardcopy with illegal byte
Problem: Crash when using :hardcopy with illegal byte.
Solution: Check for string_convert() returning NULL. (Dominique Pelle)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 16 Jun 2018 14:45:05 +0200 |
parents | b0c7061d6439 |
children | 3dbff5d37520 |
line wrap: on
line source
/* spellfile.c */ slang_T *spell_load_file(char_u *fname, char_u *lang, slang_T *old_lp, int silent); void suggest_load_files(void); int spell_check_msm(void); void ex_mkspell(exarg_T *eap); void mkspell(int fcount, char_u **fnames, int ascii, int over_write, int added_word); void ex_spell(exarg_T *eap); void spell_add_word(char_u *word, int len, int bad, int idx, int undo); /* vim: set ft=c : */