vim-patch:8.2.1088: a very long translation might cause a buffer overflow

Problem:    A very long translation might cause a buffer overflow.
Solution:   Trunctate the message if needed.
6378b21d6d

N/A patches for version.c:

vim-patch:8.1.0524: terminal test fails on Windows

Problem:    Terminal test fails on Windows.
Solution:   Skip Test_terminal_does_not_truncate_last_newlines() for now.
c2c02574ec

vim-patch:8.1.1613: popup window test fails with Athena and Motif

Problem:    Popup window test fails with Athena and Motif.
Solution:   Compute the highlight attribut when the GUI is not active.
a83e70000f

vim-patch:8.2.1713: Motif GUI: crash when setting menu colors

Problem:    Motif GUI: crash when setting menu colors. (Andrzej Bylicki)
Solution:   Add {} to make "n" incremented correctly. (closes vim/vim#6989,
        closes vim/vim#5948)
7795bfea6d

vim-patch:8.2.1715: Motif GUI: commented out code missed {}

Problem:    Motif GUI: commented out code missed {}.
Solution:   Add {} and reenable the code. (similar to vim/vim#6989)
26cd3063b2

vim-patch:8.2.1717
Problem:    MS-Windows installer doesn't have Russian translations.
Solution:   Add Russian translations. (closes vim/vim#6985)
809fcecddc

vim-patch:8.2.1721: MS-Windows installer doesn't work

Problem:    MS-Windows installer doesn't work.
Solution:   Write "Russian" in ASCII. (closes vim/vim#6995, see #).
7f9c9c51a3

vim-patch:8.2.1735: Github actions appear to timeout too soon

Problem:    Github actions appear to timeout too soon.
Solution:   use "timeout" instead of "ping".
851d108313

vim-patch:8.2.1738: Mac: str2float() recognizes comma instead of decimal point

Problem:    Mac: str2float() recognizes comma instead of decimal point.
Solution:   Set LC_NUMERIC to "C". (closes vim/vim#7003)
509f8031b2

vim-patch:8.2.1745: tiny version doesn't build

Problem:    Tiny version doesn't build.
Solution:   Add dummy ex_var() function.
d47f50b331
This commit is contained in:
Jan Edmund Lazo
2020-09-20 23:11:51 -04:00
parent 4a996bc431
commit 6e6b660e95

View File

@@ -210,7 +210,8 @@ void filemess(buf_T *buf, char_u *name, char_u *s, int attr)
if (msg_silent != 0) { if (msg_silent != 0) {
return; return;
} }
add_quoted_fname((char *)IObuff, IOSIZE - 80, buf, (const char *)name); add_quoted_fname((char *)IObuff, IOSIZE - 100, buf, (const char *)name);
// Avoid an over-long translation to cause trouble.
xstrlcat((char *)IObuff, (const char *)s, IOSIZE); xstrlcat((char *)IObuff, (const char *)s, IOSIZE);
// For the first message may have to start a new line. // For the first message may have to start a new line.
// For further ones overwrite the previous one, reset msg_scroll before // For further ones overwrite the previous one, reset msg_scroll before