Opened 17 years ago
Closed 17 years ago
#1841 closed defect (fixed)
Missing byte swap in HFA driver causes spill files not to open in Imagine
Reported by: | Sam Gillingham | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 1.4.3 |
Component: | GDAL_Raster | Version: | 1.4.2 |
Severity: | normal | Keywords: | HFA |
Cc: |
Description
in hfaopen.cpp, function HFACreateSpillStack(), some 'magic' numbers are written to the file, they are all byte swapped except '0x30000'. This causes Imagine to produce strange 'Out of Memory' errors on files created on Big Endian machines.
Attachments (1)
Change History (2)
by , 17 years ago
Attachment: | hfaopen.cpp.patch added |
---|
comment:1 by , 17 years ago
Component: | default → GDAL_Raster |
---|---|
Keywords: | HFA added |
Resolution: | → fixed |
Status: | new → closed |
Sam,
Patch applied in trunk and 1.4 branch.
Thanks
Note:
See TracTickets
for help on using tickets.
proposed byte swap patch