Skip to content

Fix unhandled exception in astropy.io.fits.compression module - #1332

Merged
embray merged 2 commits into
astropy:masterfrom
embray:fits-comp-unhandled-exception
Aug 9, 2013
Merged

embray merged 2 commits into
astropy:masterfrom
embray:fits-comp-unhandled-exception

Conversation

@embray

@embray embray commented Aug 9, 2013

Copy link
Copy Markdown
Member

Fix unhandled exception when getting the HDU data fails (typically in the case of the file being truncated; see #541). This does not fix #541; rather, I just found in investigating that issue that since this potential exception was unhandled it could cause a segfault.

embray added a commit that referenced this pull request Aug 9, 2013
Fix unhandled exception in astropy.io.fits.compression module
@embray
embray merged commit 665a6b4 into astropy:master Aug 9, 2013
@embray
embray deleted the fits-comp-unhandled-exception branch August 9, 2013 17:15
embray added a commit that referenced this pull request Sep 6, 2013
Fix unhandled exception in astropy.io.fits.compression module
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issue with certain compressed FITS files with astropy.io.fits

1 participant