Closed Bug 1592555 Opened 5 years ago Closed 5 years ago

AudioMixer should not accept a null Receiver

Categories

(Core :: Audio/Video: MediaStreamGraph, defect, P3)

All
Unspecified
defect

Tracking

()

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: achronop, Assigned: achronop)

Details

Attachments

(1 file)

Right now it is allowed to add a null receiver in AudioMixer's callback list. This would create a crash in AudioMixer::FinishMixing() . We should verify that the receiver is not null before adding it to the list.

A null MixerCallbackReceiver in the AudioMixer callback list can create a crash when the AudioMixer::FinishMixing() is being called. Verify that the receiver is not null before adding it in the list.

Pushed by achronopoulos@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/02f6d5d52fa9 Not allow adding a null receiver in the AudioMixer callback list. r=padenot
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: