[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdelibs/khtml/html
From: Maks Orlovich <maksim () kde ! org>
Date: 2006-07-21 18:47:49
Message-ID: 1153507669.035231.20207.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 564919 by orlovich:
Don't crash if invalid stuff gets passed to some table ops; noticed when trying to
reproduce #131088
CCBUG:131088
M +3 -0 html_tableimpl.cpp
--- branches/KDE/3.5/kdelibs/khtml/html/html_tableimpl.cpp #564918:564919
@@ -312,6 +312,7 @@
void HTMLTableElementImpl::handleChildAdd( NodeImpl *child )
{
+ if (!child) return;
switch(child->id()) {
case ID_CAPTION:
tCaption.childAdded(this, child);
@@ -330,6 +331,7 @@
void HTMLTableElementImpl::handleChildAppend( NodeImpl *child )
{
+ if (!child) return;
switch(child->id()) {
case ID_CAPTION:
tCaption.childAppended(child);
@@ -348,6 +350,7 @@
void HTMLTableElementImpl::handleChildRemove( NodeImpl *child )
{
+ if (!child) return;
switch(child->id()) {
case ID_CAPTION:
tCaption.childRemoved(this, child);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic