Blame SOURCES/0001-patch-8.2.4214-illegal-memory-access-with-large-tabs.patch

9bb4fd
diff -up vim80/src/ex_getln.c.cve0359 vim80/src/ex_getln.c
9bb4fd
--- vim80/src/ex_getln.c.cve0359	2022-01-27 16:55:41.386213891 +0100
9bb4fd
+++ vim80/src/ex_getln.c	2022-01-27 17:00:20.330960544 +0100
9bb4fd
@@ -300,7 +300,7 @@ getcmdline(
9bb4fd
     ccline.cmdindent = (firstc > 0 ? indent : 0);
9bb4fd
 
9bb4fd
     /* alloc initial ccline.cmdbuff */
9bb4fd
-    alloc_cmdbuff(exmode_active ? 250 : indent + 1);
9bb4fd
+    alloc_cmdbuff(indent + 50);
9bb4fd
     if (ccline.cmdbuff == NULL)
9bb4fd
 	return NULL;			    /* out of memory */
9bb4fd
     ccline.cmdlen = ccline.cmdpos = 0;