While reviewing a common crash (Bug 262556) I noticed that the missing nullptr check was the return value for CMSampleBufferGetSampleAttachmentsArray. CMSampleBufferGetSampleAttachmentsArray declares that its return value as CM_NULLABLE, to warn users that a nullptr value might be returned. I reviewed other code with CMSampleBufferGetSampleAttachmentsArray, and while we almost always check the return value, there was one places where we did not. This patch adds the missing nullptr check. <rdar://116485149>
Pull request: https://github.com/WebKit/WebKit/pull/18645
Committed 271496@main (bcde08d1581e): <https://commits.webkit.org/271496@main> Reviewed commits have been landed. Closing PR #18645 and removing active labels.