<applet> with child a <h2> element (was: applets get wierd attributes)

Koos Vriezen koos.vriezen at xs4all.nl
Fri Oct 31 12:08:17 GMT 2003


Hi,

> (btw, the crash in khtml::RenderBlock::calcInlineMinMaxWidth() was already
> there for a few days)

Before this one gets lost, here a strip down of that page giving this
crash:

<HTML><BODY>
<APPLET codebase="applets" code="jsapplet" width="500" height="250" mayscript>
<H2>If you can see this then you do not have a Java enabled browser.</H2>
</APPLET>
</BODY></HTML>


==6247== Invalid read of size 4
==6247==    at 0x472FE606: khtml::RenderBlock::calcInlineMinMaxWidth() (render_block.cpp:1980)
==6247==    by 0x472FDF81: khtml::RenderBlock::calcMinMaxWidth() (render_block.cpp:1850)
==6247==    by 0x4730A0C6: khtml::RenderObject::recalcMinMaxWidths() (render_object.cpp:1485)
==6247==    by 0x47309FD7: khtml::RenderObject::recalcMinMaxWidths() (render_object.cpp:1471)
==6247==    Address 0x0 is not stack'd, malloc'd or free'd

No crash if renderAlternative() is hit.

Koos





More information about the kfm-devel mailing list