mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 11:15:14 -07:00
vim-patch:8.2.1169: write NUL past allocated space using corrupted spell file
Problem: Write NUL past allocated space using corrupted spell file. (Markus Vervier) Solution: Init "c" every time.97d2f34c87
N/A patches for version.c: vim-patch:8.0.1531: cannot use 24 bit colors in MS-Windows console Problem: Cannot use 24 bit colors in MS-Windows console. Solution: Add support for vcon. (Nobuhiro Takasaki, Ken Takasaki, fixes vim/vim#1270, fixes vim/vim#2060)cafafb381a
vim-patch:8.0.1544: when using 'termguicolors' SpellBad doesn't show Problem: When using 'termguicolors' SpellBad doesn't show. Solution: When the GUI colors are not set fall back to the cterm colors.d4fc577e60
vim-patch:8.0.1589: error for setting 'modifiable' when resetting it Problem: Error for setting 'modifiable' when resetting it. Solution: Check if 'modifiable' was actually set.d7db27bafd
vim-patch:8.0.1591: MS-Windows: when reparsing the arguments 'wildignore' matters Problem: MS-Windows: when reparsing the arguments 'wildignore' matters. Solution: Save and reset 'wildignore'. (Yasuhiro Matsumoto, closes vim/vim#2702)20586cb4f4
vim-patch:8.0.1712: terminal scrollback is not limited Problem: Terminal scrollback is not limited. Solution: Add the 'terminalscroll' option.8c041b6b95
Neovim has 'scrollback' option, not 'terminalscroll', to limit scrollback in terminal buffers. vim-patch:8.0.1745: build failure on MS-Windows Problem: Build failure on MS-Windows. Solution: Build job arguments for MS-Windows. Fix allocating job twice.2060892028
vim-patch:8.0.1747: MS-Windows: term_start() does not set job_info() cmd Problem: MS-Windows: term_start() does not set job_info() cmd. Solution: Share the code from job_start() to set jv_argv.ebe74b7367
This commit is contained in:
parent
08efa7037e
commit
0c498200f4
@ -1134,7 +1134,6 @@ static int read_sal_section(FILE *fd, slang_T *slang)
|
|||||||
salitem_T *smp;
|
salitem_T *smp;
|
||||||
int ccnt;
|
int ccnt;
|
||||||
char_u *p;
|
char_u *p;
|
||||||
int c = NUL;
|
|
||||||
|
|
||||||
slang->sl_sofo = false;
|
slang->sl_sofo = false;
|
||||||
|
|
||||||
@ -1158,7 +1157,9 @@ static int read_sal_section(FILE *fd, slang_T *slang)
|
|||||||
ga_grow(gap, cnt + 1);
|
ga_grow(gap, cnt + 1);
|
||||||
|
|
||||||
// <sal> : <salfromlen> <salfrom> <saltolen> <salto>
|
// <sal> : <salfromlen> <salfrom> <saltolen> <salto>
|
||||||
for (; gap->ga_len < cnt; ++gap->ga_len) {
|
for (; gap->ga_len < cnt; gap->ga_len++) {
|
||||||
|
int c = NUL;
|
||||||
|
|
||||||
smp = &((salitem_T *)gap->ga_data)[gap->ga_len];
|
smp = &((salitem_T *)gap->ga_data)[gap->ga_len];
|
||||||
ccnt = getc(fd); // <salfromlen>
|
ccnt = getc(fd); // <salfromlen>
|
||||||
if (ccnt < 0)
|
if (ccnt < 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user