Bug 212036

Summary: Null Ptr Deref @ WebCore::CSSValue::classType
Product: WebKit Reporter: Pinki Gyanchandani <pgyanchandani>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: esprehn+autocc, ews-watchlist, ggaren, glenn, gyuyoung.kim, macpherson, menard
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description Pinki Gyanchandani 2020-05-18 11:45:14 PDT
Null Ptr Deref @ WebCore::CSSValue::classType
Comment 1 Pinki Gyanchandani 2020-05-18 11:59:45 PDT
This issue is similar to https://bugs.webkit.org/show_bug.cgi?id=208316. In here m_value.calc() is NULL and but we are trying to access function cssText() without nullptr check.
Comment 2 Pinki Gyanchandani 2020-05-18 12:17:24 PDT
Created attachment 399666 [details]
Patch
Comment 3 Pinki Gyanchandani 2020-05-18 12:31:01 PDT
Created attachment 399667 [details]
Patch
Comment 4 Pinki Gyanchandani 2020-05-18 12:43:01 PDT
rdar://problem/63200254
Comment 5 Geoffrey Garen 2020-05-18 13:26:13 PDT
Comment on attachment 399667 [details]
Patch

r=me
Comment 6 EWS 2020-05-18 13:49:36 PDT
Committed r261830: <https://trac.webkit.org/changeset/261830>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 399667 [details].