| Summary: | null_ptr deref in BoxTree::layoutBoxForRenderer | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Abigail F <abigail_fox> | ||||||||||
| Component: | Layout and Rendering | Assignee: | zalan <zalan> | ||||||||||
| Status: | RESOLVED FIXED | ||||||||||||
| Severity: | Normal | CC: | abigail_fox, beidson, bfulgham, cgarcia, csaavedra, darin, fred.wang, gpoo, koivisto, mmaxfield, msaboff, rbuis, simon.fraser, webkit-bug-importer, wenson_hsieh, zalan | ||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||
| Version: | Other | ||||||||||||
| Hardware: | Unspecified | ||||||||||||
| OS: | Unspecified | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Abigail F
2022-10-19 14:30:51 PDT
Created attachment 463100 [details]
repro_1017b.html
Looks like the null pointer is at LayoutIntegrationBoxTree.cpp:290 calling downcast. Seems like layoutBoxForRenderer returned a reference that was a dereferenced null pointer. it's most likely this deference in BoxTree::layoutBoxForRenderer return *const_cast<RenderObject&>(renderer).layoutBox(); so for some reason we end up with a renderer without an associated layout box. Created attachment 463128 [details]
Patch
Created attachment 463131 [details]
[fast-cq]Patch
Committed 255821@main (57f8ae9715e9): <https://commits.webkit.org/255821@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 463131 [details]. |