DescriptionRefactoring code so as to avoid possible crash due to null pointer
In method InputMethodController::setCompositionFromExistingText we access
the value of baseNode()->isTextNode() without checking whether baseNode is null
or not. This could lead to a possible crash. Now, we have an additional check
for baseNode before accessing baseNode()->isTextNode().
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=190318
Patch Set 1 #
Messages
Total messages: 17 (8 generated)
|