[webkit-changes] [WebKit/WebKit] 8d52b0: Reduce use of WTF_ALLOW_UNSAFE_BUFFER_USAGE in Aux...

Chris Dumez noreply at github.com
Sun Feb 2 22:09:54 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8d52b022564ffb17851071101596828e355b8d52
      https://github.com/WebKit/WebKit/commit/8d52b022564ffb17851071101596828e355b8d52
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2025-02-02 (Sun, 02 Feb 2025)

  Changed paths:
    M Source/WTF/wtf/cocoa/FileSystemCocoa.mm
    M Source/WTF/wtf/glib/SysprofAnnotator.h
    M Source/WTF/wtf/text/ASCIILiteral.h
    M Source/WTF/wtf/text/CString.cpp
    M Source/WTF/wtf/text/CString.h
    M Source/WTF/wtf/text/WTFString.cpp
    M Source/WebCore/Modules/push-api/PushMessageCrypto.cpp
    M Source/WebCore/bridge/objc/objc_class.mm
    M Source/WebCore/platform/sql/SQLiteDatabase.cpp
    M Source/WebCore/platform/xr/openxr/OpenXRInstance.cpp
    M Source/WebKit/Shared/mac/AuxiliaryProcessMac.mm

  Log Message:
  -----------
  Reduce use of WTF_ALLOW_UNSAFE_BUFFER_USAGE in AuxiliaryProcessMac.mm
https://bugs.webkit.org/show_bug.cgi?id=286903

Reviewed by Per Arne Vollan.

* Source/WTF/wtf/cocoa/FileSystemCocoa.mm:
(WTF::FileSystemImpl::openTemporaryFile):
* Source/WTF/wtf/glib/SysprofAnnotator.h:
* Source/WTF/wtf/text/ASCIILiteral.h:
* Source/WTF/wtf/text/CString.cpp:
(WTF::CString::copyBufferIfNeeded):
(WTF::CString::grow):
* Source/WTF/wtf/text/CString.h:
(WTF::CString::data const):
(WTF::CString::spanIncludingNullTerminator const):
(WTF::CString::unsafeSpanIncludingNullTerminator const): Deleted.
* Source/WTF/wtf/text/WTFString.cpp:
(asciiDebug):
* Source/WebCore/Modules/push-api/PushMessageCrypto.cpp:
(WebCore::PushCrypto::decryptAESGCMPayload):
* Source/WebCore/bridge/objc/objc_class.mm:
(JSC::Bindings::convertJSMethodNameToObjc):
* Source/WebCore/platform/sql/SQLiteDatabase.cpp:
(WebCore::SQLiteDatabase::prepareStatementSlow):
(WebCore::SQLiteDatabase::prepareStatement):
(WebCore::SQLiteDatabase::prepareHeapStatementSlow):
(WebCore::SQLiteDatabase::prepareHeapStatement):
* Source/WebCore/platform/xr/openxr/OpenXRInstance.cpp:
(PlatformXR::Instance::Impl::Impl):
* Source/WebKit/Shared/mac/AuxiliaryProcessMac.mm:
(WebKit::compileAndCacheSandboxProfile):
(WebKit::tryApplyCachedSandbox):

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