[Digikam-devel] digiKam registered as new project for Coverity SCAN

Gilles Caulier caulier.gilles at gmail.com
Thu Feb 14 09:33:43 GMT 2013


Marcel,

I can see new errors in SCAN web interface, especially in AlbumManager, as
this wonderful report for example:

    for (QMap<int, DAlbum*>::const_iterator it = yAlbumMap.constBegin();
 3149         it != yAlbumMap.constEnd(); ++it)
 3150    {
 3151        DAlbum* album = it.value();
 3152        emit signalAlbumAboutToBeDeleted(album);
 3153        d->allAlbumsIdHash.remove(album->globalID());
 3154        emit signalAlbumDeleted(album);

41. freed_arg: "operator delete(void *)" frees "album".
3155        delete album;

CID 981494 (#2 of 2): Use after free (USE_AFTER_FREE)42.
pass_freed_arg: Passing
freed pointer "album" as an argument to function
"Digikam::AlbumManager::signalAlbumHasBeenDeleted(void *)".
 3156        emit signalAlbumHasBeenDeleted(album);
 3157    }

I recommend to all be registered. SCAN interface is really a pleasure to
use.
It's easy to understand report traces.

Gilles


2013/2/13 Gilles Caulier <caulier.gilles at gmail.com>

> Hi all developers,
>
> I registered digiKam to Coverity static analyse program dedicated for
> open-source project :
>
> http://scan.coverity.com/
> http://en.wikipedia.org/wiki/Coverity#Scan_.28Open_Source.29
>
> As you already see my previous mail about traces generated with this tool
> by Red Hat team, i step the stage to use Coverity as default static
> code analyzer to detect programming errors.
>
> I compiled and submitted a first tarball to SCAN web interface (500Mb of
> db file), and 30mns later i receive a mail to said that analyse is ready to
> be read through Coverity Connect Manager.
>
> Web interface is really nice to use and to parse important errors. It's
> really  more suitable than an export to text list as Red Hat sent me
> previously.
>
> I recommend to all developers who want to improve source code to take an
> account to Coverity SCAN web interface.
>
> To register you, please send me your information :
>
> - user name
> - email :
> - given name
> - family name
>
> ... in fact all information to field in this page :
> http://scan.coverity.com/create_user.html
>
> Later, when your account will be created, you will need to login to
> Connect Manager
>
> scan5.coverity.com:8080
>
> with your Username and a password sent to you in a private mail. You will
> be able to take a look to all trace generated by my scans loaded.
>
> I plan to process scan upload to Coverity server automatically each week
> end using a script, as other main Open-Source projects do...
>
> I waiting your info to process registration
>
> Best
>
> Gilles Caulier
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20130214/0aef7ae3/attachment.html>


More information about the Digikam-devel mailing list