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

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