Firefox · Graphics
CVE-2026-74969
UAF in Graphics
Overview
Medium
Severity
—
CVSS
No
Exploited ITW
Fixed
Fix Status
Files Changed
gfx/thebes/gfxTextRun.cpp
Patch
diff --git a/gfx/thebes/gfxTextRun.cpp b/gfx/thebes/gfxTextRun.cpp
index d05fe57ef83..5b68d6602b4 100644
--- a/gfx/thebes/gfxTextRun.cpp
+++ b/gfx/thebes/gfxTextRun.cpp
@@ -3432,7 +3432,7 @@ already_AddRefed<gfxFont> gfxFontGroup::FindFontForChar(
loading = true;
}
- gfxFontEntry* pfe = ufe->GetPlatformFontEntry();
+ RefPtr<gfxFontEntry> pfe = ufe->GetPlatformFontEntry();
if (pfe && (pfe->HasCharacter(aCh) ||
(fallbackChar && pfe->HasCharacter(fallbackChar)))) {
font = GetFontAt(i, aCh, &loading);
Loading diff…
References
On This Page