Bug 275481

Summary: [ANGLE] Protect from faulty GPU drivers, reporting nullptr as GL_EXTENSION string
Product: WebKit Reporter: Nikolas Zimmermann <zimmermann>
Component: ANGLEAssignee: Nikolas Zimmermann <zimmermann>
Status: RESOLVED FIXED    
Severity: Normal CC: djg, kbr, kkinnunen, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Nikolas Zimmermann
Reported 2024-06-14 04:22:00 PDT
On a particular i.MX8 board any WebGL demo crashes in ANGLE initialization, reporting a nullptr instead of a proper null-terminated string, when calling getStringIFunction(GL_EXTENSIONS, i) in libANGLEs GetIndexExtensions() method in renderer/gl/FunctionsGL.cpp
Attachments
Nikolas Zimmermann
Comment 1 2024-06-14 04:23:07 PDT
EWS
Comment 2 2024-06-14 08:15:39 PDT
Committed 280016@main (86c1918fdd79): <https://commits.webkit.org/280016@main> Reviewed commits have been landed. Closing PR #29819 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2024-06-14 08:16:15 PDT
Note You need to log in before you can comment on or make changes to this bug.