mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-01-22 01:30:35 -05:00
fix use of out-of-scope stack memory in 18dfd8f691
when calling do_menu recursively Change-Id: I949cf1cedd80746a7e29b67804470365987046f3
This commit is contained in:
parent
c296c2781a
commit
2e9c2dafb2
1 changed files with 1 additions and 0 deletions
|
|
@ -562,6 +562,7 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected,
|
|||
}
|
||||
#endif
|
||||
int msel = do_menu(context_menu, NULL, NULL, false);
|
||||
title_buf = buf;
|
||||
|
||||
switch (msel)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue