[GRASS-dev] Re: [GRASS GIS] #718: r.li forgets mask/illegal filename

GRASS GIS trac at osgeo.org
Fri Aug 14 09:35:55 EDT 2009

#718: r.li forgets mask/illegal filename
  Reporter:  kyngchaos  |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect     |      Status:  new                      
  Priority:  normal     |   Milestone:  6.4.0                    
 Component:  Raster     |     Version:  6.4.0 RCs                
Resolution:             |    Keywords:  r.li                     
  Platform:  All        |         Cpu:  All                      
Comment (by hamish):

 One thing it may be, that I haven't tried is if GRASS is built without the
 gcc -g debugging flag. I always build with that and AFAIU that means all
 variables are initizalied to '\0' (null). If there is a test that some
 empty variable == NULL, such as r.li.daemon/worker.c's {{{  if
 (ad->mask_name == NULL) {  }}}, and that variable is not explicitly made
 empty upon creation and then used uninitialized.... well, it's a theory.


Ticket URL: <https://trac.osgeo.org/grass/ticket/718#comment:11>
GRASS GIS <http://grass.osgeo.org>

More information about the grass-dev mailing list