[GRASS-dev] Re: [GRASS GIS] #970: r.report seg faults on small page width values

GRASS GIS trac at osgeo.org
Mon Mar 1 02:54:55 EST 2010


#970: r.report seg faults on small page width values
----------------------+-----------------------------------------------------
  Reporter:  epatton  |       Owner:  grass-dev at lists.osgeo.org               
      Type:  defect   |      Status:  new                                     
  Priority:  minor    |   Milestone:  6.4.0                                   
 Component:  Raster   |     Version:  svn-develbranch6                        
Resolution:           |    Keywords:  r.report, page width, segmentation fault
  Platform:  Linux    |         Cpu:  x86-64                                  
----------------------+-----------------------------------------------------
Changes (by neteler):

  * milestone:  6.5.0 => 6.4.0

Comment:

 Confirmed in G6.4-7.

 It only crashes with FP maps. It happens in label.c" line 44, i.e.
 source:grass/trunk/raster/r.report/label.c at 41232#L44 (while...). "@" is
 never found in "from ... to" so it rounds out of bound.

 Markus

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/970#comment:2>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list