Changeset 179892 in webkit
- Timestamp:
- Feb 10, 2015, 3:45:53 PM (12 years ago)
- Location:
- branches/safari-600.1.4.15-branch
- Files:
-
- 3 edited
- 2 copied
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/media/video-ended-seek-crash-expected.txt (copied) (copied from trunk/LayoutTests/media/video-ended-seek-crash-expected.txt )
-
LayoutTests/media/video-ended-seek-crash.html (copied) (copied from trunk/LayoutTests/media/video-ended-seek-crash.html )
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/html/HTMLMediaElement.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-600.1.4.15-branch/LayoutTests/ChangeLog
r179735 r179892 1 2015-02-10 Babak Shafiei <bshafiei@apple.com> 2 3 Merge r178426. 4 5 2015-01-14 Jer Noble <jer.noble@apple.com> 6 7 Null-deref crash when seeking immediately before looping. 8 https://bugs.webkit.org/show_bug.cgi?id=140394 9 10 Reviewed by Eric Carlson. 11 12 * media/video-ended-seek-crash-expected.txt: Added. 13 * media/video-ended-seek-crash.html: Added. 14 1 15 2015-02-05 Lucas Forschler <lforschler@apple.com> 2 16 -
branches/safari-600.1.4.15-branch/Source/WebCore/ChangeLog
r179891 r179892 1 2015-02-10 Babak Shafiei <bshafiei@apple.com> 2 3 Merge r178426. 4 5 2015-01-14 Jer Noble <jer.noble@apple.com> 6 7 Null-deref crash when seeking immediately before looping. 8 https://bugs.webkit.org/show_bug.cgi?id=140394 9 10 Reviewed by Eric Carlson. 11 12 It is possible for finishSeek() to be called when a seek() has caused a pending seek task 13 to be scheduled, but before that pending seek task is run. In this case, if a seek request 14 is issued, the existing pending seek task will not be cancelled, which will cause a crash 15 when the pending seek task is run. 16 17 When checking whether an existing seek task needs to be cancelled, check the actual timer, 18 rather than the m_seeking boolean, so that this case is covered. 19 20 Test: media/video-ended-seek-crash.html 21 22 * html/HTMLMediaElement.cpp: 23 (WebCore::HTMLMediaElement::seekWithTolerance): 24 1 25 2015-02-10 Babak Shafiei <bshafiei@apple.com> 2 26 -
branches/safari-600.1.4.15-branch/Source/WebCore/html/HTMLMediaElement.cpp
r179219 r179892 2372 2372 // already running. Abort that other instance of the algorithm without waiting for the step that 2373 2373 // it is running to complete. 2374 if (m_seek ing) {2374 if (m_seekTimer.isActive()) { 2375 2375 m_seekTimer.stop(); 2376 2376 m_pendingSeek = nullptr;
Note:
See TracChangeset
for help on using the changeset viewer.