Bug 244118

Summary: RemoteImageBufferProxy::getPixelBuffer() uses too small PixelBuffer for resolutionScale() > 1 ImageBuffers
Product: WebKit Reporter: Kimmo Kinnunen <kkinnunen>
Component: CanvasAssignee: Kimmo Kinnunen <kkinnunen>
Status: RESOLVED FIXED    
Severity: Normal CC: dino, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 240056    

Description Kimmo Kinnunen 2022-08-19 02:29:48 PDT
RemoteImageBufferProxy::getPixelBuffer() uses too small PixelBuffer for resolutionScale() > 1 ImageBuffers

This causes GPUP write big image to the SHM and WP read small image from the SHM.

Blocks bug 240056 as that makes SharedMemory more strict.
Comment 1 Radar WebKit Bug Importer 2022-08-19 02:30:14 PDT
<rdar://problem/98873549>
Comment 2 Kimmo Kinnunen 2022-08-19 02:45:13 PDT
Pull request: https://github.com/WebKit/WebKit/pull/3474
Comment 3 EWS 2022-08-22 03:38:54 PDT
Committed 253639@main (bb61b0638af6): <https://commits.webkit.org/253639@main>

Reviewed commits have been landed. Closing PR #3474 and removing active labels.