Mercurial > vim
view src/proto/evalfunc.pro @ 9919:885e3c9c0e10 v7.4.2233
commit https://github.com/vim/vim/commit/843b884461de1c79a1d2748549776fb13fc94360
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 21 14:36:15 2016 +0200
patch 7.4.2233
Problem: Crash when using funcref() with invalid name. (Dominique Pelle)
Solution: Check for NULL translated name.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 21 Aug 2016 14:45:05 +0200 |
parents | 5eaa708ab50d |
children | 1c65cad8b967 |
line wrap: on
line source
/* evalfunc.c */ char_u *get_function_name(expand_T *xp, int idx); char_u *get_expr_name(expand_T *xp, int idx); int find_internal_func(char_u *name); int call_internal_func(char_u *name, int argcount, typval_T *argvars, typval_T *rettv); buf_T *buflist_find_by_name(char_u *name, int curtab_only); void execute_redir_str(char_u *value, int value_len); void mzscheme_call_vim(char_u *name, typval_T *args, typval_T *rettv); float_T vim_round(float_T f); long do_searchpair(char_u *spat, char_u *mpat, char_u *epat, int dir, char_u *skip, int flags, pos_T *match_pos, linenr_T lnum_stop, long time_limit); char_u *get_callback(typval_T *arg, partial_T **pp); void free_callback(char_u *callback, partial_T *partial); /* vim: set ft=c : */