Changeset 254576 in webkit
- Timestamp:
- Jan 15, 2020 10:40:56 AM (4 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r254574 r254576 1 2020-01-15 Pinki Gyanchandani <pgyanchandani@apple.com> 2 3 Null Ptr Deref @ WebCore::DocumentLoader::clearMainResourceLoader 4 https://bugs.webkit.org/show_bug.cgi?id=206204 5 6 Added a NULL pointer check for FrameLoader. If FramLoader is NULL then return instead of 7 accessing activeDocumentLoader. 8 9 Reviewed by Alex Christensen. 10 11 * loader/change-src-during-iframe-load-crash-expected.txt: Added. 12 * loader/change-src-during-iframe-load-crash.html: Added. 13 1 14 2020-01-15 Jer Noble <jer.noble@apple.com> 2 15 -
trunk/LayoutTests/http/tests/security/http-0.9/xhr-blocked-expected.txt
r208732 r254576 1 asdf 1 2 ALERT: PASS 2 3 -
trunk/Source/WebCore/ChangeLog
r254574 r254576 1 2020-01-15 Pinki Gyanchandani <pgyanchandani@apple.com> 2 3 Null Ptr Deref @ WebCore::DocumentLoader::clearMainResourceLoader 4 https://bugs.webkit.org/show_bug.cgi?id=206204 5 6 Reviewed by Alex Christensen. 7 8 Test: loader/change-src-during-iframe-load-crash.html 9 10 * loader/DocumentLoader.cpp: 11 (WebCore::DocumentLoader::frameLoader const): 12 (WebCore::DocumentLoader::clearMainResourceLoader): 13 1 14 2020-01-15 Jer Noble <jer.noble@apple.com> 2 15 -
trunk/Source/WebCore/loader/DocumentLoader.cpp
r254087 r254576 1273 1273 m_loadingMainResource = false; 1274 1274 1275 if (this == frameLoader()->activeDocumentLoader()) 1275 auto* frameLoader = this->frameLoader(); 1276 if (!frameLoader) 1277 return; 1278 1279 if (this == frameLoader->activeDocumentLoader()) 1276 1280 checkLoadComplete(); 1277 1281 }
Note: See TracChangeset
for help on using the changeset viewer.