[GRASS-dev] [GRASS GIS] #1339: Corrupted Shapefile causes buffer overflows, assetions etc.

GRASS GIS trac at osgeo.org
Tue Aug 21 03:08:49 PDT 2012


#1339: Corrupted Shapefile causes buffer overflows, assetions etc.
-------------------------+--------------------------------------------------
 Reporter:  marisn       |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  normal       |   Milestone:  6.4.3                    
Component:  Vector       |     Version:  svn-releasebranch64      
 Keywords:  rtree        |    Platform:  Unspecified              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------

Comment(by mmetz):

 Replying to [comment:2 neteler]:
 > I imported the attached file into GRASS 70: v.in.ogr worked. Then I
 tried
 >
 > {{{
 > v.out.ascii augstumpunkti1
 > ...
 > *** glibc detected *** v.out.ascii: realloc(): invalid next size:
 0x0000000001409a00 ***
 > ...
 > }}}
 >

 Fixed in trunk r52805. OGR seems to know the correct extents, so v.in.ogr
 uses these extents as spatial filter. The bogus point is now skipped. Of
 course the spatial option and -r flag are still respected. Backport? Or
 are such broken input data too rare?

 Markus M

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



More information about the grass-dev mailing list