astromatic/scamp

SCAMP 2.7.2 seg fault on Mac when calculating colour shifts

mrkite92 opened this issue · 4 comments

With ATLAS from fink, see attached crash report
scamp_2018-08-23-162304_macprojb.crash.zip

Found: line 149 of proper.c

xi = samp->msamp->colour;

should be

xi = samp->msamp ? samp->msamp->colour : 0.0;

Yes that would do it but detections with samp->msamp at NULL are not reliable at all and their colors make no sense. I will have a look at it as soon as I find the time.

Fixed in 75c7ddd.