[GRASS-dev] [GRASS GIS] #1974: buffer overflow in v.to.rast

GRASS GIS trac at osgeo.org
Tue May 14 23:25:50 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        |  

Comment(by mgeeves):

 Hi Hamish,

 Odd, I'm still seeing the same problem in grass-6.4.3RC3. Re being daft I
 mostly meant having old bits from previous SVN builds conflicting. To rule
 that out I've tried building another vm with vmbuilder (defaults apart
 from adding in a few bits like the sshd and deb-src repos), then an
 apt-get build-dep grass
 and building from grass-6.4.3RC3.tar.gz with:
 ./configure --with-proj-share=/usr/share/proj --with-tcltk-
 Installing using checkinstall with defaults

 Same result, buffer overrun!
 Note the raster is actually generated and displays ok, it just displays
 the overflow error and doesn't record to hist

 After changing the code in support.c to use G_snprintf, it doesn't error
 for me any more..


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

More information about the grass-dev mailing list