Branch: refs/heads/webkitglib/2.50
Home: https://github.com/WebKit/WebKit
Commit: 0cd3647ab64c43d431110aeff5691814e222e91b
https://github.com/WebKit/WebKit/commit/0cd3647ab64c43d431110aeff5691814e222e91b
Author: Michael Catanzaro <[email protected]>
Date: 2025-10-28 (Tue, 28 Oct 2025)
Changed paths:
M LayoutTests/platform/glib/TestExpectations
M LayoutTests/platform/win/TestExpectations
M Source/WebCore/platform/image-decoders/jpegxl/JPEGXLImageDecoder.cpp
Log Message:
-----------
Cherry-pick 302235@main (92abf9e11b92).
https://bugs.webkit.org/show_bug.cgi?id=301514
Crash in WebCore::JPEGXLImageDecoder::decode
https://bugs.webkit.org/show_bug.cgi?id=301514
Reviewed by Carlos Garcia Campos.
JPEGXLDecoder::decode assumes that if JPEGXLDecoder::processInput fails,
it will return JXL_DEC_ERROR. This is a reasonable assumption, but there
is one case where it does not hold. Fix it.
Also, unskip the layout test that's designed to catch precisely this
problem.
Canonical link: https://commits.webkit.org/302235@main
Canonical link: https://commits.webkit.org/298234.215@webkitglib/2.50
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications