Bug 165964

Summary: Possible nullptr dereference in FrameView::updateScrollCorner
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: andersca, bfulgham, koivisto, simon.fraser, zalan
Priority: P2    
Version: WebKit Nightly Build   
Hardware: All   
OS: All   

Brent Fulgham
Reported 2016-12-16 11:29:29 PST
It is possible for 'renderer' to be null, but still have a valid cornerStyle: 1. If the document has no body, and the root element has no style, but we do have an owning iframe/frame element, we set a cornerStyle (but do not set the renderer). 2. Later, if no 'm_scrollCorner' member exists, we attempt to create one by accessing the renderer's document, generating a nullptr dereference.
Attachments
Note You need to log in before you can comment on or make changes to this bug.