natsuhiko/rasqual

potential bug in pasteFiles

Opened this issue · 0 comments

I would occasionally get segmentation errors in pasteFiles and traced it back to
https://github.com/natsuhiko/rasqual/blob/5aa553cf1b6501cf7ecd61a5efb34f7f20d354c6/src/ASVCF/pasteFiles.c#L125C2-L125C37
Instead of (i=0;i<K;i++){ret0[k]=is0[k]=0;}, should it be (i=0;i<K;i++){ret0[i]=is0[i]=0;}?