[GRASS-dev] Re: [GRASS GIS] #402: v.in.ogr buffer overflow
GRASS GIS
trac at osgeo.org
Thu Dec 18 10:43:18 EST 2008
#402: v.in.ogr buffer overflow
----------------------+-----------------------------------------------------
Reporter: epatton | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: Vector | Version: svn-develbranch6
Resolution: | Keywords: buffer overflow, vector, shapefile, import
Platform: Linux | Cpu: x86-64
----------------------+-----------------------------------------------------
Comment (by epatton):
I noticed the "OGRFeature16GetFieldAsString" error that we both had, and
thought there might be a problem with the dbf file that was causing this
error, so I tried opening it in Open Office, but that program chokes with
an error "Unable to open file for reading". I then renamed the dbf to
something else, and tried importing the shapefile via v.in.ogr and it
worked! I can view the vector fine; v.info doesn't show anything out of
the ordinary.
This is still disconcerting, as the attributes have not survived the
import. It's not a big problem for the polygons I'm using in this case, as
their only purpose is to be rasterized into masks later on, but
still...and I can't understand why ooffice won't open the dbf; gnumeric
doesn't have any problem opening it.
~ Eric.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/402#comment:8>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list