Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 5d7fbcf94043bea3474ec4faf9e14d47afee127a https://github.com/WebKit/WebKit/commit/5d7fbcf94043bea3474ec4faf9e14d47afee127a Author: Simon Pena <sp...@igalia.com> Date: 2025-09-12 (Fri, 12 Sep 2025)
Changed paths: M Source/WebKit/UIProcess/XR/openxr/PlatformXROpenXR.cpp Log Message: ----------- [GTK][WPE][OpenXR] Check GBM device before attempting to use it https://bugs.webkit.org/show_bug.cgi?id=298721 Reviewed by Adrian Perez de Castro. I don't expect this to happen in a properly configured environment, but if GBMDevice::create fails (because the can't open the DRM nodes), m_gbmDevice will be null, and attempting to dereference it in OpenXRCoordinator::createGLDisplay leads to a crash. This adds a null check to avoid that. * Source/WebKit/UIProcess/XR/openxr/PlatformXROpenXR.cpp: (WebKit::OpenXRCoordinator::createGLDisplay const): Canonical link: https://commits.webkit.org/299886@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes