Bug 223828 - wtf/Vector.h:1276:88: runtime error: reference binding to null pointer of type 'const WebCore::Style::RuleFeature'
Summary: wtf/Vector.h:1276:88: runtime error: reference binding to null pointer of typ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-03-26 16:57 PDT by Chris Dumez
Modified: 2021-03-27 14:06 PDT (History)
8 users (show)

See Also:


Attachments
Patch (2.23 KB, patch)
2021-03-26 17:00 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2021-03-26 16:57:19 PDT
Fix issues found by UBSan in Vector::append(const U*, size_t):
wtf/Vector.h:1276:88: runtime error: reference binding to null pointer of type 'const WebCore::Style::RuleFeature'
wtf/Vector.h:1276:88: runtime error: reference binding to null pointer of type 'const WebCore::LayoutRect'
wtf/Vector.h:1276:88: runtime error: reference binding to null pointer of type 'const WTF::RefPtr<WebCore::CSSStyleSheet, WTF::RawPtrTraits<WebCore::CSSStyleSheet>, WTF::DefaultRefDerefTraits<WebCore::CSSStyleSheet> >'
Comment 1 Chris Dumez 2021-03-26 17:00:24 PDT
Created attachment 424420 [details]
Patch
Comment 2 David Kilzer (:ddkilzer) 2021-03-27 13:04:00 PDT
Comment on attachment 424420 [details]
Patch

r=me
Comment 3 EWS 2021-03-27 14:05:29 PDT
Committed r275140: <https://commits.webkit.org/r275140>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 424420 [details].
Comment 4 Radar WebKit Bug Importer 2021-03-27 14:06:15 PDT
<rdar://problem/75923915>