Opened 14 years ago

Closed 14 years ago

#3822 closed defect (fixed)

FITS driver refuses to open files whose metadata list doesn't end with 'END'

Reported by: Even Rouault Owned by: Even Rouault
Priority: normal Milestone: 1.8.0
Component: default Version: unspecified
Severity: normal Keywords: fits


That's the case for reported in

Contrary to most files, it doesn't end with 'END' keyword. The solution is to use the fits_get_hdrspace() API to get the number of key/value pairs and iterate over it without relying on END being the last keyword.

Change History (1)

comment:1 by Even Rouault, 14 years ago

Resolution: fixed
Status: newclosed

Fixed in trunk in r21104

Note: See TracTickets for help on using tickets.