mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:7.4.2064
Problem: Coverity warns for possible buffer overflow.
Solution: Use vim_strcat() instead of strcat().
4f5c5f2980
This commit is contained in:
parent
827f2f9f6b
commit
480b02fdb2
@ -2121,7 +2121,7 @@ static void qf_msg(qf_info_T *qi, int which, char *lead)
|
||||
while (STRLEN(buf) < 34) {
|
||||
STRCAT(buf, " ");
|
||||
}
|
||||
STRCAT(buf, title);
|
||||
vim_strcat(buf, title, IOSIZE);
|
||||
}
|
||||
trunc_string(buf, buf, (int)Columns - 1, IOSIZE);
|
||||
msg(buf);
|
||||
|
@ -376,7 +376,7 @@ static int included_patches[] = {
|
||||
// 2067,
|
||||
2066,
|
||||
2065,
|
||||
// 2064,
|
||||
2064,
|
||||
// 2063 NA
|
||||
2062,
|
||||
// 2061,
|
||||
|
Loading…
Reference in New Issue
Block a user