Fix T69469: Overrun in file action type RNA enum

Think it was harmless in practice since we didn't actually enumerate the
items, only count them and access the set value. Still...
This commit is contained in:
Julian Eisel 2019-09-04 10:21:18 +02:00
parent fcf2a712ec
commit 718989d662
Notes: blender-bot 2023-02-14 09:17:57 +01:00
Referenced by issue #69469, Address Sanitizer reports read overrun in blender/windowmanager/intern/wm_operator_props.c
1 changed files with 1 additions and 0 deletions

View File

@ -85,6 +85,7 @@ void WM_operator_properties_filesel(wmOperatorType *ot,
"Open",
"Use the file browser for opening files or a directory"},
{FILE_SAVE, "SAVE", 0, "Save", "Use the file browser for saving a file"},
{0, NULL, 0, NULL, NULL},
};
if (flag & WM_FILESEL_FILEPATH) {