]> git.ipfire.org Git - ipfire-2.x.git/blame - src/patches/vim/vim-8.2_fix_hardening_crash.patch
Merge remote-tracking branch 'origin/next'
[ipfire-2.x.git] / src / patches / vim / vim-8.2_fix_hardening_crash.patch
CommitLineData
2c881999
AF
1source: https://github.com/vim/vim/issues/5581
2
3diff -Naur vim82.org/src/structs.h vim82/src/structs.h
4--- vim82.org/src/structs.h 2020-08-29 13:21:25.511583763 +0200
5+++ vim82/src/structs.h 2020-08-29 13:44:00.110575350 +0200
6@@ -1412,7 +1412,7 @@
7 {
8 typval_T di_tv; // type and value of the variable
9 char_u di_flags; // flags (only used for variable)
10- char_u di_key[1]; // key (actually longer!)
11+ char_u di_key[]; // key (actually longer!)
12 };
13 typedef struct dictitem_S dictitem_T;
14