Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AX: AXCoreObject::enumerateDescendants is missing a null check on obj…
…ect children https://bugs.webkit.org/show_bug.cgi?id=259138 rdar://100626906 Reviewed by Chris Fleizach. Prevent nullptr crashes by checking that each child from AXCoreObject::children() is not null in AXCoreObject::enumerateDescendants. In a future patch, we should make `AccessibilityChildrenVector` be a Vector of `Ref`s rather than a Vector of `RefPtr`s as it is today. RefPtr does not make sense for this type -- either we have a child or we don't. * Source/WebCore/accessibility/AccessibilityObjectInterface.h: (WebCore::Accessibility::enumerateDescendants): Canonical link: https://commits.webkit.org/265992@main
- Loading branch information