[webkit-changes] [WebKit/WebKit] 4f6c34: Further reduce use of WTF_ALLOW_UNSAFE_BUFFER_USAG...

Chris Dumez noreply at github.com
Wed Dec 25 17:00:56 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4f6c347b9d21d2f6c42e2e5b9c5c7e9017283f95
      https://github.com/WebKit/WebKit/commit/4f6c347b9d21d2f6c42e2e5b9c5c7e9017283f95
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2024-12-25 (Wed, 25 Dec 2024)

  Changed paths:
    M Source/WebCore/Modules/applepay/PaymentRequestValidator.mm
    M Source/WebCore/Modules/mediasource/MediaSource.cpp
    M Source/WebCore/Modules/mediastream/RTCRtpSFrameTransform.cpp
    M Source/WebCore/Modules/mediastream/RTCRtpSFrameTransformer.cpp
    M Source/WebCore/Modules/mediastream/SFrameUtils.cpp
    M Source/WebCore/Modules/mediastream/SFrameUtils.h
    M Source/WebCore/Modules/mediastream/STUNMessageParsing.cpp
    M Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCDataChannelHandler.cpp
    M Source/WebCore/Modules/push-api/PushDatabase.cpp
    M Source/WebCore/Modules/push-api/PushMessageCrypto.cpp
    M Source/WebCore/Modules/push-api/cocoa/PushCryptoCocoa.cpp
    M Source/WebCore/Modules/speech/SpeechRecognitionUpdate.cpp
    M Source/WebCore/Modules/streams/ReadableStreamSink.cpp
    M Source/WebCore/Modules/webcodecs/WebCodecsAudioDecoder.cpp
    M Source/WebCore/Modules/webcodecs/WebCodecsVideoDecoder.cpp

  Log Message:
  -----------
  Further reduce use of WTF_ALLOW_UNSAFE_BUFFER_USAGE in WebCore/Modules
https://bugs.webkit.org/show_bug.cgi?id=285138

Reviewed by Geoffrey Garen.

* Source/WebCore/Modules/applepay/PaymentRequestValidator.mm:
(WebCore::validateCountryCode):
* Source/WebCore/Modules/mediasource/MediaSource.cpp:
(WebCore::convertEnumerationToString):
* Source/WebCore/Modules/mediastream/RTCRtpSFrameTransform.cpp:
(WebCore::transformFrame):
* Source/WebCore/Modules/mediastream/RTCRtpSFrameTransformer.cpp:
* Source/WebCore/Modules/mediastream/SFrameUtils.cpp:
(WebCore::findEscapeRbspPatterns):
(WebCore::toRbsp):
* Source/WebCore/Modules/mediastream/SFrameUtils.h:
(WebCore::encodeBigEndian):
* Source/WebCore/Modules/mediastream/STUNMessageParsing.cpp:
(WebCore::WebRTC::getSTUNOrTURNMessageLengths):
* Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCDataChannelHandler.cpp:
(WebCore::LibWebRTCDataChannelHandler::OnMessage):
* Source/WebCore/Modules/push-api/PushDatabase.cpp:
* Source/WebCore/Modules/push-api/PushMessageCrypto.cpp:
(WebCore::PushCrypto::computeAES128GCMPaddingLength):
(WebCore::PushCrypto::decryptAES128GCMPayload):
(WebCore::PushCrypto::decryptAESGCMPayload):
* Source/WebCore/Modules/push-api/cocoa/PushCryptoCocoa.cpp:
(WebCore::PushCrypto::decryptAES128GCM):
* Source/WebCore/Modules/speech/SpeechRecognitionUpdate.cpp:
(WebCore::convertEnumerationToString):
* Source/WebCore/Modules/streams/ReadableStreamSink.cpp:
(WebCore::ReadableStreamToSharedBufferSink::enqueue):
* Source/WebCore/Modules/webcodecs/WebCodecsAudioDecoder.cpp:
(WebCore::createAudioDecoderConfig):
* Source/WebCore/Modules/webcodecs/WebCodecsVideoDecoder.cpp:
(WebCore::createVideoDecoderConfig):

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