Changeset 271261 in webkit
- Timestamp:
- Jan 7, 2021, 2:40:14 PM (6 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r271254 r271261 1 2021-01-07 Eric Carlson <eric.carlson@apple.com> 2 3 [MSE] Fix potential crash in SourceBufferPrivateAVFObjC::destroyParser 4 https://bugs.webkit.org/show_bug.cgi?id=220434 5 6 Reviewed by Jer Noble. 7 8 * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm: 9 (WebCore::SourceBufferPrivateAVFObjC::destroyParser): NULL-check 10 m_mediaSource->player() before using it. 11 1 12 2021-01-07 Fujii Hironori <Hironori.Fujii@sony.com> 2 13 -
trunk/Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm
r270807 r271261 625 625 return; 626 626 #if HAVE(AVSTREAMSESSION) && ENABLE(LEGACY_ENCRYPTED_MEDIA) 627 if (m_mediaSource && m_mediaSource->player() ->hasStreamSession())627 if (m_mediaSource && m_mediaSource->player() && m_mediaSource->player()->hasStreamSession()) 628 628 [m_mediaSource->player()->streamSession() removeStreamDataParser:parser]; 629 629 #endif
Note:
See TracChangeset
for help on using the changeset viewer.