soedinglab / CCMpred

Protein Residue-Residue Contacts from Correlated Mutations predicted quickly and accurately.
http://www.ncbi.nlm.nih.gov/pubmed/25064567
GNU Affero General Public License v3.0
107 stars 25 forks source link

Crash because of missing header for basename() #25

Closed kWeissenow closed 3 years ago

kWeissenow commented 4 years ago

A fresh and unchanged build of CCMpred segfaults in meta_file_from_path (meta.c) after using the return value from basename(). Including the correct header fixes this issue. If it's more convenient for you, I can create a pull request if you allow me to. :)