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:
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
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue