Mercurial > vim
view src/proto/if_mzsch.pro @ 19053:cec4da73951a v8.2.0087
patch 8.2.0087: crash in command line expansion when out of memory
Commit: https://github.com/vim/vim/commit/61d7c0d52ca40ab8488c36e619d1e46503affd0b
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 5 14:38:40 2020 +0100
patch 8.2.0087: crash in command line expansion when out of memory
Problem: Crash in command line expansion when out of memory.
Solution: Check for NULL pointer. Also make ExpandGeneric() static.
(Dominique Pelle, closes #5437)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 05 Jan 2020 14:45:04 +0100 |
parents | 4cb5ab124239 |
children | ca6bc7c04163 |
line wrap: on
line source
/* if_mzsch.c */ int mzscheme_enabled(int verbose); void mzvim_check_threads(void); void mzvim_reset_timer(void); void mzscheme_end(void); int mzscheme_main(void); void mzscheme_buffer_free(buf_T *buf); void mzscheme_window_free(win_T *win); void ex_mzscheme(exarg_T *eap); void ex_mzfile(exarg_T *eap); void do_mzeval(char_u *str, typval_T *rettv); void raise_vim_exn(const char *add_info); void raise_if_error(void); buf_T *get_valid_buffer(void *obj); win_T *get_valid_window(void *obj); int mzthreads_allowed(void); /* vim: set ft=c : */