Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 64d37a3906cab6ce0e50d4d10c81327f2ba2aef9
      
https://github.com/WebKit/WebKit/commit/64d37a3906cab6ce0e50d4d10c81327f2ba2aef9
  Author: Claudio Saavedra <[email protected]>
  Date:   2026-08-24 (Mon, 24 Aug 2026)

  Changed paths:
    M Source/WebCore/platform/graphics/WOFFFileFormat.cpp

  Log Message:
  -----------
  Drop WTF_ALLOW_UNSAFE_BUFFER_USAGE from WOFFFileFormat
https://bugs.webkit.org/show_bug.cgi?id=283899

Reviewed by Adrian Perez de Castro.

The old reads were unaligned loads, undefined regardless of the
annotation; copying the bytes out is well-defined and lowers to the same
instruction. The table directory keeps a cast because its cursor is
provably four-byte aligned: it starts at 12 and advances by 16.

* Source/WebCore/platform/graphics/WOFFFileFormat.cpp:
(WebCore::readUInt32):
(WebCore::readUInt16):
(WebCore::convertWOFFToSfnt):

Canonical link: https://commits.webkit.org/319702@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to