Crash in WebCore::Node::getFlag
authorossy@webkit.org <ossy@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 10 Nov 2014 16:20:43 +0000 (16:20 +0000)
committerossy@webkit.org <ossy@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 10 Nov 2014 16:20:43 +0000 (16:20 +0000)
commit9ea1d1d38fb1139755dc1f6a50f04bb83516f51b
tree98630083dfc45754ad541cc2778a3dcd7076810c
parentedd587d32d000d951c003727602f9942f1dc546f
Crash in WebCore::Node::getFlag
https://bugs.webkit.org/show_bug.cgi?id=137961

Reviewed by Antti Koivisto.

Source/WebCore:

* editing/ApplyStyleCommand.cpp:
(WebCore::ApplyStyleCommand::applyBlockStyle): Null pointer check added.

LayoutTests:

* editing/execCommand/crash-137961-expected.txt: Added.
* editing/execCommand/crash-137961.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@175809 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/editing/execCommand/crash-137961-expected.txt [new file with mode: 0644]
LayoutTests/editing/execCommand/crash-137961.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/editing/ApplyStyleCommand.cpp