[webkit-changes] [WebKit/WebKit] e39e78: Address safer C++ static analysis warnings in Imag...

Chris Dumez noreply at github.com
Fri Feb 7 07:15:15 PST 2025


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

  Changed paths:
    M Source/WebCore/SaferCPPExpectations/MemoryUnsafeCastCheckerExpectations
    M Source/WebCore/SaferCPPExpectations/UncountedCallArgsCheckerExpectations
    M Source/WebCore/SaferCPPExpectations/UncountedLocalVarsCheckerExpectations
    M Source/WebCore/platform/MediaSample.h
    M Source/WebCore/platform/graphics/avfoundation/objc/ImageDecoderAVFObjC.h
    M Source/WebCore/platform/graphics/avfoundation/objc/ImageDecoderAVFObjC.mm

  Log Message:
  -----------
  Address safer C++ static analysis warnings in ImageDecoderAVFObjC.mm
https://bugs.webkit.org/show_bug.cgi?id=287195

Reviewed by Geoffrey Garen.

* Source/WebCore/SaferCPPExpectations/MemoryUnsafeCastCheckerExpectations:
* Source/WebCore/SaferCPPExpectations/UncountedCallArgsCheckerExpectations:
* Source/WebCore/SaferCPPExpectations/UncountedLocalVarsCheckerExpectations:
* Source/WebCore/platform/MediaSample.h:
(WebCore::MediaSample::isImageDecoderAVFObjCSample const):
* Source/WebCore/platform/graphics/avfoundation/objc/ImageDecoderAVFObjC.h:
* Source/WebCore/platform/graphics/avfoundation/objc/ImageDecoderAVFObjC.mm:
(isType):
(WebCore::toSample):
(WebCore::toProtectedSample):
(WebCore::ImageDecoderAVFObjC::storeSampleBuffer):
(WebCore::ImageDecoderAVFObjC::frameIsCompleteAtIndex const):
(WebCore::ImageDecoderAVFObjC::frameDurationAtIndex const):
(WebCore::ImageDecoderAVFObjC::frameHasAlphaAtIndex const):
(WebCore::ImageDecoderAVFObjC::frameInfos const):
(WebCore::ImageDecoderAVFObjC::createFrameImageAtIndex):

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