SVN commit 1021493 by gateau: Fix off-by-one error which caused the last line of the image to be skipped. M +1 -1 notificationsengine.cpp --- trunk/KDE/kdebase/workspace/plasma/dataengines/notifications/notificationsengine.cpp #1021492:1021493 @@ -114,7 +114,7 @@ ptr = pixels.data(); end = ptr + pixels.length(); for (int y=0; y= end) { + if (ptr + channels * width > end) { kWarning() << "Image data is incomplete. y:" << y << "height:" << height; break; }