[Digikam-devel] [Bug 169704] crash during RAW import

Gilles Caulier caulier.gilles at gmail.com
Sun Aug 24 09:14:10 BST 2008


http://bugs.kde.org/show_bug.cgi?id=169704


Gilles Caulier caulier gilles gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |caulier.gilles at gmail.com
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #2 from Gilles Caulier <caulier gilles gmail com>  2008-08-24 10:14:08 ---
SVN commit 851624 by cgilles:

fix crash duing a wrong container size
BUG: 169704


 M  +2 -2      imagecurves.cpp


--- trunk/extragear/graphics/digikam/libs/curves/imagecurves.cpp #851623:851624
@@ -543,7 +543,7 @@

 QPolygon ImageCurves::getCurvePoints(int channel)
 {
-    QPolygon array(17);
+    QPolygon array(18);

    if ( d->curves &&
         channel>=0 && channel<5)
@@ -613,7 +613,7 @@
 {
    if ( d->curves &&
         channel>=0 && channel<5 &&
-         vals.size() == 17 )
+         vals.size() == 18 )
    {
        d->dirty = true;
        for (int j = 0 ; j <= 17 ; j++)


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list