DescriptionFix use-after-free bug in long press text selection
The crash occurs because longpress may cause script to run (blur, focus event
handles) which may detach the frame. To prevent crashing we protect FrameView
while handling the longpress event and also guard against |frame->settings()|
being NULL which happens when frame detaches.
BUG=519905
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201568
Patch Set 1 #Patch Set 2 : add expectation #Patch Set 3 : Add fix #Patch Set 4 : fix minor issue #
Total comments: 15
Patch Set 5 : Address review feedback #
Total comments: 6
Patch Set 6 : address feedback #
Messages
Total messages: 13 (4 generated)
|