summaryrefslogtreecommitdiff
path: root/src/helpers/AsyncDialogBox.hpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2025-06-16 17:02:08 +0200
committerGitHub <noreply@github.com>2025-06-16 17:02:08 +0200
commitaba2cfe7a8d5c1658fe8df0095a089cc73db43ab (patch)
treed59eb8149d60838b6602942d0447fdfbec93b8f4 /src/helpers/AsyncDialogBox.hpp
parentd4e8a440874bebed07a5908009a3d854120277ed (diff)
asyncDialogBox: lock box in fdWrite to prevent a uaf (#10759)
Diffstat (limited to 'src/helpers/AsyncDialogBox.hpp')
-rw-r--r--src/helpers/AsyncDialogBox.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/helpers/AsyncDialogBox.hpp b/src/helpers/AsyncDialogBox.hpp
index 0ee0144e..5f94be0d 100644
--- a/src/helpers/AsyncDialogBox.hpp
+++ b/src/helpers/AsyncDialogBox.hpp
@@ -27,6 +27,8 @@ class CAsyncDialogBox {
void kill();
bool isRunning() const;
+ SP<CAsyncDialogBox> lockSelf();
+
// focus priority, only permission popups
bool m_priority = false;