Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler. Number of rules (primarily dangerous function names) in C/C++ ruleset: 223 Examining data/mmdb-2.0.5/mmdb2/mmdb_math_rand.cpp Examining data/mmdb-2.0.5/mmdb2/mmdb_seqsuperpose.cpp Examining data/mmdb-2.0.5/mmdb2/mmdb_manager.cpp Examining data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp Examining data/mmdb-2.0.5/mmdb2/mmdb_cryst.h Examining data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp Examining data/mmdb-2.0.5/mmdb2/mmdb_io_file.h Examining data/mmdb-2.0.5/mmdb2/mmdb_ficif.h Examining data/mmdb-2.0.5/mmdb2/mmdb_io_stream.h Examining data/mmdb-2.0.5/mmdb2/mmdb_math_linalg.h Examining data/mmdb-2.0.5/mmdb2/mmdb_atom.h Examining data/mmdb-2.0.5/mmdb2/mmdb_io_stream.cpp Examining data/mmdb-2.0.5/mmdb2/mmdb_model.h Examining data/mmdb-2.0.5/mmdb2/mmdb_selmngr.cpp Examining data/mmdb-2.0.5/mmdb2/mmdb_chain.h Examining data/mmdb-2.0.5/mmdb2/mmdb_math_linalg.cpp Examining data/mmdb-2.0.5/mmdb2/mmdb_mattype.h Examining data/mmdb-2.0.5/mmdb2/mmdb_utils.h Examining data/mmdb-2.0.5/mmdb2/mmdb_xml_.h Examining data/mmdb-2.0.5/mmdb2/hybrid_36.h Examining data/mmdb-2.0.5/mmdb2/mmdb_selmngr.h Examining data/mmdb-2.0.5/mmdb2/mmdb_xml_.cpp Examining data/mmdb-2.0.5/mmdb2/mmdb_coormngr.cpp Examining data/mmdb-2.0.5/mmdb2/mmdb_math_rand.h Examining data/mmdb-2.0.5/mmdb2/mmdb_coormngr.h Examining data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp Examining data/mmdb-2.0.5/mmdb2/mmdb_math_align.h Examining data/mmdb-2.0.5/mmdb2/mmdb_cifdefs.cpp Examining data/mmdb-2.0.5/mmdb2/mmdb_ficif.cpp Examining data/mmdb-2.0.5/mmdb2/mmdb_tables.h Examining data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp Examining data/mmdb-2.0.5/mmdb2/mmdb_mask.h Examining data/mmdb-2.0.5/mmdb2/mmdb_uddata.cpp Examining data/mmdb-2.0.5/mmdb2/mmdb_bondmngr.h Examining data/mmdb-2.0.5/mmdb2/mmdb_math_graph.cpp Examining data/mmdb-2.0.5/mmdb2/mmdb_uddata.h Examining data/mmdb-2.0.5/mmdb2/mmdb_math_.cpp Examining data/mmdb-2.0.5/mmdb2/mmdb_title.cpp Examining data/mmdb-2.0.5/mmdb2/mmdb_machine_.h Examining data/mmdb-2.0.5/mmdb2/mmdb_bondmngr.cpp Examining data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp Examining data/mmdb-2.0.5/mmdb2/mmdb_math_bfgsmin.cpp Examining data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp Examining data/mmdb-2.0.5/mmdb2/mmdb_defs.h Examining data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp Examining data/mmdb-2.0.5/mmdb2/mmdb_cifdefs.h Examining data/mmdb-2.0.5/mmdb2/mmdb_title.h Examining data/mmdb-2.0.5/mmdb2/mmdb_seqsuperpose.h Examining data/mmdb-2.0.5/mmdb2/hybrid_36.cpp Examining data/mmdb-2.0.5/mmdb2/mmdb_model.cpp Examining data/mmdb-2.0.5/mmdb2/mmdb_tables.cpp Examining data/mmdb-2.0.5/mmdb2/mmdb_math_bfgsmin.h Examining data/mmdb-2.0.5/mmdb2/mmdb_math_graph.h Examining data/mmdb-2.0.5/mmdb2/mmdb_math_fft.h Examining data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.h Examining data/mmdb-2.0.5/mmdb2/mmdb_machine_.cpp Examining data/mmdb-2.0.5/mmdb2/mmdb_math_align.cpp Examining data/mmdb-2.0.5/mmdb2/mmdb_math_.h Examining data/mmdb-2.0.5/mmdb2/mmdb_math_fft.cpp Examining data/mmdb-2.0.5/mmdb2/mmdb_mask.cpp Examining data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.h Examining data/mmdb-2.0.5/mmdb2/mmdb_symop.h Examining data/mmdb-2.0.5/mmdb2/mmdb_cryst.cpp Examining data/mmdb-2.0.5/mmdb2/mmdb_root.h Examining data/mmdb-2.0.5/mmdb2/mmdb_root.cpp Examining data/mmdb-2.0.5/mmdb2/mmdb_manager.h Examining data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp FINAL RESULTS: data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:247:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( S,Record ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:708:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( name ,aName ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:709:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( label_atom_id,aName ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:715:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( &(element[1]),eName ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:717:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( element,eName ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1267:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( name,atomName ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1272:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( element,elName ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1311:9: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( AtomID,residue->chain->chainID ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1317:9: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( AtomID,residue->name ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1322:9: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( AtomID,residue->insCode ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1329:5: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( AtomID,S ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1333:7: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( AtomID,S ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1338:7: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( AtomID,altLoc ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1355:11: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf ( AtomID,S,residue->chain->model->GetSerNum() ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1358:9: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( AtomID,residue->chain->chainID ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1364:7: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( AtomID,S ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1365:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf ( S,"(%3s).%1s/",residue->name,residue->insCode ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1366:7: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( AtomID,S ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1369:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf ( S,"%4s[%2s]:%1s",name,element,altLoc ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1370:5: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( AtomID,S ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1416:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( label_atom_id,name ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1452:22: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). if (segID[0]) strcpy ( sID,segID ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1453:22: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). else strcpy ( segID,sID ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1457:24: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). if (element[0]) strcpy ( elmnt,element ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1458:24: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). else strcpy ( element,elmnt ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1577:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( name,label_atom_id ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1897:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( name ,atom->name ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1898:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( label_atom_id,atom->label_atom_id ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1899:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( altLoc ,atom->altLoc ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1900:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( segID ,atom->segID ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1901:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( element ,atom->element ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1902:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( energyType ,atom->energyType ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:2453:15: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( aL[k],atom[i]->altLoc ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:2498:11: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( aLoc[i],aL[i] ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:2536:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy (label_comp_id,name ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:2752:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( name ,res->name ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:2753:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( label_comp_id,res->label_comp_id ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:2754:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( label_asym_id,res->label_asym_id ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:2755:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( insCode ,res->insCode ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:2796:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( name ,res->name ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:2797:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( label_comp_id,res->label_comp_id ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:2798:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( label_asym_id,res->label_asym_id ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:2799:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( insCode ,res->insCode ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:2839:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( name ,res->name ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:2840:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( label_comp_id,res->label_comp_id ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:2841:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( label_asym_id,res->label_asym_id ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:2842:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( insCode ,res->insCode ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:2926:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( name,resName ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:3038:7: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( ResidueID,chain->chainID ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:3043:5: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( ResidueID,name ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:3047:7: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( ResidueID,insCode ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:3297:11: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( aname,atom[i]->name ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:3298:11: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( aLoc ,atom[i]->altLoc ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:3312:19: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( aL,atom[j]->altLoc ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:3317:21: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( aLoc,aL ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:122:17: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). if (chain) strcpy ( chainID,chain->GetChainID() ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:128:17: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). if (chain) strcpy ( chainID,chain->GetChainID() ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:334:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( idCode,chain->GetEntryID() ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:360:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( insBeg ,PDBReference(DBRef)->insBeg ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:361:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( insEnd ,PDBReference(DBRef)->insEnd ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:362:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( database ,PDBReference(DBRef)->database ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:363:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( dbAccession,PDBReference(DBRef)->dbAccession ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:364:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( dbIdCode ,PDBReference(DBRef)->dbIdCode ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:365:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( dbinsBeg ,PDBReference(DBRef)->dbinsBeg ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:366:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( dbinsEnd ,PDBReference(DBRef)->dbinsEnd ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:470:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( idCode,chain->GetEntryID() ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:593:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( resName ,PSeqAdv(SeqAdv)->resName ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:594:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( insCode ,PSeqAdv(SeqAdv)->insCode ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:595:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( database ,PSeqAdv(SeqAdv)->database ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:596:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( dbAccession,PSeqAdv(SeqAdv)->dbAccession ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:597:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( dbRes ,PSeqAdv(SeqAdv)->dbRes ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:648:17: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). if (chain) strcpy ( chainID,chain->chainID ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:814:17: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). if (F) strcpy ( chID,F ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:816:35: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). if (chainID[0]==char(1)) strcpy ( chainID,chID ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:836:9: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( resName[i],rN[i] ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:856:9: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( resName[i],SeqRes->resName[i] ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:953:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( idCode,chain->GetEntryID() ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:1076:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( resName,PModRes(ModRes)->resName ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:1077:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( insCode,PModRes(ModRes)->insCode ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:1078:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( stdRes ,PModRes(ModRes)->stdRes ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:1256:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( hetID ,PHetRec(Het)->hetID ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:1257:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( insCode,PHetRec(Het)->insCode ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:1316:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( chainID,chID ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:1326:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( chainID,chID ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:2093:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( chainID ,chain->chainID ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:2094:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( prevChainID,chain->prevChainID ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:2110:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( chainID ,chain->chainID ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:2111:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( prevChainID,chain->prevChainID ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:2138:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( chainID ,chain->chainID ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:2139:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( prevChainID,chain->prevChainID ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:2210:5: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( ChID,chainID ); data/mmdb-2.0.5/mmdb2/mmdb_coormngr.cpp:248:9: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( c1[i],chID1[Nop][i] ); data/mmdb-2.0.5/mmdb2/mmdb_coormngr.cpp:249:9: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( c2[i],chID2[Nop][i] ); data/mmdb-2.0.5/mmdb2/mmdb_coormngr.cpp:251:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( c1[nChains[Nop]],ch1 ); data/mmdb-2.0.5/mmdb2/mmdb_coormngr.cpp:252:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( c2[nChains[Nop]],ch2 ); data/mmdb-2.0.5/mmdb2/mmdb_coormngr.cpp:280:13: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( chID1[i][j],PGenSym(GenSym)->chID1[i][j] ); data/mmdb-2.0.5/mmdb2/mmdb_coormngr.cpp:281:13: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( chID2[i][j],PGenSym(GenSym)->chID2[i][j] ); data/mmdb-2.0.5/mmdb2/mmdb_cryst.cpp:657:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( spaceGroupFix,spaceGroup ); data/mmdb-2.0.5/mmdb2/mmdb_cryst.cpp:697:9: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf ( spaceGroupFix,"%c 1 %s 1",spaceGroup[0], data/mmdb-2.0.5/mmdb2/mmdb_cryst.cpp:703:9: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf ( spaceGroupFix,"%c 1 1 %s",spaceGroup[0], data/mmdb-2.0.5/mmdb2/mmdb_cryst.cpp:723:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( spaceGroupFix,special[k+1] ); data/mmdb-2.0.5/mmdb2/mmdb_cryst.cpp:759:27: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). else strcpy ( spaceGroupFix,spaceGroup ); data/mmdb-2.0.5/mmdb2/mmdb_cryst.cpp:947:27: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). else strcpy ( spaceGroupFix,spaceGroup ); data/mmdb-2.0.5/mmdb2/mmdb_cryst.cpp:1857:9: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( spaceGroupFix,spaceGroup ); data/mmdb-2.0.5/mmdb2/mmdb_cryst.cpp:2097:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( spaceGroup ,Cryst->spaceGroup ); data/mmdb-2.0.5/mmdb2/mmdb_cryst.cpp:2098:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( spaceGroupFix,Cryst->spaceGroupFix ); data/mmdb-2.0.5/mmdb2/mmdb_cryst.cpp:2222:11: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). else strcpy ( spaceGroupFix,spaceGroup ); data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:142:9: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( FilePath,newExt ); data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:145:9: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( FilePath,newExt ); data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:331:23: [4] (shell) popen: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. hFile = popen ( p,"r" ); data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:342:23: [4] (shell) popen: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. hFile = popen ( p,"r" ); data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:413:19: [4] (shell) popen: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. hFile = popen ( p,"w" ); data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:423:19: [4] (shell) popen: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. hFile = popen ( p,"w" ); data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:478:19: [4] (shell) popen: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. hFile = popen ( p,"w" ); data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:488:19: [4] (shell) popen: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. hFile = popen ( p,"w" ); data/mmdb-2.0.5/mmdb2/mmdb_math_align.cpp:480:20: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). if (J<SLen) strcat ( AlgnS,&(S[J]) ); data/mmdb-2.0.5/mmdb2/mmdb_math_align.cpp:481:20: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). if (I<TLen) strcat ( AlgnT,&(T[I]) ); data/mmdb-2.0.5/mmdb2/mmdb_math_graph.cpp:644:20: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). if (altLoc) strcpy ( aLoc,altLoc ); data/mmdb-2.0.5/mmdb2/mmdb_math_graph.cpp:650:11: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( aLoc,aL[0] ); data/mmdb-2.0.5/mmdb2/mmdb_math_graph.cpp:663:13: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( aLoc,aL[i] ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:740:5: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( D,S ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:742:5: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( D,VS ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:743:12: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). return strcat(D,S1); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:752:5: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( D,VS ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:753:12: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). return strcat(D,S2); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:761:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( Dest,Source ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:838:9: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( S,Dest ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:842:20: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). if (Source1) strcat ( S,Source1 ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:843:20: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). if (Source2) strcat ( S,Source2 ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:844:20: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). if (Source3) strcat ( S,Source3 ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:845:20: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). if (Source4) strcat ( S,Source4 ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:846:20: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). if (Source5) strcat ( S,Source5 ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:868:9: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( S,Dest ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:872:20: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). if (Source1) strcat ( S,Source1 ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:873:20: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). if (Source2) strcat ( S,Source2 ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:874:20: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). if (Source3) strcat ( S,Source3 ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:875:20: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). if (Source4) strcat ( S,Source4 ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:896:9: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( S,Dest ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:900:20: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). if (Source1) strcat ( S,Source1 ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:901:20: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). if (Source2) strcat ( S,Source2 ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:902:20: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). if (Source3) strcat ( S,Source3 ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:920:9: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( S,Dest ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:924:20: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). if (Source1) strcat ( S,Source1 ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:925:20: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). if (Source2) strcat ( S,Source2 ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:941:9: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( S,Dest ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:945:7: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( S,Source ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:448:9: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( nf,field[i] ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:449:9: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( nf,F ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:603:7: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf ( rS,format,R ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:954:7: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf ( rS,format,R ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:1335:7: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf ( rS,format,R ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:1765:9: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( _err_string,S ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:1802:13: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( _err_string,S ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:1855:9: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( L,T ); // item name data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:1870:11: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( _err_string,S ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:1892:9: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( T,L ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:1905:9: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( _err_string,S ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:1923:11: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( _err_string,S ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:1966:13: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( L,T ); // item name data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:1985:15: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( _err_string,S ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:2034:15: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( T,L ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:2047:19: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( _err_string,S ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:2072:13: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( _err_string,S ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:2111:11: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( _err_string,S ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:2162:9: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( L,p ); // take first line of the field data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:2177:15: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( L1,L ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:2182:13: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( L,S ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:3601:11: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf ( M,"unrecognized items found on %ith line\n%s", data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:3604:11: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf ( M,"expected data field not found; line %i reads\n%s", data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:3607:11: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf ( M,"empty loop ('loop_') on %ith line\n%s", data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:3610:11: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf ( M,"unexpected end of file; line %i reads\n%s", data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:3613:11: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf ( M,"expected data field in a loop not found; " data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:3616:11: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf ( M,"expected data field in a loop not found; " data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:3619:11: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf ( M,"a loop is used as a structure on line %i\n%s", data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:3622:11: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf ( M,"a structure is used as a loop on line %i\n%s", data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:3625:11: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf ( M,"duplicate tag was found on line %i\n%s", data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:3628:11: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf ( M,"undocumented warning issued for line %i\n%s", data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:140:18: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. if (N==1) sprintf ( S,"HETNAM %3s " ,hetID ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:141:18: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. else sprintf ( S,"HETNAM %2i %3s ",N,hetID ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:155:9: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( S,p1 ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:181:18: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. if (N==1) sprintf ( S,"HETSYN %3s " ,hetID ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:182:18: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. else sprintf ( S,"HETSYN %2i %3s ",N,hetID ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:187:11: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( S,p ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:204:13: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( S,p ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:229:20: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. if (N==1) sprintf ( S,"FORMUL %2i %3s " ,compNum,hetID ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:230:20: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. else sprintf ( S,"FORMUL %2i %3s %2i ",compNum,hetID,N ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:232:20: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. if (N==1) sprintf ( S,"FORMUL %3s " ,hetID ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:233:20: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. else sprintf ( S,"FORMUL %3s %2i ",hetID,N ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:248:7: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( S,p1 ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:350:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( hetID ,hetCompound->hetID ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:446:9: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( L,&(S[15]) ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:515:11: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( L,&(S[19]) ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:918:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( helixID ,PHelix(Helix)->helixID ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:919:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( initResName,PHelix(Helix)->initResName ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:920:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( initChainID,PHelix(Helix)->initChainID ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:921:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( initICode ,PHelix(Helix)->initICode ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:922:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( endResName ,PHelix(Helix)->endResName ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:923:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( endChainID ,PHelix(Helix)->endChainID ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:924:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( endICode ,PHelix(Helix)->endICode ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:1106:13: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( sheetID,sheet_id ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:1148:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( initResName,Strand->initResName ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:1149:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( initChainID,Strand->initChainID ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:1150:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( initICode ,Strand->initICode ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:1151:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( endResName ,Strand->endResName ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:1152:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( endChainID ,Strand->endChainID ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:1153:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( endICode ,Strand->endICode ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:1154:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( curAtom ,Strand->curAtom ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:1155:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( curResName ,Strand->curResName ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:1156:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( curChainID ,Strand->curChainID ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:1157:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( curICode ,Strand->curICode ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:1158:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( prevAtom ,Strand->prevAtom ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:1159:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( prevResName,Strand->prevResName ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:1160:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( prevChainID,Strand->prevChainID ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:1161:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( prevICode ,Strand->prevICode ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:1372:23: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). if (!sheetID[0]) strcpy ( sheetID,SID ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:1638:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( sheetID,Sheet->sheetID ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:1777:13: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( sheet[nSheets]->sheetID,F ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2029:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( turnID ,PTurn(Turn)->turnID ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2030:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( initResName,PTurn(Turn)->initResName ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2031:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( initChainID,PTurn(Turn)->initChainID ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2032:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( initICode ,PTurn(Turn)->initICode ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2033:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( endResName ,PTurn(Turn)->endResName ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2034:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( endChainID ,PTurn(Turn)->endChainID ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2035:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( endICode ,PTurn(Turn)->endICode ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2361:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( atName1 ,PLink(Link)->atName1 ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2362:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( aloc1 ,PLink(Link)->aloc1 ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2363:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( resName1,PLink(Link)->resName1 ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2364:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( chainID1,PLink(Link)->chainID1 ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2366:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( insCode1,PLink(Link)->insCode1 ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2368:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( atName2 ,PLink(Link)->atName2 ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2369:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( aloc2 ,PLink(Link)->aloc2 ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2370:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( resName2,PLink(Link)->resName2 ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2371:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( chainID2,PLink(Link)->chainID2 ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2373:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( insCode2,PLink(Link)->insCode2 ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2707:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( atName1 ,PLinkR(LinkR)->atName1 ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2708:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( aloc1 ,PLinkR(LinkR)->aloc1 ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2709:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( resName1,PLinkR(LinkR)->resName1 ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2710:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( chainID1,PLinkR(LinkR)->chainID1 ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2712:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( insCode1,PLinkR(LinkR)->insCode1 ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2716:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( atName2 ,PLinkR(LinkR)->atName2 ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2717:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( aloc2 ,PLinkR(LinkR)->aloc2 ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2718:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( resName2,PLinkR(LinkR)->resName2 ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2719:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( chainID2,PLinkR(LinkR)->chainID2 ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2721:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( insCode2,PLinkR(LinkR)->insCode2 ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2723:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( linkRID,PLinkR(LinkR)->linkRID ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2871:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( pep1 ,PCisPep(CisPep)->pep1 ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2872:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( chainID1,PCisPep(CisPep)->chainID1 ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2874:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( icode1 ,PCisPep(CisPep)->icode1 ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2876:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( pep2 ,PCisPep(CisPep)->pep2 ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2877:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( chainID2,PCisPep(CisPep)->chainID2 ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2879:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( icode2 ,PCisPep(CisPep)->icode2 ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:3069:23: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. if (k) sprintf ( chainID,"%s%i",chID,k-1 ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:3070:23: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). else if (!chn) strcpy ( chainID,chID ); // chain is absent data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:3087:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( chainID,chID ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:4644:11: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf ( chainID,"%s_%i",m_chain->chainID,chain_ext ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:4645:11: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). else strcpy ( chainID,m_chain->chainID ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:4662:15: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf ( chainID,"%s_%i_%i",m_chain->chainID, data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:4664:15: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. else sprintf ( chainID,"%s_%i",m_chain->chainID,k ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:4669:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( m_chain->chainID,chainID ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:4784:9: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( sheetID,sheets.sheet[serialNum-1]->sheetID ); data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:714:24: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). if (chID) strcpy ( chainID,chID ); data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:733:26: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). if (chID) strcpy ( chainID,chID ); data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:777:19: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( chain_ID[nch],crChain0->chainID ); data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:815:15: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( crChain0->prevChainID,crChain0->chainID ); data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:843:17: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( altLoc[nal],atom[i]->altLoc ); data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:1378:21: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf ( chainID,"%s_%i", data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:1409:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( S,PDBString ); // maintain the buffer! data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:1476:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( Line,S ); data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:1480:9: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( Line,S ); data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:1483:9: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( Line,CIFErrorLocation ); data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:2108:23: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). if (!resName[0]) strcpy ( resName,label_comp_id ); data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:2194:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( crRes->label_asym_id,label_asym_id ); data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:2195:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( crRes->label_comp_id,label_comp_id ); data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:2459:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( Label,MMDBFLabel ); data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:2471:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( title.idCode,idCode ); data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:521:11: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( spGroup,cryst->spaceGroup ); data/mmdb-2.0.5/mmdb2/mmdb_selmngr.cpp:486:9: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( M,N ); data/mmdb-2.0.5/mmdb2/mmdb_selmngr.cpp:2975:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( S,domainRange ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:124:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( L,p1 ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:251:5: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( S,N ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:276:7: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( S,N ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:280:5: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( S,Axis ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:502:9: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( S,p ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:506:11: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( S,p ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:517:5: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( G,SpGroup ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:576:9: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( S,p ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:580:11: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( S,p ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:594:7: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( G,SpGroup ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:605:7: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( G,p ); data/mmdb-2.0.5/mmdb2/mmdb_tables.cpp:725:32: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). else if (isNucleotide(r)) strcpy ( res1code,r ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:195:13: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( idCode ,idCode1 ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:196:13: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( DateCIF0,DateCIF ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:220:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( repDate,PObsLine(ObsLine)->repDate ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:221:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( idCode ,PObsLine(ObsLine)->idCode ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:223:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( rIdCode[i],PObsLine(ObsLine)->rIdCode[i] ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:282:5: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( S,Line ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:339:5: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( S,idCode ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:341:5: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( S,Line ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:370:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( idCode,PCaveat(Caveat)->idCode ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:424:5: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( S,Line ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:475:5: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( S,Line ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:615:15: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( S,&(KeyWord[i][m1]) ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:659:11: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( S,KeyWord[i] ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:785:5: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( S,Line ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:837:5: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( S,Line ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:887:5: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( S,Line ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:998:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf ( CIFErrorLocation,"loop %s.%s row %i", data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1007:22: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). if ((!RC) && F) strcpy ( modId,F ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1010:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf ( CIFErrorLocation,"loop %s.%s row %i", data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1017:22: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). if ((!RC) && F) strcpy ( record[0],F ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1019:22: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). if ((!RC) && F) strcpy ( record[1],F ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1021:22: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). if ((!RC) && F) strcpy ( record[2],F ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1023:22: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). if ((!RC) && F) strcpy ( record[3],F ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1063:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( modDate,PRevData(RevData)->modDate ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1064:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( modId ,PRevData(RevData)->modId ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1066:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( record[i],PRevData(RevData)->record[i] ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1217:13: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( idCode ,idCode1 ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1218:13: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( DateCIF0,DateCIF ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1242:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( sprsdeDate,PSupersede(Supersede)->sprsdeDate ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1243:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( idCode ,PSupersede(Supersede)->idCode ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1245:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( sIdCode[i],PSupersede(Supersede)->sIdCode[i] ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1302:5: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( S,Line ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1359:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( S,remark ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1398:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf ( CIFErrorLocation,"loop %s.%s row %i", data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1534:11: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( chain[j],ch1[j] ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1664:11: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( chain[i],BMA->chain[i] ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:2207:7: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( PDBString,classification ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:2407:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( depDate ,TS->depDate ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:2408:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( idCode ,TS->idCode ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:342:14: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. if (F) sprintf ( CIFErrorLocation,"loop %s.%s row %i data %s", data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:344:14: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. else sprintf ( CIFErrorLocation,"loop %s.%s row %i data [NULL]", data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:355:14: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. if (F) sprintf ( CIFErrorLocation,"loop %s.%s row %i data %s", data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:357:14: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. else sprintf ( CIFErrorLocation,"loop %s.%s row %i data [NULL]", data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:373:14: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. if (F) sprintf ( CIFErrorLocation,"loop %s.%s row %i data %s", data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:375:14: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. else sprintf ( CIFErrorLocation,"loop %s.%s row %i data [NULL]", data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:383:14: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. if (F) sprintf ( CIFErrorLocation,"loop %s.%s row %i data %s", data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:385:14: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. else sprintf ( CIFErrorLocation,"loop %s.%s row %i data [NULL]", data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:400:14: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. if (F) sprintf ( CIFErrorLocation,"loop %s.%s row %i data %s", data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:402:14: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. else sprintf ( CIFErrorLocation,"loop %s.%s row %i data [NULL]", data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:413:14: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. if (F) sprintf ( CIFErrorLocation,"loop %s.%s row %i data %s", data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:415:14: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. else sprintf ( CIFErrorLocation,"loop %s.%s row %i data [NULL]", data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:431:14: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. if (F) sprintf ( CIFErrorLocation,"loop %s.%s row %i data %s", data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:433:14: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. else sprintf ( CIFErrorLocation,"loop %s.%s row %i data [NULL]", data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:441:14: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. if (F) sprintf ( CIFErrorLocation,"loop %s.%s row %i data %s", data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:443:14: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. else sprintf ( CIFErrorLocation,"loop %s.%s row %i data [NULL]", data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:461:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( S,DefS ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:474:14: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. if (F) sprintf ( CIFErrorLocation,"structure %s.%s data %s", data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:476:14: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. else sprintf ( CIFErrorLocation,"structure %s.%s data [NULL]", data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:482:14: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. if (F) sprintf ( CIFErrorLocation,"structure %s.%s data %s", data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:484:14: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. else sprintf ( CIFErrorLocation,"structure %s.%s data [NULL]", data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:498:14: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. if (F) sprintf ( CIFErrorLocation,"structure %s.%s data %s", data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:500:14: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. else sprintf ( CIFErrorLocation,"structure %s.%s data [NULL]", data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:506:14: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. if (F) sprintf ( CIFErrorLocation,"structure %s.%s data %s", data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:508:14: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. else sprintf ( CIFErrorLocation,"structure %s.%s data [NULL]", data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:525:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( S,DefS ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:989:16: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). if (Line) strcpy ( S,Line ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1065:5: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( S,Line ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1657:13: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( chn,DefPath->chainID ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1664:9: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( chn,DefPath->chainID ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1683:9: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( ic,DefPath->insCode ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1685:9: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( res,DefPath->resName ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1696:9: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( atm,DefPath->atomName ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1698:9: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( elm,DefPath->element ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1700:9: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( aloc,DefPath->altLoc ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1839:13: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( insCode[1],insCode[0] ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1882:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( ic1,insCode[0] ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1883:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy ( ic2,insCode[1] ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1919:7: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( CID,Chains ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1932:9: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( S,ic1 ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1934:7: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( CID,S ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1942:11: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( S,ic2 ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1944:9: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( CID,S ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1955:7: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( CID,RNames ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1965:7: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( CID,ANames ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1976:7: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( CID,Elements ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1987:7: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat ( CID,altLocs ); data/mmdb-2.0.5/mmdb2/mmdb_math_rand.cpp:95:28: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. realtype RandomNumber::random() { data/mmdb-2.0.5/mmdb2/mmdb_math_rand.cpp:116:28: [3] (random) srandom: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. realtype RandomNumber::srandom() { data/mmdb-2.0.5/mmdb2/mmdb_math_rand.cpp:140:16: [3] (random) srandom: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. v1 = srandom(); data/mmdb-2.0.5/mmdb2/mmdb_math_rand.cpp:141:16: [3] (random) srandom: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. v2 = srandom(); data/mmdb-2.0.5/mmdb2/mmdb_math_rand.h:62:18: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. realtype random (); //!< Uniform [0..1] random number generator data/mmdb-2.0.5/mmdb2/mmdb_math_rand.h:63:18: [3] (random) srandom: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. realtype srandom (); //!< Uniform [-1..1] random number generator data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:183:13: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. FName = getenv ( PDBLFName ); data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:433:13: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. FName = getenv ( CIFLFName ); data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:586:13: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. FName = getenv ( LFName ); data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:1448:13: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. FName = getenv ( PDBLFName ); data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:2258:13: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. FName = getenv ( PDBLFName ); data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:2321:13: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. FName = getenv ( CIFLFName ); data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:2372:13: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. FName = getenv ( MMDBLFName ); data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:2416:13: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. FName = getenv ( MMDBLFName ); data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:850:7: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. S = getenv ( L ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:500:11: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. p = getenv ( "SYMOP" ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:504:13: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. p = getenv ( "CLIBD" ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:574:11: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. p = getenv ( "SYMINFO" ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:578:13: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. p = getenv ( "CLIBD" ); data/mmdb-2.0.5/mmdb2/hybrid_36.cpp:90:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[16]; data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:117:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( element," " ); // chemical element symbol - RIGHT JUSTIFIED data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:246:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char N[10]; data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:266:29: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. if (charge>0) sprintf ( N,"%1i+",mround(charge) ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:267:29: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. else if (charge<0) sprintf ( N,"%1i-",mround(-charge) ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:268:29: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. else strcpy ( N," " ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:288:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char S[100]; data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:347:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char N[10]; data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:585:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( N,"%+2i",mround(charge) ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:958:35: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. if (WhatIsSet & ASET_Charge) sprintf ( chrg,"%+2i",mround(charge) ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:959:35: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. else strcpy ( chrg," " ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1273:23: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. if (!element[0]) strcpy ( element," " ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1304:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char S[50]; data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1309:15: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf (AtomID,"/%i/",residue->chain->model->GetSerNum()); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1310:15: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. else strcpy ( AtomID,"/-/" ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1313:9: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( AtomID,"/-/-" ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1326:7: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( AtomID,"/-/-/-/" ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1345:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char S[50]; data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1351:24: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. if (n<10) strcpy ( S,"/%1i/" ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1352:24: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. else if (n<100) strcpy ( S,"/%2i/" ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1353:24: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. else if (n<1000) strcpy ( S,"/%3i/" ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1354:28: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. else strcpy ( S,"/%i/" ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1357:11: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( AtomID,"/-/" ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1360:9: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( AtomID,"/-/-" ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1362:13: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( S,"/%4i",residue->seqNum ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1363:13: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. else sprintf ( S,"/%i" ,residue->seqNum ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1368:7: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( AtomID,"/-/-/----(---).-/" ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1500:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char PDBGroup[30]; data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:2225:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy ( &(Bond[i].atom),&k,4 ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:2237:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy ( &k,&(Bond[i].atom),4 ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:2348:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( name ,"---" ); // residue name data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:2349:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( label_comp_id,"---" ); // assigned residue name data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:3036:13: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( ResidueID,"/%i/",chain->model->GetSerNum() ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:3037:13: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. else strcpy ( ResidueID,"/-/" ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:3040:7: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( ResidueID,"/-/-" ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:164:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( database ,"------" ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:165:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( dbAccession,"--------" ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:166:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( dbIdCode ,"------------" ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:177:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( S,"DBREF" ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:432:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( resName ,"---" ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:435:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( database ,"------" ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:436:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( dbAccession,"---------" ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:437:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( dbRes ,"---" ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:447:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( S,"SEQADV" ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:669:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char S[100]; data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:672:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( S,"SEQRES" ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:921:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( resName,"---" ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:926:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( stdRes ,"---" ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:933:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( S,"MODRES" ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:1132:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( hetID ,"---" ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:1144:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( S,"HET" ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:2208:10: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( ChID,"/%i/",model->GetSerNum() ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:2209:10: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. else strcpy ( ChID,"/-/" ); data/mmdb-2.0.5/mmdb2/mmdb_cryst.cpp:114:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char S[100]; data/mmdb-2.0.5/mmdb2/mmdb_cryst.cpp:119:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( S,"MTRIX%1i %3i",i+1,serNum ); data/mmdb-2.0.5/mmdb2/mmdb_cryst.cpp:252:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char Code[100]; data/mmdb-2.0.5/mmdb2/mmdb_cryst.cpp:406:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( S,"TVECT %3i",serNum ); data/mmdb-2.0.5/mmdb2/mmdb_cryst.cpp:861:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char S[100]; data/mmdb-2.0.5/mmdb2/mmdb_cryst.cpp:864:7: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( S,"CRYST1" ); data/mmdb-2.0.5/mmdb2/mmdb_cryst.cpp:885:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( S,"ORIGX%1i",i+1); data/mmdb-2.0.5/mmdb2/mmdb_cryst.cpp:895:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( S,"SCALE%1i",i+1); data/mmdb-2.0.5/mmdb2/mmdb_cryst.cpp:1039:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char S[200]; data/mmdb-2.0.5/mmdb2/mmdb_cryst.cpp:2249:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char S[81]; data/mmdb-2.0.5/mmdb2/mmdb_defs.h:56:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char IDCode [16]; //!< ID code of PDB entry data/mmdb-2.0.5/mmdb2/mmdb_defs.h:59:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char Date [12]; //!< date DD-MMM-YYYY data/mmdb-2.0.5/mmdb2/mmdb_defs.h:60:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char RecName [7]; //!< name of PDB record data/mmdb-2.0.5/mmdb2/mmdb_defs.h:62:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ChainID [10]; //!< chain ID data/mmdb-2.0.5/mmdb2/mmdb_defs.h:64:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char InsCode [10]; //!< insertion code data/mmdb-2.0.5/mmdb2/mmdb_defs.h:65:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char DBName [10]; //!< sequence database name data/mmdb-2.0.5/mmdb2/mmdb_defs.h:66:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char DBAcCode[20]; //!< seq. database accession code data/mmdb-2.0.5/mmdb2/mmdb_defs.h:68:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char DBIdCode[20]; //!< seq. database ident-n code data/mmdb-2.0.5/mmdb2/mmdb_defs.h:70:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char ResName [20]; //!< residue name data/mmdb-2.0.5/mmdb2/mmdb_defs.h:73:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char HelixID [20]; //!< helix ID data/mmdb-2.0.5/mmdb2/mmdb_defs.h:74:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char StrandID[20]; //!< strand ID data/mmdb-2.0.5/mmdb2/mmdb_defs.h:75:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char SheetID [20]; //!< sheet ID data/mmdb-2.0.5/mmdb2/mmdb_defs.h:76:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char TurnID [20]; //!< turn ID data/mmdb-2.0.5/mmdb2/mmdb_defs.h:77:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char LinkRID [20]; //!< Refmac link ID data/mmdb-2.0.5/mmdb2/mmdb_defs.h:79:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char SymGroup[100]; //!< group of space symmetry data/mmdb-2.0.5/mmdb2/mmdb_defs.h:93:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char AtomName[20]; //!< name of the atom data/mmdb-2.0.5/mmdb2/mmdb_defs.h:95:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char AltLoc [20]; //!< alternate location indicator data/mmdb-2.0.5/mmdb2/mmdb_defs.h:97:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char SegID [20]; //!< segment identifier data/mmdb-2.0.5/mmdb2/mmdb_defs.h:98:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char Element [10]; //!< chemical element name data/mmdb-2.0.5/mmdb2/mmdb_defs.h:100:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char EnergyType[10]; //!< energy type name data/mmdb-2.0.5/mmdb2/mmdb_defs.h:104:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char maxMMDBName[40]; data/mmdb-2.0.5/mmdb2/mmdb_ficif.cpp:85:1: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char S[500]; data/mmdb-2.0.5/mmdb2/mmdb_ficif.cpp:146:1: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char CN[200],TN[200]; data/mmdb-2.0.5/mmdb2/mmdb_ficif.cpp:177:1: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char CN[200],TN[200]; data/mmdb-2.0.5/mmdb2/mmdb_ficif.cpp:209:1: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char CN[200],TN[200]; data/mmdb-2.0.5/mmdb2/mmdb_ficif.cpp:246:1: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char CN[200],TN[200]; data/mmdb-2.0.5/mmdb2/mmdb_ficif.cpp:286:1: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char CN[200],TN[200]; data/mmdb-2.0.5/mmdb2/mmdb_ficif.cpp:320:1: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char CN[200],TN[200]; data/mmdb-2.0.5/mmdb2/mmdb_ficif.cpp:352:1: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char CN[200],TN[200]; data/mmdb-2.0.5/mmdb2/mmdb_ficif.cpp:387:1: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char CN[200],TN[200]; data/mmdb-2.0.5/mmdb2/mmdb_ficif.cpp:425:1: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char CN[200],TN[200]; data/mmdb-2.0.5/mmdb2/mmdb_ficif.cpp:468:1: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char CN[200],TN[200]; data/mmdb-2.0.5/mmdb2/mmdb_ficif.cpp:504:1: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char CN[200],TN[200]; data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:353:40: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (ReadOnly) hFile = fopen ( FName,"rt" ); data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:354:40: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). else hFile = fopen ( FName,"r+t" ); data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:356:40: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (ReadOnly) hFile = fopen ( FName,"rb" ); data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:357:40: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). else hFile = fopen ( FName,"r+b" ); data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:430:19: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). hFile = fopen ( FName,"w+b" ); data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:439:19: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). hFile = fopen ( FName,"w+t" ); data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:495:19: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). hFile = fopen ( FName,"ab" ); data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:504:19: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). hFile = fopen ( FName,"at" ); data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:542:23: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). hFile = fopen ( FName,"r" ); data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:789:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char N[50]; data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:790:7: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( N,"%-.*g",length,V ); data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:799:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char N[50]; data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:800:7: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( N,"%*i",length,iV ); data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:1011:11: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy ( Buffer,&(IOBuf[BufCnt]),Cnt ); data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:1039:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy ( IOB,IOBuf,BufCnt ); data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:1045:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy ( &(IOBuf[BufCnt]),Buffer,Count ); data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:1720:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char S[1025]; data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:1745:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char S[1025]; data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:1787:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char SV[256]; data/mmdb-2.0.5/mmdb2/mmdb_math_align.cpp:570:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char P[3]; data/mmdb-2.0.5/mmdb2/mmdb_math_align.cpp:1122:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char P[10]; data/mmdb-2.0.5/mmdb2/mmdb_math_align.cpp:1138:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( P,"%4i ",S[k++] ); data/mmdb-2.0.5/mmdb2/mmdb_math_align.cpp:1152:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( P,"%4i ",T[k++] ); data/mmdb-2.0.5/mmdb2/mmdb_math_align.cpp:1192:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( P,"%4i ",AlgnS[k++] ); data/mmdb-2.0.5/mmdb2/mmdb_math_align.cpp:1198:13: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( P,"%4i ",AlgnT[n++] ); data/mmdb-2.0.5/mmdb2/mmdb_math_graph.cpp:142:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char N[50]; data/mmdb-2.0.5/mmdb2/mmdb_math_graph.cpp:149:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( N,"%i",type ); data/mmdb-2.0.5/mmdb2/mmdb_math_graph.cpp:761:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char atomID[100]; data/mmdb-2.0.5/mmdb2/mmdb_math_graph.cpp:1127:11: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( aname,"C%i",i ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:739:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char VS[30]; data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:741:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( VS,"%-.*g",M,V ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:749:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char VS[30]; data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:751:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( VS,"%-.*g",M2,V2 ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:1925:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy ( &(S[l]),iUB,sizeof(intUniBin) ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:1933:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy ( &(S[l]),sUB,sizeof(shortUniBin) ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:1941:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy ( &(S[l]),lUB,sizeof(longUniBin) ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:1949:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy ( &(S[l]),wUB,sizeof(wordUniBin) ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:1957:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy ( &(S[l]),rUB,sizeof(realUniBin) ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:1965:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy ( &(S[l]),srUB,sizeof(shortrealUniBin) ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:1971:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy ( &(S[l]),L,len ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:1982:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy ( &(S[l]),L,len ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:2002:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy ( iUB,&(S[l]),sizeof(intUniBin) ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:2009:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy ( sUB,&(S[l]),sizeof(shortUniBin) ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:2016:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy ( lUB,&(S[l]),sizeof(longUniBin) ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:2023:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy ( wUB,&(S[l]),sizeof(wordUniBin) ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:2030:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy ( rUB,&(S[l]),sizeof(realUniBin) ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:2037:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy ( srUB,&(S[l]),sizeof(shortrealUniBin) ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:2043:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy ( L,&(S[l]),len ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:2056:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy ( L,&(S[l]),len ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:574:6: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char S[100]; data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:578:13: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( S,"%4i-%02i-%02i", data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:580:13: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. else strcpy ( S,"YYYY-MM-DD" ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:586:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char S[10]; data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:596:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char rS[100]; data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:597:7: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( rS,"%.*g",prec,R ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:602:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char rS[100]; data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:608:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char iS[100]; data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:610:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( iS,"%i",I ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:938:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char S[10]; data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:947:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char rS[100]; data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:948:7: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( rS,"%.*g",prec,R ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:953:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char rS[100]; data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:959:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char iS[100]; data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:961:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( iS,"%i",I ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:1317:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char S[10]; data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:1327:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char rS[100]; data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:1328:7: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( rS,"%.*g",prec,R ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:1334:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char rS[100]; data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:1340:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char iS[100]; data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:1342:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( iS,"%i",I ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:1366:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char rS[100]; data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:1376:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( rS,"%.*g",prec,R[i] ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:1384:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char iS[100]; data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:1394:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( iS,"%i",I[l] ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:1717:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char _err_string[_max_buf_len+1]; data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:1723:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char S[_max_buf_len+1]; data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:1844:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char T[100]; data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:1939:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char T[100]; data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:1968:18: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( T,"X%i",loopNo ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:2833:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char rS[100]; data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:2834:7: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( rS,"%.*g",prec,R ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:2840:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char iS[100]; data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:2841:23: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. if (I>MinInt4) sprintf ( iS,"%i",I ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:2976:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char rS[100]; data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:2977:7: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( rS,"%.*g",prec,R ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:2983:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char iS[100]; data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:2984:7: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( iS,"%i",I ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:3286:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char S[500]; data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:3564:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char S[_max_buf_len+1]; data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:3632:39: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. case CIFRC_StructureNoTag : strcpy(M,"tag of a structure not " data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:3635:39: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. case CIFRC_LoopNoTag : strcpy(M,"tag of a loop not found"); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:3637:39: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. case CIFRC_NoCategory : strcpy(M,"category not found"); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:3639:39: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. case CIFRC_WrongFormat : strcpy(M,"wrong format of a number"); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:3641:39: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. case CIFRC_NoTag : strcpy(M,"tag not found"); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:3643:39: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. case CIFRC_NotAStructure : strcpy(M,"category is not a " data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:3646:39: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. case CIFRC_NotALoop : strcpy(M,"category is not a loop"); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:3648:39: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. case CIFRC_WrongIndex : strcpy(M,"index outside the loop's " data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:3651:39: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. case CIFRC_NoField : strcpy(M,"data is absent"); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:3653:39: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. case CIFRC_Created : strcpy(M,"category created"); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:3655:39: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. case CIFRC_CantOpenFile : strcpy(M,"can't open CIF file"); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:3657:39: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. case CIFRC_NoDataLine : strcpy(M,"'data_' tag not found." ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:3659:39: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. default : strcpy(M,"undocumented return code"); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:128:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char S[100]; data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:171:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char S[100]; data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:188:30: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. if (k<nSynonyms-1) strcat ( S,"; " ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:219:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char S[100]; data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:437:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char L[100]; data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:455:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char L[100]; data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:503:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char L[100]; data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:601:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char L[100]; data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:736:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( helixID ,"---" ); // helix ID data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:737:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( initResName,"---" ); // name of the helix's initial residue data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:744:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( endResName ,"---" ); // name of the helix's terminal residue data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:761:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( S,"HELIX" ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:821:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char L[100]; data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:988:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( sheetID ,"sheet_0" ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:989:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( initResName," " ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:992:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( endResName ," " ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:996:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( curResName ," " ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:1000:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( prevResName," " ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:1250:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char S[100]; data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:1255:11: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( S,"SHEET" ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:1879:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( turnID ,"---" ); // turn ID data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:1880:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( initResName,"---" ); // name of the turn's initial residue data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:1887:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( endResName ,"---" ); // name of the turn's terminal residue data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:1901:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( S,"TURN" ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:1943:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char L[100]; data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2107:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( atName1 ,"----" ); // name of 1st linked atom data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2109:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( resName1,"---" ); // residue name of 1st linked atom data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2113:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( atName2 ,"----" ); // name of 2nd linked atom data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2115:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( resName2,"---" ); // residue name of 2nd linked atom data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2136:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( S,"LINK" ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2199:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char S[100]; data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2223:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( S,"%i%i%i%i",s1,i1,j1,k1 ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2225:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( S,"%i%i%i%i",s2,i2,j2,k2 ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2265:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char S[100]; data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2335:12: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). s1 = atoi(S); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2346:12: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). s2 = atoi(S); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2491:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( linkRID ,"----" ); // link name data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2492:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( atName1 ,"----" ); // name of 1st linked atom data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2494:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( resName1,"---" ); // residue name of 1st linked atom data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2498:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( atName2 ,"----" ); // name of 2nd linked atom data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2500:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( resName2,"---" ); // residue name of 2nd linked atom data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2524:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( S,"LINKR" ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2813:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( pep1 ,"---" ); // residue name data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2817:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( pep2 ,"---" ); // residue name 2 data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2828:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( S,"CISPEP" ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:4248:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char S[100]; data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:4256:7: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( S,"MODEL " ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:4267:7: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( S,"ENDMDL" ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:4407:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( modelID,"/%i",serNum ); data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:681:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char aLoc [257]; data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:682:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char chnID[257]; data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:1078:13: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( atom[i]->element," " ); data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:1087:11: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( atom[i]->element," " ); data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:2395:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char Label[100]; data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:2456:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char Label[100]; data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:2991:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char Label[100]; data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:3028:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char S[256]; data/mmdb-2.0.5/mmdb2/mmdb_root.h:565:7: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char S[500]; // read buffer data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:608:8: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char LastFunc[80]; // name of the last called function data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:622:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( LastFunc,"MMDB_F_Init" ); data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:639:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( LastFunc,"MMDB_F_Quit" ); data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:756:1: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char L[500]; data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:764:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( LastFunc,"MMDB_F_Open" ); data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:842:1: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char L[200]; data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:846:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( LastFunc,"MMDB_F_Openl" ); data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:906:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( LastFunc,"MMDB_F_Copy" ); data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:968:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( LastFunc,"MMDB_F_Delete" ); data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:1019:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( LastFunc,"MMDB_F_SetType" ); data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:1058:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( LastFunc,"MMDB_F_SetName" ); data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:1083:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( LastFunc,"MMDB_F_Write" ); data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:1107:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( LastFunc,"MMDB_F_Close" ); data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:1158:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( LastFunc,"mmdb_f_advance" ); data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:1223:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( LastFunc,"MMDB_F_Rewd" ); data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:1246:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( LastFunc,"MMDB_F_BkSp" ); data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:1287:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( LastFunc,"MMDB_F_Seek" ); data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:1329:1: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char chrg[10]; data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:1488:1: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char charge[10]; data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:1490:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( LastFunc,"MMDB_F_Atom" ); data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:1629:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( LastFunc,"MMDB_F_SetTer" ); data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:1662:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( LastFunc,"MMDB_F_SetHet" ); data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:1693:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( LastFunc,"MMDB_F_GetHet" ); data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:1736:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( LastFunc,"mmdb_f_getnofncsmates" ); data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:1759:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( LastFunc,"mmdb_f_copyatom" ); data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:1859:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( LastFunc,"MMDB_F_Coord" ); data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:2101:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( LastFunc,"MMDB_F_SetCell" ); data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:2140:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( LastFunc,"MMDB_F_WBSpGrp" ); data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:2182:1: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char SpaceGroup[100]; data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:2184:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( LastFunc,"MMDB_F_RBSpGrp" ); data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:2231:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( LastFunc,"MMDB_F_WBCell" ); data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:2284:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( LastFunc,"MMDB_F_RBCell" ); data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:2345:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( LastFunc,"MMDB_F_RBCellN" ); data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:2406:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( LastFunc,"MMDB_F_RBRCel" ); data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:2457:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( LastFunc,"MMDB_F_RBORF" ); data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:2539:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( LastFunc,"MMDB_F_OrthMat" ); data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:2652:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( LastFunc,"MMDB_F_CVAnisou" ); data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:2712:1: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char S[500]; data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:2714:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( LastFunc,"MMDB_F_WRemark" ); data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:2912:1: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char ErrLine[500]; data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:3084:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char result[6]; data/mmdb-2.0.5/mmdb2/mmdb_selmngr.cpp:471:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char M[sizeof(maxMMDBName)+5]; data/mmdb-2.0.5/mmdb2/mmdb_selmngr.cpp:485:9: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( M,",[" ); data/mmdb-2.0.5/mmdb2/mmdb_selmngr.cpp:487:9: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat ( M,"]," ); data/mmdb-2.0.5/mmdb2/mmdb_selmngr.cpp:496:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char N[100]; data/mmdb-2.0.5/mmdb2/mmdb_selmngr.cpp:499:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( N,"%+2i",mround(atom->charge) ); data/mmdb-2.0.5/mmdb2/mmdb_selmngr.cpp:2896:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char N[100]; data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:105:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char L[100]; data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:233:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char N[50]; data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:248:20: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. if (d<=1) sprintf ( N,"%i" ,n ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:249:20: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. else if (n>=0) sprintf ( N,"%i/%i" ,n,d ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:250:20: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. else sprintf ( N,"%-.10g",AV ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:257:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char N[50]; data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:274:18: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. if (n>=0) sprintf ( N,"%i/%i*",n,d ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:275:18: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. else sprintf ( N,"%-.10g*",AV ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:485:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char S[500]; data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:486:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char G[100]; data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:508:11: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat ( S,"symop.lib" ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:510:11: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( S,"symop.lib" ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:516:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( G," '" ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:555:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char S[500]; data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:556:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char G[100]; data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:557:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char O[100]; data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:582:11: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat ( S,"syminfo.lib" ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:584:11: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( S,"syminfo.lib" ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:593:7: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( G," '" ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:602:7: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( G," ' " ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:895:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char S[200]; data/mmdb-2.0.5/mmdb2/mmdb_tables.cpp:229:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char name[3]; data/mmdb-2.0.5/mmdb2/mmdb_tables.cpp:246:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char El[3]; data/mmdb-2.0.5/mmdb2/mmdb_tables.cpp:265:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char El[3]; data/mmdb-2.0.5/mmdb2/mmdb_tables.cpp:284:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char El[3]; data/mmdb-2.0.5/mmdb2/mmdb_tables.cpp:303:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char El[3]; data/mmdb-2.0.5/mmdb2/mmdb_tables.cpp:336:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char const ResidueName1[nResNames] = { data/mmdb-2.0.5/mmdb2/mmdb_tables.cpp:704:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char r[4]; data/mmdb-2.0.5/mmdb2/mmdb_tables.cpp:731:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char r[4]; data/mmdb-2.0.5/mmdb2/mmdb_tables.cpp:762:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( res3code,"XXX" ); data/mmdb-2.0.5/mmdb2/mmdb_tables.h:83:10: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. extern char const ResidueName1[nResNames]; data/mmdb-2.0.5/mmdb2/mmdb_tables.h:96:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char name[4]; data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:106:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( repDate,"DD-MMM-YYYY" ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:107:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( idCode, "----" ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:109:7: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( rIdCode[i]," " ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:116:16: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. if (N==0) strcpy ( S,"OBSLTE " ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:117:16: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. else sprintf ( S,"OBSLTE %2i",N+1 ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:128:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char DateCIF[20]; data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:166:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char DateCIF [20]; data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:167:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char DateCIF0[20]; data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:187:17: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. else strcpy ( DateCIF,"YYYY-MMM-DD" ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:280:16: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. if (N==0) strcpy ( S,"TITLE " ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:281:16: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. else sprintf ( S,"TITLE %2i",N+1 ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:319:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( idCode,"----" ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:337:16: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. if (N==0) strcpy ( S,"CAVEAT " ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:338:16: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. else sprintf ( S,"CAVEAT %2i ",N+1 ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:340:5: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat ( S," " ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:345:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char S[500]; data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:422:16: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. if (N==0) strcpy ( S,"COMPND " ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:423:16: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. else sprintf ( S,"COMPND %2i",N+1 ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:473:16: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. if (N==0) strcpy ( S,"SOURCE " ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:474:16: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. else sprintf ( S,"SOURCE %2i",N+1 ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:534:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char L[85]; data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:592:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char S[85]; data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:598:20: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. if (N==0) strcpy ( S,"KEYWDS " ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:599:20: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. else sprintf ( S,"KEYWDS %2i ",N+1 ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:622:17: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( S,"KEYWDS %2i ",N+1 ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:629:17: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat ( S,", " ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:644:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char S[500]; data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:660:31: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. if (i<nKeyWords-1) strcat ( S,", " ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:783:16: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. if (N==0) strcpy ( S,"EXPDTA " ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:784:16: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. else sprintf ( S,"EXPDTA %2i",N+1 ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:835:16: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. if (N==0) strcpy ( S,"MDLTYP " ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:836:16: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. else sprintf ( S,"MDLTYP %2i",N+1 ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:885:16: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. if (N==0) strcpy ( S,"AUTHOR " ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:886:16: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. else sprintf ( S,"AUTHOR %2i",N+1 ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:926:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( modDate,"DD-MMM-YYYY" ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:927:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( modId , "----" ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:930:7: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( record[i]," " ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:938:16: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. if (N==0) sprintf ( S,"REVDAT %3i " ,modNum ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:939:16: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. else sprintf ( S,"REVDAT %3i%2i",modNum,N+1 ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:954:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char DateCIF[20]; data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1041:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char N[20]; data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1118:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( sprsdeDate,"DD-MMM-YYYY" ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1119:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( idCode, "----" ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1121:7: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( sIdCode[i]," " ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1128:16: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. if (N==0) strcpy ( S,"SPRSDE " ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1129:16: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. else sprintf ( S,"SPRSDE %2i",N+1 ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1145:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char DateCIF[20]; data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1185:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char DateCIF [20]; data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1186:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char DateCIF0[20]; data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1209:17: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. else strcpy ( DateCIF,"YYYY-MMM-DD" ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1301:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( S,"JRNL " ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1361:7: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( S,"REMARK" ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1571:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char PN[20]; data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1575:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( PN,"BIOMT%1i",biomtNo ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:2206:7: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( PDBString,"HEADER " ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:2216:7: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( PDBString, data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:2338:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char PDBString[100]; data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:2360:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char DateCIF[20]; data/mmdb-2.0.5/mmdb2/mmdb_title.h:384:7: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char modId[13]; data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:115:9: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( Date11," " ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:139:9: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( Date9," " ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:149:27: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. if (Date9[7]!='0') strcpy ( DateCIF,"19" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:150:27: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. else strcpy ( DateCIF,"20" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:154:27: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. if (Date9[6]!='0') strcpy ( DateCIF,"19" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:155:27: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. else strcpy ( DateCIF,"20" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:226:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char L[50]; data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:243:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char L[50]; data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:264:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char L[50]; data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:295:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char L[50]; data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:301:7: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( L,"%*i",M,N ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:313:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char N[50]; data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:319:7: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( N,"%*.*f",M,L,R ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:539:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char L[50]; data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:547:12: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( L,"%*i",M,N ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:794:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char CIFErrorLocation[200] = "no error"; data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1168:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char S[500]; data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1329:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char N[100]; data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1572:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char N[100]; data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1621:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char N[100]; data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1906:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char S[100]; data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1910:7: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( CID,"/%i",iModel ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1925:19: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. if (k<2) strcat ( CID,"/*" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1928:28: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. if (sNum1>-MaxInt4) sprintf ( S,"%i",sNum1 ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1938:30: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. if (sNum1>-MaxInt4) sprintf ( S,"%i",sNum2 ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1953:22: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. else if (k<2) strcat ( CID,"*/*(" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1954:22: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. else if (k<3) strcat ( CID,"/*(" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1961:22: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. if (k<1) strcat ( CID,"/*/*/*/" ); // full path data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1962:22: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. else if (k<2) strcat ( CID,"/*/*/" ); // /mdl + /*/*/ data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1963:22: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. else if (k<3) strcat ( CID,"/*/" ); // /mdl/chn + /*/ data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1972:22: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. else if (k<2) strcat ( CID,"/*/*/*[" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1973:22: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. else if (k<3) strcat ( CID,"/*/*[" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1974:22: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. else if (k<4) strcat ( CID,"/*[" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1983:22: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. else if (k<2) strcat ( CID,"/*/*/*:" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1984:22: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. else if (k<3) strcat ( CID,"/*/*:" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1985:22: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. else if (k<4) strcat ( CID,"/*:" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.h:213:10: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. extern char CIFErrorLocation[200]; data/mmdb-2.0.5/mmdb2/mmdb_xml_.cpp:185:11: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy ( t,"_and_" ); data/mmdb-2.0.5/mmdb2/mmdb_xml_.cpp:228:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char S[100]; data/mmdb-2.0.5/mmdb2/mmdb_xml_.cpp:229:7: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( S,"%i",iV ); data/mmdb-2.0.5/mmdb2/mmdb_xml_.cpp:284:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char N[500]; data/mmdb-2.0.5/mmdb2/mmdb_xml_.cpp:285:7: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( N,"%-.*g",length,V ); data/mmdb-2.0.5/mmdb2/mmdb_xml_.cpp:290:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char N[500]; data/mmdb-2.0.5/mmdb2/mmdb_xml_.cpp:291:7: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf ( N,"%*i",length,iV ); data/mmdb-2.0.5/mmdb2/mmdb_xml_.cpp:702:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char S[500]; data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1316:9: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat ( AtomID,"(" ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1318:9: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat ( AtomID,")" ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1321:9: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat ( AtomID,"." ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1324:7: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat ( AtomID,"/" ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1328:17: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. if (!S[0]) strcpy ( S,"-" ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1332:7: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat ( AtomID,"[" ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1334:7: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat ( AtomID,"]" ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1337:7: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat ( AtomID,":" ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1669:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(name)==4) { data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1737:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). k = strlen(name); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1752:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). k = strlen(name); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:1757:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). k = strlen(name); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:2073:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void Atom::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:2127:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). UDData::read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:2354:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( insCode,"" ); // residue insertion code data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:3042:5: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat ( ResidueID,"(" ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:3044:5: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat ( ResidueID,")" ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:3046:7: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat ( ResidueID,"." ); data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:3504:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void Residue::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_atom.cpp:3518:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). UDData::read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_atom.h:423:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_atom.h:709:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_bondmngr.cpp:112:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void BondManager::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_bondmngr.cpp:115:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). SelManager::read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_bondmngr.h:66:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:129:17: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. else strcpy ( chainID,"" ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:161:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( insBeg ,"-" ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:163:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( insEnd ,"-" ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:168:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( dbinsBeg,"-" ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:170:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( dbinsEnd,"-" ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:268:7: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( chainID,"" ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:386:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void DBReference::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:434:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( insCode ,"-" ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:457:41: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strcpy_n ( &(S[49]),conflict,IMin(strlen(conflict),21) ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:551:7: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( chainID,"" ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:615:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void SeqAdv::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:649:17: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. else strcpy ( chainID,"" ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:657:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( chainID,"" ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:875:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void SeqRes::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:923:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( insCode,"-" ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:940:40: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strcpy_n ( &(S[29]),comment,IMin(strlen(comment),41) ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:1092:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void ModRes::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:1133:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( insCode,"-" ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:1150:40: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strcpy_n ( &(S[30]),comment,IMin(strlen(comment),40) ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:1223:7: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( chainID,"" ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:1271:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void HetRec::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:2474:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void Chain::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:2496:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). residue[i]->read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:2502:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). UDData::read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:2506:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). DBRef .read ( f ); // Database reference data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:2507:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). seqAdv.read ( f ); // SEQADV records data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:2508:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). seqRes.read ( f ); // SEQRES data data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:2509:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). modRes.read ( f ); // MODRES records data/mmdb-2.0.5/mmdb2/mmdb_chain.cpp:2510:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). Het .read ( f ); // HET records data/mmdb-2.0.5/mmdb2/mmdb_chain.h:200:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_chain.h:242:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_chain.h:280:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_chain.h:323:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_chain.h:363:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_chain.h:620:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); // reads header from PDB binary file data/mmdb-2.0.5/mmdb2/mmdb_coormngr.cpp:303:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void GenSym::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_coormngr.cpp:307:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). SymOps::read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_coormngr.cpp:4140:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void CoorManager::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_coormngr.cpp:4143:11: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). Root::read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_coormngr.h:137:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_coormngr.h:849:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_cryst.cpp:358:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void NCSMatrix::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_cryst.cpp:412:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( &(S[40]),comment,IMin(30,strlen(comment)) ); data/mmdb-2.0.5/mmdb2/mmdb_cryst.cpp:412:42: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strncpy ( &(S[40]),comment,IMin(30,strlen(comment)) ); data/mmdb-2.0.5/mmdb2/mmdb_cryst.cpp:494:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void TVect::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_cryst.cpp:528:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( spaceGroup ,"" ); data/mmdb-2.0.5/mmdb2/mmdb_cryst.cpp:529:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( spaceGroupFix,"" ); data/mmdb-2.0.5/mmdb2/mmdb_cryst.cpp:877:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( &(S[55]),spaceGroup,IMin(11,strlen(spaceGroup)) ); data/mmdb-2.0.5/mmdb2/mmdb_cryst.cpp:877:47: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strncpy ( &(S[55]),spaceGroup,IMin(11,strlen(spaceGroup)) ); data/mmdb-2.0.5/mmdb2/mmdb_cryst.cpp:1855:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). l = IMin ( strlen(spGroup),sizeof(spaceGroup)-1 ); data/mmdb-2.0.5/mmdb2/mmdb_cryst.cpp:2181:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void Cryst::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_cryst.cpp:2233:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ncsMatrix.read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_cryst.cpp:2234:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). tVect .read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_cryst.cpp:2235:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). symOps .read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_cryst.cpp:2293:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). cryst->read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_cryst.h:115:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_cryst.h:155:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_cryst.h:427:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); // reads header from PDB binary file data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:126:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (!P) return &(FilePath[strlen(FilePath)]); data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:132:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). i = strlen(FilePath)-1; data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:144:9: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat ( FilePath,"." ); data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:698:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). LCnt = strlen(Line); data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:774:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (WriteFile(Line,strlen(Line))) data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:775:51: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return WriteFile ( (void *)NEWLINE,strlen(NEWLINE) ); data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:785:31: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return WriteFile(Line,strlen(Line)); data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:795:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return WriteFile(N,strlen(N)); data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:805:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return WriteFile(N,strlen(N)); data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:814:44: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return WriteFile ( (void *)NEWLINE,strlen(NEWLINE) ); data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:827:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int l=strlen(S); data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:848:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int l=strlen(S); data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:872:16: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if ((int)strlen(S)>ParColumn) { data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:886:16: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if ((int)strlen(S)>ParColumn) { data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:925:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). i = strlen(Line)+1; data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:937:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). i = strlen(Line)+1; data/mmdb-2.0.5/mmdb2/mmdb_io_file.cpp:975:23: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (Line) ll = strlen(Line); data/mmdb-2.0.5/mmdb2/mmdb_io_stream.cpp:89:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). Object->read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_io_stream.h:176:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual void read ( RFile ) {} data/mmdb-2.0.5/mmdb2/mmdb_machine_.h:305:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). s##_len = strlen(str); data/mmdb-2.0.5/mmdb2/mmdb_machine_.h:333:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). s##_len = strlen(str); data/mmdb-2.0.5/mmdb2/mmdb_machine_.h:360:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). s.len = strlen(FName); \ data/mmdb-2.0.5/mmdb2/mmdb_machine_.h:388:23: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). s.dsc$w_length = strlen(str); \ data/mmdb-2.0.5/mmdb2/mmdb_machine_.h:418:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). s##_len = strlen(str); data/mmdb-2.0.5/mmdb2/mmdb_machine_.h:448:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). s##_len = strlen(str); data/mmdb-2.0.5/mmdb2/mmdb_manager.cpp:216:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( S,MMDB->S,sizeof(S) ); data/mmdb-2.0.5/mmdb2/mmdb_manager.cpp:380:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void Manager::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_manager.cpp:383:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). BondManager::read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_manager.h:117:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_mask.cpp:223:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void Mask::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_mask.h:81:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_math_align.cpp:76:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void AlignParams::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_math_align.cpp:225:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). SLen = strlen ( S ); data/mmdb-2.0.5/mmdb2/mmdb_math_align.cpp:226:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). TLen = strlen ( T ); data/mmdb-2.0.5/mmdb2/mmdb_math_align.cpp:284:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). SLen = strlen ( S ); data/mmdb-2.0.5/mmdb2/mmdb_math_align.cpp:285:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). TLen = strlen ( T ); data/mmdb-2.0.5/mmdb2/mmdb_math_align.cpp:482:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). si = strlen ( AlgnS ); data/mmdb-2.0.5/mmdb2/mmdb_math_align.cpp:483:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ti = strlen ( AlgnT ); data/mmdb-2.0.5/mmdb2/mmdb_math_align.cpp:527:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). n = IMin ( strlen(AlgnS),strlen(AlgnT) ); data/mmdb-2.0.5/mmdb2/mmdb_math_align.cpp:527:32: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). n = IMin ( strlen(AlgnS),strlen(AlgnT) ); data/mmdb-2.0.5/mmdb2/mmdb_math_align.cpp:548:19: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). n = IMin ( strlen(AlgnS),strlen(AlgnT) ); data/mmdb-2.0.5/mmdb2/mmdb_math_align.cpp:548:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). n = IMin ( strlen(AlgnS),strlen(AlgnT) ); data/mmdb-2.0.5/mmdb2/mmdb_math_align.cpp:664:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void Alignment::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_math_align.cpp:1217:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void Alignment1::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_math_align.h:65:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_math_align.h:108:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_math_align.h:165:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_math_graph.cpp:245:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void Vertex::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_math_graph.cpp:377:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void Edge::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_math_graph.cpp:1285:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void Graph::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_math_graph.cpp:1533:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void GMatch::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_math_graph.cpp:2299:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void GraphMatch::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_math_graph.cpp:2311:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). Match[i]->read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_math_graph.h:121:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_math_graph.h:187:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_math_graph.h:306:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_math_graph.h:358:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_math_graph.h:435:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_math_rand.cpp:167:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void RandomNumber::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_math_rand.h:65:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:760:23: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). Dest = new char[strlen(Source)+1]; data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:771:21: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). l = IMin ( strlen(Source),n ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:773:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( Dest,Source,l ); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:827:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (Dest) ld = strlen(Dest); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:830:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (Source1) ls += strlen(Source1); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:831:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (Source2) ls += strlen(Source2); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:832:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (Source3) ls += strlen(Source3); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:833:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (Source4) ls += strlen(Source4); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:834:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (Source5) ls += strlen(Source5); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:858:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (Dest) ld = strlen(Dest); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:861:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (Source1) ls += strlen(Source1); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:862:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (Source2) ls += strlen(Source2); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:863:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (Source3) ls += strlen(Source3); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:864:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (Source4) ls += strlen(Source4); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:887:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (Dest) ld = strlen(Dest); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:890:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (Source1) ls += strlen(Source1); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:891:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (Source2) ls += strlen(Source2); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:892:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (Source3) ls += strlen(Source3); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:912:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (Dest) ld = strlen(Dest); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:915:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (Source1) ls += strlen(Source1); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:916:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (Source2) ls += strlen(Source2); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:934:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (Dest) ld = strlen(Dest); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:936:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (Source) ls = strlen(Source); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:1133:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). k = strlen(s)-1; data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:1148:16: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). k = IMin(i,strlen(s)-1); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:1310:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). j = strlen(d); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:1327:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int i=strlen(S); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:1346:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). k = strlen(S); data/mmdb-2.0.5/mmdb2/mmdb_mattype.cpp:1978:19: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (L) len = strlen(L); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:337:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void Category::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:447:23: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). nf = new char[strlen(field[i])+strlen(F)+1]; data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:447:40: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). nf = new char[strlen(field[i])+strlen(F)+1]; data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:642:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). l = IMax(l,strlen(tag[i])); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:648:35: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (name[0]!=char(1)) m -= strlen(name); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:677:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). n = strlen(F); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:681:21: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). k = l-strlen(tag[i]); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:700:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). k = l-strlen(tag[i]); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:730:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void Struct::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:732:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). Category::read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:1058:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( buf,p,IMin(maxlength,strlen(p)+1) ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:1058:40: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strncpy ( buf,p,IMin(maxlength,strlen(p)+1) ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:1445:34: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). l[i] = IMax(l[i],strlen(F)+m); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:1494:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). k -= strlen(F)+2; data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:1506:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). k -= strlen(F); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:1567:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void Loop::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:1569:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). Category::read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:1969:18: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. else strcpy ( T,"X" ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:2163:16: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). flen = strlen(L); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:2173:21: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). flen += strlen(S)+2; data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:2181:13: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat ( L,"\n" ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:2187:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). p = &(S[strlen(S)]); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:3208:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void Data::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:3221:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). Category[i]->read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:3526:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void File::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.cpp:3537:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). data[i]->read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.h:223:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.h:533:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.h:1268:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.h:2034:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_mmcif_.h:2112:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:147:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). } else if (strlen(p1)>53) { data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:185:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). l = strlen(p)+2; data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:240:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). } else if (strlen(p1)>50) { data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:297:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). l = strlen(p)+2; data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:379:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void HetCompound::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:439:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). l = strlen(S); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:444:39: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. if (hetCompound[i]->comment) strcpy ( L,"\n" ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:457:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). l = strlen(S); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:505:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). l = strlen(S); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:512:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(S)>19) { data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:513:41: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. if (hetCompound[i]->Formula) strcpy ( L,"\n" ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:680:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void HetCompounds::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:690:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). hetCompound[i]->read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:738:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( initChainID,"" ); // chain ID for the chain data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:742:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( initICode ,"" ); // insertion code of the initial data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:745:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( endChainID ,"" ); // chain ID for the chain data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:749:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( endICode ,"" ); // insertion code of the terminal data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:946:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void Helix::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:990:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( initChainID,"" ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:991:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( initICode ,"" ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:993:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( endChainID ,"" ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:994:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( endICode ,"" ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:995:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( curAtom ," " ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:997:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( curChainID ,"" ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:998:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( curICode ,"" ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:999:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( prevAtom ," " ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:1001:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( prevChainID,"" ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:1002:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( prevICode ,"" ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:1188:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void Strand::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:1651:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void Sheet::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:1838:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void Sheets::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:1881:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( initChainID," " ); // chain ID for the chain data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:1885:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( initICode ," " ); // insertion code of the initial data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:1888:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( endChainID ," " ); // chain ID for the chain data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:1892:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( endICode ," " ); // insertion code of the terminal data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2055:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void Turn::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2108:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( aloc1 ," " ); // alternative location of 1st atom data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2110:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( chainID1," " ); // chain ID of 1st linked atom data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2112:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( insCode1," " ); // insertion code of 1st linked atom data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2114:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( aloc2 ," " ); // alternative location of 2nd atom data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2116:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( chainID2," " ); // chain ID of 2nd linked atom data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2118:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( insCode2," " ); // insertion code of 2nd linked atom data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2330:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). l = strlen(S)-1; data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2341:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). l = strlen(S)-1; data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2422:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void Link::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2493:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( aloc1 ," " ); // alternative location of 1st atom data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2495:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( chainID1," " ); // chain ID of 1st linked atom data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2497:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( insCode1," " ); // insertion code of 1st linked atom data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2499:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( aloc2 ," " ); // alternative location of 2nd atom data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2501:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( chainID2," " ); // chain ID of 2nd linked atom data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2503:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( insCode2," " ); // insertion code of 2nd linked atom data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2752:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void LinkR::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2814:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( chainID1," " ); // chain identifier 1 data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2816:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( icode1 ," " ); // insertion code 1 data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2818:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( chainID2," " ); // chain identifier 2 data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2820:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( icode2 ," " ); // insertion code 2 data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:2908:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void CisPep::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:3158:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). k = strlen(chID); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:5328:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void Model::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:5348:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). chain[i]->read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:5355:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ProModel::read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:5357:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). hetCompounds.read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:5358:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). helices .read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:5359:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). sheets .read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:5360:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). turns .read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:5361:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). links .read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_model.cpp:5362:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). linkRs .read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_model.h:97:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_model.h:162:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_model.h:220:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_model.h:256:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_model.h:292:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_model.h:335:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_model.h:374:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_model.h:442:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_model.h:535:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_model.h:596:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_model.h:1026:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:79:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( S,"" ); data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:761:13: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( chain_ID[j]," " ); data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:770:17: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( crChain0->chainID," " ); data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:828:9: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( altLoc[i]," " ); data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:836:37: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. if (!atom[i]->altLoc[0]) strcpy ( atom[i]->altLoc," " ); data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:2407:5: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:2902:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void Root::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:2922:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). atom[i]->read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:2939:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). model[i]->read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:2948:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). title.title.read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:2949:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). cryst .read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:2953:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). UDData::read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:2955:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). title .read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:2956:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). cryst .read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:2957:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). udRegister.read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:2958:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). DefPath .read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:2960:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). SA .read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:2961:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). Footnote.read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:2962:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). SB .read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_root.cpp:2963:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). SC .read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_root.h:605:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:245:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( FName,FileName,FNameLen ); data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:522:11: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. else strcpy ( spGroup," " ); data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:588:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( Line,"" ); data/mmdb-2.0.5/mmdb2/mmdb_rwbrook.cpp:2914:3: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( ErrLine,"" ); data/mmdb-2.0.5/mmdb2/mmdb_selmngr.cpp:436:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). L = new char[strlen(S)+5]; data/mmdb-2.0.5/mmdb2/mmdb_selmngr.cpp:1143:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). l = IMax(10,strlen(CID))+1; data/mmdb-2.0.5/mmdb2/mmdb_selmngr.cpp:1156:7: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( Chains,"*" ); data/mmdb-2.0.5/mmdb2/mmdb_selmngr.cpp:1159:7: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( insCode1,"*" ); data/mmdb-2.0.5/mmdb2/mmdb_selmngr.cpp:1160:7: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( insCode2,"*" ); data/mmdb-2.0.5/mmdb2/mmdb_selmngr.cpp:1161:7: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( RNames ,"*" ); data/mmdb-2.0.5/mmdb2/mmdb_selmngr.cpp:1162:7: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( ANames ,"*" ); data/mmdb-2.0.5/mmdb2/mmdb_selmngr.cpp:1163:7: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( Elements,"*" ); data/mmdb-2.0.5/mmdb2/mmdb_selmngr.cpp:1164:7: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( altLocs ,"" ); // only main conformation by default data/mmdb-2.0.5/mmdb2/mmdb_selmngr.cpp:2094:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ssLen = strlen ( selStr ); data/mmdb-2.0.5/mmdb2/mmdb_selmngr.cpp:2974:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). S = new char[strlen(domainRange)+10]; data/mmdb-2.0.5/mmdb2/mmdb_selmngr.cpp:3388:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void SelManager::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_selmngr.cpp:3396:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). CoorManager::read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_selmngr.h:612:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:131:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen ( L ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:141:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy ( p1," ",2 ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:148:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy ( p1," ",2 ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:161:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy ( p1," ",2 ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:168:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy ( p1," ",2 ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:181:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy ( p1," ",2 ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:188:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy ( p1," ",2 ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:193:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if ((int)strlen(L)>=len) return SYMOP_NotAnOperation; data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:212:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). l = strlen ( S ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:215:11: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat ( S,"+" ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:220:7: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat ( S,"-" ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:347:5: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat ( S,"," ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:352:5: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat ( S,"," ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:365:7: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat ( S,"," ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:370:7: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat ( S,"," ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:434:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void SymOp::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:507:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (S[strlen(S)-1]!='/') strcat ( S,"/" ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:507:37: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. if (S[strlen(S)-1]!='/') strcat ( S,"/" ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:518:5: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat ( G,"'" ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:581:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (S[strlen(S)-1]!='/') strcat ( S,"/" ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:581:37: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. if (S[strlen(S)-1]!='/') strcat ( S,"/" ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:595:7: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat ( G,"'" ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:606:7: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat ( G,"'" ); data/mmdb-2.0.5/mmdb2/mmdb_symop.cpp:931:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void SymOps::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_symop.h:78:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_symop.h:151:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_tables.cpp:236:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( name,element,2 ); data/mmdb-2.0.5/mmdb2/mmdb_tables.cpp:707:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( r,res3name,3 ); data/mmdb-2.0.5/mmdb2/mmdb_tables.cpp:726:32: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. else strcpy ( res1code,"X" ); data/mmdb-2.0.5/mmdb2/mmdb_tables.cpp:734:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( r,res3name,3 ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:120:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( &(S[21]),idCode,4 ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:122:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( &(S[31+5*i]),rIdCode[i],4 ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:153:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( idCode,&(S[21]),4 ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:156:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( rIdCode[i],&(S[31+i*5]),4 ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:186:17: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( DateCIF,FDate,15 ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:190:17: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( idCode1,FID,sizeof(IDCode)-1 ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:202:16: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( rIdCode[i],FID,sizeof(IDCode)-1 ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:236:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void ObsLine::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:273:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(S)>10) data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:291:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void TitleLine::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:294:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ContString::read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:325:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(S)>12) { data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:326:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( idCode,&(S[11]),4 ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:328:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(S)>19) data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:347:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( S,"\n" ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:348:5: [1] (buffer) strncat: Easily used incorrectly (e.g., incorrectly computing the correct maximum size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf, or automatically resizing strings. strncat ( S,Line,sizeof(S)-2 ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:381:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void Caveat::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:385:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ContString::read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:415:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(S)>10) data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:433:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void Compound::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:436:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ContString::read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:466:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(S)>10) data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:484:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void Source::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:487:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ContString::read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:566:9: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( L," " ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:627:19: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). k = strlen(S) + strlen(KeyWord[i]) + 2; data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:627:31: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). k = strlen(S) + strlen(KeyWord[i]) + 2; data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:645:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( S,"\n" ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:648:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). k = strlen(KeyWord[i]); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:649:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(S)+k>70) { data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:656:11: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( S,"\n" ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:663:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(S)>1) data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:735:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void KeyWords::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:776:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(S)>10) data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:794:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void ExpData::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:797:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ContString::read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:828:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(S)>10) data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:846:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void MdlType::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:849:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ContString::read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:878:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(S)>10) data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:896:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void Author::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:899:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ContString::read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:940:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). i = strlen(S); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:945:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( &(S[23]),modId,5 ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:948:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( &(S[39+i*7]),record[i],6 ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1043:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( N,&(S[7]),3 ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1048:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( modId,&(S[23]),5 ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1053:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( record[i],&(S[39+i*7]),6 ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1082:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void RevData::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1130:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). i = strlen(S); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1136:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( &(S[21]),idCode,4 ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1139:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( &(S[31+5*i]),sIdCode[i],4 ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1171:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( idCode,&(S[21]),4 ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1175:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( sIdCode[i],&(S[31+i*5]),4 ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1208:17: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( DateCIF,FDate,15 ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1212:17: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( idCode1,FID,sizeof(IDCode)-1 ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1224:16: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( sIdCode[i],FID,sizeof(IDCode)-1 ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1258:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void Supersede::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1294:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(S)>10) data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1311:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void Journal::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1314:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ContString::read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1349:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). else if (strlen(S)>11) CreateCopy ( remark,&(S[11]) ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1351:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). i = strlen(remark)-1; data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1364:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( &(S[11]),remark,IMin(68,strlen(remark)) ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1364:44: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strncpy ( &(S[11]),remark,IMin(68,strlen(remark)) ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1424:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void Remark::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1530:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). nAdd = strlen(p)/2 + 3; data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1691:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void BMApply::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1828:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void Biomolecule::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1916:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( depDate,DepDate,sizeof(depDate) ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1917:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( idCode ,IDCode ,sizeof(idCode) ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:1947:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( idCode,&(PDBString[62]),4 ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:2158:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( idCode,S,sizeof(IDCode)-1 ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:2208:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). i = strlen(PDBString); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:2213:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( &(PDBString[62]),idCode,4 ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:2248:21: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. if (i>0) strcat ( S," " ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:2303:19: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). l = strlen(S)-1; data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:2318:25: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. if (i>0) strcat ( S," " ); data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:2500:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void Title::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:2516:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). obsData .read ( f ); // Obsoletion data data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:2517:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). title .read ( f ); // Title data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:2518:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). caveat .read ( f ); // Error data data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:2519:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). compound .read ( f ); // Compound data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:2520:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). source .read ( f ); // Source data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:2521:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). keyWords .read ( f ); // Key words data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:2522:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). expData .read ( f ); // Experimental data data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:2524:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). mdlType.read ( f ); // Model descriptions data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:2525:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). author .read ( f ); // Author data data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:2526:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). revData .read ( f ); // Revision data data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:2527:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). supersede.read ( f ); // Supersede records data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:2528:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). journal .read ( f ); // Journal records data/mmdb-2.0.5/mmdb2/mmdb_title.cpp:2529:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). remark .read ( f ); // Remarks data/mmdb-2.0.5/mmdb2/mmdb_title.h:111:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_title.h:140:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_title.h:178:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_title.h:207:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_title.h:236:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_title.h:272:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_title.h:302:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_title.h:331:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_title.h:360:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_title.h:403:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_title.h:438:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_title.h:467:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_title.h:502:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_title.h:535:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_title.h:567:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_title.h:652:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); // reads header from PDB binary file data/mmdb-2.0.5/mmdb2/mmdb_uddata.cpp:231:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void UDRegister::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_uddata.cpp:506:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void UDData::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_uddata.cpp:514:11: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). Mask::read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_uddata.h:85:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_uddata.h:147:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:95:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( Date11,Date9,7 ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:96:27: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. if (Date9[7]!='0') strncpy ( &(Date11[7]),"19",2 ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:97:27: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. else strncpy ( &(Date11[7]),"20",2 ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:98:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( &(Date11[9]),&(Date9[7]),2 ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:103:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( Date11,Date9,3 ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:107:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( &(Date11[3]),Month[i],3 ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:108:31: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. if (Date9[6]!='0') strncpy ( &(Date11[7]),"19",2 ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:109:27: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. else strncpy ( &(Date11[7]),"20",2 ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:110:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( &(Date11[9]),&(Date9[6]),2 ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:125:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( Date9,Date11,7 ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:126:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( &(Date9[7]),&(Date11[9]),2 ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:130:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( Date9,Date11,3 ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:134:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( &(Date9[3]),Month[i],3 ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:135:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( &(Date9[7]),&(Date11[8]),2 ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:151:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( &(DateCIF[2]),&(Date9[7]),2 ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:152:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( &(DateCIF[5]),nMonth[i],2 ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:156:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( &(DateCIF[2]),&(Date9[6]),2 ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:157:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( &(DateCIF[5]),&(Date9[3]),2 ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:161:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( &(DateCIF[8]),Date9,2 ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:171:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( DateCIF,&(Date11[7]),4 ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:172:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( &(DateCIF[5]),nMonth[i],2 ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:174:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( DateCIF,&(Date11[6]),4 ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:175:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( &(DateCIF[5]),&(Date11[3]),2 ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:179:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( &(DateCIF[8]),Date11,2 ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:186:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( Date9,&(DateCIF[8]),2 ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:190:15: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). if (i<12) strncpy ( &(Date9[3]),Month[i],3 ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:192:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( &(Date9[3]),&(DateCIF[5]),2 ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:196:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( &(Date9[7]),&(DateCIF[2]),2 ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:203:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( Date11,&(DateCIF[8]),2 ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:207:15: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). if (i<12) strncpy ( &(Date11[3]),Month[i],3 ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:209:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( &(Date11[3]),&(DateCIF[5]),2 ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:213:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( &(Date11[7]),DateCIF,4 ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:227:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( L,S,M ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:244:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( L,S,M ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:272:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( L,S,M ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:302:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( S,L,M ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:320:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( S,N,M ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:457:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy ( S,F,SLen-1 ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:990:16: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. else strcpy ( S,"" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1063:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). S = new char[strlen(Line)+5]; data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1064:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( S,"\n" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1094:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void ContString::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1174:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). j = strlen(S); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1250:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void ClassContainer::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1262:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). Container[i]->read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1427:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void AtomPath::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1430:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). io::Stream::read ( f ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1529:16: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). p1 = p + strlen(p); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1548:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( aname ,"*" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1549:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( elname,"*" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1551:14: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. else strcpy ( aloc,"*" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1580:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( inscode,"*" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1581:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( resname,"*" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1648:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( chn,"*" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1659:11: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( chn,"*" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1669:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( ic ,"*" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1670:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( res,"*" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1689:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( atm ,"*" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1690:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( elm ,"*" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1691:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( aloc,"*" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1743:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). l = IMax(10,strlen(CID))+1; data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1761:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( Chains,"*" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1764:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( insCode[0],"*" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1765:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( insCode[1],"*" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1766:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( RNames ,"*" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1767:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( ANames ,"*" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1768:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( Elements ,"*" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1769:5: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( altLocs ,"*" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1794:9: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. strcpy ( Chains,"*" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1852:24: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. if (!ANames[0]) strcpy ( ANames,"*" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1918:17: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. if (k>0) strcat ( CID,"/" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1926:9: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat ( CID,"/" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1929:28: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. else strcpy ( S,"*" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1931:9: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat ( S,"." ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1937:9: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat ( CID,"-" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1939:30: [1] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant character. else strcpy ( S,"*" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1941:11: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat ( S,"." ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1952:22: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. if (k<1) strcat ( CID,"(" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1956:7: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat ( CID,")" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1964:22: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. else if (k<4) strcat ( CID,"/" ); // /mdl/chn/res + / data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1966:7: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat ( CID,")" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1971:22: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. if (k<1) strcat ( CID,"[" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1975:22: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. else if (k<5) strcat ( CID,"[" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1977:7: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat ( CID,"]" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1982:22: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. if (k<1) strcat ( CID,":" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.cpp:1986:22: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. else if (k<6) strcat ( CID,":" ); data/mmdb-2.0.5/mmdb2/mmdb_utils.h:276:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile ) {} data/mmdb-2.0.5/mmdb2/mmdb_utils.h:312:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_utils.h:351:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_utils.h:451:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); data/mmdb-2.0.5/mmdb2/mmdb_xml_.cpp:163:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). n = n*4 + strlen(Tag) + 1; data/mmdb-2.0.5/mmdb2/mmdb_xml_.cpp:249:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). n += strlen(Data) + 1; // eugene data/mmdb-2.0.5/mmdb2/mmdb_xml_.cpp:643:16: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). tl = strlen(objTag); data/mmdb-2.0.5/mmdb2/mmdb_xml_.cpp:644:30: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if ((pos+tl+2+(int)strlen(objData)<rm-tl-2) && data/mmdb-2.0.5/mmdb2/mmdb_xml_.cpp:736:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). k = strlen(S); data/mmdb-2.0.5/mmdb2/mmdb_xml_.cpp:780:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). k = strlen(S); data/mmdb-2.0.5/mmdb2/mmdb_xml_.cpp:892:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void XMLObject::read ( io::RFile f ) { data/mmdb-2.0.5/mmdb2/mmdb_xml_.h:132:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read ( io::RFile f ); ANALYSIS SUMMARY: Hits = 1395 Lines analyzed = 67845 in approximately 1.45 seconds (46880 lines/second) Physical Source Lines of Code (SLOC) = 45713 Hits@level = [0] 114 [1] 561 [2] 439 [3] 19 [4] 376 [5] 0 Hits@level+ = [0+] 1509 [1+] 1395 [2+] 834 [3+] 395 [4+] 376 [5+] 0 Hits/KSLOC@level+ = [0+] 33.0103 [1+] 30.5165 [2+] 18.2443 [3+] 8.64087 [4+] 8.22523 [5+] 0 Dot directories skipped = 1 (--followdotdir overrides) Minimum risk level = 1 Not every hit is necessarily a security vulnerability. There may be other security vulnerabilities; review your code! See 'Secure Programming HOWTO' (https://dwheeler.com/secure-programs) for more information.