The return value from `gfx::SourceSurfaceSkia::Map()` wasn't being verified which could have potentially lead to a null pointer dereference. External Reference: https://www.mozilla.org/en-US/security/advisories/mfsa2023-05/#CVE-2023-25733