Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 92abf9e11b92372280af4e2d97caec6ebd6fbe61
https://github.com/WebKit/WebKit/commit/92abf9e11b92372280af4e2d97caec6ebd6fbe61
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:
-----------
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
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications