[webkit-changes] [WebKit/WebKit] c46b14: [GTK] Crash in GraphicsContextGLGBM::allocateDrawB...
Carlos Garcia Campos
noreply at github.com
Fri Aug 18 11:55:07 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c46b14b21386bb3975ae285adcdf1aa1f60abbbf
https://github.com/WebKit/WebKit/commit/c46b14b21386bb3975ae285adcdf1aa1f60abbbf
Author: Carlos Garcia Campos <cgarcia at igalia.com>
Date: 2023-08-18 (Fri, 18 Aug 2023)
Changed paths:
M Source/WebCore/platform/graphics/gbm/GBMBufferSwapchain.cpp
Log Message:
-----------
[GTK] Crash in GraphicsContextGLGBM::allocateDrawBufferObject
https://bugs.webkit.org/show_bug.cgi?id=258831
Reviewed by Michael Catanzaro.
It seems gbm_bo_create() is failing and we use its returned value
without checking it's valid. I don't know why it fails because I can't
reproduce it, so I'm adding an error message and handling the null value
for now.
* Source/WebCore/platform/graphics/gbm/GBMBufferSwapchain.cpp:
(WebCore::GBMBufferSwapchain::getBuffer):
Canonical link: https://commits.webkit.org/267048@main
More information about the webkit-changes
mailing list