Closed Bug 1727133 Opened 4 years ago Closed 4 years ago

CBCS encryption with 0:0 pattern causes lock up in clearkey CDM

Categories

(Core :: Audio/Video: Playback, defect, P1)

defect

Tracking

()

RESOLVED FIXED
93 Branch
Tracking Status
firefox93 --- fixed

People

(Reporter: bryce, Assigned: bryce)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

DecryptCbcs doesn't work with a 0:0 pattern. It will get stuck in a hot loop because the processing code assumes that we will process at least 1 block of data.

I think that a 0:0 pattern is unintuitive, but it's the convention for full encryption (which means all audio will use it). So let's not fail when we run into it.

This may be the cause of bug 1644879. Will check that once I fix, and dupe if needed.

Pushed by bvandyk@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8c2f03f7897c Handle clear key cbcs media with 0:0 pattern. r=jolin
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 93 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: