Chromium Code Reviews
DescriptionHTMLMediaElement::clearMediaPlayer should acquire MediaElementAudioSourceNode::lock()
Crash report: https://cluster-fuzz.appspot.com/testcase?key=5123869056696320
There is threading race between HTMLMediaElement::clearMediaPlayer and other methods which try to use HTMLMediaElement::m_player. clearMediaPlayer has to acquire a lock before clearing m_player, just like createMediaPlayer is acquiring the lock before clearing m_player.
c.f., https://chromiumcodereview.appspot.com/23691033/ is a CL that added the lock to createMediaPlayer.
BUG=320344
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=162730
Patch Set 1 #
Total comments: 10
Patch Set 2 : #
Messages
Total messages: 9 (0 generated)
|
||||||||||||||||||||||||||||