Opened 14 years ago
Closed 14 years ago
#630 closed defect (fixed)
Improve handling of invalid SHX index files
Reported by: | waltweltonlair | Owned by: | waltweltonlair |
---|---|---|---|
Priority: | major | Milestone: | 3.5.0 |
Component: | SHP Provider | Version: | 3.4.0 |
Severity: | 2 | Keywords: | |
Cc: | External ID: | 1292749 |
Description
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.
Change History (4)
comment:1 by , 14 years ago
Severity: | 3 → 2 |
---|---|
Status: | new → assigned |
comment:2 by , 14 years ago
comment:4 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: the fix was provided by Steven Xu.
Note:
See TracTickets
for help on using tickets.
Fixed in 3.4 code stream with r5390.