[GRASS-dev] Re: [GRASS GIS] #800: r.random and r.reclass - buffer
overflow on long mapset/map names
GRASS GIS
trac at osgeo.org
Mon Sep 26 02:47:49 EDT 2011
#800: r.random and r.reclass - buffer overflow on long mapset/map names
--------------------------+-------------------------------------------------
Reporter: ferrouswheel | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 6.5.0
Component: Raster | Version: svn-develbranch6
Keywords: sprintf | Platform: All
Cpu: All |
--------------------------+-------------------------------------------------
Changes (by hamish):
* keywords: => sprintf
Comment:
Replying to [comment:5 ferrouswheel]:
> Doing a grep for the offending line:
> grep -r sprintf\(hist.dat *
>
> Shows the following modules making unsafe assumptions about map name
length:
> r.buffer, r.carve, r.random, r.recode, r.slope.aspect, r.sunmask, and
the simwe
> modules.
all of these now updated in devbr6. please test. (grass7 is not affected
as the 80 column restriction on the history components has been removed)
Hamish
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/800#comment:11>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list