Mercurial > vim
view src/proto/if_cscope.pro @ 10976:f97a72ad8ffa v8.0.0377
patch 8.0.0377: possible overflow when reading corrupted undo file
commit https://github.com/vim/vim/commit/3eb1637b1bba19519885dd6d377bd5596e91d22c
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 26 18:11:36 2017 +0100
patch 8.0.0377: possible overflow when reading corrupted undo file
Problem: Possible overflow when reading corrupted undo file.
Solution: Check if allocated size is not too big. (King)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 26 Feb 2017 18:15:04 +0100 |
parents | bd674706408a |
children | 5c8906f653f5 |
line wrap: on
line source
/* if_cscope.c */ char_u *get_cscope_name(expand_T *xp, int idx); void set_context_in_cscope_cmd(expand_T *xp, char_u *arg, cmdidx_T cmdidx); void ex_cscope(exarg_T *eap); void ex_scscope(exarg_T *eap); void ex_cstag(exarg_T *eap); int cs_fgets(char_u *buf, int size); void cs_free_tags(void); void cs_print_tags(void); int cs_connection(int num, char_u *dbpath, char_u *ppath); void cs_end(void); /* vim: set ft=c : */