Starlink / starlink

Starlink Software Collection
162 stars 53 forks source link

ast - fix dimension checking in astRebinSeq<X> #36

Closed gmarsden closed 10 years ago

gmarsden commented 10 years ago

Check on bounds of input grid should happen only if input array provided.

lbnd_in and ubnd_in can be NULL if in is also NULL. smf_rebinmap.c calls astRebinSeqD with NULLs, and results in a segfault as written.