#536: memory corruption
---------------------+------------------------------------------------------
 Reporter:  martinl  |       Owner:  grass-dev@lists.osgeo.org
     Type:  defect   |      Status:  new                      
 Priority:  blocker  |   Milestone:  7.0.0                    
Component:  Vector   |     Version:  svn-trunk                
 Keywords:           |    Platform:  Linux                    
      Cpu:  x86-32   |  
---------------------+------------------------------------------------------
 Hi,

 I discovered strange memory corruption in Vect_open_old_head(), e.g.

 {{{
 Vect_open_old_head (Map=0xbffee630, name=0x87140f0 "bs", mapset=0x804aea8
 "") at open.c:475
 (gdb) p Map->head.line_3
 $21 = 0x87146e0 ""
 (gdb) n
 main (argc=2, argv=0xbffeeb84) at main.c:110
 (gdb) p Map->head.line_3
 $22 = 0x7b1ea71 <Address 0x7b1ea71 out of bounds>
 }}}

 In the result all vector modules segfaults.

 Martin

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/536>
GRASS GIS <http://grass.osgeo.org>
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to