[webkit-changes] [WebKit/WebKit] 7de31d: REGRESSION(287621 at main): ASSERTION FAILED: isASCII...

Fujii Hironori noreply at github.com
Tue Dec 10 19:45:44 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7de31d31ea5153593ef09e4197251f6351fae5ed
      https://github.com/WebKit/WebKit/commit/7de31d31ea5153593ef09e4197251f6351fae5ed
  Author: Fujii Hironori <Hironori.Fujii at sony.com>
  Date:   2024-12-10 (Tue, 10 Dec 2024)

  Changed paths:
    M Source/WebCore/platform/image-decoders/ico/ICOImageDecoder.cpp

  Log Message:
  -----------
  REGRESSION(287621 at main): ASSERTION FAILED: isASCII(span[i]) in std::span<const LChar> WTF::operator""_span(const char *, size_t) under ICOImageDecoder::imageTypeAtIndex
https://bugs.webkit.org/show_bug.cgi?id=284437

Reviewed by Yusuke Suzuki.

<https://commits.webkit.org/287621@main> introduced an assertion
failure in operator""_span for ICOImageDecoder because '\x89' isn't an
ASCII character.

Use unsafeMakeSpan instead.

* Source/WebCore/platform/image-decoders/ico/ICOImageDecoder.cpp:
(WebCore::ICOImageDecoder::imageTypeAtIndex):

Canonical link: https://commits.webkit.org/287650@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