Mercurial > vim
view src/proto/ex_eval.pro @ 10865:1a18c0f93ffa v8.0.0322
patch 8.0.0322: possible overflow with corrupted spell file
commit https://github.com/vim/vim/commit/399c297aa93afe2c0a39e2a1b3f972aebba44c9d
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Feb 9 21:07:12 2017 +0100
patch 8.0.0322: possible overflow with corrupted spell file
Problem: Possible overflow with spell file where the tree length is
corrupted.
Solution: Check for an invalid length (suggested by shqking)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 09 Feb 2017 21:15:04 +0100 |
parents | 147f45c283e1 |
children | 55ccc2d353bd |
line wrap: on
line source
/* ex_eval.c */ int aborting(void); void update_force_abort(void); int should_abort(int retcode); int aborted_in_try(void); int cause_errthrow(char_u *mesg, int severe, int *ignore); void free_global_msglist(void); void do_errthrow(struct condstack *cstack, char_u *cmdname); int do_intthrow(struct condstack *cstack); char_u *get_exception_string(void *value, except_type_T type, char_u *cmdname, int *should_free); void discard_current_exception(void); void report_make_pending(int pending, void *value); void report_resume_pending(int pending, void *value); void report_discard_pending(int pending, void *value); void ex_if(exarg_T *eap); void ex_endif(exarg_T *eap); void ex_else(exarg_T *eap); void ex_while(exarg_T *eap); void ex_continue(exarg_T *eap); void ex_break(exarg_T *eap); void ex_endwhile(exarg_T *eap); void ex_throw(exarg_T *eap); void do_throw(struct condstack *cstack); void ex_try(exarg_T *eap); void ex_catch(exarg_T *eap); void ex_finally(exarg_T *eap); void ex_endtry(exarg_T *eap); void enter_cleanup(cleanup_T *csp); void leave_cleanup(cleanup_T *csp); int cleanup_conditionals(struct condstack *cstack, int searched_cond, int inclusive); void rewind_conditionals(struct condstack *cstack, int idx, int cond_type, int *cond_level); void ex_endfunction(exarg_T *eap); int has_loop_cmd(char_u *p); /* vim: set ft=c : */