fix use of out-of-scope stack memory in 18dfd8f691
rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]>
| Newsgroups | gmane.comp.systems.archos.rockbox.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit 2e9c2dafb2e14b16c940ec0db2793a84967afc9d Author: Christian Soffke <[email protected]> Date: Wed Jan 14 17:11:50 2026 +0100 fix use of out-of-scope stack memory in 18dfd8f691 when calling do_menu recursively Change-Id: I949cf1cedd80746a7e29b67804470365987046f3 diff --git a/apps/menu.c b/apps/menu.c index 89c29f4cae..8274b82f8b 100644 --- a/apps/menu.c +++ b/apps/menu.c @@ -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) { -- rockbox-cvs mailing list [email protected] https://lists.haxx.se/mailman/listinfo/rockbox-cvs