Mercurial > vim
view src/proto/beval.pro @ 13068:63fdea6e9c6c v8.0.1409
patch 8.0.1409: buffer overflow in :tags command
commit https://github.com/vim/vim/commit/132f75255ecea17ff621f71236568c5d8d8e0163
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Dec 19 10:49:34 2017 +0100
patch 8.0.1409: buffer overflow in :tags command
Problem: Buffer overflow in :tags command.
Solution: Use vim_snprintf(). (Dominique Pelle, closes https://github.com/vim/vim/issues/2471, closes https://github.com/vim/vim/issues/2475)
Add a test.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 19 Dec 2017 11:00:06 +0100 |
parents | 058e93aee621 |
children | 8a095d343c59 |
line wrap: on
line source
/* beval.c */ int get_beval_info(BalloonEval *beval, int getword, win_T **winp, linenr_T *lnump, char_u **textp, int *colp); void post_balloon(BalloonEval *beval, char_u *mesg, list_T *list); int can_use_beval(void); void general_beval_cb(BalloonEval *beval, int state); /* vim: set ft=c : */