[Bf-blender-cvs] [718989d6621] master: Fix T69469: Overrun in file action type RNA enum

Julian Eisel noreply at git.blender.org
Wed Sep 4 10:24:46 CEST 2019


Commit: 718989d66216265afb140e9b1426b3ba36f4ebc3
Author: Julian Eisel
Date:   Wed Sep 4 10:21:18 2019 +0200
Branches: master
https://developer.blender.org/rB718989d66216265afb140e9b1426b3ba36f4ebc3

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...

===================================================================

M	source/blender/windowmanager/intern/wm_operator_props.c

===================================================================

diff --git a/source/blender/windowmanager/intern/wm_operator_props.c b/source/blender/windowmanager/intern/wm_operator_props.c
index 663e4adf06b..34e17a8102a 100644
--- a/source/blender/windowmanager/intern/wm_operator_props.c
+++ b/source/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) {



More information about the Bf-blender-cvs mailing list