Mercurial > vim
view src/proto/debugger.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 | 1dcbaa780b8e |
children | 154663508d9b |
line wrap: on
line source
/* debugger.c */ int has_watchexpr(void); void do_debug(char_u *cmd); void ex_debug(exarg_T *eap); void dbg_check_breakpoint(exarg_T *eap); int dbg_check_skipped(exarg_T *eap); void ex_breakadd(exarg_T *eap); void ex_debuggreedy(exarg_T *eap); void ex_breakdel(exarg_T *eap); void ex_breaklist(exarg_T *eap); linenr_T dbg_find_breakpoint(int file, char_u *fname, linenr_T after); int has_profiling(int file, char_u *fname, int *fp); void dbg_breakpoint(char_u *name, linenr_T lnum); /* vim: set ft=c : */