[fdo-trac] #630: Improve handling of invalid SHX index files

FDO trac_fdo at osgeo.org
Thu Mar 18 00:21:32 EDT 2010


#630: Improve handling of invalid SHX index files
------------------------------+---------------------------------------------
   Reporter:  waltweltonlair  |       Owner:  waltweltonlair
       Type:  defect          |      Status:  new           
   Priority:  major           |   Milestone:  3.5.0         
  Component:  SHP Provider    |     Version:  3.4.0         
   Severity:  3               |    Keywords:                
External_id:  1292749         |  
------------------------------+---------------------------------------------
 Occasionally a SHP data set includes an invalid shape index file (SHX),
 and the SHP provider doesn't handle it gracefully.  For example, a wrong
 offset in the SHX can result in a bad invalid content length, and when the
 provider tries to allocate memory for that content bad things can happen.

 A workaround for customers is to delete the SHX file, but we can also make
 the provider a little more robust.

-- 
Ticket URL: <https://trac.osgeo.org/fdo/ticket/630>
FDO <http://fdo.osgeo.org/>
Feature Data Objects


More information about the fdo-trac mailing list