[webkit-changes] [WebKit/WebKit] 02e576: Cherry-pick 267048 at main (c46b14b21386). https://bu...

Carlos Garcia Campos noreply at github.com
Fri Aug 18 23:55:41 PDT 2023


  Branch: refs/heads/webkitglib/2.42
  Home:   https://github.com/WebKit/WebKit
  Commit: 02e576e5558db18f9021da81252e3b58229ba62b
      https://github.com/WebKit/WebKit/commit/02e576e5558db18f9021da81252e3b58229ba62b
  Author: Carlos Garcia Campos <cgarcia at igalia.com>
  Date:   2023-08-19 (Sat, 19 Aug 2023)

  Changed paths:
    M Source/WebCore/platform/graphics/gbm/GBMBufferSwapchain.cpp

  Log Message:
  -----------
  Cherry-pick 267048 at main (c46b14b21386). https://bugs.webkit.org/show_bug.cgi?id=258831

    [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