--- src/structs.h.ORIG	2022-01-06 01:15:23 +0000
+++ src/structs.h	2022-01-06 01:15:43 +0000
@@ -1541,7 +1541,7 @@
 {
     typval_T	di_tv;		// type and value of the variable
     char_u	di_flags;	// DI_FLAGS_ flags (only used for variable)
-    char_u	di_key[1];	// key (actually longer!)
+    char_u	di_key[10];	// key (actually longer!)
 };
 typedef struct dictitem_S dictitem_T;
 
