<table><tr><td style="">murveit created this revision.<br />murveit added a reviewer: mutlaqja.<br />Herald added a project: KDE Edu.<br />Herald added a subscriber: kde-edu.<br />murveit requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D27907">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>When X-offset was given in the fits header, the code caused a read past the end of the buffer.<br />
See <a href="https://indilib.org/forum/development/6565-bug-in-fitsdata-cpp/50506.html" class="remarkup-link" target="_blank" rel="noreferrer">https://indilib.org/forum/development/6565-bug-in-fitsdata-cpp/50506.html</a></p></div></div><br /><div><strong>TEST PLAN</strong><div><p>fit bayer file with XBAYROFF=1 in the header should no longer read past the end of the buffer.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R321 KStars</div></div></div><br /><div><strong>BRANCH</strong><div><div>debayer-offset (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D27907">https://phabricator.kde.org/D27907</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kstars/fitsviewer/fitsdata.cpp</div></div></div><br /><div><strong>To: </strong>murveit, mutlaqja<br /><strong>Cc: </strong>kde-edu, narvaez, apol<br /></div>