SVN commit 549744 by kling: toLengthArray() should return null for comma-less strings. RenderFrameSet::layout() checks for this, but stuff like makes KHTML crash. BUG: 128792 M +5 -0 dom_stringimpl.cpp --- branches/KDE/3.5/kdelibs/khtml/xml/dom_stringimpl.cpp #549743:549744 @@ -308,6 +308,11 @@ str = str.simplifyWhiteSpace(); len = str.contains(',') + 1; + + // If we have no commas, we have no array. + if( len == 1 ) + return 0L; + khtml::Length* r = new khtml::Length[len]; int i = 0;