Potential use after free in ApplyStyleCommand::splitAncestorsWithUnicodeBidi
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 16 Apr 2013 07:36:29 +0000 (07:36 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 16 Apr 2013 07:36:29 +0000 (07:36 +0000)
commit2d4478b54cfb41eb978644714c1025b55340fab6
tree58bc09a9a337efeefb1c57b14a38d7c45056e176
parentd3286c4b50d9853bbebb3538bcdfdb19c72a9a53
Potential use after free in ApplyStyleCommand::splitAncestorsWithUnicodeBidi
https://bugs.webkit.org/show_bug.cgi?id=114664

Reviewed by Oliver Hunt.

Use RefPtr as needed.

No new tests since this bug was discovered by code inspection.

* editing/ApplyStyleCommand.cpp:
(WebCore::ApplyStyleCommand::splitAncestorsWithUnicodeBidi):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@148497 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/editing/ApplyStyleCommand.cpp