khtml::RenderContainer::appendChildNode question

Martin Koller kollix at aon.at
Thu Jun 23 19:21:32 BST 2011


Hi,

looking at https://bugs.kde.org/show_bug.cgi?id=234674
it seems that in above mentioned method it can be that the following

        if (!layer) layer = enclosingLayer();
        layer->setHasVisibleContent(true);

leads to a crash when enclosingLayer() returns a 0-pointer.

Is the fix for this simply to check the layer pointer ?

-- 
Best regards/Schöne Grüße

Martin
A: Because it breaks the logical sequence of discussion
Q: Why is top posting bad?

()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachments

Geschenkideen, Accessoires, Seifen, Kulinarisches: www.bibibest.at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20110623/8e33c68b/attachment.sig>


More information about the kfm-devel mailing list