Changeset 156682 in webkit


Ignore:
Timestamp:
Sep 30, 2013 2:56:02 PM (11 years ago)
Author:
commit-queue@webkit.org
Message:

ASSERT(!m_hasBadParent) in InlineBox::parent() should be ASSERT_WITH_SECURITY_IMPLICATION
https://bugs.webkit.org/show_bug.cgi?id=122032

Patch by Drew Yao <ayao@apple.com> on 2013-09-30
Reviewed by Andreas Kling.

Convert assertion to ASSERT_WITH_SECURITY_IMPLICATION to help catch use after free bugs.

No new tests needed.

  • rendering/InlineBox.h:

(WebCore::InlineBox::parent):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r156681 r156682  
     12013-09-30  Drew Yao  <ayao@apple.com>
     2
     3        ASSERT(!m_hasBadParent) in InlineBox::parent() should be ASSERT_WITH_SECURITY_IMPLICATION
     4        https://bugs.webkit.org/show_bug.cgi?id=122032
     5
     6        Reviewed by Andreas Kling.
     7
     8        Convert assertion to ASSERT_WITH_SECURITY_IMPLICATION to help catch use after free bugs.
     9
     10        No new tests needed.
     11
     12        * rendering/InlineBox.h:
     13        (WebCore::InlineBox::parent):
     14
    1152013-09-30  Yongjun Zhang  <yongjun_zhang@apple.com>
    216
  • trunk/Source/WebCore/rendering/InlineBox.h

    r156613 r156682  
    186186    InlineFlowBox* parent() const
    187187    {
    188         ASSERT(!m_hasBadParent);
     188        ASSERT_WITH_SECURITY_IMPLICATION(!m_hasBadParent);
    189189        return m_parent;
    190190    }
Note: See TracChangeset for help on using the changeset viewer.