#1907 closed defect (fixed)
Endless loop in reading a bad aux file
Reported by: | warmerdam | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 1.4.3 |
Component: | GDAL_Raster | Version: | svn-trunk |
Severity: | normal | Keywords: | HFA |
Cc: | gaopeng |
Description
The attached .aux file has a "loop" in the HFAEntry's in the file which causes GDAL to hang building an endless list of HFAEntries.
Attachments (1)
Change History (3)
by , 17 years ago
Attachment: | F0116231.aux added |
---|
comment:1 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
I have prepared a patch and applied to trunk as r12390. This patch really only addresses the case of a loop within one set of sibling HFAEntries as occurs in this .aux file. A parent/child or other more distance loop could still result in a similar hang but broader loop testing could get expensive. I'm really not clear how a file with this particular corruption ever got created.
Patch also back applied in 1.4 branch (r12391) and 1.4-esri branch (r12392).
Note:
See TracTickets
for help on using tickets.
Problem .aux file.