Bug 281243
Summary: | Don't repaint SVG elements not in tree and check for nullptr before derefencing enclosing layer | ||
---|---|---|---|
Product: | WebKit | Reporter: | Pedro Varangot <pvarangot> |
Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | rniwa, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | Other | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Pedro Varangot
Found via fuzzing. When using some HTML elements inside a filter element on svg, and modifying the hierarchy with a script, a RenderElement with a null enclosingLayer can dereference a null pointer.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Pedro Varangot
<rdar://problem/137178583>
Pedro Varangot
Pull request: https://github.com/WebKit/WebKit/pull/34995