[GRASS-dev] [GRASS GIS] #2662: v.in.proj crashes on Windows
GRASS GIS
trac at osgeo.org
Sat Apr 25 08:21:41 PDT 2015
#2662: v.in.proj crashes on Windows
--------------------------+----------------------------------
Reporter: martinl | Owner: grass-dev@…
Type: defect | Status: new
Priority: blocker | Milestone: 7.0.1
Component: LibGIS | Version: svn-releasebranch70
Resolution: | Keywords: v.in.proj, r.in.proj
CPU: Unspecified | Platform: Unspecified
--------------------------+----------------------------------
Comment (by neteler):
Not sure if that matters but there is this coverity scan report:
{{{
*** CID 1262561: Unbounded source buffer (STRING_SIZE)
/lib/gis/get_window.c: 65 in G_get_window()
59 if (regvar) {
60 char **tokens = G_tokenize(regvar, ";");
61 G__read_Cell_head_array(tokens, &st->dbwindow, 0);
62 G_free_tokens(tokens);
63 }
64 else {
>>> CID 1262561: Unbounded source buffer (STRING_SIZE)
>>> Assigning: "wind" = "getenv". "wind" is now tainted.
65 char *wind = getenv("WIND_OVERRIDE");
66 if (wind)
67 G_get_element_window(&st->dbwindow, "windows", wind,
G_mapset());
68 else
69 G_get_element_window(&st->dbwindow, "", "WIND", G_mapset());
70 }
}}}
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2662#comment:1>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list