[GRASS-dev] [GRASS GIS] #1906: Raster "title" longer than 100 characters segfaults ps.map -- Request to extend the field's capacity.
GRASS GIS
trac at osgeo.org
Sat Mar 16 14:12:13 PDT 2013
#1906: Raster "title" longer than 100 characters segfaults ps.map -- Request to
extend the field's capacity.
----------------------------------------------+-----------------------------
Reporter: nikosa | Owner: grass-dev@…
Type: enhancement | Status: new
Priority: minor | Milestone: 7.0.0
Component: Ps.map | Version: svn-trunk
Keywords: ps.map, header, r.support, title | Platform: Unspecified
Cpu: x86-64 |
----------------------------------------------+-----------------------------
Comment(by neteler):
There seems to be a (wild) mixture of buffer lengths for the raster map
title:
Compare:
* http://grass.osgeo.org/programming7/put__title_8c_source.html#l00016
int Rast_put_cell_title()
* raster/r.support/main.c: #define MAX_TITLE_LEN 1022
* r.clump/main.c: char title[512];
* r.los/main.c: char title[128];
* r.neighbors/main.c: char title[1024];
* r.param.scale/close_down.c: char map_title[80], map_type[32];
* etc
* ps.map/ps_info.h: char celltitle[100];
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1906#comment:1>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list