[Webkit-unassigned] [Bug 210353] Null ptr Deref in RadioButtonGroups::updateCheckedState

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 10 13:54:40 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=210353

--- Comment #5 from Chris Dumez <cdumez at apple.com> ---
Comment on attachment 396118
  --> https://bugs.webkit.org/attachment.cgi?id=396118
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=396118&action=review

> Source/WebCore/dom/RadioButtonGroups.cpp:231
> +    auto* group = m_nameToGroupMap.get(element.name().impl());

if (auto* group = m_nameToGroupMap.get(element.name().impl()))
    group->updateCheckedState(element)

would be more concise.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200410/67baabd4/attachment.htm>


More information about the webkit-unassigned mailing list