[Webkit-unassigned] [Bug 229661] New: [WebRTC] Leak or over-release of CFPixelBufferRef returned from webrtc::createPixelBufferFromFrame()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 29 19:57:52 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=229661

            Bug ID: 229661
           Summary: [WebRTC] Leak or over-release of CFPixelBufferRef
                    returned from webrtc::createPixelBufferFromFrame()
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ddkilzer at webkit.org
                CC: eric.carlson at apple.com, jer.noble at apple.com

Leak or over-release of CFPixelBufferRef returned from webrtc::createPixelBufferFromFrame().

Found by the clang static analyzer:

OpenSource/Source/ThirdParty/libwebrtc/Source/webrtc/sdk/WebKit/WebKitDecoderReceiver.cpp:177:9: warning: Incorrect decrement of the reference count of an object that is not owned at this point by the caller
        CFRelease(pixelBuffer);
        ^~~~~~~~~~~~~~~~~~~~~~
OpenSource/Source/ThirdParty/libwebrtc/Source/webrtc/sdk/WebKit/WebKitDecoderReceiver.cpp:177:9: warning: Incorrect decrement of the reference count of an object that is not owned at this point by the caller
        CFRelease(pixelBuffer);
        ^~~~~~~~~~~~~~~~~~~~~~
OpenSource/Source/ThirdParty/libwebrtc/Source/webrtc/sdk/WebKit/WebKitDecoderReceiver.cpp:177:9: warning: Incorrect decrement of the reference count of an object that is not owned at this point by the caller
        CFRelease(pixelBuffer);
        ^~~~~~~~~~~~~~~~~~~~~~
3 warnings generated.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210830/3870c0d0/attachment.htm>


More information about the webkit-unassigned mailing list