Hello community, here is the log from the commit of package kdelibs3 checked in at Mon Nov 17 17:08:13 CET 2008. -------- --- KDE/kdelibs3/kdelibs3.changes 2008-11-06 21:23:04.000000000 +0100 +++ /mounts/work_src_done/STABLE/kdelibs3/kdelibs3.changes 2008-11-17 10:30:03.000000000 +0100 @@ -1,0 +2,6 @@ +Mon Nov 17 10:28:56 CET 2008 - stbinner@suse.de + +- Fix crash when fixed-layout tables specify all % width as 0 + (affects new ebay myebay version) (bnc#437318) + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- r874968-ebay-crash.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kdelibs3-devel-doc.spec ++++++ --- /var/tmp/diff_new_pack.s24955/_old 2008-11-17 17:07:49.000000000 +0100 +++ /var/tmp/diff_new_pack.s24955/_new 2008-11-17 17:07:49.000000000 +0100 @@ -31,7 +31,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: Additional Package Documentation Version: 3.5.10 -Release: 20 +Release: 21 %define kdelibs_patch_level b BuildArch: noarch Requires: kdelibs3 qt3-devel-doc ++++++ kdelibs3.spec ++++++ --- /var/tmp/diff_new_pack.s24955/_old 2008-11-17 17:07:49.000000000 +0100 +++ /var/tmp/diff_new_pack.s24955/_new 2008-11-17 17:07:49.000000000 +0100 @@ -38,7 +38,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: KDE Base Libraries Version: 3.5.10 -Release: 15 +Release: 16 Obsoletes: kde3-i18n kups keramik kdelibs3-cups kdelibs3-33addons kdepim3-networkstatus Provides: kups keramik kdelibs3-cups kdelibs3-33addons kdepim3-networkstatus Provides: kdelibs3_base = 3.3 @@ -138,6 +138,7 @@ Patch150: kdesu-settings.diff Patch152: bug-399296_ftphandling-fix.diff Patch153: bug-382959_kabc_fix_vcardparser.patch +Patch154: r874968-ebay-crash.diff %description This package contains kdelibs, one of the basic packages of the K @@ -340,6 +341,7 @@ %patch150 %patch152 %patch153 +%patch154 tar xfvj %SOURCE12 # # define KDE version exactly @@ -835,6 +837,9 @@ /opt/kde3/%_lib/libconnectionmanager.so %changelog +* Mon Nov 17 2008 stbinner@suse.de +- Fix crash when fixed-layout tables specify all %% width as 0 + (affects new ebay myebay version) (bnc#437318) * Thu Nov 06 2008 dmueller@suse.de - fix desktop translations after update-translations changes * Sun Nov 02 2008 coolo@suse.de ++++++ r874968-ebay-crash.diff ++++++ Index: khtml/rendering/table_layout.cpp =================================================================== --- khtml/rendering/table_layout.cpp (revision 874967) +++ khtml/rendering/table_layout.cpp (revision 874968) @@ -297,7 +297,8 @@ #endif for ( int i = 0; available > 0 && i < nEffCols; i++ ) { if ( width[i].isPercent() ) { - int w = base * width[i].value() / totalPercent; + // totalPercent may be 0 below if all %-width specifed are 0%. (#172557) + int w = totalPercent ? base * width[i].value() / totalPercent : 0; available -= w; calcWidth[i] = w; } @@ -313,7 +314,8 @@ for ( int i = 0; available > 0 && i < nEffCols; i++ ) { if ( width[i].isVariable() ) { - int w = available / totalVariable; + // totalVariable may be 0 below if all the variable widths specified are 0. + int w = totalVariable ? available / totalVariable : 0; available -= w; calcWidth[i] = w; totalVariable--; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org