Open jmthibault79 opened 10 years ago
I couldn't agree with this more, but this is not really an action item, more like something we should broadcast in hip chat and enforce in code reviews.
Disagree -- this is an action item. Someone should spend an hour reviewing existing usage of htslib functions that return an error code, and make sure we are not segfaulting on things like file-not-found. This is not hypothetical -- Joel and I have seen gamgee segfault on file-not-found because of this very issue.
alright this ^^ is an action item
Which is pretty much what Joel's original title said :)
Many htslib functions return error codes. We often don't check them, and I also just found a place (since fixed) where I did but should not have. We should look at these more closely.