SVN commit 606681 by carewolf: Don't crash on slashdot when using tags M +3 -1 render_inline.cpp --- branches/KDE/3.5/kdelibs/khtml/rendering/render_inline.cpp #606680:606681 @@ -535,7 +535,7 @@ static QPoint *linkEndToBegin(QValueVector &pointArray) { uint index = 0; - Q_ASSERT(pointArray.size() >= 3); + assert(pointArray.size() >= 3); // if first and last points match, ignore the last one. bool linkup = false; QPoint linkupPnt; @@ -582,6 +582,8 @@ // collect left outline collectVerticalBoxCoordinates(curr, path, true, offset); + if (path.size() < 3) continue; + const QPoint *begin = linkEndToBegin(path); // paint the outline