[GRASS-dev] [GRASS GIS] #1974: buffer overflow in v.to.rast
GRASS GIS
trac at osgeo.org
Mon May 13 17:50:49 PDT 2013
#1974: buffer overflow in v.to.rast
-----------------------+----------------------------------------------------
Reporter: mgeeves | Owner: grass-dev@…
Type: defect | Status: new
Priority: minor | Milestone: 6.4.3
Component: Vector | Version: 6.4.2
Keywords: v.to.rast | Platform: All
Cpu: All |
-----------------------+----------------------------------------------------
Changes (by hamish):
* keywords: => v.to.rast
Comment:
works for me in devbr6, and there's no difference in the v.to.rast code
between that and relbr64.
{{{
r.mapcalc
"map0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
= 103"
r.to.vect
in=map0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
\
out=vmap0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
\
fea=area
v.to.rast
in=vmap0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
\
out=rvmap0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
\
use=val val=105
r.info ...
|
|
| v.to.rast
input="vmap01234567890123456789012345678901234567890123456\ |
| 78901234567890123456789012345678901234567890123456789" layer=1
type=\ |
| "point,line,area"
output="rvmap0123456789012345678901234567890123456\ |
| 789012345678901234567890123456789012345678901234567890123456789"
use\ |
| ="val" value=105 rows=4096
|
|
|
+----------------------------------------------------------------------------+
}}}
can you provide more details about how to reproduce it?
which platform?
thanks,
Hamish
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1974#comment:1>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list