[Webkit-unassigned] [Bug 209987] Use-after-move of `formState` in WebCore::PolicyChecker::checkNavigationPolicy()
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Apr 3 15:58:51 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=209987
--- Comment #6 from Chris Dumez <cdumez at apple.com> ---
Should be coordinated with Alex because I think he is in the process of refactoring this code (and fixing this at the same time) I believe.
That said, a trivial fix would be to replace WTFMove(formState), std::exchange(formState, nullptr). It is equivalent given our current implementation of the RefPtr<> move constructor but looks safer.
--
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/20200403/0c5637f1/attachment-0001.htm>
More information about the webkit-unassigned
mailing list