Changeset 281123 in webkit
- Timestamp:
- Aug 16, 2021 4:58:07 PM (3 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r281110 r281123 1 2021-08-16 Alex Christensen <achristensen@webkit.org> 2 3 Fix null crash after r281110 4 https://bugs.webkit.org/show_bug.cgi?id=225737 5 6 * loader/SubresourceLoader.cpp: 7 (WebCore::SubresourceLoader::reportResourceTiming): 8 I saw a nullptr crash here in EWS from bug 229167. 9 Looks like there's a case where we can call reportResourceTiming without a resource. 10 Early return if m_resource is null. 11 1 12 2021-08-16 Alex Christensen <achristensen@webkit.org> 2 13 -
trunk/Source/WebCore/loader/SubresourceLoader.cpp
r280859 r281123 886 886 void SubresourceLoader::reportResourceTiming(const NetworkLoadMetrics& networkLoadMetrics) 887 887 { 888 if (! ResourceTimingInformation::shouldAddResourceTiming(*m_resource))888 if (!m_resource || !ResourceTimingInformation::shouldAddResourceTiming(*m_resource)) 889 889 return; 890 890
Note: See TracChangeset
for help on using the changeset viewer.