mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 9.1.1314: max allowed string width too small
Problem: max allowed string width too small Solution: increased MAX_ALLOWED_STRING_WIDTH from 6400 to 1MiB (Hirohito Higashi) closes: #17138 Co-authored-by: John Marriott <basilisk@internode.on.net> Signed-off-by: Hirohito Higashi <h.east.727@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
parent
b53d4fb63e
commit
06fdfa11c5
@ -2782,7 +2782,7 @@ format_overflow_error(const char *pstart)
|
|||||||
semsg(_(e_out_of_memory_allocating_nr_bytes), arglen);
|
semsg(_(e_out_of_memory_allocating_nr_bytes), arglen);
|
||||||
}
|
}
|
||||||
|
|
||||||
#define MAX_ALLOWED_STRING_WIDTH 6400
|
#define MAX_ALLOWED_STRING_WIDTH 1048576 // 1 MiB
|
||||||
|
|
||||||
static int
|
static int
|
||||||
get_unsigned_int(
|
get_unsigned_int(
|
||||||
|
@ -704,6 +704,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1314,
|
||||||
/**/
|
/**/
|
||||||
1313,
|
1313,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user