Mercurial > vim
view src/proto/cindent.pro @ 28970:77cd4bf3ad7d v8.2.5007
patch 8.2.5007: spell suggestion may use uninitialized memory
Commit: https://github.com/vim/vim/commit/6d24b4ff69913270ce1e5267dd6bd8454f75e2b9
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon May 23 12:01:50 2022 +0100
patch 8.2.5007: spell suggestion may use uninitialized memory
Problem: Spell suggestion may use uninitialized memory. (Zdenek Dohnal)
Solution: Avoid going over the end of the word.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 23 May 2022 13:15:04 +0200 |
parents | 0d798c7e1865 |
children |
line wrap: on
line source
/* cindent.c */ int cin_is_cinword(char_u *line); int is_pos_in_string(char_u *line, colnr_T col); pos_T *find_start_comment(int ind_maxcomment); int cindent_on(void); void parse_cino(buf_T *buf); int get_c_indent(void); int in_cinkeys(int keytyped, int when, int line_is_empty); void do_c_expr_indent(void); void f_cindent(typval_T *argvars, typval_T *rettv); /* vim: set ft=c : */