[GRASS-dev] Fwd: New Defects reported by Coverity Scan for grass
Markus Neteler
neteler at osgeo.org
Mon Oct 27 01:22:10 PDT 2014
On Tue, Oct 21, 2014 at 4:48 AM, Glynn Clements
<glynn at gclements.plus.com> wrote:
>
> Markus Neteler wrote:
>
>> ** CID 1248526: Result is not floating-point (UNINTENDED_INTEGER_DIVISION)
>> /imagery/i.atcorr/aerosolmodel.cpp: 388 in
...
>> ** CID 1248523: Result is not floating-point (UNINTENDED_INTEGER_DIVISION)
>> /raster/r.contour/cont.c: 349 in getpoint()
>> /raster/r.contour/cont.c: 351 in getpoint()
...
>> ** CID 1248527: Result is not floating-point (UNINTENDED_INTEGER_DIVISION)
>> /raster/simwe/r.sim.sediment/main.c: 335 in main()
...
>> ** CID 1248529: Result is not floating-point (UNINTENDED_INTEGER_DIVISION)
...
>> ** CID 1248535: Untrusted value as argument (TAINTED_SCALAR)
>>
Thanks, all suggestions above submitted r62412 (scheduled for backport
after a while).
>> ** CID 1248540: Uninitialized scalar variable (UNINIT)
>> /imagery/i.eb.hsebal01/main.c: 200 in main()
...
> This needs the correct logic for option dependencies.
I have contacted Yann (original author) for this.
Markus
More information about the grass-dev
mailing list