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

Martin Landa landa.martin at gmail.com
Mon Oct 20 11:07:10 PDT 2014


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


More information about the grass-dev mailing list