When X-offset was given in the fits header, the code caused a read past the end of the buffer.
See https://indilib.org/forum/development/6565-bug-in-fitsdata-cpp/50506.html
Details
Details
- Reviewers
mutlaqja - Commits
- R321:8c53c246b7cd: Fix a bug in the debayer offset code.
fit bayer file with XBAYROFF=1 in the header should no longer read past the end of the buffer.
Diff Detail
Diff Detail
- Repository
- R321 KStars
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.