[webkit-changes] [WebKit/WebKit] 45e0e3: [CoreIPC] ASAN_TRAP in WebKit::ImageBufferShareabl...
pratiksha-99
noreply at github.com
Fri Jan 31 14:51:45 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 45e0e3bd236dbae039329cfa14ce8a134e77f68f
https://github.com/WebKit/WebKit/commit/45e0e3bd236dbae039329cfa14ce8a134e77f68f
Author: Pratiksha Choudhury <p_choudhury at apple.com>
Date: 2025-01-31 (Fri, 31 Jan 2025)
Changed paths:
A LayoutTests/ipc/create-image-buffer-crash-expected.txt
A LayoutTests/ipc/create-image-buffer-crash.html
M Source/WebCore/platform/graphics/ImageBufferPixelFormat.h
M Source/WebCore/platform/graphics/PixelBuffer.cpp
M Source/WebCore/platform/graphics/PixelBufferConversion.cpp
M Source/WebCore/platform/graphics/PixelFormat.cpp
M Source/WebCore/platform/graphics/PixelFormat.h
M Source/WebKit/GPUProcess/graphics/RemoteImageBufferSet.h
M Source/WebKit/Shared/RemoteLayerTree/RemoteLayerBackingStore.mm
M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in
Log Message:
-----------
[CoreIPC] ASAN_TRAP in WebKit::ImageBufferShareableMappedIOSurfaceBackend::create
https://bugs.webkit.org/show_bug.cgi?id=286756
rdar://143264721
Reviewed by Said Abou-Hallawa.
Added HAVE(IOSURFACE_RGB10) guards around all RGB10|A8 format usage.
* LayoutTests/ipc/create-image-buffer-crash-expected.txt: Added.
* LayoutTests/ipc/create-image-buffer-crash.html: Added.
* Source/WebCore/platform/graphics/ImageBufferPixelFormat.h:
(WebCore::convertToPixelFormat):
* Source/WebCore/platform/graphics/PixelBuffer.cpp:
(WebCore::PixelBuffer::supportedPixelFormat):
* Source/WebCore/platform/graphics/PixelBufferConversion.cpp:
(WebCore::makeVImageCGImageFormat):
(WebCore::convertImagePixelsSkia):
* Source/WebCore/platform/graphics/PixelFormat.cpp:
(WebCore::operator<<):
* Source/WebCore/platform/graphics/PixelFormat.h:
* Source/WebKit/GPUProcess/graphics/RemoteImageBufferSet.h:
(WebKit::RemoteImageBufferSet::isOpaque const):
* Source/WebKit/Shared/RemoteLayerTree/RemoteLayerBackingStore.mm:
(WebKit::RemoteLayerBackingStore::bytesPerPixel const):
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:
Canonical link: https://commits.webkit.org/289634@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list