[Webkit-unassigned] [Bug 256432] New: Fix false-positive bad release after calling H264BufferToCMSampleBuffer/H265BufferToCMSampleBuffer

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun May 7 12:16:51 PDT 2023


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

            Bug ID: 256432
           Summary: Fix false-positive bad release after calling
                    H264BufferToCMSampleBuffer/H265BufferToCMSampleBuffer
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebRTC
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ddkilzer at webkit.org
                CC: youennf at gmail.com

Fix false-positive bad release after calling H264BufferToCMSampleBuffer() and H265BufferToCMSampleBuffer().

Both of these methods return +1 retained CMSampleBufferRef objects, but are not instrumented with CF_RETURNS_RETAINED, so the clang static analyzer flags in the -decodeData:size:timeStamp: methods of RTCVideoDecoderH264 and RTCVideoDecoderH265.

-- 
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/20230507/1c6f407f/attachment.htm>


More information about the webkit-unassigned mailing list