D27907: Fix a bug in the debayer offset code.

Hy Murveit noreply at phabricator.kde.org
Sat Mar 7 01:53:21 GMT 2020


murveit created this revision.
murveit added a reviewer: mutlaqja.
Herald added a project: KDE Edu.
Herald added a subscriber: kde-edu.
murveit requested review of this revision.

REVISION SUMMARY
  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

TEST PLAN
  fit bayer file with XBAYROFF=1 in the header should no longer read past the end of the buffer.

REPOSITORY
  R321 KStars

BRANCH
  debayer-offset (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D27907

AFFECTED FILES
  kstars/fitsviewer/fitsdata.cpp

To: murveit, mutlaqja
Cc: kde-edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20200307/d85ed6cc/attachment.html>


More information about the kde-edu mailing list