Code defects in Plasma

Mark Kretschmann kretschmann at kde.org
Mon Sep 22 12:29:55 CEST 2008


Hey guys,

a friendly person sent us a code defect analysis for Amarok (created
by an internal IBM tool). As we also import libplasma in Amarok 2,
these two defects were revealed:

- amarok/src/context/plasma/animator.cpp:291
Division by 0 if frames < 3

- amarok/src/context/plasma/containment.cpp:991
Line 986 indicates that focusedApplet can be NULL. But focusedApplet is equal
to applet. Therefore applet can be NULL here.


Hope this helps :)

-- 
Mark Kretschmann
Amarok Developer
www.kde.org - amarok.kde.org


More information about the Plasma-devel mailing list