Re: [GRASS-dev] [GRASS GIS] #2438: Vect_get_line_type cannot handle line out of range

2014-10-20 Thread GRASS GIS
#2438: Vect_get_line_type cannot handle line out of range --+- Reporter: artegion | Owner: grass-dev@… Type: defect | Status: reopened Priority: normal |

Re: [GRASS-dev] [GRASS GIS] #2437: order parameters in g.remove window

2014-10-20 Thread GRASS GIS
#2437: order parameters in g.remove window --+- Reporter: pvanbosgeo| Owner: grass-dev@… Type: enhancement | Status: new

[GRASS-dev] v.in.ogr crashed with SIGSEGV in main() in v.what/test_vwhat_layers

2014-10-20 Thread Vaclav Petras
Hi, again some test failed because of segmentation fault and I'm wondering how to collect the information about it for the report. In this case, it was crash of v.in.ogr called by script db.in.ogr, so I have absolutely no idea which process to hunt for except that it is a (grand) child of the

Re: [GRASS-dev] [GRASS GIS] #2437: order parameters in g.remove window

2014-10-20 Thread GRASS GIS
#2437: order parameters in g.remove window --+- Reporter: pvanbosgeo| Owner: grass-dev@… Type: enhancement | Status: new

[GRASS-dev] [GRASS GIS] #2455: r.unpack/v.unpack: add sanity check for auto-detecting if pack file contains raster or vector data

2014-10-20 Thread GRASS GIS
#2455: r.unpack/v.unpack: add sanity check for auto-detecting if pack file contains raster or vector data +--- Reporter: neteler | Owner: grass-dev@… Type: defect |

Re: [GRASS-dev] [GRASS GIS] #2437: order parameters in g.remove window

2014-10-20 Thread GRASS GIS
#2437: order parameters in g.remove window --+- Reporter: pvanbosgeo| Owner: grass-dev@… Type: enhancement | Status: new

Re: [GRASS-dev] [GRASS GIS] #2437: order parameters in g.remove window

2014-10-20 Thread GRASS GIS
#2437: order parameters in g.remove window --+- Reporter: pvanbosgeo| Owner: grass-dev@… Type: enhancement | Status: new

Re: [GRASS-dev] [GRASS-SVN] r62246 - grass/trunk/include/Make

2014-10-20 Thread Vaclav Petras
Hi Glynn, can you please comment on 62246 or add documentation for it? Commit message does not tell much, it is not (yet?) used anywhere and I don't understand the relation to %reldir% [1]. Thanks, Vaclav [1] http://www.gnu.org/software/automake/manual/html_node/Include.html On Sun, Oct 12,

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

2014-10-20 Thread Markus Neteler
FYI - from the latest coverity scan. Markus -- Forwarded message -- From: scan-ad...@coverity.com Date: Mon, Oct 20, 2014 at 5:11 PM Subject: New Defects reported by Coverity Scan for grass To: neteler@ Hi, Please find the latest report on new defect(s) introduced to grass

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

2014-10-20 Thread Martin Landa
2014-10-20 17:51 GMT+02:00 Markus Neteler nete...@osgeo.org: ** CID 1248541: Untrusted loop bound (TAINTED_SCALAR) /lib/vector/Vlib/read_pg.c: 1073 in polygon_from_wkb() hopefully fixed in r62308. Martin -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa

Re: [GRASS-dev] [GRASS GIS] #2438: Vect_get_line_type cannot handle line out of range

2014-10-20 Thread GRASS GIS
#2438: Vect_get_line_type cannot handle line out of range --+- Reporter: artegion | Owner: grass-dev@… Type: defect | Status: reopened Priority: normal |

[GRASS-dev] [GRASS GIS] #2456: read cvs from GDAL data directory

2014-10-20 Thread GRASS GIS
#2456: read cvs from GDAL data directory -+-- Reporter: martinl | Owner: grass-dev@… Type: task | Status: new Priority: normal | Milestone: 7.1.0

Re: [GRASS-dev] [GRASS GIS] #2456: read CSV from GDAL data directory (was: read cvs from GDAL data directory)

2014-10-20 Thread GRASS GIS
#2456: read CSV from GDAL data directory -+-- Reporter: martinl | Owner: grass-dev@… Type: task | Status: new Priority: normal | Milestone: 7.1.0

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

2014-10-20 Thread Vaclav Petras
On Mon, Oct 20, 2014 at 12:13 PM, Martin Landa landa.mar...@gmail.com wrote: 2014-10-20 17:51 GMT+02:00 Markus Neteler nete...@osgeo.org: ** CID 1248541: Untrusted loop bound (TAINTED_SCALAR) /lib/vector/Vlib/read_pg.c: 1073 in polygon_from_wkb() hopefully fixed in r62308. Martin

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

2014-10-20 Thread Martin Landa
2014-10-20 20:02 GMT+02:00 Vaclav Petras wenzesl...@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

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

2014-10-20 Thread Moskovitz, Bob@DOC
I was wondering what that mean, so I looked it up and found this: https://communities.coverity.com/thread/2303 -Bob -Original Message- From: grass-dev-boun...@lists.osgeo.org [mailto:grass-dev-boun...@lists.osgeo.org] On Behalf Of Martin Landa Sent: Monday, October 20, 2014 11:07 AM

Re: [GRASS-dev] r.profile tests

2014-10-20 Thread Glynn Clements
Anna Petrášová wrote: I was wondering, if r.profile shouldn't use atan2 instead of atan? It seems that the division in atan could possibly lead to overflow? But nobody complained about it yet... Tests work with atan2. Using atan2() shouldn't be necessary, as each quadrant is handled

Re: [GRASS-dev] [GRASS GIS] #2456: read CSV from GDAL data directory (was: read cvs from GDAL data directory)

2014-10-20 Thread Yann Chemin
+1 On Oct 20, 2014 10:18 PM, GRASS GIS t...@osgeo.org wrote: #2456: read CSV from GDAL data directory -+-- Reporter: martinl | Owner: grass-dev@… Type: task | Status: new Priority:

Re: [GRASS-dev] [GRASS GIS] #2437: order parameters in g.remove window

2014-10-20 Thread GRASS GIS
#2437: order parameters in g.remove window --+- Reporter: pvanbosgeo| Owner: grass-dev@… Type: enhancement | Status: new

Re: [GRASS-dev] [GRASS-SVN] r62246 - grass/trunk/include/Make

2014-10-20 Thread Glynn Clements
Vaclav Petras wrote: can you please comment on 62246 or add documentation for it? Commit message does not tell much, $(RELDIR) is simply the current directory relative to the root of the GRASS source tree. it is not (yet?) used anywhere I have no plans to use in the Makefiles. I added it

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

2014-10-20 Thread Glynn Clements
Markus Neteler wrote: ** CID 1248526: Result is not floating-point (UNINTENDED_INTEGER_DIVISION) /imagery/i.atcorr/aerosolmodel.cpp: 388 in for(int k = 1; k = mu; k++) { double co_n = (2 * k + 1) / k / (k + 1); co_n will be 1.0 if k==1 and 0.0 otherwise. I