Reviewed by Antti.
authorantti <antti@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 30 Aug 2007 13:12:46 +0000 (13:12 +0000)
committerantti <antti@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 30 Aug 2007 13:12:46 +0000 (13:12 +0000)
commit8250c05a9a0cec9a049924ea077a3626b139283d
treeb9eca11ee60421dc3937b2812c5606089fbbbe42
parent7723899981e905fbf762b51f4e2919dcec83b821
    Reviewed by Antti.

        - fix <rdar://problem/5423270> CrashTracer: [USER] 1 crash in Safari at com.apple.WebCore:
          WebCore::plainTextToMallocAllocatedBuffer + 762

        * editing/TextIterator.cpp: (WebCore::plainTextToMallocAllocatedBuffer):
        Check for a malloc failure and exit the function if it failed.

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