diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-04-02 13:07:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-02 13:07:55 +0200 |
commit | 5f11e1557156617366d2c316a97716172103980d (patch) | |
tree | 288d8275067df46a8fc58e99184c74955de39bd8 /scene/gui/popup_menu.cpp | |
parent | 7341a8fe1df65dc4d36aa49938575b6099764c0a (diff) | |
parent | 359bebd8c08a626e64ade1ac45c3c925352bd8a4 (diff) |
Merge pull request #37504 from qarmin/out_of_bound_cursor
Fix array out of bounds access caused by uninitialised variables
Diffstat (limited to 'scene/gui/popup_menu.cpp')
-rw-r--r-- | scene/gui/popup_menu.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/popup_menu.cpp b/scene/gui/popup_menu.cpp index 7ed2bbe53b..1e933c9aa1 100644 --- a/scene/gui/popup_menu.cpp +++ b/scene/gui/popup_menu.cpp @@ -1514,6 +1514,7 @@ PopupMenu::PopupMenu() { submenu_over = -1; initial_button_mask = 0; during_grabbed_click = false; + invalidated_click = false; allow_search = false; search_time_msec = 0; |