[webkit-changes] [WebKit/WebKit] f3073f: WebCodecs AV1 codec string validation is buggy

youennf noreply at github.com
Mon Feb 5 02:54:11 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f3073fb3636d3912a7ab1d50200191ac1e570e8f
      https://github.com/WebKit/WebKit/commit/f3073fb3636d3912a7ab1d50200191ac1e570e8f
  Author: Youenn Fablet <youennf at gmail.com>
  Date:   2024-02-05 (Mon, 05 Feb 2024)

  Changed paths:
    M Source/WebKit/GPUProcess/webrtc/LibWebRTCCodecsProxy.mm

  Log Message:
  -----------
  WebCodecs AV1 codec string validation is buggy
rdar://122084515
https://bugs.webkit.org/show_bug.cgi?id=268538

Reviewed by Eric Carlson.

We just validate the profile so just need to ensure it is there.
We fix the length check and add a '.' check.

Covered by AV1 test running on devices with AV1 decoders.

* Source/WebKit/GPUProcess/webrtc/LibWebRTCCodecsProxy.mm:
(WebKit::validateCodecString):

Canonical link: https://commits.webkit.org/274089@main




More information about the webkit-changes mailing list