diff options
| author | dok.slade <dok.slade@gmail.com> | 2026-11-11 15:59:56 +0000 |
|---|---|---|
| committer | dok.slade <dok.slade@gmail.com> | 2026-11-13 00:23:25 +0100 |
| commit | 3ad596102a29095b23e58d509e2fd5d130241350 (patch) | |
| tree | 611a7e21450f6a2a24caa9eab09e4f2d82d014b0 /Source/Android/app/src | |
| parent | db2afcbdf8f5175a6b8414d9f5e21c978775f651 (diff) | |
DolphinQt: Fix use-after-free of FilesystemWidget context menu
The context menu was created with Qt::WA_DeleteOnClose, but its actions
open modal dialogs from within QMenu's own activation code. A nested
event loop could process the menu's deferred deletion before control
returned to QMenu, which then accessed freed memory, causing crashes or
heap corruption.
Own the menu with a std::unique_ptr so it is only destroyed once
QMenu::exec has returned.
Fixes https://bugs.dolphin-emu.org/issues/13816
Diffstat (limited to 'Source/Android/app/src')
0 files changed, 0 insertions, 0 deletions
