Firefox · Graphics
CVE-2025-14861
Memory Corruption in Graphics
Overview
High
Severity
—
CVSS
No
Exploited ITW
Fixed
Fix Status
Changed Functions
| Function | Change | Notes |
|---|---|---|
ifgfx/layers/apz/src/AsyncPanZoomController.cpp |
modified |
Files Changed
gfx/layers/apz/src/AsyncPanZoomController.cpp
Patch
diff --git a/gfx/layers/apz/src/AsyncPanZoomController.cpp b/gfx/layers/apz/src/AsyncPanZoomController.cpp
index dd8617eb6f0..40fd54b82bf 100644
--- a/gfx/layers/apz/src/AsyncPanZoomController.cpp
+++ b/gfx/layers/apz/src/AsyncPanZoomController.cpp
@@ -929,7 +929,12 @@ void AsyncPanZoomController::Destroy() {
MonitorAutoLock lock(mRefPtrMonitor);
mGeckoContentController = nullptr;
if (mGestureEventListener) {
- mGestureEventListener->Destroy();
+ APZThreadUtils::RunOnControllerThread(NS_NewRunnableFunction(
+ "AsyncPanZoomController: destroying mGestureEventListener",
+ [listener = std::move(mGestureEventListener)]() {
+ listener->Destroy();
+ }));
+
mGestureEventListener = nullptr;
}
}
Loading diff…
References
On This Page