[GRASS-dev] Fwd: New Defects reported by Coverity Scan for grass

Moskovitz, Bob@DOC Bob.Moskovitz at conservation.ca.gov
Mon Oct 20 11:09:38 PDT 2014

I was wondering what that mean, so I looked it up and found this:  https://communities.coverity.com/thread/2303  


-----Original Message-----
From: grass-dev-bounces at lists.osgeo.org [mailto:grass-dev-bounces at lists.osgeo.org] On Behalf Of Martin Landa
Sent: Monday, October 20, 2014 11:07 AM
To: Vaclav Petras
Cc: GRASS developers list
Subject: Re: [GRASS-dev] Fwd: New Defects reported by Coverity Scan for grass

2014-10-20 20:02 GMT+02:00 Vaclav Petras <wenzeslaus at gmail.com>:
> num_of_rings = *nrings;
> I'm not sure what "tainted scalar" means but isn't this just hiding the
> issue, so that the checking tool cannot find it?

AFAIU, the problem is dynamically computed value in loop condition. It
could be anything, so it's "tainted". Does anyone knows about better
solution? Martin

Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa
grass-dev mailing list
grass-dev at lists.osgeo.org

More information about the grass-dev mailing list