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/wise-2.4.1/src/api/examples/revcomp.c
Examining data/wise-2.4.1/src/api/examples/sw.c
Examining data/wise-2.4.1/src/api/include/wisebase_api.h
Examining data/wise-2.4.1/src/api/include/basic.h
Examining data/wise-2.4.1/src/dyc/dbmpi.c
Examining data/wise-2.4.1/src/dyc/dbmpi.h
Examining data/wise-2.4.1/src/dyc/display.c
Examining data/wise-2.4.1/src/dyc/display.h
Examining data/wise-2.4.1/src/dyc/method.c
Examining data/wise-2.4.1/src/dyc/method.h
Examining data/wise-2.4.1/src/dyc/variable.c
Examining data/wise-2.4.1/src/dyc/variable.h
Examining data/wise-2.4.1/src/dyc/dyshatter.c
Examining data/wise-2.4.1/src/dyc/dyshatter.h
Examining data/wise-2.4.1/src/dyc/api.c
Examining data/wise-2.4.1/src/dyc/api.h
Examining data/wise-2.4.1/src/dyc/dyc.c
Examining data/wise-2.4.1/src/dyc/dpimpl.c
Examining data/wise-2.4.1/src/dyc/dpimpl.h
Examining data/wise-2.4.1/src/dyc/dynadebug.c
Examining data/wise-2.4.1/src/dyc/dynadebug.h
Examining data/wise-2.4.1/src/dyc/funcinfo.c
Examining data/wise-2.4.1/src/dyc/funcinfo.h
Examining data/wise-2.4.1/src/dyc/dy2om.c
Examining data/wise-2.4.1/src/dyc/dy2om.h
Examining data/wise-2.4.1/src/dyc/dyna2.c
Examining data/wise-2.4.1/src/dyc/dyna2.h
Examining data/wise-2.4.1/src/dyc/module.c
Examining data/wise-2.4.1/src/dyc/module.h
Examining data/wise-2.4.1/src/dyc/exprtree.c
Examining data/wise-2.4.1/src/dyc/exprtree.h
Examining data/wise-2.4.1/src/dyc/dbthread.c
Examining data/wise-2.4.1/src/dyc/dbthread.h
Examining data/wise-2.4.1/src/dyc/docugen.c
Examining data/wise-2.4.1/src/dyc/y.tab.c
Examining data/wise-2.4.1/src/dyc/y.tab.h
Examining data/wise-2.4.1/src/dyc/labelmaster.c
Examining data/wise-2.4.1/src/dyc/labelmaster.h
Examining data/wise-2.4.1/src/dyc/compugen.c
Examining data/wise-2.4.1/src/dyc/compugen.h
Examining data/wise-2.4.1/src/dyc/lex.yy.c
Examining data/wise-2.4.1/src/dyc/dymain.c
Examining data/wise-2.4.1/src/dyc/dymain.h
Examining data/wise-2.4.1/src/dyc/dynadb.c
Examining data/wise-2.4.1/src/dyc/dynadb.h
Examining data/wise-2.4.1/src/dyc/ftext.c
Examining data/wise-2.4.1/src/dyc/ftext.h
Examining data/wise-2.4.1/src/dyc/friend.c
Examining data/wise-2.4.1/src/dyc/friend.h
Examining data/wise-2.4.1/src/dyc/telegraph.c
Examining data/wise-2.4.1/src/dyc/telegraph.h
Examining data/wise-2.4.1/src/dyc/objectinfo.c
Examining data/wise-2.4.1/src/dyc/objectinfo.h
Examining data/wise-2.4.1/src/dyc/type.c
Examining data/wise-2.4.1/src/dyc/type.h
Examining data/wise-2.4.1/src/dyc/dynafunc.c
Examining data/wise-2.4.1/src/dyc/dynafunc.h
Examining data/wise-2.4.1/src/dyc/inputfile.c
Examining data/wise-2.4.1/src/dyc/inputfile.h
Examining data/wise-2.4.1/src/dyc/kbestsearch.c
Examining data/wise-2.4.1/src/dyc/kbestsearch.h
Examining data/wise-2.4.1/src/dyc/optimiser.c
Examining data/wise-2.4.1/src/dyc/optimiser.h
Examining data/wise-2.4.1/src/dyc/dynashadow.c
Examining data/wise-2.4.1/src/dyc/dynashadow.h
Examining data/wise-2.4.1/src/dyc/probal.c
Examining data/wise-2.4.1/src/dyc/probal.h
Examining data/wise-2.4.1/src/dyc/linkmap.c
Examining data/wise-2.4.1/src/dyc/linkmap.h
Examining data/wise-2.4.1/src/dyc/dynfile.c
Examining data/wise-2.4.1/src/dyc/dynfile.h
Examining data/wise-2.4.1/src/dyc/wisec.c
Examining data/wise-2.4.1/src/dyc/wisec.h
Examining data/wise-2.4.1/src/dyc/modulefunc.c
Examining data/wise-2.4.1/src/dyc/modulefunc.h
Examining data/wise-2.4.1/src/dyc/input.c
Examining data/wise-2.4.1/src/dyc/input.h
Examining data/wise-2.4.1/src/dyc/moduleinfo.c
Examining data/wise-2.4.1/src/dyc/moduleinfo.h
Examining data/wise-2.4.1/src/snp/test_est.c
Examining data/wise-2.4.1/src/base/wiseoverlay.c
Examining data/wise-2.4.1/src/base/wiseoverlay.h
Examining data/wise-2.4.1/src/base/wisetime.c
Examining data/wise-2.4.1/src/base/wisetime.h
Examining data/wise-2.4.1/src/base/linesubs.c
Examining data/wise-2.4.1/src/base/linesubs.h
Examining data/wise-2.4.1/src/base/wisestreaminterface.c
Examining data/wise-2.4.1/src/base/wisestreaminterface.h
Examining data/wise-2.4.1/src/base/wisestring.c
Examining data/wise-2.4.1/src/base/wisestring.h
Examining data/wise-2.4.1/src/base/wisememman.c
Examining data/wise-2.4.1/src/base/wisememman.h
Examining data/wise-2.4.1/src/base/wisefile_api.h
Examining data/wise-2.4.1/src/base/commandline.c
Examining data/wise-2.4.1/src/base/commandline.h
Examining data/wise-2.4.1/src/base/commandline_api.h
Examining data/wise-2.4.1/src/base/wiseerror.c
Examining data/wise-2.4.1/src/base/wiseerror.h
Examining data/wise-2.4.1/src/base/wiseconfig.c
Examining data/wise-2.4.1/src/base/wiseconfig.h
Examining data/wise-2.4.1/src/base/wiserandom.c
Examining data/wise-2.4.1/src/base/wiserandom.h
Examining data/wise-2.4.1/src/base/wiseerror_api.h
Examining data/wise-2.4.1/src/base/wisebase.h
Examining data/wise-2.4.1/src/base/wisefile.c
Examining data/wise-2.4.1/src/base/wisefile.h
Examining data/wise-2.4.1/src/perl/basic.h
Examining data/wise-2.4.1/src/dynamite_examples/est2gen.c
Examining data/wise-2.4.1/src/dynamite_examples/dbsearch.c
Examining data/wise-2.4.1/src/dynamite_examples/psw.c
Examining data/wise-2.4.1/src/dynamite_examples/estgendisplay.c
Examining data/wise-2.4.1/src/dynamite_examples/estgendisplay.h
Examining data/wise-2.4.1/src/dynamite_examples/seqaligndisplay.c
Examining data/wise-2.4.1/src/dynamite_examples/seqaligndisplay.h
Examining data/wise-2.4.1/src/HMMer2/revcomp.c
Examining data/wise-2.4.1/src/HMMer2/debug.c
Examining data/wise-2.4.1/src/HMMer2/hmmconvert.c
Examining data/wise-2.4.1/src/HMMer2/sre_ctype.c
Examining data/wise-2.4.1/src/HMMer2/dayhoff.c
Examining data/wise-2.4.1/src/HMMer2/histogram.c
Examining data/wise-2.4.1/src/HMMer2/msf.c
Examining data/wise-2.4.1/src/HMMer2/selex.c
Examining data/wise-2.4.1/src/HMMer2/hmmalign.c
Examining data/wise-2.4.1/src/HMMer2/sre_string.c
Examining data/wise-2.4.1/src/HMMer2/structs.h
Examining data/wise-2.4.1/src/HMMer2/emulation.c
Examining data/wise-2.4.1/src/HMMer2/tophits.c
Examining data/wise-2.4.1/src/HMMer2/masks.c
Examining data/wise-2.4.1/src/HMMer2/squid.h
Examining data/wise-2.4.1/src/HMMer2/hmmcalibrate.c
Examining data/wise-2.4.1/src/HMMer2/stack.c
Examining data/wise-2.4.1/src/HMMer2/config.h
Examining data/wise-2.4.1/src/HMMer2/emit.c
Examining data/wise-2.4.1/src/HMMer2/hmmsearch.c
Examining data/wise-2.4.1/src/HMMer2/file.c
Examining data/wise-2.4.1/src/HMMer2/getopt.c
Examining data/wise-2.4.1/src/HMMer2/hmmbuild.c
Examining data/wise-2.4.1/src/HMMer2/interleaved.c
Examining data/wise-2.4.1/src/HMMer2/trace.c
Examining data/wise-2.4.1/src/HMMer2/funcs.h
Examining data/wise-2.4.1/src/HMMer2/sqerror.c
Examining data/wise-2.4.1/src/HMMer2/misc.c
Examining data/wise-2.4.1/src/HMMer2/alignio.c
Examining data/wise-2.4.1/src/HMMer2/modelmakers.c
Examining data/wise-2.4.1/src/HMMer2/cluster.c
Examining data/wise-2.4.1/src/HMMer2/mathsupport.c
Examining data/wise-2.4.1/src/HMMer2/types.c
Examining data/wise-2.4.1/src/HMMer2/alphabet.c
Examining data/wise-2.4.1/src/HMMer2/hmmemit.c
Examining data/wise-2.4.1/src/HMMer2/core_algorithms.c
Examining data/wise-2.4.1/src/HMMer2/hmmio.c
Examining data/wise-2.4.1/src/HMMer2/sqfuncs.h
Examining data/wise-2.4.1/src/HMMer2/translate.c
Examining data/wise-2.4.1/src/HMMer2/globals.h
Examining data/wise-2.4.1/src/HMMer2/gnuregex.c
Examining data/wise-2.4.1/src/HMMer2/gnuregex.h
Examining data/wise-2.4.1/src/HMMer2/hmmpfam.c
Examining data/wise-2.4.1/src/HMMer2/plan7.c
Examining data/wise-2.4.1/src/HMMer2/plan9.c
Examining data/wise-2.4.1/src/HMMer2/aligneval.c
Examining data/wise-2.4.1/src/HMMer2/version.h
Examining data/wise-2.4.1/src/HMMer2/sre_math.c
Examining data/wise-2.4.1/src/HMMer2/prior.c
Examining data/wise-2.4.1/src/HMMer2/iupac.c
Examining data/wise-2.4.1/src/HMMer2/weight.c
Examining data/wise-2.4.1/src/HMMer2/sqio.c
Examining data/wise-2.4.1/src/external/mott/mott_api.c
Examining data/wise-2.4.1/src/external/mott/mott_api.h
Examining data/wise-2.4.1/src/external/mott/gapstat.h
Examining data/wise-2.4.1/src/external/mott/wise2_mott_bridge.c
Examining data/wise-2.4.1/src/external/mott/wise2_mott_bridge.h
Examining data/wise-2.4.1/src/external/mott/gaplib.c
Examining data/wise-2.4.1/src/corba/hspscan_corba_wrapper.c
Examining data/wise-2.4.1/src/corba/hspscan_corba_wrapper.h
Examining data/wise-2.4.1/src/corba/hspscan_server_impl.c
Examining data/wise-2.4.1/src/corba/hspscan_server_impl.h
Examining data/wise-2.4.1/src/corba/test_wrapper.c
Examining data/wise-2.4.1/src/corba/test_server.c
Examining data/wise-2.4.1/src/corba/corba_singleton.c
Examining data/wise-2.4.1/src/corba/corba_singleton.h
Examining data/wise-2.4.1/src/corba/test_client.c
Examining data/wise-2.4.1/src/corba/scanwise_protein_index.c
Examining data/wise-2.4.1/src/contig/testoverlap.c
Examining data/wise-2.4.1/src/network/net_hspscan.c
Examining data/wise-2.4.1/src/network/net_hspscan.h
Examining data/wise-2.4.1/src/network/client_multihspscan.c
Examining data/wise-2.4.1/src/network/client_multihspscan.h
Examining data/wise-2.4.1/src/network/wise_proteinindex_server.c
Examining data/wise-2.4.1/src/other_programs/test_ortho.c
Examining data/wise-2.4.1/src/models/revcomp.c
Examining data/wise-2.4.1/src/models/genome_evidence.c
Examining data/wise-2.4.1/src/models/genome_evidence.h
Examining data/wise-2.4.1/src/models/gwlite.c
Examining data/wise-2.4.1/src/models/gwlite.h
Examining data/wise-2.4.1/src/models/gwlitemodel.c
Examining data/wise-2.4.1/src/models/gwlitemodel.h
Examining data/wise-2.4.1/src/models/pfamhmmer1db_api.h
Examining data/wise-2.4.1/src/models/fivestate.c
Examining data/wise-2.4.1/src/models/fivestate.h
Examining data/wise-2.4.1/src/models/cdnawise10.c
Examining data/wise-2.4.1/src/models/cdnawise10.h
Examining data/wise-2.4.1/src/models/geneloop6.c
Examining data/wise-2.4.1/src/models/geneloop6.h
Examining data/wise-2.4.1/src/models/estfrag3.c
Examining data/wise-2.4.1/src/models/estfrag3.h
Examining data/wise-2.4.1/src/models/geneparameter_api.h
Examining data/wise-2.4.1/src/models/estwrap_api.h
Examining data/wise-2.4.1/src/models/makepwm.c
Examining data/wise-2.4.1/src/models/pairwiseshortdna.c
Examining data/wise-2.4.1/src/models/pairwiseshortdna.h
Examining data/wise-2.4.1/src/models/estslimloop.c
Examining data/wise-2.4.1/src/models/estslimloop.h
Examining data/wise-2.4.1/src/models/splicesitemodeler.c
Examining data/wise-2.4.1/src/models/splicesitemodeler.h
Examining data/wise-2.4.1/src/models/genedisplay.c
Examining data/wise-2.4.1/src/models/genedisplay.h
Examining data/wise-2.4.1/src/models/abc.c
Examining data/wise-2.4.1/src/models/abc.h
Examining data/wise-2.4.1/src/models/dba.c
Examining data/wise-2.4.1/src/models/dba.h
Examining data/wise-2.4.1/src/models/genestats.h
Examining data/wise-2.4.1/src/models/estquick3.c
Examining data/wise-2.4.1/src/models/estquick3.h
Examining data/wise-2.4.1/src/models/dbadisplay.c
Examining data/wise-2.4.1/src/models/dbadisplay.h
Examining data/wise-2.4.1/src/models/pba.c
Examining data/wise-2.4.1/src/models/pba.h
Examining data/wise-2.4.1/src/models/geneparser4.c
Examining data/wise-2.4.1/src/models/geneparser4.h
Examining data/wise-2.4.1/src/models/geneparameter.c
Examining data/wise-2.4.1/src/models/geneparameter.h
Examining data/wise-2.4.1/src/models/largeblockdp.c
Examining data/wise-2.4.1/src/models/largeblockdp.h
Examining data/wise-2.4.1/src/models/dnaalign_api.h
Examining data/wise-2.4.1/src/models/matchsum.c
Examining data/wise-2.4.1/src/models/matchsum.h
Examining data/wise-2.4.1/src/models/syexonmodel.c
Examining data/wise-2.4.1/src/models/syexonmodel.h
Examining data/wise-2.4.1/src/models/test_splice.c
Examining data/wise-2.4.1/src/models/aligngenemodel.c
Examining data/wise-2.4.1/src/models/aligngenemodel.h
Examining data/wise-2.4.1/src/models/threestatemodel_api.h
Examining data/wise-2.4.1/src/models/genewisemodeldb.c
Examining data/wise-2.4.1/src/models/genewisemodeldb.h
Examining data/wise-2.4.1/src/models/hsp2aln_sw.c
Examining data/wise-2.4.1/src/models/hsp2aln_sw.h
Examining data/wise-2.4.1/src/models/sywise20.c
Examining data/wise-2.4.1/src/models/sywise20.h
Examining data/wise-2.4.1/src/models/threestateloop.c
Examining data/wise-2.4.1/src/models/threestateloop.h
Examining data/wise-2.4.1/src/models/dnamatcher.c
Examining data/wise-2.4.1/src/models/dnamatcher.h
Examining data/wise-2.4.1/src/models/makeseqerror.c
Examining data/wise-2.4.1/src/models/sw_wrap.c
Examining data/wise-2.4.1/src/models/sw_wrap.h
Examining data/wise-2.4.1/src/models/genefrequency_api.h
Examining data/wise-2.4.1/src/models/localcispara.c
Examining data/wise-2.4.1/src/models/localcispara.h
Examining data/wise-2.4.1/src/models/transregiondp.c
Examining data/wise-2.4.1/src/models/transregiondp.h
Examining data/wise-2.4.1/src/models/genewisemodel.c
Examining data/wise-2.4.1/src/models/genewisemodel.h
Examining data/wise-2.4.1/src/models/threestatemodel.c
Examining data/wise-2.4.1/src/models/threestatemodel.h
Examining data/wise-2.4.1/src/models/proteinsw.c
Examining data/wise-2.4.1/src/models/proteinsw.h
Examining data/wise-2.4.1/src/models/localdba.c
Examining data/wise-2.4.1/src/models/localdba.h
Examining data/wise-2.4.1/src/models/mapstruct.c
Examining data/wise-2.4.1/src/models/mapstruct.h
Examining data/wise-2.4.1/src/models/genestretch6.c
Examining data/wise-2.4.1/src/models/genestretch6.h
Examining data/wise-2.4.1/src/models/geneoutput.c
Examining data/wise-2.4.1/src/models/geneoutput.h
Examining data/wise-2.4.1/src/models/estwise3.c
Examining data/wise-2.4.1/src/models/estwise3.h
Examining data/wise-2.4.1/src/models/fivestatemodel.c
Examining data/wise-2.4.1/src/models/fivestatemodel.h
Examining data/wise-2.4.1/src/models/gwquickdb.c
Examining data/wise-2.4.1/src/models/gwquickdb.h
Examining data/wise-2.4.1/src/models/localclonewisedp.c
Examining data/wise-2.4.1/src/models/localclonewisedp.h
Examining data/wise-2.4.1/src/models/pwmdna.c
Examining data/wise-2.4.1/src/models/pwmdna.h
Examining data/wise-2.4.1/src/models/genedisplay_api.h
Examining data/wise-2.4.1/src/models/clonewisedp.c
Examining data/wise-2.4.1/src/models/clonewisedp.h
Examining data/wise-2.4.1/src/models/pfamhmmer1db.c
Examining data/wise-2.4.1/src/models/pfamhmmer1db.h
Examining data/wise-2.4.1/src/models/editdistdp.c
Examining data/wise-2.4.1/src/models/editdistdp.h
Examining data/wise-2.4.1/src/models/genewise21.c
Examining data/wise-2.4.1/src/models/genewise21.h
Examining data/wise-2.4.1/src/models/genefrequency.h
Examining data/wise-2.4.1/src/models/seqaligndisplay_api.h
Examining data/wise-2.4.1/src/models/genewise4.c
Examining data/wise-2.4.1/src/models/genewise4.h
Examining data/wise-2.4.1/src/models/genewise6.c
Examining data/wise-2.4.1/src/models/genewise6.h
Examining data/wise-2.4.1/src/models/motifmatrixdp.c
Examining data/wise-2.4.1/src/models/motifmatrixdp.h
Examining data/wise-2.4.1/src/models/geneparser21.c
Examining data/wise-2.4.1/src/models/geneparser21.h
Examining data/wise-2.4.1/src/models/test_gwhsp.c
Examining data/wise-2.4.1/src/models/statwise10.c
Examining data/wise-2.4.1/src/models/dnaalign.c
Examining data/wise-2.4.1/src/models/dnaalign.h
Examining data/wise-2.4.1/src/models/dnaprofile.c
Examining data/wise-2.4.1/src/models/dnaprofile.h
Examining data/wise-2.4.1/src/models/seqerror.c
Examining data/wise-2.4.1/src/models/geneloop21.c
Examining data/wise-2.4.1/src/models/geneloop21.h
Examining data/wise-2.4.1/src/models/mutatedna.c
Examining data/wise-2.4.1/src/models/makerandomdb.c
Examining data/wise-2.4.1/src/models/phasemodel.h
Examining data/wise-2.4.1/src/models/seqhit.c
Examining data/wise-2.4.1/src/models/seqhit.h
Examining data/wise-2.4.1/src/models/standardout.c
Examining data/wise-2.4.1/src/models/standardout.h
Examining data/wise-2.4.1/src/models/sw_wrap_api.h
Examining data/wise-2.4.1/src/models/gwrap.c
Examining data/wise-2.4.1/src/models/gwrap.h
Examining data/wise-2.4.1/src/models/seqaligndisplay.c
Examining data/wise-2.4.1/src/models/seqaligndisplay.h
Examining data/wise-2.4.1/src/models/seqhit_api.h
Examining data/wise-2.4.1/src/models/transregion.c
Examining data/wise-2.4.1/src/models/transregion.h
Examining data/wise-2.4.1/src/models/dnahmm.c
Examining data/wise-2.4.1/src/models/dnahmm.h
Examining data/wise-2.4.1/src/models/hmminfo.c
Examining data/wise-2.4.1/src/models/geneutil.c
Examining data/wise-2.4.1/src/models/geneutil.h
Examining data/wise-2.4.1/src/models/test_aligng.c
Examining data/wise-2.4.1/src/models/pseudowise7.c
Examining data/wise-2.4.1/src/models/pseudowise7.h
Examining data/wise-2.4.1/src/models/matchsum_api.h
Examining data/wise-2.4.1/src/models/genomewise9.c
Examining data/wise-2.4.1/src/models/genomewise9.h
Examining data/wise-2.4.1/src/models/cdparser_api.h
Examining data/wise-2.4.1/src/models/genewisehsp.c
Examining data/wise-2.4.1/src/models/genewisehsp.h
Examining data/wise-2.4.1/src/models/transfactor.c
Examining data/wise-2.4.1/src/models/transfactor.h
Examining data/wise-2.4.1/src/models/wise2xhmmer2.c
Examining data/wise-2.4.1/src/models/wise2xhmmer2.h
Examining data/wise-2.4.1/src/models/cdparser.c
Examining data/wise-2.4.1/src/models/cdparser.h
Examining data/wise-2.4.1/src/models/version.h
Examining data/wise-2.4.1/src/models/bigdba.c
Examining data/wise-2.4.1/src/models/bigdba.h
Examining data/wise-2.4.1/src/models/estslim3.c
Examining data/wise-2.4.1/src/models/estslim3.h
Examining data/wise-2.4.1/src/models/testdna.c
Examining data/wise-2.4.1/src/models/est_evidence.c
Examining data/wise-2.4.1/src/models/est_evidence.h
Examining data/wise-2.4.1/src/models/localcishit.c
Examining data/wise-2.4.1/src/models/localcishit.h
Examining data/wise-2.4.1/src/models/estloop3.c
Examining data/wise-2.4.1/src/models/estloop3.h
Examining data/wise-2.4.1/src/models/dnaprofileengine.c
Examining data/wise-2.4.1/src/models/dnaprofileengine.h
Examining data/wise-2.4.1/src/models/alignwisedp.c
Examining data/wise-2.4.1/src/models/alignwisedp.h
Examining data/wise-2.4.1/src/models/dnaprofiledp.c
Examining data/wise-2.4.1/src/models/dnaprofiledp.h
Examining data/wise-2.4.1/src/models/estwrap.c
Examining data/wise-2.4.1/src/models/estwrap.h
Examining data/wise-2.4.1/src/models/seqlist.c
Examining data/wise-2.4.1/src/models/slimdba.c
Examining data/wise-2.4.1/src/models/slimdba.h
Examining data/wise-2.4.1/src/models/threestatedb_api.h
Examining data/wise-2.4.1/src/models/threestatedb.c
Examining data/wise-2.4.1/src/models/threestatedb.h
Examining data/wise-2.4.1/src/models/threestatedp.c
Examining data/wise-2.4.1/src/models/threestatedp.h
Examining data/wise-2.4.1/src/models/genephase6.c
Examining data/wise-2.4.1/src/models/genephase6.h
Examining data/wise-2.4.1/src/models/motifmatrix.c
Examining data/wise-2.4.1/src/models/motifmatrix.h
Examining data/wise-2.4.1/src/models/phasemodel.c
Examining data/wise-2.4.1/src/models/genestats.c
Examining data/wise-2.4.1/src/models/testgenestat.c
Examining data/wise-2.4.1/src/models/alignwise.c
Examining data/wise-2.4.1/src/models/amplimer_resolver.c
Examining data/wise-2.4.1/src/models/cdnawise.c
Examining data/wise-2.4.1/src/models/clonewise.c
Examining data/wise-2.4.1/src/models/dbac.c
Examining data/wise-2.4.1/src/models/dnal.c
Examining data/wise-2.4.1/src/models/dnawise.c
Examining data/wise-2.4.1/src/models/editdist.c
Examining data/wise-2.4.1/src/models/estwise.c
Examining data/wise-2.4.1/src/models/estwisedb.c
Examining data/wise-2.4.1/src/models/evopairwise.c
Examining data/wise-2.4.1/src/models/fivestar.c
Examining data/wise-2.4.1/src/models/fivestarscan.c
Examining data/wise-2.4.1/src/models/fivestarsearch.c
Examining data/wise-2.4.1/src/models/genewise.c
Examining data/wise-2.4.1/src/models/genewisedb.c
Examining data/wise-2.4.1/src/models/genomewise.c
Examining data/wise-2.4.1/src/models/lba.c
Examining data/wise-2.4.1/src/models/motifcluster.c
Examining data/wise-2.4.1/src/models/motifdiff.c
Examining data/wise-2.4.1/src/models/motifwise.c
Examining data/wise-2.4.1/src/models/oldpostwise.c
Examining data/wise-2.4.1/src/models/promotercluster.c
Examining data/wise-2.4.1/src/models/promoterwise.c
Examining data/wise-2.4.1/src/models/pseudowise.c
Examining data/wise-2.4.1/src/models/psw.c
Examining data/wise-2.4.1/src/models/pswdb.c
Examining data/wise-2.4.1/src/models/scanwisep.c
Examining data/wise-2.4.1/src/models/statwise.c
Examining data/wise-2.4.1/src/models/sywise.c
Examining data/wise-2.4.1/src/models/genefrequency.c
Examining data/wise-2.4.1/src/models/seqerror.h
Examining data/wise-2.4.1/src/socket/transferinterface.c
Examining data/wise-2.4.1/src/socket/transferinterface.h
Examining data/wise-2.4.1/src/socket/functionserver.c
Examining data/wise-2.4.1/src/socket/functionserver.h
Examining data/wise-2.4.1/src/socket/simplesocketclient.c
Examining data/wise-2.4.1/src/socket/simplesocketclient.h
Examining data/wise-2.4.1/src/socket/simplebufferedserver.c
Examining data/wise-2.4.1/src/socket/simplebufferedserver.h
Examining data/wise-2.4.1/src/socket/functionclient.c
Examining data/wise-2.4.1/src/socket/functionclient.h
Examining data/wise-2.4.1/src/socket/anonobj.c
Examining data/wise-2.4.1/src/socket/anonobj.h
Examining data/wise-2.4.1/src/socket/directsocketwrite.c
Examining data/wise-2.4.1/src/socket/directsocketwrite.h
Examining data/wise-2.4.1/src/dnaindex/kmer_index_interface.c
Examining data/wise-2.4.1/src/dnaindex/kmer_index_interface.h
Examining data/wise-2.4.1/src/dnaindex/test_compara.c
Examining data/wise-2.4.1/src/dnaindex/make_shotgun.c
Examining data/wise-2.4.1/src/dnaindex/test_dnanumber.c
Examining data/wise-2.4.1/src/dnaindex/compressed_protein_index.c
Examining data/wise-2.4.1/src/dnaindex/compressed_protein_index.h
Examining data/wise-2.4.1/src/dnaindex/assembly_stream_fasta.c
Examining data/wise-2.4.1/src/dnaindex/assembly_stream_fasta.h
Examining data/wise-2.4.1/src/dnaindex/assembly.c
Examining data/wise-2.4.1/src/dnaindex/assembly.h
Examining data/wise-2.4.1/src/dnaindex/largeseqreader.c
Examining data/wise-2.4.1/src/dnaindex/largeseqreader.h
Examining data/wise-2.4.1/src/dnaindex/test_euler.c
Examining data/wise-2.4.1/src/dnaindex/kmer_direct.c
Examining data/wise-2.4.1/src/dnaindex/kmer_direct.h
Examining data/wise-2.4.1/src/dnaindex/dnanumber.c
Examining data/wise-2.4.1/src/dnaindex/dnanumber.h
Examining data/wise-2.4.1/src/dnaindex/singleseqspace.c
Examining data/wise-2.4.1/src/dnaindex/singleseqspace.h
Examining data/wise-2.4.1/src/dnaindex/chhash.c
Examining data/wise-2.4.1/src/dnaindex/chhash.h
Examining data/wise-2.4.1/src/dnaindex/kmer_assembly_contig.c
Examining data/wise-2.4.1/src/dnaindex/kmer_assembly_contig.h
Examining data/wise-2.4.1/src/dnaindex/eulerindex.c
Examining data/wise-2.4.1/src/dnaindex/eulerindex.h
Examining data/wise-2.4.1/src/dnaindex/kmer_assembly_error.c
Examining data/wise-2.4.1/src/dnaindex/kmer_assembly_error.h
Examining data/wise-2.4.1/src/dnaindex/kmer_glib_index.c
Examining data/wise-2.4.1/src/dnaindex/kmer_glib_index.h
Examining data/wise-2.4.1/src/dnaindex/assembly_sanger_project.c
Examining data/wise-2.4.1/src/dnaindex/assembly_sanger_project.h
Examining data/wise-2.4.1/src/dnaindex/comparapath.c
Examining data/wise-2.4.1/src/dnaindex/comparapath.h
Examining data/wise-2.4.1/src/dnaindex/kmer_assembly.c
Examining data/wise-2.4.1/src/dnaindex/kmer_assembly.h
Examining data/wise-2.4.1/src/dnaindex/test_kmer.c
Examining data/wise-2.4.1/src/dnaindex/shotgun.c
Examining data/wise-2.4.1/src/dnaindex/shotgun.h
Examining data/wise-2.4.1/src/dnaindex/assembly_stream_interface.c
Examining data/wise-2.4.1/src/dnaindex/assembly_stream_interface.h
Examining data/wise-2.4.1/src/dnaindex/vectorindex.c
Examining data/wise-2.4.1/src/dnaindex/vectorindex.h
Examining data/wise-2.4.1/src/dnaindex/kmer_count.c
Examining data/wise-2.4.1/src/dnaindex/kmer_count.h
Examining data/wise-2.4.1/src/dnaindex/test_linkindex.c
Examining data/wise-2.4.1/src/dnaindex/kmer_hash.c
Examining data/wise-2.4.1/src/dnaindex/kmer_hash.h
Examining data/wise-2.4.1/src/dnaindex/kmer_assembly_untangler.c
Examining data/wise-2.4.1/src/dnaindex/kmer_assembly_untangler.h
Examining data/wise-2.4.1/src/dnaindex/linkindex.c
Examining data/wise-2.4.1/src/dnaindex/linkindex.h
Examining data/wise-2.4.1/src/dnaindex/dnamapping.c
Examining data/wise-2.4.1/src/dnaindex/dnamapping.h
Examining data/wise-2.4.1/src/dnaindex/assembly_stream_cons.c
Examining data/wise-2.4.1/src/dnaindex/assembly_stream_cons.h
Examining data/wise-2.4.1/src/dnaindex/kmer_stat.c
Examining data/wise-2.4.1/src/dnaindex/assembly/test_graphtangle.c
Examining data/wise-2.4.1/src/dnaindex/assembly/test_basegraph.c
Examining data/wise-2.4.1/src/dnaindex/assembly/test_assemblygraph.c
Examining data/wise-2.4.1/src/dnaindex/assembly/badkmer.c
Examining data/wise-2.4.1/src/dnaindex/assembly/pathwise.c
Examining data/wise-2.4.1/src/dnaindex/bigseqwise.c
Examining data/wise-2.4.1/src/dnaindex/findbad_kmer.c
Examining data/wise-2.4.1/src/dnaindex/kwise.c
Examining data/wise-2.4.1/src/dynlibsrc/dbsearchimpl.c
Examining data/wise-2.4.1/src/dynlibsrc/dbsearchimpl.h
Examining data/wise-2.4.1/src/dynlibsrc/seqalign.c
Examining data/wise-2.4.1/src/dynlibsrc/seqalign.h
Examining data/wise-2.4.1/src/dynlibsrc/sequencedb.c
Examining data/wise-2.4.1/src/dynlibsrc/sequencedb.h
Examining data/wise-2.4.1/src/dynlibsrc/asciibtcanvas.c
Examining data/wise-2.4.1/src/dynlibsrc/asciibtcanvas.h
Examining data/wise-2.4.1/src/dynlibsrc/codon.c
Examining data/wise-2.4.1/src/dynlibsrc/codon.h
Examining data/wise-2.4.1/src/dynlibsrc/test_hsp.c
Examining data/wise-2.4.1/src/dynlibsrc/test_psi.c
Examining data/wise-2.4.1/src/dynlibsrc/proteinindexcons.c
Examining data/wise-2.4.1/src/dynlibsrc/proteinindexcons.h
Examining data/wise-2.4.1/src/dynlibsrc/proteinstreamedindex.c
Examining data/wise-2.4.1/src/dynlibsrc/proteinstreamedindex.h
Examining data/wise-2.4.1/src/dynlibsrc/randomdb.c
Examining data/wise-2.4.1/src/dynlibsrc/randomdb.h
Examining data/wise-2.4.1/src/dynlibsrc/shadowseq.c
Examining data/wise-2.4.1/src/dynlibsrc/shadowseq.h
Examining data/wise-2.4.1/src/dynlibsrc/genomicdb.c
Examining data/wise-2.4.1/src/dynlibsrc/genomicdb.h
Examining data/wise-2.4.1/src/dynlibsrc/dnaindexcons.c
Examining data/wise-2.4.1/src/dynlibsrc/dnaindexcons.h
Examining data/wise-2.4.1/src/dynlibsrc/hspscanruntime.c
Examining data/wise-2.4.1/src/dynlibsrc/hspscanruntime.h
Examining data/wise-2.4.1/src/dynlibsrc/histogram.c
Examining data/wise-2.4.1/src/dynlibsrc/histogram.h
Examining data/wise-2.4.1/src/dynlibsrc/aln.c
Examining data/wise-2.4.1/src/dynlibsrc/aln.h
Examining data/wise-2.4.1/src/dynlibsrc/dna.c
Examining data/wise-2.4.1/src/dynlibsrc/dna.h
Examining data/wise-2.4.1/src/dynlibsrc/basematrix.c
Examining data/wise-2.4.1/src/dynlibsrc/basematrix.h
Examining data/wise-2.4.1/src/dynlibsrc/linkedlist_lookpos.c
Examining data/wise-2.4.1/src/dynlibsrc/linkedlist_lookpos.h
Examining data/wise-2.4.1/src/dynlibsrc/hsplookupthreaded.c
Examining data/wise-2.4.1/src/dynlibsrc/hsplookupthreaded.h
Examining data/wise-2.4.1/src/dynlibsrc/translation_api.h
Examining data/wise-2.4.1/src/dynlibsrc/hsp.c
Examining data/wise-2.4.1/src/dynlibsrc/hsp.h
Examining data/wise-2.4.1/src/dynlibsrc/sequence_codon_api.h
Examining data/wise-2.4.1/src/dynlibsrc/alnrange_api.h
Examining data/wise-2.4.1/src/dynlibsrc/hsplookupscan.c
Examining data/wise-2.4.1/src/dynlibsrc/hsplookupscan.h
Examining data/wise-2.4.1/src/dynlibsrc/sequence_api.h
Examining data/wise-2.4.1/src/dynlibsrc/genomic_api.h
Examining data/wise-2.4.1/src/dynlibsrc/test_randomdb.c
Examining data/wise-2.4.1/src/dynlibsrc/seqlookup.c
Examining data/wise-2.4.1/src/dynlibsrc/seqlookup.h
Examining data/wise-2.4.1/src/dynlibsrc/codonmapper_api.h
Examining data/wise-2.4.1/src/dynlibsrc/dnamatrix_api.h
Examining data/wise-2.4.1/src/dynlibsrc/test_shadowindex.c
Examining data/wise-2.4.1/src/dynlibsrc/aln_api.h
Examining data/wise-2.4.1/src/dynlibsrc/dynlibcross.c
Examining data/wise-2.4.1/src/dynlibsrc/dynlibcross.h
Examining data/wise-2.4.1/src/dynlibsrc/compmat.c
Examining data/wise-2.4.1/src/dynlibsrc/compmat.h
Examining data/wise-2.4.1/src/dynlibsrc/complexconsensi.c
Examining data/wise-2.4.1/src/dynlibsrc/complexconsensi.h
Examining data/wise-2.4.1/src/dynlibsrc/subseqhash.c
Examining data/wise-2.4.1/src/dynlibsrc/subseqhash.h
Examining data/wise-2.4.1/src/dynlibsrc/probability_api.h
Examining data/wise-2.4.1/src/dynlibsrc/hspstream.c
Examining data/wise-2.4.1/src/dynlibsrc/hspstream.h
Examining data/wise-2.4.1/src/dynlibsrc/subseqlookup.c
Examining data/wise-2.4.1/src/dynlibsrc/subseqlookup.h
Examining data/wise-2.4.1/src/dynlibsrc/hsp2hitscan.c
Examining data/wise-2.4.1/src/dynlibsrc/hsp2hitscan.h
Examining data/wise-2.4.1/src/dynlibsrc/sequencestream.c
Examining data/wise-2.4.1/src/dynlibsrc/sequencestream.h
Examining data/wise-2.4.1/src/dynlibsrc/packaln_api.h
Examining data/wise-2.4.1/src/dynlibsrc/cdna_api.h
Examining data/wise-2.4.1/src/dynlibsrc/randomdb_api.h
Examining data/wise-2.4.1/src/dynlibsrc/matrixdebug.c
Examining data/wise-2.4.1/src/dynlibsrc/matrixdebug.h
Examining data/wise-2.4.1/src/dynlibsrc/protein_api.h
Examining data/wise-2.4.1/src/dynlibsrc/testpairbase.c
Examining data/wise-2.4.1/src/dynlibsrc/sequencedb_api.h
Examining data/wise-2.4.1/src/dynlibsrc/cdnadb_api.h
Examining data/wise-2.4.1/src/dynlibsrc/testdb.c
Examining data/wise-2.4.1/src/dynlibsrc/histogram_api.h
Examining data/wise-2.4.1/src/dynlibsrc/pairbaseseq.c
Examining data/wise-2.4.1/src/dynlibsrc/pairbaseseq.h
Examining data/wise-2.4.1/src/dynlibsrc/searchstatinterface.c
Examining data/wise-2.4.1/src/dynlibsrc/searchstatinterface.h
Examining data/wise-2.4.1/src/dynlibsrc/proteindb.c
Examining data/wise-2.4.1/src/dynlibsrc/proteindb.h
Examining data/wise-2.4.1/src/dynlibsrc/genericindexresult.c
Examining data/wise-2.4.1/src/dynlibsrc/genericindexresult.h
Examining data/wise-2.4.1/src/dynlibsrc/basematrix_api.h
Examining data/wise-2.4.1/src/dynlibsrc/hsphandler.c
Examining data/wise-2.4.1/src/dynlibsrc/hsphandler.h
Examining data/wise-2.4.1/src/dynlibsrc/hspscaninterface.c
Examining data/wise-2.4.1/src/dynlibsrc/hspscaninterface.h
Examining data/wise-2.4.1/src/dynlibsrc/hitlist.c
Examining data/wise-2.4.1/src/dynlibsrc/hitlist.h
Examining data/wise-2.4.1/src/dynlibsrc/intallocator.c
Examining data/wise-2.4.1/src/dynlibsrc/intallocator.h
Examining data/wise-2.4.1/src/dynlibsrc/cdna.c
Examining data/wise-2.4.1/src/dynlibsrc/cdna.h
Examining data/wise-2.4.1/src/dynlibsrc/complexsequence_api.h
Examining data/wise-2.4.1/src/dynlibsrc/pairbase.c
Examining data/wise-2.4.1/src/dynlibsrc/pairbase.h
Examining data/wise-2.4.1/src/dynlibsrc/gene_api.h
Examining data/wise-2.4.1/src/dynlibsrc/embl.c
Examining data/wise-2.4.1/src/dynlibsrc/embl.h
Examining data/wise-2.4.1/src/dynlibsrc/dyna.h
Examining data/wise-2.4.1/src/dynlibsrc/gene.c
Examining data/wise-2.4.1/src/dynlibsrc/gene.h
Examining data/wise-2.4.1/src/dynlibsrc/transcript.c
Examining data/wise-2.4.1/src/dynlibsrc/transcript.h
Examining data/wise-2.4.1/src/dynlibsrc/transcript_api.h
Examining data/wise-2.4.1/src/dynlibsrc/shattermatrix.c
Examining data/wise-2.4.1/src/dynlibsrc/shattermatrix.h
Examining data/wise-2.4.1/src/dynlibsrc/test_genomic.c
Examining data/wise-2.4.1/src/dynlibsrc/database.h
Examining data/wise-2.4.1/src/dynlibsrc/compmat_api.h
Examining data/wise-2.4.1/src/dynlibsrc/sequence_codon.c
Examining data/wise-2.4.1/src/dynlibsrc/sequence_codon.h
Examining data/wise-2.4.1/src/dynlibsrc/searchstatlookup.c
Examining data/wise-2.4.1/src/dynlibsrc/searchstatlookup.h
Examining data/wise-2.4.1/src/dynlibsrc/randommodel_api.h
Examining data/wise-2.4.1/src/dynlibsrc/test_intallocator.c
Examining data/wise-2.4.1/src/dynlibsrc/genomic.c
Examining data/wise-2.4.1/src/dynlibsrc/genomic.h
Examining data/wise-2.4.1/src/dynlibsrc/arrayseqlookup.c
Examining data/wise-2.4.1/src/dynlibsrc/arrayseqlookup.h
Examining data/wise-2.4.1/src/dynlibsrc/translation.c
Examining data/wise-2.4.1/src/dynlibsrc/translation.h
Examining data/wise-2.4.1/src/dynlibsrc/staticseq.c
Examining data/wise-2.4.1/src/dynlibsrc/staticseq.h
Examining data/wise-2.4.1/src/dynlibsrc/genomicdb_api.h
Examining data/wise-2.4.1/src/dynlibsrc/genomicregion.c
Examining data/wise-2.4.1/src/dynlibsrc/genomicregion.h
Examining data/wise-2.4.1/src/dynlibsrc/genomicregion_api.h
Examining data/wise-2.4.1/src/dynlibsrc/probability.c
Examining data/wise-2.4.1/src/dynlibsrc/probability.h
Examining data/wise-2.4.1/src/dynlibsrc/alnconvert.c
Examining data/wise-2.4.1/src/dynlibsrc/alnconvert.h
Examining data/wise-2.4.1/src/dynlibsrc/complexsequence.c
Examining data/wise-2.4.1/src/dynlibsrc/complexsequence.h
Examining data/wise-2.4.1/src/dynlibsrc/hspthreadeddb.c
Examining data/wise-2.4.1/src/dynlibsrc/hspthreadeddb.h
Examining data/wise-2.4.1/src/dynlibsrc/dpenvelope.c
Examining data/wise-2.4.1/src/dynlibsrc/dpenvelope.h
Examining data/wise-2.4.1/src/dynlibsrc/randommodel.c
Examining data/wise-2.4.1/src/dynlibsrc/randommodel.h
Examining data/wise-2.4.1/src/dynlibsrc/shadowseqindex.c
Examining data/wise-2.4.1/src/dynlibsrc/shadowseqindex.h
Examining data/wise-2.4.1/src/dynlibsrc/packaln.c
Examining data/wise-2.4.1/src/dynlibsrc/packaln.h
Examining data/wise-2.4.1/src/dynlibsrc/test_seqhash.c
Examining data/wise-2.4.1/src/dynlibsrc/codonmapper.c
Examining data/wise-2.4.1/src/dynlibsrc/codonmapper.h
Examining data/wise-2.4.1/src/dynlibsrc/complexevalset.c
Examining data/wise-2.4.1/src/dynlibsrc/complexevalset.h
Examining data/wise-2.4.1/src/dynlibsrc/sequence.c
Examining data/wise-2.4.1/src/dynlibsrc/sequence.h
Examining data/wise-2.4.1/src/dynlibsrc/singlenumberspace.c
Examining data/wise-2.4.1/src/dynlibsrc/singlenumberspace.h
Examining data/wise-2.4.1/src/dynlibsrc/cdnadb.c
Examining data/wise-2.4.1/src/dynlibsrc/cdnadb.h
Examining data/wise-2.4.1/src/dynlibsrc/hsptwohitscan.c
Examining data/wise-2.4.1/src/dynlibsrc/hsptwohitscan.h
Examining data/wise-2.4.1/src/dynlibsrc/dbsearchimpl_api.h
Examining data/wise-2.4.1/src/dynlibsrc/alnrange.c
Examining data/wise-2.4.1/src/dynlibsrc/alnrange.h
Examining data/wise-2.4.1/src/dynlibsrc/codonmatrix.c
Examining data/wise-2.4.1/src/dynlibsrc/codonmatrix.h
Examining data/wise-2.4.1/src/dynlibsrc/dprunimpl.c
Examining data/wise-2.4.1/src/dynlibsrc/dprunimpl.h
Examining data/wise-2.4.1/src/dynlibsrc/btcanvas.c
Examining data/wise-2.4.1/src/dynlibsrc/btcanvas.h
Examining data/wise-2.4.1/src/dynlibsrc/pthreadpool.c
Examining data/wise-2.4.1/src/dynlibsrc/pthreadpool.h
Examining data/wise-2.4.1/src/dynlibsrc/hscore.h
Examining data/wise-2.4.1/src/dynlibsrc/protein.c
Examining data/wise-2.4.1/src/dynlibsrc/protein.h
Examining data/wise-2.4.1/src/dynlibsrc/proteindb_api.h
Examining data/wise-2.4.1/src/dynlibsrc/testpdb.c
Examining data/wise-2.4.1/src/dynlibsrc/hscore_api.h
Examining data/wise-2.4.1/src/dynlibsrc/codon_api.h
Examining data/wise-2.4.1/src/dynlibsrc/dnamatrix.c
Examining data/wise-2.4.1/src/dynlibsrc/dnamatrix.h
Examining data/wise-2.4.1/src/dynlibsrc/hscore.c

FINAL RESULTS:

data/wise-2.4.1/src/HMMer2/alignio.c:137: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(ainfo->sqinfo[ainfo->nseq].name, sqinfo.name);
data/wise-2.4.1/src/HMMer2/alignio.c:138: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(ainfo->sqinfo[ainfo->nseq].desc, sqinfo.desc);
data/wise-2.4.1/src/HMMer2/debug.c:48:7:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      vfprintf(stderr, format, argp);
data/wise-2.4.1/src/HMMer2/file.c:91: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 (lastslash == NULL) strcpy(tail, file);
data/wise-2.4.1/src/HMMer2/file.c:92: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).
  else                   strcpy(tail, lastslash+1);
data/wise-2.4.1/src/HMMer2/file.c:115: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 (*file == DIRSLASH) strcpy(full, file); /* file = "/foo", ignore directory. */
data/wise-2.4.1/src/HMMer2/file.c:116:26:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  else                   sprintf(full, "%s%c%s", dir, DIRSLASH, file);
data/wise-2.4.1/src/HMMer2/file.c:159:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(full, "%s%c%s", s, DIRSLASH, fname);
data/wise-2.4.1/src/HMMer2/gnuregex.c:458:36:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define DEBUG_PRINT1(x) if (debug) printf (x)
data/wise-2.4.1/src/HMMer2/gnuregex.c:459:41:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define DEBUG_PRINT2(x1, x2) if (debug) printf (x1, x2)
data/wise-2.4.1/src/HMMer2/gnuregex.c:460:45:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define DEBUG_PRINT3(x1, x2, x3) if (debug) printf (x1, x2, x3)
data/wise-2.4.1/src/HMMer2/gnuregex.c:461:49:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define DEBUG_PRINT4(x1, x2, x3, x4) if (debug) printf (x1, x2, x3, x4)
data/wise-2.4.1/src/HMMer2/gnuregex.c:4894: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 (errbuf, msg);
data/wise-2.4.1/src/HMMer2/histogram.c:265:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	  sprintf(buffer, "<%4d %6d %6s|", i+1, lowcount, "-");
data/wise-2.4.1/src/HMMer2/histogram.c:276:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	  sprintf(buffer, ">%4d %6d %6s|", i, highcount, "-");
data/wise-2.4.1/src/HMMer2/histogram.c:291:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buffer, "%5d %6d %6s|", i, h->histogram[idx], "-");
data/wise-2.4.1/src/HMMer2/hmmcalibrate.c:159:3:  [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(tmpfile, hmmfile);
data/wise-2.4.1/src/HMMer2/hmmio.c:572:6:  [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(hmm->comlog, buffer+6);
data/wise-2.4.1/src/HMMer2/plan7.c:318: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(hmm->comlog, argv[i]);
data/wise-2.4.1/src/HMMer2/plan7.c:989: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(plan7->rf, hmm->ref);
data/wise-2.4.1/src/HMMer2/plan7.c:993: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(plan7->cs, hmm->cs);
data/wise-2.4.1/src/HMMer2/selex.c:104: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(bufcpy, buffer);
data/wise-2.4.1/src/HMMer2/selex.c:168:6:  [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(bufcpy, buffer);
data/wise-2.4.1/src/HMMer2/selex.c:193:4:  [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(bufcpy, buffer);
data/wise-2.4.1/src/HMMer2/selex.c: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(bufcpy, buffer);
data/wise-2.4.1/src/HMMer2/selex.c:365:8:  [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(bufcpy, buffer);
data/wise-2.4.1/src/HMMer2/selex.c:378:4:  [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(bufcpy, buffer);
data/wise-2.4.1/src/HMMer2/sqerror.c:41:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf(stderr, format, argp);
data/wise-2.4.1/src/HMMer2/sqerror.c:66:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf(stderr, format, argp);
data/wise-2.4.1/src/HMMer2/sqio.c:152:34:  [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 (sq2->flags & SQINFO_NAME)  strcpy(sq1->name, sq2->name);
data/wise-2.4.1/src/HMMer2/sqio.c:153:34:  [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 (sq2->flags & SQINFO_ID)    strcpy(sq1->id,   sq2->id);
data/wise-2.4.1/src/HMMer2/sqio.c:154:34:  [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 (sq2->flags & SQINFO_ACC)   strcpy(sq1->acc,  sq2->acc);
data/wise-2.4.1/src/HMMer2/sqio.c:155:34:  [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 (sq2->flags & SQINFO_DESC)  strcpy(sq1->desc, sq2->desc);
data/wise-2.4.1/src/HMMer2/sqio.c:790:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(cmd, "gzip -dc %s", filename);
data/wise-2.4.1/src/HMMer2/sqio.c:791:22:  [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.
      if ((dbfp->f = popen(cmd, "r")) == NULL)
data/wise-2.4.1/src/HMMer2/sre_string.c:45:3:  [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(new, s);
data/wise-2.4.1/src/HMMer2/sre_string.c:260: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 (s1 != s2) strcpy(s1, s2);
data/wise-2.4.1/src/HMMer2/sre_string.c:288: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 (s1 != s2) strcpy(s1, s2);
data/wise-2.4.1/src/HMMer2/sre_string.c:319: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 (s1 != s2) strcpy(s1, s2);
data/wise-2.4.1/src/HMMer2/trace.c:487:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(ainfo->au, "HMMER %s", RELEASE);
data/wise-2.4.1/src/HMMer2/translate.c:81: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(aaptr, code[codon]);
data/wise-2.4.1/src/HMMer2/weight.c:494: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(anew[idx], aseq[list[idx]]);
data/wise-2.4.1/src/base/commandline.c:121:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buffer,"no%s",tag);
data/wise-2.4.1/src/base/linesubs.c:65:3:  [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(input,output);
data/wise-2.4.1/src/base/linesubs.c:84:3:  [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(input,line);
data/wise-2.4.1/src/base/wiseconfig.c:149:2:  [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(buffer,list[i].string);
data/wise-2.4.1/src/base/wiseconfig.c:164:2:  [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(buffer,list[i].string);
data/wise-2.4.1/src/base/wiseconfig.c:250:3:  [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(runner,base);
data/wise-2.4.1/src/base/wiseconfig.c:251:3:  [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(runner,string);
data/wise-2.4.1/src/base/wiseconfig.c:258:3:  [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(runner,string);
data/wise-2.4.1/src/base/wiseerror.c:86:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  vsprintf(buffer,msg,ap);	
data/wise-2.4.1/src/base/wiseerror.c:420:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  vsprintf(buffer,msg,ap);
data/wise-2.4.1/src/base/wiseerror.c:446:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  vsprintf(buffer,msg,ap);
data/wise-2.4.1/src/base/wiseerror.c:472:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  vsprintf(buffer,msg,ap);
data/wise-2.4.1/src/base/wiseerror.c:498:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  vsprintf(buffer,msg,ap);
data/wise-2.4.1/src/base/wiseerror.c:529:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  vsprintf(buffer,msg,ap);
data/wise-2.4.1/src/base/wiseerror.c:563:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  vsprintf(buffer,msg,ap);
data/wise-2.4.1/src/base/wisefile.c:82:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(buffer,"%s/",runner);
data/wise-2.4.1/src/base/wisefile.c:161:3:  [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(buffer,path);
data/wise-2.4.1/src/base/wisefile.c:171:3:  [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(buffer,file);
data/wise-2.4.1/src/base/wisefile.c:360:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(path,"%s/%s",filename,envp);
data/wise-2.4.1/src/base/wiseoverlay.c:76:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  vsprintf(buffer,msg,ap);
data/wise-2.4.1/src/base/wisestreaminterface.c:159:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  vsprintf(buffer,format,ap);	
data/wise-2.4.1/src/base/wisestring.c:144: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(run2+1,runner);
data/wise-2.4.1/src/base/wisestring.c:158: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(run2,runner);
data/wise-2.4.1/src/base/wisestring.c:675: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(buffer,sub);
data/wise-2.4.1/src/base/wisestring.c:1063:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  vsprintf(buffer,str,ap);
data/wise-2.4.1/src/base/wisestring.c:1100:3:  [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(temp,c);
data/wise-2.4.1/src/dnaindex/assembly_sanger_project.c:26:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(buffer,"%s/%s",s->directory,dirp->d_name);
data/wise-2.4.1/src/dnaindex/assembly_sanger_project.c:70:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
      sscanf(buffer,"ID %s",name);
data/wise-2.4.1/src/dnaindex/comparapath.c:403:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(buffer,"%s_%s",tag,input->name);
data/wise-2.4.1/src/dyc/api.c:540:3:  [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(strippack,package);
data/wise-2.4.1/src/dyc/api.c:827:3:  [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(strip_package,package_name);
data/wise-2.4.1/src/dyc/api.c:849:3:  [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(strip_package,package_name);
data/wise-2.4.1/src/dyc/api.c:875:3:  [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(strip_package,package_name);
data/wise-2.4.1/src/dyc/api.c:1022:3:  [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(statbuf,c);
data/wise-2.4.1/src/dyc/compugen.c:213:3:  [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 ( out_str, in_str );
data/wise-2.4.1/src/dyc/compugen.c:1192:3:  [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 ( semistate_name, state_name );
data/wise-2.4.1/src/dyc/dbmpi.c:71:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buffer,"Search_Return_Type MPI_master_loop_%s(Hscore *out, %s querydb,", gm->name, gm->qtype->database_type);
data/wise-2.4.1/src/dyc/dbmpi.c:73:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buffer,"Search_Return_Type MPI_master_loop_%s(Hscore *out, %s %s,", gm->name, gm->query->element_type, gm->query->name);
data/wise-2.4.1/src/dyc/dbmpi.c:76: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(buffer,gm->ttype->database_type);
data/wise-2.4.1/src/dyc/dbmpi.c:79: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(buffer,gm->target->element_type);
data/wise-2.4.1/src/dyc/dbmpi.c:81: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(buffer,gm->target->name);
data/wise-2.4.1/src/dyc/dbmpi.c:87: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(buffer,gm->resource[i]->element_type);
data/wise-2.4.1/src/dyc/dbmpi.c:89: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(buffer,gm->resource[i]->name);
data/wise-2.4.1/src/dyc/dbmpi.c:309:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buffer,"Search_Return_Type MPI_slave_loop_%s(generic_search_%s routine", gm->name, gm->name);
data/wise-2.4.1/src/dyc/dbmpi.c:313: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(buffer,gm->resource[i]->element_type);
data/wise-2.4.1/src/dyc/dbmpi.c:315: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(buffer,gm->resource[i]->name);
data/wise-2.4.1/src/dyc/dbmpi.c:387:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buffer, "score = (*routine)(%s, %s", gm->query->name, gm->target->name);
data/wise-2.4.1/src/dyc/dbmpi.c:390: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(buffer,gm->resource[i]->name);
data/wise-2.4.1/src/dyc/dbthread.c:567:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buffer,"%s, %s ",gm->query->name,gm->target->name);
data/wise-2.4.1/src/dyc/dbthread.c:571: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(buffer,pre);
data/wise-2.4.1/src/dyc/dbthread.c:572: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(buffer,gm->resource[i]->name);
data/wise-2.4.1/src/dyc/display.c:38:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buffer,"AlnDisplay * convert_AlnBlock_to_AlnDisplay_%s(AlnBlock * alb ",a2d->name);
data/wise-2.4.1/src/dyc/display.c:42: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(buffer,a2d->a2dr[i]->type);
data/wise-2.4.1/src/dyc/display.c:43: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(buffer,a2d->a2dr[i]->name);
data/wise-2.4.1/src/dyc/docugen.c:22: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(buffer,trans->map_func);
data/wise-2.4.1/src/dyc/dyc.c:76:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(pbuff,"%s:%d:",parsed_file,get_watched_linecount()); /* arve */
data/wise-2.4.1/src/dyc/dyc.c:309:3:  [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(strpack,dfp->package_name);
data/wise-2.4.1/src/dyc/dyc.c:349:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buffer,"%s%s",dfp->sourceroot,api_para->c_extension_name);
data/wise-2.4.1/src/dyc/dyc.c:361:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buffer,"%s%s",dfp->sourceroot,api_para->t_extension_name);
data/wise-2.4.1/src/dyc/dyc.c:378:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buffer,"%s.%s",dfp->sourceroot,api_para->latex_ext);
data/wise-2.4.1/src/dyc/dyc.c:390:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buffer,"%s%s",dfp->sourceroot,api_para->pfdoc_ext);
data/wise-2.4.1/src/dyc/dyc.c:405:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buffer,"%s%s",dfp->sourceroot,api_para->pod_ext);
data/wise-2.4.1/src/dyc/dyc.c:414:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buffer,"%s%s",dfp->sourceroot,api_para->xs_ext);
data/wise-2.4.1/src/dyc/dyc.c:426:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buffer,"%s%s",dfp->sourceroot,api_para->typemap_ext);
data/wise-2.4.1/src/dyc/dyc.c:790:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buffer,"%s.c",argv[i]);
data/wise-2.4.1/src/dyc/dyc.c:794:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buffer,"%s.h",argv[i]);
data/wise-2.4.1/src/dyc/dynadb.c:36:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buffer,"Search_Return_Type serial_search_%s(Hscore * out,%s querydb,",gm->name,gm->qtype->database_type);
data/wise-2.4.1/src/dyc/dynadb.c:37:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  else sprintf(buffer,"Search_Return_Type serial_search_%s(Hscore * out,%s %s,",gm->name,gm->query->element_type,gm->query->name);
data/wise-2.4.1/src/dyc/dynadb.c:40: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(buffer,gm->ttype->database_type);
data/wise-2.4.1/src/dyc/dynadb.c:43: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(buffer,gm->target->element_type);
data/wise-2.4.1/src/dyc/dynadb.c:45: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(buffer,gm->target->name);
data/wise-2.4.1/src/dyc/dynadb.c:51: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(buffer,gm->resource[i]->element_type);
data/wise-2.4.1/src/dyc/dynadb.c:53: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(buffer,gm->resource[i]->name);
data/wise-2.4.1/src/dyc/dynafunc.c:462:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buffer,"%s, %s ",gm->query->name,gm->target->name);
data/wise-2.4.1/src/dyc/dynafunc.c:466: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(buffer,gm->resource[i]->name);
data/wise-2.4.1/src/dyc/dynafunc.c:493:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buffer,"%s %s,%s %s ",gm->query->element_type,gm->query->name,gm->target->element_type,gm->target->name);
data/wise-2.4.1/src/dyc/dynafunc.c:497: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(buffer,gm->resource[i]->element_type);
data/wise-2.4.1/src/dyc/dynafunc.c:499: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(buffer,gm->resource[i]->name);
data/wise-2.4.1/src/dyc/dynafunc.c:1292:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(matrix_access,"%s_%s",gm->name,matrix_tag);
data/wise-2.4.1/src/dyc/dynafunc.c:1293:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(special_access,"%s_%s",gm->name,special_tag);
data/wise-2.4.1/src/dyc/dynafunc.c:2154:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buffer,"Search_Return_Type search_%s(DBSearchImpl * dbsi,Hscore * out,%s querydb,",gm->name,gm->qtype->database_type);
data/wise-2.4.1/src/dyc/dynafunc.c:2155:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  else sprintf(buffer,"Search_Return_Type search_%s(DBSearchImpl * dbsi,Hscore * out,%s %s,",gm->name,gm->query->element_type,gm->query->name);
data/wise-2.4.1/src/dyc/dynafunc.c:2158: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(buffer,gm->ttype->database_type);
data/wise-2.4.1/src/dyc/dynafunc.c:2161: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(buffer,gm->target->element_type);
data/wise-2.4.1/src/dyc/dynafunc.c:2163: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(buffer,gm->target->name);
data/wise-2.4.1/src/dyc/dynafunc.c:2169: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(buffer,gm->resource[i]->element_type);
data/wise-2.4.1/src/dyc/dynafunc.c:2171: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(buffer,gm->resource[i]->name);
data/wise-2.4.1/src/dyc/dynafunc.c:2214:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buffer,"return serial_search_%s(out,querydb,",gm->name);
data/wise-2.4.1/src/dyc/dynafunc.c:2215:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  else sprintf(buffer,"return serial_search_%s(out,%s,",gm->name,gm->query->name);
data/wise-2.4.1/src/dyc/dynafunc.c:2220: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(buffer,gm->target->name);
data/wise-2.4.1/src/dyc/dynafunc.c:2226: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(buffer,gm->resource[i]->name);
data/wise-2.4.1/src/dyc/dynafunc.c:2356:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buffer,"%s_access_func_holder",gm->name);
data/wise-2.4.1/src/dyc/dynafunc.c:2359:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buffer,"int (*access_main)(%s*,int,int,int)",gm->name);
data/wise-2.4.1/src/dyc/dynafunc.c:2364:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buffer,"int (*access_special)(%s*,int,int,int)",gm->name);
data/wise-2.4.1/src/dyc/dynashadow.c:572:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buffer,"PackAln * PackAln_dc_build_%s(%s %s, %s %s ",gm->name,
data/wise-2.4.1/src/dyc/dynashadow.c:578: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(buffer,gm->resource[i]->element_type);
data/wise-2.4.1/src/dyc/dynashadow.c:581: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(buffer,gm->resource[i]->name);
data/wise-2.4.1/src/dyc/dynfile.c:591:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  vsprintf(buffer,str,ap);
data/wise-2.4.1/src/dyc/dynfile.c:609:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  vsprintf(buffer,str,ap);
data/wise-2.4.1/src/dyc/dynfile.c:642:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  vsprintf(dfp->line,str,ap);
data/wise-2.4.1/src/dyc/dynfile.c:694:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  vsprintf(buffer,str,ap);
data/wise-2.4.1/src/dyc/dynfile.c:696:3:  [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(dfp->line,buffer);
data/wise-2.4.1/src/dyc/dynfile.c:715:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  vsprintf(buffer,str,ap);
data/wise-2.4.1/src/dyc/dynfile.c:717:3:  [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(dfp->line,buffer);
data/wise-2.4.1/src/dyc/dynfile.c:735:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  vsprintf(buffer,str,ap);
data/wise-2.4.1/src/dyc/dynfile.c:742:3:  [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(dfp->line,buffer);
data/wise-2.4.1/src/dyc/dynfile.c:762:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  vsprintf(buffer,str,ap);
data/wise-2.4.1/src/dyc/dynfile.c:764:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buf2,"warn(\"%s\");",buffer);
data/wise-2.4.1/src/dyc/dynfile.c:766:3:  [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(dfp->line,buf2);
data/wise-2.4.1/src/dyc/dynfile.c:783:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  vsprintf(buffer,str,ap);
data/wise-2.4.1/src/dyc/dynfile.c:785:3:  [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(dfp->line,buffer);
data/wise-2.4.1/src/dyc/dynfile.c:803:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  vsprintf(buffer,str,ap);
data/wise-2.4.1/src/dyc/dynfile.c:808:3:  [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(dfp->line,buffer);
data/wise-2.4.1/src/dyc/dynfile.c:826:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  vsprintf(buffer,str,ap);
data/wise-2.4.1/src/dyc/dynfile.c:828:3:  [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(dfp->line,buffer);
data/wise-2.4.1/src/dyc/dynfile.c:844:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  vsprintf(buffer,str,ap);
data/wise-2.4.1/src/dyc/dynfile.c:846:3:  [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(dfp->line,buffer);
data/wise-2.4.1/src/dyc/dynfile.c:868:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  vsprintf(buffer,str,ap);
data/wise-2.4.1/src/dyc/dynfile.c:874:3:  [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(dfp->line,buffer);
data/wise-2.4.1/src/dyc/dynfile.c:890:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  vsprintf(buffer,str,ap);
data/wise-2.4.1/src/dyc/dynfile.c:893:3:  [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(dfp->line,buffer);
data/wise-2.4.1/src/dyc/dynfile.c:908:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  vsprintf(buffer,str,ap);
data/wise-2.4.1/src/dyc/dynfile.c:911:3:  [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(dfp->line,buffer);
data/wise-2.4.1/src/dyc/dynfile.c:966:3:  [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(dfp->line,str);
data/wise-2.4.1/src/dyc/dynfile.c:1041:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(func_buf,"%s.c",name);
data/wise-2.4.1/src/dyc/dynfile.c:1042:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(head_buf,"%s.h",name);
data/wise-2.4.1/src/dyc/dynfile.c:1044:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(html_buf,"%s/%s.html",html_directory,name);
data/wise-2.4.1/src/dyc/exprtree.c:77:21:  [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).
  case ETR_NUMBER : strcat(buffer,ExprTree->word); return;
data/wise-2.4.1/src/dyc/exprtree.c:78:23:  [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).
  case ETR_OPERATOR : strcat(buffer,ExprTree->word); return;
data/wise-2.4.1/src/dyc/exprtree.c:88:19:  [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).
  case ETR_NAME : strcat(buffer,ExprTree->word);
data/wise-2.4.1/src/dyc/exprtree.c:102: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(buffer,ExprTree->child[1]->word);
data/wise-2.4.1/src/dyc/exprtree.c:106: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(buffer,ExprTree->child[0]->word);
data/wise-2.4.1/src/dyc/ftext.c:27:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  vsprintf(buffer,str,ap);
data/wise-2.4.1/src/dyc/funcinfo.c:389:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  vsprintf(buffer,str,ap);
data/wise-2.4.1/src/dyc/funcinfo.c:408:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  vsprintf(buffer,str,ap);
data/wise-2.4.1/src/dyc/kbestsearch.c:403:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buffer,"(%s) + (%s)",gm->state[i]->source[j]->calc_expr,gm->state[i]->calc_expr);
data/wise-2.4.1/src/dyc/kbestsearch.c:405:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buffer,"%s",gm->state[i]->source[j]->calc_expr);
data/wise-2.4.1/src/dyc/labelmaster.c:13:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buffer,"\"%s\"",list[0]->name);
data/wise-2.4.1/src/dyc/labelmaster.c:16:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buf,",\"%s\"",list[i]->name);
data/wise-2.4.1/src/dyc/labelmaster.c:17: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(buffer,buf);
data/wise-2.4.1/src/dyc/linkmap.c:21: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(buffer,end);
data/wise-2.4.1/src/dyc/linkmap.c:47:3:  [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(buffer,urlstub);
data/wise-2.4.1/src/dyc/linkmap.c:50:3:  [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(buffer,textstub);
data/wise-2.4.1/src/dyc/module.c:170:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(buffer,"free_%s",sh->name);
data/wise-2.4.1/src/dyc/modulefunc.c:89:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buffer,"%s_alloc",name);
data/wise-2.4.1/src/dyc/modulefunc.c:96:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buffer,"free_%s",name);
data/wise-2.4.1/src/dyc/optimiser.c:74:3:  [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(buffer,b);
data/wise-2.4.1/src/dyc/type.c:240:21:  [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).
  case ETR_NUMBER : strcat(buffer,ExprTree->word); 
data/wise-2.4.1/src/dyc/type.c:243:23:  [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).
  case ETR_OPERATOR : strcat(buffer,ExprTree->word); 
data/wise-2.4.1/src/dyc/type.c:265:2:  [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(buffer,su->app);
data/wise-2.4.1/src/dyc/type.c:268: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(buffer,ExprTree->word);
data/wise-2.4.1/src/dyc/type.c: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(buffer,ExprTree->child[1]->word);
data/wise-2.4.1/src/dyc/type.c:286: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(buffer,ExprTree->child[0]->word);
data/wise-2.4.1/src/dyc/type.c:310:2:  [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(buffer,me->real);
data/wise-2.4.1/src/dyc/wisec.c:208:3:  [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(buffer,runner);
data/wise-2.4.1/src/dyc/wisec.c:1511:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buffer,"%s %s",temp->element_type,temp->name);
data/wise-2.4.1/src/dyc/y.tab.c:543:7:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
						printf( _POP_, *yy_ps,
data/wise-2.4.1/src/dynamite_examples/estgendisplay.c:43: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(qname,q->name);
data/wise-2.4.1/src/dynamite_examples/estgendisplay.c:51: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(tname,t->name);
data/wise-2.4.1/src/dynamite_examples/seqaligndisplay.c:43: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(qname,q->name);
data/wise-2.4.1/src/dynamite_examples/seqaligndisplay.c:51: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(tname,t->name);
data/wise-2.4.1/src/dynlibsrc/aln.c:1002:5:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    sscanf(*bstr,"[%d,%d \"%s\" %d",&start,&end,buffer,&score);
data/wise-2.4.1/src/dynlibsrc/aln.c:1098:3:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
  sscanf(line,"Unit %d- Start: [%d], End: [%d] Label: number [%d] text [%s]",&pos,&start,&end,&num,buffer);
data/wise-2.4.1/src/dynlibsrc/gene.c:121:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buffer,"%s.[%d:%d]",Genomic_name(gn),gene->start+1,gene->end);
data/wise-2.4.1/src/dynlibsrc/genomicregion.c:686:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buffer,"efetch -a  %s",efetch);
data/wise-2.4.1/src/dynlibsrc/genomicregion.c:688:9:  [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.
  ifp = popen(buffer,"r");
data/wise-2.4.1/src/dynlibsrc/genomicregion.c:696:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buffer,"efetch -a  -f %s",efetch);
data/wise-2.4.1/src/dynlibsrc/genomicregion.c:698:9:  [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.
  ifp = popen(buffer,"r");
data/wise-2.4.1/src/dynlibsrc/genomicregion.c:725:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buffer,"getz -td '[%s]'",srsquery);
data/wise-2.4.1/src/dynlibsrc/genomicregion.c:727:9:  [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.
  ifp = popen(buffer,"r");
data/wise-2.4.1/src/dynlibsrc/genomicregion.c:1067: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(buffer,gr->gene[i]->name);
data/wise-2.4.1/src/dynlibsrc/genomicregion.c:1069:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(buffer,"%s.%d",seq_name,i+1);
data/wise-2.4.1/src/dynlibsrc/genomicregion.c:1120:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buffer,"%s.%s.%d",seq_name,gr->gene[i]->seqname,i+1);
data/wise-2.4.1/src/dynlibsrc/genomicregion.c:1182:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(pname,"%s-genewise-prediction-%d",seq_name == NULL ? "seq" : seq_name,count);
data/wise-2.4.1/src/dynlibsrc/histogram.c:243:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	  sprintf(buffer, "<%4d %6d %6s|", i+1, lowcount, "-");
data/wise-2.4.1/src/dynlibsrc/histogram.c:254:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	  sprintf(buffer, ">%4d %6d %6s|", i, highcount, "-");
data/wise-2.4.1/src/dynlibsrc/histogram.c:269:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buffer, "%5d %6d %6s|", i, h->histogram[idx], "-");
data/wise-2.4.1/src/dynlibsrc/hitlist.c:469: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(buffer,hl->pair[i]->target->desc);	
data/wise-2.4.1/src/dynlibsrc/hspstream.c:65:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(buffer,"%s %d %d %d %d %d\n",
data/wise-2.4.1/src/dynlibsrc/randomdb.c:37:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buffer,"%s%d",name,rndp->num++);
data/wise-2.4.1/src/dynlibsrc/randomdb.c:99:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buffer,"%s%d",name,rndp->num++);
data/wise-2.4.1/src/dynlibsrc/sequence.c:329:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buffer,"%s.tr",dna->name == NULL ? "NoNameDNASeq" : dna->name);
data/wise-2.4.1/src/dynlibsrc/sequence.c:555:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buffer,"%s:%s",datastring,srsstring);
data/wise-2.4.1/src/dynlibsrc/sequence.c:582:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buffer,"getz -d '[%s]' ",srsstring);
data/wise-2.4.1/src/dynlibsrc/sequence.c:584:10:  [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.
  pipe = popen(buffer,"r");
data/wise-2.4.1/src/dynlibsrc/sequence.c:620:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buffer,"efetch -f -a %s",efetchstring);
data/wise-2.4.1/src/dynlibsrc/sequence.c:623:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buffer,"efetch -f %s",efetchstring);
data/wise-2.4.1/src/dynlibsrc/sequence.c:626:8:  [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.
  pf = popen(buffer,"r");
data/wise-2.4.1/src/dynlibsrc/sequence.c:1070:3:  [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(seq->seq,more);
data/wise-2.4.1/src/dynlibsrc/sequence.c:1105: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(seq->seq,more);
data/wise-2.4.1/src/dynlibsrc/sequence.c:1132:3:  [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(seq->seq,more);
data/wise-2.4.1/src/dynlibsrc/sequence_codon.c:139:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buffer,"%s.tr",dna->name == NULL ? "NoNameDNASeq" : dna->name);
data/wise-2.4.1/src/dynlibsrc/sequencestream.c:199:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buffer,">%s %-80s\n",seq->name,seq->desc);
data/wise-2.4.1/src/dynlibsrc/sequencestream.c:201:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buffer,">%s\n",seq->name);
data/wise-2.4.1/src/dynlibsrc/sequencestream.c:213: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(buffer,seq->seq+i);
data/wise-2.4.1/src/dynlibsrc/transcript.c:79:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buffer,"%s.sp",Genomic_name(gn));
data/wise-2.4.1/src/dynlibsrc/translation.c:78:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buffer,"%s.tr",cDNA_name(cd));
data/wise-2.4.1/src/models/amplimer_resolver.c:43:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buffer,"swapped_%s",reference->name);
data/wise-2.4.1/src/models/dbac.c:232: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(xSeq, xstr);  
data/wise-2.4.1/src/models/dbac.c:240: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(ySeq, ystr);  
data/wise-2.4.1/src/models/dbac.c:246: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(xSeq, xstr);  
data/wise-2.4.1/src/models/dbac.c:248: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(ySeq, ystr);  
data/wise-2.4.1/src/models/dbac.c:255: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(xSeq, xstr);  
data/wise-2.4.1/src/models/dbac.c:257: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(ySeq, ystr);  
data/wise-2.4.1/src/models/dnamatcher.c:70:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buffer,"%s.reverse",set->set[i]->name);
data/wise-2.4.1/src/models/estwrap.c:403:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(namebuffer,"%s/%d-%d",seq->name,ale->end,als->start->start+1);
data/wise-2.4.1/src/models/estwrap.c:405:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(namebuffer,"%s/%d-%d",seq->name,als->start->start+2,ale->end+1);
data/wise-2.4.1/src/models/fivestatemodel.c:46:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(filename,"%s/%s",context,block_str);
data/wise-2.4.1/src/models/fivestatemodel.c:84:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(filename,"%s/%s",context,file);
data/wise-2.4.1/src/models/genedisplay.c:135: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(protname,protname_in);
data/wise-2.4.1/src/models/genedisplay.c:143: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(dnaname,dna->name);
data/wise-2.4.1/src/models/genedisplay.c:496:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buffer,"  %c:%c[%s]  ",prot,trans,dna);
data/wise-2.4.1/src/models/genewisemodel.c:466:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buffer,"%s.pep",dna->name);
data/wise-2.4.1/src/models/oldpostwise.c:101:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buffer,"%s.gw.%s.%c%c",gen->baseseq->name,protein_name,alpha[firstno],alpha[number_in_gene] );
data/wise-2.4.1/src/models/pfamhmmer1db.c:24:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buffer,"%s/%s.hmm",phd->dirname,name);
data/wise-2.4.1/src/models/pfamhmmer1db.c:97:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buffer,"%s/%s.hmm",dir,en->entryname);
data/wise-2.4.1/src/models/pfamhmmer1db.c:155:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(buffer,"%s/HMMs",dirname);
data/wise-2.4.1/src/models/seqaligndisplay.c:75: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(qname,q->name);
data/wise-2.4.1/src/models/seqaligndisplay.c:83: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(tname,t->name);
data/wise-2.4.1/src/models/seqhit.c:77: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(copy,buffer);
data/wise-2.4.1/src/models/seqhit.c:143: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(copy,buffer);
data/wise-2.4.1/src/models/transfactor.c:629:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(sbuffer,"motif_%d_%s",motif_no,buffer);
data/wise-2.4.1/src/socket/directsocketwrite.c:24:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  vsprintf(buffer,format,ap);	
data/wise-2.4.1/src/socket/functionserver.c:246:3:  [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(buffer,one);
data/wise-2.4.1/src/socket/functionserver.c:247:3:  [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(buffer,two);
data/wise-2.4.1/src/socket/simplebufferedserver.c:31:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  vsprintf(buffer,format,ap);	
data/wise-2.4.1/src/HMMer2/file.c:152:22:  [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.
  if ((path = Strdup(getenv(env))) == NULL) return NULL;
data/wise-2.4.1/src/base/wiseconfig.c:40:8:  [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.
	out = getenv("user");
data/wise-2.4.1/src/base/wiseconfig.c:45:8:  [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.
	out = getenv("USER");
data/wise-2.4.1/src/base/wiseconfig.c:72:14:  [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.
	if( (runner=getenv("WISESYSTEMFILE")) != NULL)
data/wise-2.4.1/src/base/wiseconfig.c:76:14:  [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.
	if( (runner=getenv("WISEPERSONALFILE")) != NULL)
data/wise-2.4.1/src/base/wisefile.c:78:15:  [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.
  if( (runner=getenv("WISECONFIGDIR")) != NULL) {
data/wise-2.4.1/src/base/wisefile.c:88:15:  [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.
  if( (runner=getenv("WISEPERSONALDIR")) != NULL) {
data/wise-2.4.1/src/base/wisefile.c:92:15:  [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.
  if( (runner=getenv("HOME")) != NULL) {
data/wise-2.4.1/src/base/wisefile.c:351:15:  [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.
  if( (envp = getenv(env)) == NULL ) {
data/wise-2.4.1/src/base/wiserandom.c:19:3:  [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.
  srandom((long) time(NULL));
data/wise-2.4.1/src/base/wiserandom.c:65:9:  [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.
  rnd = random();
data/wise-2.4.1/src/dynlibsrc/test_intallocator.c:9:9:  [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.
  rnd = random();
data/wise-2.4.1/src/dynlibsrc/test_intallocator.c:37:3:  [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.
  srandom(10);
data/wise-2.4.1/src/HMMer2/alignio.c:169: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[64];			/* buffer for individual lines */
data/wise-2.4.1/src/HMMer2/alignio.c: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 sname1[11];              /* shortened name               */
data/wise-2.4.1/src/HMMer2/alignio.c:304: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 sname2[11];             
data/wise-2.4.1/src/HMMer2/alignio.c:306: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 buf1[61];		/* buffer for writing seq1; CPL+1*/
data/wise-2.4.1/src/HMMer2/alignio.c:307: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 bufmid[61];              /* buffer for writing consensus  */
data/wise-2.4.1/src/HMMer2/alignio.c:308: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 buf2[61];
data/wise-2.4.1/src/HMMer2/alphabet.c:92: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(Alphabet, "ACDEFGHIKLMNPQRSTVWYBZX");
data/wise-2.4.1/src/HMMer2/dayhoff.c:68: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     buffer[512];		/* input buffer from fp                  */
data/wise-2.4.1/src/HMMer2/dayhoff.c:154:38:  [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).
	    pam [order[row]] [order[col]] = atoi(sptr);
data/wise-2.4.1/src/HMMer2/file.c:149: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  full[1024];             /* constructed file name */
data/wise-2.4.1/src/HMMer2/file.c:160:17:  [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 ((fp = fopen(full, "r")) != NULL) break;
data/wise-2.4.1/src/HMMer2/file.c:178:13:  [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 ((fp = fopen(filename, "r"))) { fclose(fp); return TRUE; }
data/wise-2.4.1/src/HMMer2/globals.h:18: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  Alphabet[MAXCODE+1]; /* ACGT, for instance                    */ 
data/wise-2.4.1/src/HMMer2/globals.h:22: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  Degenerate[MAXCODE][MAXABET];
data/wise-2.4.1/src/HMMer2/gnuregex.c:51:9:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#ifndef bcopy
data/wise-2.4.1/src/HMMer2/gnuregex.c:52:9:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define bcopy(s, d, n)	memcpy ((d), (s), (n))
data/wise-2.4.1/src/HMMer2/gnuregex.c:52:24:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define bcopy(s, d, n)	memcpy ((d), (s), (n))
data/wise-2.4.1/src/HMMer2/gnuregex.c:76: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 re_syntax_table[CHAR_SET_SIZE];
data/wise-2.4.1/src/HMMer2/gnuregex.c:199:4:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
   bcopy (source, destination, osize),					\
data/wise-2.4.1/src/HMMer2/gnuregex.c:1427:21:  [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 str[CHAR_CLASS_MAX_LENGTH + 1];
data/wise-2.4.1/src/HMMer2/gnuregex.c:2208:28:  [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.
  range_start = ((unsigned char *) p)[-2];
data/wise-2.4.1/src/HMMer2/gnuregex.c:2209:28:  [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.
  range_end   = ((unsigned char *) p)[0];
data/wise-2.4.1/src/HMMer2/gnuregex.c:4667:11:  [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.
  return (char *) re_error_msg[(int) ret];
data/wise-2.4.1/src/HMMer2/histogram.c:198: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 buffer[81];		/* output line buffer */
data/wise-2.4.1/src/HMMer2/histogram.c:288:2:  [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(buffer, "%5d %6d %6d|", 
data/wise-2.4.1/src/HMMer2/hmmalign.c:187:33:  [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 (outfile != NULL && (ofp = fopen(outfile, "w")) != NULL)
data/wise-2.4.1/src/HMMer2/hmmbuild.c:498:15:  [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 ((fp = fopen(align_ofile, "w")) == NULL) {
data/wise-2.4.1/src/HMMer2/hmmbuild.c:573:17:  [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 ((fp = fopen(hmmfile, "a")) == NULL) {
data/wise-2.4.1/src/HMMer2/hmmbuild.c:581:17:  [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 ((fp = fopen(hmmfile, "w")) == NULL) {
data/wise-2.4.1/src/HMMer2/hmmbuild.c:660:13:  [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 ((fp = fopen(cfile, "w")) == NULL)
data/wise-2.4.1/src/HMMer2/hmmcalibrate.c:73:12:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  char    *tmpfile;             /* temporary calibrated HMM file   */
data/wise-2.4.1/src/HMMer2/hmmcalibrate.c:122:63:  [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).
      if      (strcmp(optname, "--fixed")    == 0) fixedlen = atoi(optarg);
data/wise-2.4.1/src/HMMer2/hmmcalibrate.c:125:63:  [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).
      else if (strcmp(optname, "--num")      == 0) nsample  = atoi(optarg); 
data/wise-2.4.1/src/HMMer2/hmmcalibrate.c:127:63:  [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).
      else if (strcmp(optname, "--seed")     == 0) seed     = atoi(optarg);
data/wise-2.4.1/src/HMMer2/hmmcalibrate.c:159:10:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  strcpy(tmpfile, hmmfile);
data/wise-2.4.1/src/HMMer2/hmmcalibrate.c:160:3:  [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(tmpfile, ".xxx");	/* could be more inventive here... */
data/wise-2.4.1/src/HMMer2/hmmcalibrate.c:160:10:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  strcat(tmpfile, ".xxx");	/* could be more inventive here... */
data/wise-2.4.1/src/HMMer2/hmmcalibrate.c:161:18:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  if (FileExists(tmpfile))
data/wise-2.4.1/src/HMMer2/hmmcalibrate.c:162:69:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    Die("temporary file %s already exists; please delete it first", tmpfile);
data/wise-2.4.1/src/HMMer2/hmmcalibrate.c:165:16:  [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 ((outfp = fopen(tmpfile, mode)) == NULL)
data/wise-2.4.1/src/HMMer2/hmmcalibrate.c:165:22:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  if ((outfp = fopen(tmpfile, mode)) == NULL)
data/wise-2.4.1/src/HMMer2/hmmcalibrate.c:166:61:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    Die("temporary file %s couldn't be opened for writing", tmpfile); 
data/wise-2.4.1/src/HMMer2/hmmcalibrate.c:171:18:  [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 ((hfp = fopen(histfile, "w")) == NULL)
data/wise-2.4.1/src/HMMer2/hmmcalibrate.c:294:14:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  if (rename(tmpfile, hmmfile) != 0)                   PANIC;
data/wise-2.4.1/src/HMMer2/hmmcalibrate.c:300:8:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  free(tmpfile);
data/wise-2.4.1/src/HMMer2/hmmconvert.c:162:16:  [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 ((outfp = fopen(outfile, mode)) == NULL) 
data/wise-2.4.1/src/HMMer2/hmmemit.c:97:61:  [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).
    else if (strcmp(optname, "-n")     == 0) nseq         = atoi(optarg); 
data/wise-2.4.1/src/HMMer2/hmmemit.c:100:61:  [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).
    else if (strcmp(optname, "--seed") == 0) seed         = atoi(optarg);
data/wise-2.4.1/src/HMMer2/hmmemit.c:141:16:  [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 ((fp = fopen(ofile, "w")) == NULL)
data/wise-2.4.1/src/HMMer2/hmmemit.c:182:4:  [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(sqinfo[i].name, "seq%d", i+1);
data/wise-2.4.1/src/HMMer2/hmmemit.c:217:4:  [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(sqinfo.name, "seq%d", i+1);
data/wise-2.4.1/src/HMMer2/hmmio.c:185: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[512];
data/wise-2.4.1/src/HMMer2/hmmio.c:198: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).
  if ((hmmfp->f = fopen(hmmfile, "r"))       == NULL &&
data/wise-2.4.1/src/HMMer2/hmmio.c:526: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  buffer[512];
data/wise-2.4.1/src/HMMer2/hmmio.c:545:52:  [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).
    else if (strncmp(buffer, "LENG ", 5) == 0) M = atoi(buffer+6);
data/wise-2.4.1/src/HMMer2/hmmio.c:546:60:  [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).
    else if (strncmp(buffer, "NSEQ ", 5) == 0) hmm->nseq = atoi(buffer+6);
data/wise-2.4.1/src/HMMer2/hmmio.c:646:9:  [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).
    if (atoi(s) != k)                          goto FAILURE;
data/wise-2.4.1/src/HMMer2/hmmio.c:834: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  buffer[512];
data/wise-2.4.1/src/HMMer2/hmmio.c:847:68:  [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).
  if ((s = Getword(fp, sqdARG_INT))    == NULL) goto FAILURE;  M = atoi(s);          /* model length */
data/wise-2.4.1/src/HMMer2/hmmio.c:1003: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   buffer[512];
data/wise-2.4.1/src/HMMer2/hmmio.c:1127: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.
  static char buffer[8];
data/wise-2.4.1/src/HMMer2/hmmio.c:1130:3:  [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(buffer, "%6d", Prob2Score(p, null));
data/wise-2.4.1/src/HMMer2/hmmio.c:1142:40:  [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).
  return (*s == '*') ? 0. : Score2Prob(atoi(s), null);
data/wise-2.4.1/src/HMMer2/hmmio.c:1302: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  abet[20];		/* alphabet (read but ignored) */
data/wise-2.4.1/src/HMMer2/hmmio.c:1449: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 buffer[512];
data/wise-2.4.1/src/HMMer2/hmmio.c:1459:7:  [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).
  M = atoi(s);
data/wise-2.4.1/src/HMMer2/hmmio.c:1464:11:  [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).
  asize = atoi(s);
data/wise-2.4.1/src/HMMer2/hmmio.c:1514:11:  [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).
      k = atoi(s);
data/wise-2.4.1/src/HMMer2/hmmpfam.c:149:62:  [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).
    else if (strcmp(optname, "-A")        == 0) Alimit     = atoi(optarg);  
data/wise-2.4.1/src/HMMer2/hmmpfam.c:152:62:  [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).
    else if (strcmp(optname, "-Z")        == 0) Z          = atoi(optarg);
data/wise-2.4.1/src/HMMer2/hmmsearch.c:143:62:  [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).
    if      (strcmp(optname, "-A") == 0)        Alimit     = atoi(optarg);  
data/wise-2.4.1/src/HMMer2/hmmsearch.c:146:62:  [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).
    else if (strcmp(optname, "-Z") == 0)        Z          = atoi(optarg);
data/wise-2.4.1/src/HMMer2/interleaved.c:141: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 buffer[LINEBUFLEN];
data/wise-2.4.1/src/HMMer2/interleaved.c:152: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 buffer[LINEBUFLEN];
data/wise-2.4.1/src/HMMer2/interleaved.c:184: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 buffer[LINEBUFLEN];
data/wise-2.4.1/src/HMMer2/interleaved.c:193: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 buffer[LINEBUFLEN];
data/wise-2.4.1/src/HMMer2/interleaved.c:276: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     buffer[LINEBUFLEN];	/* input buffer for lines       */
data/wise-2.4.1/src/HMMer2/interleaved.c:294:8:  [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).
  fp = fopen(seqfile, "r");
data/wise-2.4.1/src/HMMer2/iupac.c:79: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 *stdcode1[65] = {
data/wise-2.4.1/src/HMMer2/iupac.c:150: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 *stdcode3[65] = {
data/wise-2.4.1/src/HMMer2/misc.c:59: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.
  static char buffer[512];
data/wise-2.4.1/src/HMMer2/msf.c:48: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   buffer[51];		/* buffer for writing seq        */
data/wise-2.4.1/src/HMMer2/prior.c:93:13:  [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 ((fp = fopen(prifile, "r")) == NULL)
data/wise-2.4.1/src/HMMer2/prior.c:129:15:  [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).
  pri->tnum = atoi(Getword(fp, sqdARG_INT));
data/wise-2.4.1/src/HMMer2/prior.c:147:15:  [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).
  pri->mnum = atoi(Getword(fp, sqdARG_INT));
data/wise-2.4.1/src/HMMer2/prior.c:166:15:  [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).
  pri->inum = atoi(Getword(fp, sqdARG_INT));
data/wise-2.4.1/src/HMMer2/prior.c:223:13:  [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 ((fp = fopen(pamfile, "r")) == NULL &&
data/wise-2.4.1/src/HMMer2/prior.c:290:13:  [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 ((fp = fopen(rndfile, "r")) == NULL)
data/wise-2.4.1/src/HMMer2/selex.c:69: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     buffer[LINEBUFLEN];	/* input buffer for lines       */
data/wise-2.4.1/src/HMMer2/selex.c:70: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     bufcpy[LINEBUFLEN];	/* strtok'able copy of buffer   */
data/wise-2.4.1/src/HMMer2/selex.c:95:8:  [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).
  fp = fopen(seqfile, "r");
data/wise-2.4.1/src/HMMer2/selex.c:477: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   buffer[32768];     	/* buffer for writing seq        */
data/wise-2.4.1/src/HMMer2/selex.c: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  buffer[LINEBUFLEN];
data/wise-2.4.1/src/HMMer2/selex.c:709:13:  [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 ((fp = fopen(filename, "r")) == NULL)
data/wise-2.4.1/src/HMMer2/selex.c:760: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 newname[32];
data/wise-2.4.1/src/HMMer2/selex.c:765: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.
	(void) sprintf(newname, "%d", idx);
data/wise-2.4.1/src/HMMer2/sqio.c:48: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  allsymbols[32]  = "_.-*?<>{}[]()!@#$%^&=+;:'|`~\"\\";
data/wise-2.4.1/src/HMMer2/sqio.c:126:21:  [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).
    sqinfo->start = atoi(sptr);
data/wise-2.4.1/src/HMMer2/sqio.c:132:20:  [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).
    sqinfo->stop = atoi(sptr);
data/wise-2.4.1/src/HMMer2/sqio.c:138:20:  [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).
    sqinfo->olen = atoi(sptr);
data/wise-2.4.1/src/HMMer2/sqio.c:510:14:  [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).
      blen = atoi(sqd_parse[2]);
data/wise-2.4.1/src/HMMer2/sqio.c:783: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 cmd[256];
data/wise-2.4.1/src/HMMer2/sqio.c:798:22:  [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 ((dbfp->f = fopen(filename, "r")) == NULL &&
data/wise-2.4.1/src/HMMer2/sqio.c:1010: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  sp[LINEBUFLEN];
data/wise-2.4.1/src/HMMer2/sqio.c:1024:15:  [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 ((fseq = fopen(filename, "r")) == NULL &&
data/wise-2.4.1/src/HMMer2/sqio.c:1264: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  endstr[10];
data/wise-2.4.1/src/HMMer2/sqio.c:1265: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];			/* buffer for sequence  */
data/wise-2.4.1/src/HMMer2/sqio.c:1266: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  ss[100];		/* buffer for structure */
data/wise-2.4.1/src/HMMer2/sqio.c:1310: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(endstr, "\n//");
data/wise-2.4.1/src/HMMer2/sqio.c:1332: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(endstr, "\n///");
data/wise-2.4.1/src/HMMer2/sqio.c:1354: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(endstr, "\n++");
data/wise-2.4.1/src/HMMer2/sqio.c:1365: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(endstr, "\n//"); /* 11Oct90: bug fix*/
data/wise-2.4.1/src/HMMer2/sqio.c:1387: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(endstr, "\n//");
data/wise-2.4.1/src/HMMer2/sqio.c:1569: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        magic[GSI_KEYSIZE];
data/wise-2.4.1/src/HMMer2/sqio.c:1572:21:  [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 ((gsi->gsifp = fopen(gsifile, "r")) == NULL)
data/wise-2.4.1/src/HMMer2/sqio.c:1646: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[GSI_KEYSIZE + 1];
data/wise-2.4.1/src/HMMer2/squid.h:55: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[SQINFO_NAMELEN];/* up to 63 characters of name           */
data/wise-2.4.1/src/HMMer2/squid.h:56: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     id[SQINFO_NAMELEN];	/* up to 63 char of database identifier  */
data/wise-2.4.1/src/HMMer2/squid.h:57: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     acc[SQINFO_NAMELEN]; /* up to 63 char of database accession # */
data/wise-2.4.1/src/HMMer2/squid.h:58: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     desc[SQINFO_DESCLEN];/* up to 127 char of description         */
data/wise-2.4.1/src/HMMer2/squid.h:179: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              au[64];	/* "author" information                     */
data/wise-2.4.1/src/HMMer2/squid.h:232: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    sbuffer[LINEBUFLEN];	/* current line we're working on */
data/wise-2.4.1/src/HMMer2/squid.h:368: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.
extern char *sqd_parse[10];
data/wise-2.4.1/src/HMMer2/sre_string.c:30: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 *sqd_parse[10];
data/wise-2.4.1/src/HMMer2/structs.h:63: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.
extern char  Alphabet[MAXCODE+1]; /* "ACDEFGHIKLMNPQRSTVWYBZX" for example */
data/wise-2.4.1/src/HMMer2/structs.h:67: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.
extern char  Degenerate[MAXCODE][MAXABET];
data/wise-2.4.1/src/HMMer2/trace.c:756: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  buffer[ALILENGTH+1];	/* output line buffer                 */
data/wise-2.4.1/src/HMMer2/weight.c:247: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(psym[acol], "ACDEFGHIKLMNPQRSTVWY ");
data/wise-2.4.1/src/base/commandline.c:115: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 buffer[64];
data/wise-2.4.1/src/base/linesubs.c:15: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 input[MAXEDITLINE];
data/wise-2.4.1/src/base/linesubs.c:16: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 output[MAXEDITLINE];
data/wise-2.4.1/src/base/linesubs.c: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 buffer[MAXLINE];
data/wise-2.4.1/src/base/wiseconfig.c:29: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 * filenamelist[64];
data/wise-2.4.1/src/base/wiseconfig.c:131:2:  [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 buffer[MAXLINE];
data/wise-2.4.1/src/base/wiseconfig.c:159:2:  [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 buffer[MAXLINE];
data/wise-2.4.1/src/base/wiseconfig.c:167:10:  [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).
	*passed=atoi(runner);
data/wise-2.4.1/src/base/wiseconfig.c:173:2:  [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 buffer[MAXLINE];
data/wise-2.4.1/src/base/wiseconfig.c:233:2:  [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 buffer[MAXLINE];
data/wise-2.4.1/src/base/wiseerror.c:22: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 * error_msg_stack[MAXMSGSTACKERROR];
data/wise-2.4.1/src/base/wiseerror.c:24: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 * (*((error_msg_call)[MAXMSGSTACKERROR]))(void);
data/wise-2.4.1/src/base/wiseerror.c:80: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 buffer[1024];
data/wise-2.4.1/src/base/wiseerror.c:415: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 buffer[1024];
data/wise-2.4.1/src/base/wiseerror.c:441: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 buffer[1024];
data/wise-2.4.1/src/base/wiseerror.c:467: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 buffer[1024];
data/wise-2.4.1/src/base/wiseerror.c:493: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 buffer[1024];
data/wise-2.4.1/src/base/wiseerror.c:525: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 buffer[1024];
data/wise-2.4.1/src/base/wiseerror.c: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 buffer[1024];
data/wise-2.4.1/src/base/wiseerror.c:600: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 time_buffer[50];
data/wise-2.4.1/src/base/wisefile.c:72: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 buffer[256];
data/wise-2.4.1/src/base/wisefile.c:234: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 buffer[MAXPATHLEN];
data/wise-2.4.1/src/base/wisefile.c:235: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 prot[12]; /* protection string longer than 12 ! */
data/wise-2.4.1/src/base/wisefile.c:262:12:  [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( (ifp=fopen(filename,prot)) != NULL) {
data/wise-2.4.1/src/base/wisefile.c:281:11:  [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( (ifp=fopen(buffer,prot)) != NULL)
data/wise-2.4.1/src/base/wisefile.c:294:107:  [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( personaldir != NULL && append_file_to_path(buffer,MAXPATHLEN,filename,personaldir) != FALSE && (ifp=fopen(buffer,prot)) != NULL)
data/wise-2.4.1/src/base/wisefile.c:302:115:  [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( systemconfigdir != NULL && append_file_to_path(buffer,MAXPATHLEN,filename,systemconfigdir) != FALSE && (ifp=fopen(buffer,prot)) != NULL)
data/wise-2.4.1/src/base/wisefile.c:344: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 path [512];
data/wise-2.4.1/src/base/wisefile.c:362:10:  [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).
  return fopen(path,"r");
data/wise-2.4.1/src/base/wisememman.c:38:38:  [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.
      fprintf(ofp,"Bytes: %c%c\n",*((char *)mempool[i].position),*((char *)mempool[i].position +1));
data/wise-2.4.1/src/base/wisememman.c:38:69:  [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.
      fprintf(ofp,"Bytes: %c%c\n",*((char *)mempool[i].position),*((char *)mempool[i].position +1));
data/wise-2.4.1/src/base/wiseoverlay.c:62: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 buffer[512];
data/wise-2.4.1/src/base/wisestreaminterface.c:154: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 buffer[1024];
data/wise-2.4.1/src/base/wisestreaminterface.c:228: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 str[1024];
data/wise-2.4.1/src/base/wisestring.c:609:9:  [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).
  ret = atoi(st);
data/wise-2.4.1/src/base/wisestring.c:646:10:  [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).
  return atoi(st);
data/wise-2.4.1/src/base/wisestring.c:664: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 buffer[MAXLINE];
data/wise-2.4.1/src/base/wisestring.c:1058: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 buffer[1024];
data/wise-2.4.1/src/contig/testoverlap.c:12:9:  [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).
  ifp = fopen(argv[1],"r");
data/wise-2.4.1/src/corba/hspscan_corba_wrapper.c:104: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 buffer[1024];
data/wise-2.4.1/src/corba/hspscan_corba_wrapper.c:110:9:  [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).
  ifp = fopen(iorfile,"r");
data/wise-2.4.1/src/corba/scanwise_protein_index.c:103:9:  [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).
  ofp = fopen(ior_file,"w");
data/wise-2.4.1/src/corba/scanwise_protein_index.c:130:11:  [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).
    ofp = fopen(oc_file,"w");
data/wise-2.4.1/src/corba/scanwise_protein_index.c:151:9:  [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).
  ofp = fopen(ior_file,"w");
data/wise-2.4.1/src/corba/test_client.c:23: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 filebuffer[1024];
data/wise-2.4.1/src/corba/test_client.c:42:11:  [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).
    ifp = fopen("hsp.ior","r");
data/wise-2.4.1/src/corba/test_server.c:63:11:  [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).
    ofp = fopen("array.oc","w");
data/wise-2.4.1/src/corba/test_server.c:79:9:  [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).
  ofp = fopen("hsp.ior","w");
data/wise-2.4.1/src/dnaindex/assembly/badkmer.c:49: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 buffer[256];
data/wise-2.4.1/src/dnaindex/assembly/test_assemblygraph.c:51:28:  [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).
  test_basic_graph(argv[1],atoi(argv[2]),0);
data/wise-2.4.1/src/dnaindex/assembly/test_graphtangle.c:11: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 buffer[120];
data/wise-2.4.1/src/dnaindex/assembly/test_graphtangle.c:119:20:  [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).
  if( argc < 2  || atoi(argv[2]) < 0 ) {
data/wise-2.4.1/src/dnaindex/assembly/test_graphtangle.c:124:29:  [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).
  test_basic_tangle(argv[1],atoi(argv[2]),1);
data/wise-2.4.1/src/dnaindex/assembly_sanger_project.c:10: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 buffer[MAXLINE];
data/wise-2.4.1/src/dnaindex/assembly_sanger_project.c:27:13:  [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).
      ifp = fopen(buffer,"r");
data/wise-2.4.1/src/dnaindex/assembly_sanger_project.c:61: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 buffer[512];
data/wise-2.4.1/src/dnaindex/assembly_sanger_project.c:62: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[60];
data/wise-2.4.1/src/dnaindex/comparapath.c:388: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 buffer[512];
data/wise-2.4.1/src/dnaindex/eulerindex.c:12: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 dna_str[512];
data/wise-2.4.1/src/dnaindex/eulerindex.c:136: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 dna_str[128];
data/wise-2.4.1/src/dnaindex/findbad_kmer.c:44: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 buffer[200];
data/wise-2.4.1/src/dnaindex/kmer_assembly.c:241: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 buffer[512];
data/wise-2.4.1/src/dnaindex/kmer_assembly_contig.c: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 buffer[512];
data/wise-2.4.1/src/dnaindex/kmer_assembly_contig.c:233:3:  [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(buffer,"contig_%ld",(long int)kac);
data/wise-2.4.1/src/dnaindex/kmer_assembly_error.c:76: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 buffer[256];
data/wise-2.4.1/src/dnaindex/kmer_assembly_error.c:121: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 buffer[128];
data/wise-2.4.1/src/dnaindex/kmer_assembly_error.c:206: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 buffer[256];
data/wise-2.4.1/src/dnaindex/kmer_assembly_error.c:207: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 next[256];
data/wise-2.4.1/src/dnaindex/kmer_assembly_untangler.c:13: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 forw[512];
data/wise-2.4.1/src/dnaindex/kmer_assembly_untangler.c:14: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 back[512];
data/wise-2.4.1/src/dnaindex/kmer_assembly_untangler.c:79: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 buffer[256];
data/wise-2.4.1/src/dnaindex/kmer_assembly_untangler.c:388: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 buffer[128];
data/wise-2.4.1/src/dnaindex/kmer_assembly_untangler.c:712: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 back[256];
data/wise-2.4.1/src/dnaindex/kmer_assembly_untangler.c:713: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 forw[256];
data/wise-2.4.1/src/dnaindex/largeseqreader.c:35: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[512];
data/wise-2.4.1/src/dnaindex/shotgun.c:31: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 buffer[MAXLINE];
data/wise-2.4.1/src/dnaindex/shotgun.c:48: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(buffer,"Read.%d.f",i);
data/wise-2.4.1/src/dnaindex/shotgun.c:61: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(buffer,"Read.%d.r",i);
data/wise-2.4.1/src/dnaindex/test_linkindex.c:7: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 buffer[MAXLINE];
data/wise-2.4.1/src/dnaindex/test_linkindex.c:34: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(buffer,"Sequence_%d",i);
data/wise-2.4.1/src/dnaindex/vectorindex.h:12: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 kmer_vector[KMER_VECTOR_LENGTH];
data/wise-2.4.1/src/dyc/api.c: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/api.c: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 strippack[64];
data/wise-2.4.1/src/dyc/api.c:823: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 strip_package[64];
data/wise-2.4.1/src/dyc/api.c:845: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 strip_package[64];
data/wise-2.4.1/src/dyc/api.c:871: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 strip_package[64];
data/wise-2.4.1/src/dyc/api.c:1007: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 statbuf[128];
data/wise-2.4.1/src/dyc/compugen.c:242: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               temp_name[20];
data/wise-2.4.1/src/dyc/compugen.c:335:3:  [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 ( temp_name, "trans%d", transition_num );
data/wise-2.4.1/src/dyc/compugen.c:370: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            temp_name[20];
data/wise-2.4.1/src/dyc/compugen.c:387:3:  [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 ( temp_name, "trans%d", transition_num );
data/wise-2.4.1/src/dyc/compugen.c:418: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            temp_name[20];
data/wise-2.4.1/src/dyc/compugen.c:426:3:  [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 ( temp_name, "trans%d", transition_num );
data/wise-2.4.1/src/dyc/compugen.c:775:15:  [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).
      return (atoi(tree->child[1]->child[i]->child[2]->word));      
data/wise-2.4.1/src/dyc/compugen.c:1191: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 ( semistate_name, "SEMI" );
data/wise-2.4.1/src/dyc/compugen.h:40: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 * statenames    [CUGEN_MAX_STATE_NAMES];
data/wise-2.4.1/src/dyc/compugen.h:41: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 * semistatenames[CUGEN_MAX_STATE_NAMES];
data/wise-2.4.1/src/dyc/compugen.h:42: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 * midstatenames [CUGEN_MAX_STATE_NAMES];
data/wise-2.4.1/src/dyc/compugen.h:43: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 * seqfuncs      [CUGEN_MAX_FUNCS];
data/wise-2.4.1/src/dyc/dbmpi.c:52: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/dbmpi.c:77: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(buffer," targetdb ");
data/wise-2.4.1/src/dyc/dbmpi.c:290: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/dbmpi.c:389: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(buffer,", ");
data/wise-2.4.1/src/dyc/dbthread.c:564: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/display.c:32: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/display.c:291: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/display.c:351: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/display.c:379:22:  [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).
  else out->number = atoi(runner);
data/wise-2.4.1/src/dyc/display.c:416: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/display.c:499: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/display.c:581: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 buffer[20];
data/wise-2.4.1/src/dyc/display.c:590: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(buffer,"%d",(int)strlen(a2df->string));
data/wise-2.4.1/src/dyc/docugen.c:23:7:  [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(buffer,"(k)");
data/wise-2.4.1/src/dyc/docugen.c:35: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   tprf[CUGEN_MAX_PRF_NUM_LEN+1], w_base[CUGEN_MAX_PRF_NUM_LEN+1];
data/wise-2.4.1/src/dyc/docugen.c:92: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 ( tprf, "%d", om->trans[i]->tpos_tprf );
data/wise-2.4.1/src/dyc/docugen.c:104: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 ( w_base, "%d", om->trans[i]->tpos_wprf );
data/wise-2.4.1/src/dyc/docugen.c:133: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 buffer[MAXLINE]; /* place to put strcat function */
data/wise-2.4.1/src/dyc/dyc.c:72: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 pbuff[1024];
data/wise-2.4.1/src/dyc/dyc.c:108: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/dyc.c:305: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 buffer[512];
data/wise-2.4.1/src/dyc/dyc.c:306: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 strpack[64];
data/wise-2.4.1/src/dyc/dyc.c:454: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/dyc.c:675: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 buffer[64]; /** really for removing files **/
data/wise-2.4.1/src/dyc/dyc.c:769:16:  [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).
    tele_file= fopen(telegraph,"w");
data/wise-2.4.1/src/dyc/dyna2.c:1142: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/dyna2.c:1173: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/dyna2.c:1523: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/dyna2.c:1572:19:  [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).
      out->offi = atoi(runner);
data/wise-2.4.1/src/dyc/dyna2.c:1581:19:  [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).
      out->offj = atoi(runner);
data/wise-2.4.1/src/dyc/dyna2.c:1761: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/dyna2.c:1804:16:  [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).
	  out->offi = atoi(runner);
data/wise-2.4.1/src/dyc/dyna2.c:1815:16:  [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).
	  out->offj = atoi(runner);
data/wise-2.4.1/src/dyc/dynadb.c:20: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/dynadb.c:41: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(buffer," targetdb ");
data/wise-2.4.1/src/dyc/dynadebug.c: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 buffer[512];
data/wise-2.4.1/src/dyc/dynafunc.c:459: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/dynafunc.c:465: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(buffer,", ");
data/wise-2.4.1/src/dyc/dynafunc.c:490: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/dynafunc.c:1284: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 matrix_access[128];
data/wise-2.4.1/src/dyc/dynafunc.c:1285: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 special_access[128];
data/wise-2.4.1/src/dyc/dynafunc.c:1289: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(matrix_access,"(*h.access_main)");
data/wise-2.4.1/src/dyc/dynafunc.c:1290: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(special_access,"(*h.access_special)");
data/wise-2.4.1/src/dyc/dynafunc.c:1412: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 source_buffer[125];
data/wise-2.4.1/src/dyc/dynafunc.c:1422: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(source_buffer,"(i-%d) == 0 && (j-%d) == 0",offi,offj);
data/wise-2.4.1/src/dyc/dynafunc.c:1425: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(source_buffer,"(i-%d) == 0 ",offi);
data/wise-2.4.1/src/dyc/dynafunc.c:1428: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(source_buffer,"(j-%d) == 0 ",offj);
data/wise-2.4.1/src/dyc/dynafunc.c:2137: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/dynafunc.c:2159: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(buffer," targetdb ");
data/wise-2.4.1/src/dyc/dynafunc.c:2218: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(buffer," targetdb ");
data/wise-2.4.1/src/dyc/dynafunc.c:2228:3:  [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(buffer,");");
data/wise-2.4.1/src/dyc/dynafunc.c:2344: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/dynashadow.c:560: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/dynashadow.c:577: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(buffer,", ");
data/wise-2.4.1/src/dyc/dynfile.c:587: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/dynfile.c:605: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/dynfile.c:674: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(dfp->line,"} ");
data/wise-2.4.1/src/dyc/dynfile.c:684: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/dynfile.c:699: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(dfp->line,"; ");
data/wise-2.4.1/src/dyc/dynfile.c:707: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/dynfile.c:720: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(dfp->line,"; ");
data/wise-2.4.1/src/dyc/dynfile.c:729: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/dynfile.c:751: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/dynfile.c:752: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 buf2[MAXLINE];
data/wise-2.4.1/src/dyc/dynfile.c:775: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/dynfile.c:786:3:  [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(dfp->line," { ");
data/wise-2.4.1/src/dyc/dynfile.c:796: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/dynfile.c:807:3:  [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(dfp->line,"} ");
data/wise-2.4.1/src/dyc/dynfile.c:820: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/dynfile.c:836: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/dynfile.c:849: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(dfp->line,"; ");
data/wise-2.4.1/src/dyc/dynfile.c:862: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/dynfile.c:873:3:  [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(dfp->line,"/* ");
data/wise-2.4.1/src/dyc/dynfile.c:875:3:  [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(dfp->line," */");
data/wise-2.4.1/src/dyc/dynfile.c:884: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/dynfile.c:892:3:  [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(dfp->line,"/* ");
data/wise-2.4.1/src/dyc/dynfile.c:894:3:  [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(dfp->line," */");
data/wise-2.4.1/src/dyc/dynfile.c:902: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/dynfile.c:910:3:  [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(dfp->line,"/* ");
data/wise-2.4.1/src/dyc/dynfile.c:912:3:  [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(dfp->line," */");
data/wise-2.4.1/src/dyc/dynfile.c:936:3:  [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(dfp->line,"  ");
data/wise-2.4.1/src/dyc/dynfile.c:938: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(dfp->line,"  ");
data/wise-2.4.1/src/dyc/dynfile.c:963:3:  [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(dfp->line," { ");
data/wise-2.4.1/src/dyc/dynfile.c:965:3:  [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(dfp->line,"/*");
data/wise-2.4.1/src/dyc/dynfile.c:967:3:  [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(dfp->line,"*/");
data/wise-2.4.1/src/dyc/dynfile.c:981:3:  [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(dfp->line," { ");
data/wise-2.4.1/src/dyc/dynfile.c:991:3:  [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(dfp->line,"} ");
data/wise-2.4.1/src/dyc/dynfile.c:1025: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 func_buf[512];
data/wise-2.4.1/src/dyc/dynfile.c:1026: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 head_buf[512];
data/wise-2.4.1/src/dyc/dynfile.c:1027: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 html_buf[1024];
data/wise-2.4.1/src/dyc/dynfile.h:30: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 line[1024];     
data/wise-2.4.1/src/dyc/dynfile.h:31: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 *tag[128];  
data/wise-2.4.1/src/dyc/exprtree.c:400: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[2];
data/wise-2.4.1/src/dyc/ftext.c:22: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/funcinfo.c:384: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/funcinfo.c:403: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/funcinfo.c:440: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/funcinfo.c:459: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/input.c:14: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/input.c:53: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/kbestsearch.c:33: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 subexpr_buffer[MAXLINE];
data/wise-2.4.1/src/dyc/kbestsearch.c:242: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/kbestsearch.c:299:4:  [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(buffer,"+ (");
data/wise-2.4.1/src/dyc/kbestsearch.c:372: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 buffer[1024];
data/wise-2.4.1/src/dyc/labelmaster.c:9: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[512];
data/wise-2.4.1/src/dyc/labelmaster.c:10: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 buffer[2048];
data/wise-2.4.1/src/dyc/linkmap.c:9: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/linkmap.c:39: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 buffer[128];
data/wise-2.4.1/src/dyc/method.c:294: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/method.c:364: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/method.c:470: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/module.c:155: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 buffer[512];
data/wise-2.4.1/src/dyc/module.c: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/modulefunc.c:59: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 buffer[128]; /** max function name! **/
data/wise-2.4.1/src/dyc/optimiser.c:67: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 b[20];
data/wise-2.4.1/src/dyc/optimiser.c:72:3:  [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(buffer,"subexpr");
data/wise-2.4.1/src/dyc/optimiser.c:73:3:  [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(b,"%d",etr->cse->id);
data/wise-2.4.1/src/dyc/type.c:92: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 buffer[MAXLINE]; /** ouch - watch overflows **/
data/wise-2.4.1/src/dyc/type.c: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 tempbuf[512];
data/wise-2.4.1/src/dyc/wisec.c:11: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/wisec.c:186: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/wisec.c:207: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(buffer,"free_");
data/wise-2.4.1/src/dyc/wisec.c:1151: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 buffer[MAXLINE];
data/wise-2.4.1/src/dyc/wisec.c:1349: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 buffer[MAXLINE];
data/wise-2.4.1/src/dynamite_examples/estgendisplay.c:27: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 qname[64];
data/wise-2.4.1/src/dynamite_examples/estgendisplay.c:28: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 tname[64];
data/wise-2.4.1/src/dynamite_examples/estgendisplay.c: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 buffer[512];
data/wise-2.4.1/src/dynamite_examples/estgendisplay.c:108: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(buffer,"%d",alc->alu[0]->start+q_start+1);
data/wise-2.4.1/src/dynamite_examples/estgendisplay.c:111: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(buffer,"%d",alc->alu[1]->start+t_start+1);
data/wise-2.4.1/src/dynamite_examples/estgendisplay.c:145:2:  [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(buffer,"<-%4d:%4d->",start+1+t_start,end+t_start);
data/wise-2.4.1/src/dynamite_examples/seqaligndisplay.c:27: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 qname[64];
data/wise-2.4.1/src/dynamite_examples/seqaligndisplay.c:28: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 tname[64];
data/wise-2.4.1/src/dynlibsrc/aln.c:946: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 buffer[MAXLINE];
data/wise-2.4.1/src/dynlibsrc/aln.c:993: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 buffer[128]; /* implies max label 128 characters. Worrying? */
data/wise-2.4.1/src/dynlibsrc/aln.c:1092: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 buffer[MAXLINE];
data/wise-2.4.1/src/dynlibsrc/btcanvas.c:124: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[64];
data/wise-2.4.1/src/dynlibsrc/codon.c:56: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 buffer[MAXLINE];
data/wise-2.4.1/src/dynlibsrc/codon.c:99: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[2];
data/wise-2.4.1/src/dynlibsrc/codon.c: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 codon[3];
data/wise-2.4.1/src/dynlibsrc/complexconsensi.c:232: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 buffer[MAXLINE];
data/wise-2.4.1/src/dynlibsrc/compmat.c:407: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 buffer[MAXLINE];
data/wise-2.4.1/src/dynlibsrc/compmat.c:510: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 buffer[MAXLINE];
data/wise-2.4.1/src/dynlibsrc/dpenvelope.c:94: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 buffer[MAXLINE];
data/wise-2.4.1/src/dynlibsrc/dpenvelope.c:124:20:  [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).
    unit->starti = atoi(*str);
data/wise-2.4.1/src/dynlibsrc/dpenvelope.c:130:20:  [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).
    unit->startj = atoi(*str);
data/wise-2.4.1/src/dynlibsrc/dpenvelope.c:137:20:  [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).
    unit->height = atoi(*str);
data/wise-2.4.1/src/dynlibsrc/dpenvelope.c:144:20:  [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).
    unit->length = atoi(*str);
data/wise-2.4.1/src/dynlibsrc/gene.c:92: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 buffer[64];
data/wise-2.4.1/src/dynlibsrc/genomicregion.c:160: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 buffer[MAXLINE];
data/wise-2.4.1/src/dynlibsrc/genomicregion.c:683: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 buffer[MAXLINE];
data/wise-2.4.1/src/dynlibsrc/genomicregion.c:722: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 buffer[MAXLINE];
data/wise-2.4.1/src/dynlibsrc/genomicregion.c:784: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 buffer[MAXLINE];
data/wise-2.4.1/src/dynlibsrc/genomicregion.c:1062: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 buffer[64];
data/wise-2.4.1/src/dynlibsrc/genomicregion.c:1115: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 buffer[64];
data/wise-2.4.1/src/dynlibsrc/genomicregion.c:1166: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 pname[64];
data/wise-2.4.1/src/dynlibsrc/histogram.c:176: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 buffer[81];		/* output line buffer */
data/wise-2.4.1/src/dynlibsrc/histogram.c:266:2:  [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(buffer, "%5d %6d %6d|", 
data/wise-2.4.1/src/dynlibsrc/hitlist.c:452: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 buffer[MAXLINE];
data/wise-2.4.1/src/dynlibsrc/hitlist.c:553: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 buffer[14];
data/wise-2.4.1/src/dynlibsrc/hitlist.c:565: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(buffer,"%d",alc->alu[0]->start+1+1);
data/wise-2.4.1/src/dynlibsrc/hitlist.c:569: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(buffer,"%d",alc->alu[1]->start+1+1);
data/wise-2.4.1/src/dynlibsrc/hitlist.c:658: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(buffer,"%d",prev->alu[0]->end+1);
data/wise-2.4.1/src/dynlibsrc/hitlist.c:662: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(buffer,"%d",prev->alu[1]->end+1);
data/wise-2.4.1/src/dynlibsrc/hsp2hitscan.c:204: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 newseq[5];
data/wise-2.4.1/src/dynlibsrc/hsplookupscan.c:169: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 newseq[5];
data/wise-2.4.1/src/dynlibsrc/hsplookupscan.c:443: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 newseq[5];
data/wise-2.4.1/src/dynlibsrc/hsplookupthreaded.c:688: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 newseq[5];
data/wise-2.4.1/src/dynlibsrc/hspscaninterface.c:35: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 buffer[MAXLINE];
data/wise-2.4.1/src/dynlibsrc/hspscaninterface.c:92: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 buffer[MAXLINE];
data/wise-2.4.1/src/dynlibsrc/hspscaninterface.c:94:3:  [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(buffer,"numb %d\n",h->numb_level);
data/wise-2.4.1/src/dynlibsrc/hspscaninterface.c:97:3:  [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(buffer,"maxresults %d\n",h->max_results);
data/wise-2.4.1/src/dynlibsrc/hspscaninterface.c:100:3:  [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(buffer,"worddepth %d\n",h->word_depth);
data/wise-2.4.1/src/dynlibsrc/hspscaninterface.c:103:3:  [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(buffer,"minword %d\n",h->min_word_score);
data/wise-2.4.1/src/dynlibsrc/hspscaninterface.c:106:3:  [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(buffer,"minhsp %d\n",h->min_hsp_score);
data/wise-2.4.1/src/dynlibsrc/hspscaninterface.c:109:3:  [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(buffer,"linkwidth %d\n",h->hsp_link_width);
data/wise-2.4.1/src/dynlibsrc/hspscaninterface.c:112:3:  [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(buffer,"linklength %d\n",h->hsp_link_length);
data/wise-2.4.1/src/dynlibsrc/hspscaninterface.c:115:3:  [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(buffer,"impl %d\n",h->implementation);
data/wise-2.4.1/src/dynlibsrc/hspscaninterface.c:118:3:  [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(buffer,"verbose %d\n",h->verbosity);
data/wise-2.4.1/src/dynlibsrc/hspscaninterface.c:121:3:  [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(buffer,"lownumb %d\n",h->low_numb);
data/wise-2.4.1/src/dynlibsrc/hspstream.c:39: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 buffer[512];
data/wise-2.4.1/src/dynlibsrc/hspstream.c:134: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 buffer[MAXLINE];
data/wise-2.4.1/src/dynlibsrc/hsptwohitscan.c:80: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 newseq[5];
data/wise-2.4.1/src/dynlibsrc/matrixdebug.c:172: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 buffer[MAXLINE];
data/wise-2.4.1/src/dynlibsrc/packaln.c:49: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 buffer[MAXLINE];
data/wise-2.4.1/src/dynlibsrc/pairbase.c:622: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 seq1[4];
data/wise-2.4.1/src/dynlibsrc/pairbase.c:623: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 seq2[4];
data/wise-2.4.1/src/dynlibsrc/randomdb.c:23: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 buffer[512];
data/wise-2.4.1/src/dynlibsrc/randomdb.c:85: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 buffer[512];
data/wise-2.4.1/src/dynlibsrc/randommodel.c:558: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 buffer[MAXLINE];
data/wise-2.4.1/src/dynlibsrc/seqalign.c:60: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 buffer[MAXLINE];
data/wise-2.4.1/src/dynlibsrc/seqalign.c:386: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 buffer[4096];
data/wise-2.4.1/src/dynlibsrc/sequence.c:318: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 buffer[512];
data/wise-2.4.1/src/dynlibsrc/sequence.c:521:3:  [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(seqb,seq->seq+start,(end-start));
data/wise-2.4.1/src/dynlibsrc/sequence.c:553: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 buffer[256];
data/wise-2.4.1/src/dynlibsrc/sequence.c:578: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 buffer[MAXLINE];
data/wise-2.4.1/src/dynlibsrc/sequence.c:617: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 buffer[MAXLINE];
data/wise-2.4.1/src/dynlibsrc/sequence.c:694: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 seqbuffer[SEQUENCEBLOCK];
data/wise-2.4.1/src/dynlibsrc/sequence.c:761: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 buffer[MAXLINE];
data/wise-2.4.1/src/dynlibsrc/sequence.c:763: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 seqbuffer[SEQUENCEBLOCK];
data/wise-2.4.1/src/dynlibsrc/sequence.c:796:14:  [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).
    tax_id = atoi(temp+strlen("tax_id="));
data/wise-2.4.1/src/dynlibsrc/sequence.c:920: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 seqbuffer[SEQUENCEBLOCK];
data/wise-2.4.1/src/dynlibsrc/sequence_codon.c: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 buffer[512];
data/wise-2.4.1/src/dynlibsrc/sequencedb.c:509: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 buffer[MAXLINE];
data/wise-2.4.1/src/dynlibsrc/sequencestream.c:41: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 buffer[512];
data/wise-2.4.1/src/dynlibsrc/sequencestream.c:194: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 buffer[512];
data/wise-2.4.1/src/dynlibsrc/transcript.c:62: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 buffer[64];
data/wise-2.4.1/src/dynlibsrc/translation.c:45: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 buffer[64];
data/wise-2.4.1/src/models/aligngenemodel.h:11:2:  [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 seq[3];
data/wise-2.4.1/src/models/alignwise.c:18: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 seq[5];
data/wise-2.4.1/src/models/amplimer_resolver.c:38: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 buffer[512];
data/wise-2.4.1/src/models/clonewise.c:252:8:  [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).
  in = fopen(argv[1],"r");
data/wise-2.4.1/src/models/clonewise.c:260:8:  [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).
  in = fopen(argv[2],"r");
data/wise-2.4.1/src/models/dbac.c:83:9:  [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[8];  
data/wise-2.4.1/src/models/dbac.c:162:9:  [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[8];  
data/wise-2.4.1/src/models/dbac.c:172: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 xtmp[2] = " ";       /*   The Jareborg way of C programming:  */  
data/wise-2.4.1/src/models/dbac.c:173: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 ytmp[2] = " ";       /*   these are used for converting the   */  
data/wise-2.4.1/src/models/dbac.c:497:17:  [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).
      { kbyte = atoi (*++argv) ; --argc ; }  
data/wise-2.4.1/src/models/dbadisplay.c:102: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 buffer[14];
data/wise-2.4.1/src/models/dbadisplay.c:151: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(buffer,"%d",alc->alu[0]->start+1+1);
data/wise-2.4.1/src/models/dbadisplay.c:156: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(buffer,"%d",alc->alu[1]->start+1+1);
data/wise-2.4.1/src/models/dbadisplay.c:158: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(buffer,"-%d",two->offset - (alc->alu[1]->start+1));
data/wise-2.4.1/src/models/dbadisplay.c:313: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(buffer,"%d",end_alc->alu[0]->start+1);
data/wise-2.4.1/src/models/dbadisplay.c:318:2:  [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(buffer,"%d",end_alc->alu[1]->start+1);
data/wise-2.4.1/src/models/dbadisplay.c:320:2:  [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(buffer,"-%d",two->offset - (end_alc->alu[1]->start+1));
data/wise-2.4.1/src/models/dnamatcher.c:61: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 buffer[512];
data/wise-2.4.1/src/models/dnaprofileengine.c:11: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_buf[512];
data/wise-2.4.1/src/models/est_evidence.c:39: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 buffer[MAXLINE];
data/wise-2.4.1/src/models/estwrap.c:370: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 namebuffer[128];
data/wise-2.4.1/src/models/fivestarscan.c:94:11:  [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).
  seqin = fopen(argv[2],"r");
data/wise-2.4.1/src/models/fivestatemodel.c:41: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 filename[MAXLINE];
data/wise-2.4.1/src/models/fivestatemodel.c:65: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 buffer[MAXLINE];
data/wise-2.4.1/src/models/fivestatemodel.c:70: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 filename[MAXLINE];
data/wise-2.4.1/src/models/genedisplay.c:121: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 tempbuf[2];
data/wise-2.4.1/src/models/genedisplay.c:122: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 protname[60];
data/wise-2.4.1/src/models/genedisplay.c:123: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 dnaname[60];
data/wise-2.4.1/src/models/genedisplay.c:124: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 dnatemp[4];
data/wise-2.4.1/src/models/genedisplay.c:207:4:  [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(tempbuf,"%d",alc->alu[1]->end - alc->alu[1]->start);
data/wise-2.4.1/src/models/genedisplay.c:447: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 buffer[64];
data/wise-2.4.1/src/models/genedisplay.c:450:3:  [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(buffer,"Alignment %d Score %4.2f (Bits)",aln,Score2Bits(score));
data/wise-2.4.1/src/models/genedisplay.c:466: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 buffer[64];
data/wise-2.4.1/src/models/genedisplay.c:474:3:  [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(buffer,"%d",alc->alu[0]->start+1+protoff);
data/wise-2.4.1/src/models/genedisplay.c:478: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(buffer,"%d",alc->alu[1]->start+1+dna->offset);
data/wise-2.4.1/src/models/genedisplay.c:480: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(buffer,"-%d",dna->offset - (alc->alu[1]->start+1)); 
data/wise-2.4.1/src/models/genedisplay.c:493: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 buffer[32];
data/wise-2.4.1/src/models/genedisplay.c:501: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(buffer,"  Intron %-3d  ",in_number);
data/wise-2.4.1/src/models/genedisplay.c:503: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(buffer,"  Intron ???  ",in_number);
data/wise-2.4.1/src/models/genedisplay.c:509: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(buffer,"[%-7d:%7d]",start,stop);
data/wise-2.4.1/src/models/genedisplay.c:511: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(buffer,"[???????:???????]");
data/wise-2.4.1/src/models/genedisplay.c:522: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[2];
data/wise-2.4.1/src/models/genedisplay.c:532:3:  [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(buf,"%d",phase);
data/wise-2.4.1/src/models/genedisplay.c: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 buf[2];
data/wise-2.4.1/src/models/genedisplay.c:558:3:  [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(buf,"%d",phase);
data/wise-2.4.1/src/models/genefrequency.c:447: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 buffer[MAXLINE];
data/wise-2.4.1/src/models/genefrequency.c:659: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 buffer[MAXLINE];
data/wise-2.4.1/src/models/genefrequency.c:741:16:  [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).
	else *phase = atoi(runner);
data/wise-2.4.1/src/models/genefrequency.c:755: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).
	*center = atoi(runner);
data/wise-2.4.1/src/models/genefrequency.c:963: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 buffer[MAXLINE];
data/wise-2.4.1/src/models/genestats.c:702: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 buffer[MAXLINE];
data/wise-2.4.1/src/models/genewisemodel.c:457: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 buffer[MAX_PROTEIN_GENEWISE]; /* max protein length? */
data/wise-2.4.1/src/models/genewisemodel.c:458: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 tempseq[4];
data/wise-2.4.1/src/models/mapstruct.c:353: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 buffer[512];
data/wise-2.4.1/src/models/mapstruct.c:418:16:  [2] (integer) atol:
  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).
  out->start = atol(a);
data/wise-2.4.1/src/models/mapstruct.c:419:16:  [2] (integer) atol:
  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).
  out->end   = atol(b);
data/wise-2.4.1/src/models/oldpostwise.c:94: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 buffer[128];
data/wise-2.4.1/src/models/pfamhmmer1db.c:21: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 buffer[512];
data/wise-2.4.1/src/models/pfamhmmer1db.c:94: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 buffer[512];
data/wise-2.4.1/src/models/pfamhmmer1db.c:144: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 buffer[512];
data/wise-2.4.1/src/models/phasemodel.c:11: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 line[MAXLINE];
data/wise-2.4.1/src/models/phasemodel.c:188: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 seqbuffer[10000];
data/wise-2.4.1/src/models/phasemodel.c:189: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[2000];
data/wise-2.4.1/src/models/seqaligndisplay.c:55: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 qname[64];
data/wise-2.4.1/src/models/seqaligndisplay.c:56: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 tname[64];
data/wise-2.4.1/src/models/seqaligndisplay.c:163: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 buffer[14];
data/wise-2.4.1/src/models/seqaligndisplay.c:175: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(buffer,"%d",alc->alu[0]->start+1+1);
data/wise-2.4.1/src/models/seqaligndisplay.c:179: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(buffer,"%d",alc->alu[1]->start+1+1);
data/wise-2.4.1/src/models/seqerror.c:116: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 c[2];
data/wise-2.4.1/src/models/seqhit.c:70: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 buffer[MAXLINE];
data/wise-2.4.1/src/models/seqhit.c:71: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 copy[MAXLINE];
data/wise-2.4.1/src/models/seqhit.c:136: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 buffer[MAXLINE];
data/wise-2.4.1/src/models/seqhit.c:137: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 copy[MAXLINE];
data/wise-2.4.1/src/models/seqlist.c:13:11:  [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).
  start = atoi(argv[2]);
data/wise-2.4.1/src/models/seqlist.c:14:11:  [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).
  end   = atoi(argv[3]);
data/wise-2.4.1/src/models/sywise.c:99: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 seq1[20];
data/wise-2.4.1/src/models/sywise.c:100: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 seq2[20];
data/wise-2.4.1/src/models/threestatemodel.c:856: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 buffer[MAXLINE];
data/wise-2.4.1/src/models/threestatemodel.c:1179: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 buffer[MAXLINE];
data/wise-2.4.1/src/models/threestatemodel.c:1218: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).
  length = atoi(runner);
data/wise-2.4.1/src/models/threestatemodel.c:1306: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 buffer[MAXLINE];
data/wise-2.4.1/src/models/transfactor.c:14: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 buffer[MAXLINE];
data/wise-2.4.1/src/models/transfactor.c:543:9:  [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 iupac_map[17][5] = { {'A','A','.','.','.'},
data/wise-2.4.1/src/models/transfactor.c:564: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 buffer[MAXLINE];
data/wise-2.4.1/src/models/transfactor.c:570: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 lines [12][40];
data/wise-2.4.1/src/models/transfactor.c:572: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 sbuffer[MAXLINE];
data/wise-2.4.1/src/models/transfactor.c:636: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(sbuffer,"fake_%d_%d",motif_no,j);
data/wise-2.4.1/src/models/transfactor.c:680: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 buffer[MAXLINE];
data/wise-2.4.1/src/models/transfactor.c:686: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 sbuffer[MAXLINE];
data/wise-2.4.1/src/models/transfactor.c:693:3:  [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(sbuffer,"motif_%d",motif_no);
data/wise-2.4.1/src/models/transfactor.c:713: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(sbuffer,"motif_%d",motif_no);
data/wise-2.4.1/src/models/transfactor.c:731: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(sbuffer,"motif_%d_seq_%d",motif_no,seq_no);
data/wise-2.4.1/src/models/transfactor.c:752: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 buffer[MAXLINE];
data/wise-2.4.1/src/models/transfactor.c:787: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 buffer[MAXLINE];
data/wise-2.4.1/src/network/client_multihspscan.c:127: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 buffer[MAXLINE];
data/wise-2.4.1/src/network/wise_proteinindex_server.c:192:13:  [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).
      ofp = fopen(oc_file,"w");
data/wise-2.4.1/src/socket/directsocketwrite.c:19: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 buffer[1024];
data/wise-2.4.1/src/socket/functionclient.c:33: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 buffer[1024];
data/wise-2.4.1/src/socket/functionclient.c:58: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(buffer,"FINISH");
data/wise-2.4.1/src/socket/functionclient.c:81: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 buffer[1024];
data/wise-2.4.1/src/socket/functionclient.c:181:3:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  bcopy( hp->h_addr, &server.sin_addr, hp->h_length);
data/wise-2.4.1/src/socket/functionserver.c:26: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[1024];
data/wise-2.4.1/src/socket/functionserver.c:105:4:  [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(buf,"NOT FOUND");
data/wise-2.4.1/src/socket/functionserver.c:118:2:  [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(buf,"SEND\n\0");
data/wise-2.4.1/src/socket/functionserver.c:160:2:  [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(buf,"DONE\n");
data/wise-2.4.1/src/socket/functionserver.c: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 buffer[1024];
data/wise-2.4.1/src/socket/simplebufferedserver.c:26: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 buffer[1024];
data/wise-2.4.1/src/socket/simplebufferedserver.c: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 buf[1024];
data/wise-2.4.1/src/socket/simplesocketclient.c:65:3:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  bcopy( hp->h_addr, &server.sin_addr, hp->h_length);
data/wise-2.4.1/src/socket/simplesocketclient.h:21: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 buffer[1024];
data/wise-2.4.1/src/socket/transferinterface.c:49: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 buffer[1024];
data/wise-2.4.1/src/HMMer2/aligneval.c:179:48:  [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).
  s1_list = (int *) MallocOrDie (sizeof(int) * strlen(s1));
data/wise-2.4.1/src/HMMer2/aligneval.c:236:48:  [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).
  s1_list = (int *) MallocOrDie (sizeof(int) * strlen(s1));
data/wise-2.4.1/src/HMMer2/aligneval.c:237:48:  [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).
  canons1 = (int *) MallocOrDie (sizeof(int) * strlen(s1));
data/wise-2.4.1/src/HMMer2/alignio.c:180:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	  strncpy(buf, &(aseqs[idx][pos]), cpl);
data/wise-2.4.1/src/HMMer2/alignio.c:218: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).
  if (rpos != strlen(ss))
data/wise-2.4.1/src/HMMer2/alignio.c:253: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).
  if (alen != strlen(ss))
data/wise-2.4.1/src/HMMer2/alignio.c:315:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(sname1, name1, 10);
data/wise-2.4.1/src/HMMer2/alignio.c:319:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(sname2, name2, 10);
data/wise-2.4.1/src/HMMer2/alignio.c:334:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(buf1, s1, 60); buf1[60] = '\0';
data/wise-2.4.1/src/HMMer2/alignio.c:335:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(buf2, s2, 60); buf2[60] = '\0';
data/wise-2.4.1/src/HMMer2/alignio.c:336: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).
      count1 = strlen(buf1);
data/wise-2.4.1/src/HMMer2/alignio.c:337: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).
      count2 = strlen(buf2);
data/wise-2.4.1/src/HMMer2/alignio.c:500: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).
      rlen[idx] = strlen(rseqs[idx]);
data/wise-2.4.1/src/HMMer2/alphabet.c:108:5:  [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(Alphabet, "ACGTUNRYMKSWHBVDX", 17); 
data/wise-2.4.1/src/HMMer2/alphabet.c:387:49:  [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).
  DegenCount[strchr(Alphabet,iupac)-Alphabet] = strlen(syms);
data/wise-2.4.1/src/HMMer2/file.c:59:31:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  if (len > 0)                strncpy(dirname, file, len);
data/wise-2.4.1/src/HMMer2/file.c:90:48:  [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).
  tail = (char *) MallocOrDie (sizeof(char) * (strlen(file)+1));
data/wise-2.4.1/src/HMMer2/file.c:114:48:  [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).
  full = (char *) MallocOrDie (sizeof(char) * (strlen(dir)+strlen(file)+2));
data/wise-2.4.1/src/HMMer2/file.c:114:60:  [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).
  full = (char *) MallocOrDie (sizeof(char) * (strlen(dir)+strlen(file)+2));
data/wise-2.4.1/src/HMMer2/file.c:157: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).
      if (((int) strlen(fname) + (int) strlen(s) + 2) > 1024) 
data/wise-2.4.1/src/HMMer2/file.c:157: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).
      if (((int) strlen(fname) + (int) strlen(s) + 2) > 1024) 
data/wise-2.4.1/src/HMMer2/getopt.c:102: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).
      arglen = strlen(argv[optind]);
data/wise-2.4.1/src/HMMer2/getopt.c:110: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 (arglen == strlen(opt[i].name)) break; /* exact match, stop now */
data/wise-2.4.1/src/HMMer2/getopt.c:112: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 (nmatch > 1 && arglen != strlen(opt[i].name)) 
data/wise-2.4.1/src/HMMer2/getopt.c:199:52:  [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 (opt[opti].argtype == sqdARG_CHAR && strlen(*ret_optarg) != 1)
data/wise-2.4.1/src/HMMer2/gnuregex.c:4664:27:  [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).
  ret = regex_compile (s, strlen (s), re_syntax_options, &re_comp_buf);
data/wise-2.4.1/src/HMMer2/gnuregex.c:4675: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).
  int len = strlen (s);
data/wise-2.4.1/src/HMMer2/gnuregex.c:4770: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).
  ret = regex_compile (pattern, strlen (pattern), syntax, preg);
data/wise-2.4.1/src/HMMer2/gnuregex.c:4805: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).
  int len = strlen (string);
data/wise-2.4.1/src/HMMer2/gnuregex.c:4884: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).
  msg_size = strlen (msg) + 1; /* Includes the null.  */
data/wise-2.4.1/src/HMMer2/gnuregex.c:4890:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
          strncpy (errbuf, msg, errbuf_size - 1);
data/wise-2.4.1/src/HMMer2/hmmcalibrate.c:158: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).
  tmpfile = MallocOrDie(strlen(hmmfile) + 5);
data/wise-2.4.1/src/HMMer2/hmmio.c:570: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).
				       (strlen(hmm->comlog) + 1 + strlen(buffer+6)));
data/wise-2.4.1/src/HMMer2/hmmio.c:570:39:  [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).
				       (strlen(hmm->comlog) + 1 + strlen(buffer+6)));
data/wise-2.4.1/src/HMMer2/hmmio.c:571:6:  [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(hmm->comlog, "\n");
data/wise-2.4.1/src/HMMer2/hmmio.c:1193: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).
      len = strlen(s) + 1;
data/wise-2.4.1/src/HMMer2/interleaved.c:165:60:  [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 (expected_name != NULL && strncmp(buf, expected_name, strlen(expected_name) == 0))
data/wise-2.4.1/src/HMMer2/interleaved.c:240:60:  [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 (expected_name != NULL && strncmp(buf, expected_name, strlen(expected_name) == 0))
data/wise-2.4.1/src/HMMer2/interleaved.c:332: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).
	for (sptr = buffer + strlen(buffer) - 1; isspace(*sptr); sptr --)
data/wise-2.4.1/src/HMMer2/misc.c:73: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(sptr) == 0) { 
data/wise-2.4.1/src/HMMer2/msf.c:62: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 ((len = strlen(ainfo->sqinfo[idx].name)) > namelen) 
data/wise-2.4.1/src/HMMer2/msf.c:104:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	  strncpy(buffer, sqptr[idx], 50);
data/wise-2.4.1/src/HMMer2/msf.c:106: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).
	  charcount = strlen(buffer);
data/wise-2.4.1/src/HMMer2/plan7.c:300: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).
    len += strlen(argv[i]);
data/wise-2.4.1/src/HMMer2/plan7.c:305: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).
      len += strlen(hmm->comlog);
data/wise-2.4.1/src/HMMer2/plan7.c:315:3:  [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(hmm->comlog, "\n");
data/wise-2.4.1/src/HMMer2/plan7.c:319:23:  [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 < argc-1) strcat(hmm->comlog, " ");
data/wise-2.4.1/src/HMMer2/revcomp.c:38: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).
  bases = strlen(seq);
data/wise-2.4.1/src/HMMer2/selex.c:155:27:  [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).
	    for (sptr = buffer + strlen(buffer) - 1;  
data/wise-2.4.1/src/HMMer2/selex.c:258:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
          strncpy(ainfo->au,sptr,63);
data/wise-2.4.1/src/HMMer2/selex.c:321:54:  [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 (! copy_alignment_line(ainfo->cs, currlen, strlen(nptr)-1, 
data/wise-2.4.1/src/HMMer2/selex.c:329:54:  [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 (! copy_alignment_line(ainfo->rf, currlen, strlen(nptr)-1, 
data/wise-2.4.1/src/HMMer2/selex.c:337:71:  [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 (! copy_alignment_line(ainfo->sqinfo[seqidx-1].ss, currlen, strlen(nptr)-1,
data/wise-2.4.1/src/HMMer2/selex.c:346:71:  [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 (! copy_alignment_line(ainfo->sqinfo[seqidx-1].sa, currlen, strlen(nptr)-1,
data/wise-2.4.1/src/HMMer2/selex.c:354:58:  [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 (! copy_alignment_line(aseqs[seqidx], currlen, strlen(nptr)-1, 
data/wise-2.4.1/src/HMMer2/selex.c:488: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 ((len = strlen(ainfo->sqinfo[idx].name)) > namelen) 
data/wise-2.4.1/src/HMMer2/selex.c:528:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	  strncpy(buffer, ainfo->rf + currpos, cpl);
data/wise-2.4.1/src/HMMer2/selex.c:536:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	  strncpy(buffer, ainfo->cs + currpos, cpl);
data/wise-2.4.1/src/HMMer2/selex.c:544:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	  strncpy(buffer, aseqs[idx] + currpos, cpl);
data/wise-2.4.1/src/HMMer2/selex.c:552:8:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	      strncpy(buffer, ss[idx] + currpos, cpl);
data/wise-2.4.1/src/HMMer2/selex.c:560:8:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	      strncpy(buffer, sa[idx] + currpos, cpl);
data/wise-2.4.1/src/HMMer2/selex.c:668: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).
      seqlen = strlen(aseqs[idx]);
data/wise-2.4.1/src/HMMer2/sqio.c:73: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).
  for (pos = strlen(sptr)-1; pos >= 0; pos--)
data/wise-2.4.1/src/HMMer2/sqio.c:81:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(sqinfo->name, sptr, SQINFO_NAMELEN-1);
data/wise-2.4.1/src/HMMer2/sqio.c:90:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(sqinfo->id, sptr, SQINFO_NAMELEN-1);
data/wise-2.4.1/src/HMMer2/sqio.c:99:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(sqinfo->acc, sptr, SQINFO_NAMELEN-1);
data/wise-2.4.1/src/HMMer2/sqio.c:110: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).
	    len = strlen(sqinfo->desc);
data/wise-2.4.1/src/HMMer2/sqio.c:113:3:  [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. Risk is low because the source is a
  constant character.
		strncat(sqinfo->desc, " ", SQINFO_DESCLEN-1-len); len++;
data/wise-2.4.1/src/HMMer2/sqio.c:114:3:  [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(sqinfo->desc, sptr, SQINFO_DESCLEN-1-len);
data/wise-2.4.1/src/HMMer2/sqio.c:118:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	  strncpy(sqinfo->desc, sptr, SQINFO_DESCLEN-1);
data/wise-2.4.1/src/HMMer2/sqio.c:788: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(filename) + strlen("gzip -dc ") >= 256)
data/wise-2.4.1/src/HMMer2/sqio.c:788: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 (strlen(filename) + strlen("gzip -dc ") >= 256)
data/wise-2.4.1/src/HMMer2/sqio.c:1022: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).
    if (!done) { splen = (int) strlen(sp); ++nlines; } }
data/wise-2.4.1/src/HMMer2/sqio.c:1274:61:  [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).
  seqlen     = (sqinfo->flags & SQINFO_LEN) ? sqinfo->len : strlen(seq);
data/wise-2.4.1/src/HMMer2/sqio.c:1287: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( endstr,"");
data/wise-2.4.1/src/HMMer2/sqio.c:1296: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(endstr,"\n"); /* end w/ extra blank line */
data/wise-2.4.1/src/HMMer2/sqio.c:1380: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(endstr, "\n");  /* this is insurance to help prevent misreads at eof */
data/wise-2.4.1/src/HMMer2/sqio.c:1401: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(endstr,"1"); /* == linear dna */
data/wise-2.4.1/src/HMMer2/sre_string.c:44: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).
  if ((new = (char *) malloc (strlen(s) +1)) == NULL) return NULL;
data/wise-2.4.1/src/HMMer2/sre_string.c:210:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(sqd_parse[i], s+pmatch[i].rm_so, len);
data/wise-2.4.1/src/HMMer2/sre_string.c:261: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).
  for (len = strlen(s1); len > 1; len--)
data/wise-2.4.1/src/HMMer2/sre_string.c:289: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).
  len = strlen(s1);
data/wise-2.4.1/src/HMMer2/sre_string.c:320: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).
  len = strlen(s1);
data/wise-2.4.1/src/HMMer2/tophits.c:254: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).
      len = strlen(h->unsrt[i].name);
data/wise-2.4.1/src/HMMer2/tophits.c:335: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).
	memused += strlen(h->unsrt[i].name) + 1;
data/wise-2.4.1/src/HMMer2/tophits.c:337: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).
	memused += strlen(h->unsrt[i].desc) + 1;
data/wise-2.4.1/src/HMMer2/tophits.c:350: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).
	    memused += strlen(h->unsrt[i].ali->query) + 1;
data/wise-2.4.1/src/HMMer2/tophits.c:352: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).
	    memused += strlen(h->unsrt[i].ali->target) + 1;
data/wise-2.4.1/src/HMMer2/trace.c:771:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(buffer, ali->csline+pos, ALILENGTH);
data/wise-2.4.1/src/HMMer2/trace.c:775:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(buffer, ali->rfline+pos, ALILENGTH);
data/wise-2.4.1/src/HMMer2/trace.c:779:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(buffer, ali->model+pos, ALILENGTH);
data/wise-2.4.1/src/HMMer2/trace.c:783:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(buffer, ali->mline+pos, ALILENGTH);
data/wise-2.4.1/src/HMMer2/trace.c:787:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(buffer, ali->aseq+pos, ALILENGTH);
data/wise-2.4.1/src/HMMer2/translate.c:58: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 ((aaseq = (char *) calloc (strlen(seq) + 1, sizeof(char))) == NULL)
data/wise-2.4.1/src/HMMer2/translate.c:82: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).
      aaptr += strlen(code[codon]);
data/wise-2.4.1/src/HMMer2/types.c:42: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).
  if ((strncmp(s, "0x", 2) == 0 && (int) strlen(s) > 2) ||
data/wise-2.4.1/src/HMMer2/types.c:43: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).
      (strncmp(s, "0X", 2) == 0 && (int) strlen(s) > 2))
data/wise-2.4.1/src/HMMer2/types.c:48: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).
  else if (*s == '0' && (int) strlen(s) > 1)
data/wise-2.4.1/src/base/linesubs.c:51: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).
  runner += strlen(kr->key);
data/wise-2.4.1/src/base/linesubs.c:202: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).
      runner = (*brk) + strlen((*brk));
data/wise-2.4.1/src/base/wiseconfig.c:235: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).
	runner=string+strlen(string);
data/wise-2.4.1/src/base/wiseconfig.c:246:43:  [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).
		runner=(char *) malloc (sizeof(char) *( strlen (base) + 
data/wise-2.4.1/src/base/wiseconfig.c:247:1:  [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).
strlen (string) +1 ));
data/wise-2.4.1/src/base/wiseconfig.c:255:43:  [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).
		runner=(char *) malloc (sizeof(char) * (strlen (string)+1));
data/wise-2.4.1/src/base/wiseconfig.c:260: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).
	backrunner=runner+strlen(runner);
data/wise-2.4.1/src/base/wisefile.c:79: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( runner[strlen(runner)-1] == '/' ) 
data/wise-2.4.1/src/base/wisefile.c:156: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( 1+strlen(file)+strlen(path) > len) {
data/wise-2.4.1/src/base/wisefile.c:156: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( 1+strlen(file)+strlen(path) > len) {
data/wise-2.4.1/src/base/wisefile.c:162: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).
  runner=buffer+strlen(buffer);
data/wise-2.4.1/src/base/wisefile.c:238:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(prot,passedprot,12);
data/wise-2.4.1/src/base/wisefile.c:356:7:  [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(filename) + strlen(envp) < 490 ) {
data/wise-2.4.1/src/base/wisefile.c:356:26:  [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(filename) + strlen(envp) < 490 ) {
data/wise-2.4.1/src/base/wiseoverlay.c:78: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).
  delete_len=strlen(buffer);
data/wise-2.4.1/src/base/wisestring.c:412:10:  [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).
  str += strlen(str) -1;
data/wise-2.4.1/src/base/wisestring.c:437:8:  [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).
  str+=strlen(str);
data/wise-2.4.1/src/base/wisestring.c:533: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).
  runner+=strlen(se);
data/wise-2.4.1/src/base/wisestring.c:676: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).
      runner=buffer+strlen(buffer);
data/wise-2.4.1/src/base/wisestring.c:677: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).
      into+=strlen(key);
data/wise-2.4.1/src/base/wisestring.c:870: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).
  run = base+strlen(base)-1;
data/wise-2.4.1/src/base/wisestring.c:1093:7:  [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(c);
data/wise-2.4.1/src/base/wisetime.c:25: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).
  runner=temp+strlen(temp);
data/wise-2.4.1/src/dnaindex/assembly_sanger_project.c:124: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).
    clip_end = strlen(seqstr);
data/wise-2.4.1/src/dnaindex/kmer_assembly_contig.c:255: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).
  con->len = strlen(con->seq);
data/wise-2.4.1/src/dnaindex/largeseqreader.c:37:7:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  c = fgetc(ifp);
data/wise-2.4.1/src/dnaindex/largeseqreader.c:48:13:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while( (c=fgetc(ifp)) != EOF ) {
data/wise-2.4.1/src/dnaindex/largeseqreader.c:57:15:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while( (c=fgetc(ifp)) != EOF ) {
data/wise-2.4.1/src/dnaindex/largeseqreader.c:68:13:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while( (c=fgetc(ifp)) != EOF ) {
data/wise-2.4.1/src/dyc/api.c:541: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( strippack[strlen(strippack)-1] == '_') 
data/wise-2.4.1/src/dyc/api.c:542: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).
    strippack[strlen(strippack)-1] = '\0';
data/wise-2.4.1/src/dyc/api.c:558: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).
      while ( !isalpha(runner[strlen(runner)-1]) ) {
data/wise-2.4.1/src/dyc/api.c:559: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).
	runner[strlen(runner)-1] = '\0';
data/wise-2.4.1/src/dyc/api.c:828: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).
  if( strip_package[strlen(strip_package)-1] == '_') 
data/wise-2.4.1/src/dyc/api.c:829: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).
    strip_package[strlen(strip_package)-1] = '\0';
data/wise-2.4.1/src/dyc/api.c:850: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).
  if( strip_package[strlen(strip_package)-1] == '_') 
data/wise-2.4.1/src/dyc/api.c:851: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).
    strip_package[strlen(strip_package)-1] = '\0';
data/wise-2.4.1/src/dyc/api.c:876: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).
  if( strip_package[strlen(strip_package)-1] == '_') 
data/wise-2.4.1/src/dyc/api.c:877: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).
    strip_package[strlen(strip_package)-1] = '\0';
data/wise-2.4.1/src/dyc/api.c:1024: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).
  c = statbuf + strlen(statbuf)-1;
data/wise-2.4.1/src/dyc/compugen.c:209: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).
  if ( (out_str = (char *)malloc(strlen(in_str) + 1)) == NULL ) {
data/wise-2.4.1/src/dyc/compugen.c:1186: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).
  if ( (semistate_name = (char *)malloc(strlen(state_name) + 5)) == NULL ) {
data/wise-2.4.1/src/dyc/dbmpi.c:80: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(buffer," ");
data/wise-2.4.1/src/dyc/dbmpi.c:82: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(buffer," ");
data/wise-2.4.1/src/dyc/dbmpi.c:86: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(buffer,",");
data/wise-2.4.1/src/dyc/dbmpi.c:88: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(buffer," ");
data/wise-2.4.1/src/dyc/dbmpi.c:91:3:  [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(buffer,")");
data/wise-2.4.1/src/dyc/dbmpi.c:312: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(buffer,",");
data/wise-2.4.1/src/dyc/dbmpi.c:314: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(buffer," ");
data/wise-2.4.1/src/dyc/dbmpi.c:317:3:  [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(buffer,")");
data/wise-2.4.1/src/dyc/dbmpi.c:392:3:  [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(buffer,")");
data/wise-2.4.1/src/dyc/dbthread.c:570: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(buffer,",");
data/wise-2.4.1/src/dyc/display.c:40: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(buffer,",");
data/wise-2.4.1/src/dyc/display.c:45:3:  [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(buffer,")");
data/wise-2.4.1/src/dyc/display.c:590: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).
    sprintf(buffer,"%d",(int)strlen(a2df->string));
data/wise-2.4.1/src/dyc/docugen.c:20: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(buffer,"k");
data/wise-2.4.1/src/dyc/docugen.c:94: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 ( tprf, "-" );
data/wise-2.4.1/src/dyc/docugen.c:102: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 ( w_base, "-" );
data/wise-2.4.1/src/dyc/dyc.c:310: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).
  if( strpack[strlen(strpack)-1] == '_') {
data/wise-2.4.1/src/dyc/dyc.c:311: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).
    strpack[strlen(strpack)-1] = '\0';
data/wise-2.4.1/src/dyc/dyc.c:487:27:  [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).
    runner = sourcename + strlen(sourcename);
data/wise-2.4.1/src/dyc/dyc.c:786:26:  [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).
      for(runner=argv[i]+strlen(argv[i]) - 1;runner > argv[i] && *runner != '.';runner--)
data/wise-2.4.1/src/dyc/dynadb.c:44: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(buffer," ");
data/wise-2.4.1/src/dyc/dynadb.c:46: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(buffer," ");
data/wise-2.4.1/src/dyc/dynadb.c:50: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(buffer,",");
data/wise-2.4.1/src/dyc/dynadb.c:52: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(buffer," ");
data/wise-2.4.1/src/dyc/dynadb.c:55:3:  [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(buffer,")");
data/wise-2.4.1/src/dyc/dynafunc.c:496: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(buffer,",");
data/wise-2.4.1/src/dyc/dynafunc.c:498: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(buffer," ");
data/wise-2.4.1/src/dyc/dynafunc.c:2162: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(buffer," ");
data/wise-2.4.1/src/dyc/dynafunc.c:2164: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(buffer," ");
data/wise-2.4.1/src/dyc/dynafunc.c:2168: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(buffer,",");
data/wise-2.4.1/src/dyc/dynafunc.c:2170: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(buffer," ");
data/wise-2.4.1/src/dyc/dynafunc.c:2173:3:  [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(buffer,")");
data/wise-2.4.1/src/dyc/dynafunc.c:2221: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(buffer," ");
data/wise-2.4.1/src/dyc/dynafunc.c:2225: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(buffer,",");
data/wise-2.4.1/src/dyc/dynashadow.c:580: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(buffer," ");
data/wise-2.4.1/src/dyc/dynashadow.c:586:3:  [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(buffer,")");
data/wise-2.4.1/src/dyc/dynfile.c:485: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).
  runner = str+strlen(str)-1;
data/wise-2.4.1/src/dyc/dynfile.c:525: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(dfp->line,"");
data/wise-2.4.1/src/dyc/dynfile.c:538: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(dfp->line,"");
data/wise-2.4.1/src/dyc/dynfile.c:554: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).
  if(dfp->commentstart == 0 || strlen(dfp->line)+1 > dfp->commentstart) {
data/wise-2.4.1/src/dyc/dynfile.c:556: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(dfp->line);
data/wise-2.4.1/src/dyc/dynfile.c:563: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).
    for(i=strlen(dfp->line);i<dfp->commentstart;i++)
data/wise-2.4.1/src/dyc/dynfile.c:1030: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).
  if( (len=strlen(name)) > 509 ) {
data/wise-2.4.1/src/dyc/dynfile.c:1035: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( html_directory != NULL && strlen(html_directory) + len > 1020 ) {
data/wise-2.4.1/src/dyc/exprtree.c:79: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.
  case ETR_EXPRESSION : strcat(buffer,"(");
data/wise-2.4.1/src/dyc/exprtree.c:82: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(buffer,")");
data/wise-2.4.1/src/dyc/exprtree.c:92: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(buffer,"[");
data/wise-2.4.1/src/dyc/exprtree.c:94: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(buffer,"]");
data/wise-2.4.1/src/dyc/exprtree.c:112: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(buffer,"(");
data/wise-2.4.1/src/dyc/exprtree.c:120: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(buffer,")");
data/wise-2.4.1/src/dyc/exprtree.c:126:2:  [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(buffer,",");
data/wise-2.4.1/src/dyc/ftext.c:307: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).
    buffer[strlen(buffer)-1] ='\0'; /*** strips off '\n' ***/
data/wise-2.4.1/src/dyc/funcinfo.c:102: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).
  for(i=1,max=strlen(fi->arg[0]->name);i < fi->len;i++) {
data/wise-2.4.1/src/dyc/funcinfo.c:103: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).
    if( max < strlen(fi->arg[i]->name) ) {
data/wise-2.4.1/src/dyc/funcinfo.c:104: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).
      max = strlen(fi->arg[i]->name);
data/wise-2.4.1/src/dyc/funcinfo.c:236: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).
  runner = arg + strlen(arg) -1;
data/wise-2.4.1/src/dyc/funcinfo.c:335: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).
  runner = str + strlen(str) -1;
data/wise-2.4.1/src/dyc/kbestsearch.c:295:2:  [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(buffer,"(");
data/wise-2.4.1/src/dyc/kbestsearch.c:297:2:  [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(buffer,")");
data/wise-2.4.1/src/dyc/kbestsearch.c:301:4:  [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(buffer,")");
data/wise-2.4.1/src/dyc/lex.yy.c:479:14:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			     (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
data/wise-2.4.1/src/dyc/modulefunc.c:67: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( *(name + strlen(name) - 1) == '*' )
data/wise-2.4.1/src/dyc/modulefunc.c:68: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).
    next = name + strlen(name) -1;
data/wise-2.4.1/src/dyc/modulefunc.c:83:7:  [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(next) > 1 || *next != '*' ) {
data/wise-2.4.1/src/dyc/type.c:246: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.
  case ETR_EXPRESSION : strcat(buffer,"(");
data/wise-2.4.1/src/dyc/type.c:249: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(buffer,")");
data/wise-2.4.1/src/dyc/type.c:272: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(buffer,"[");
data/wise-2.4.1/src/dyc/type.c:274: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(buffer,"]");
data/wise-2.4.1/src/dyc/type.c:315: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(buffer,"(");
data/wise-2.4.1/src/dyc/type.c:317: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(buffer,")");
data/wise-2.4.1/src/dyc/type.c:324:2:  [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(buffer,",");
data/wise-2.4.1/src/dyc/type.c:450: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).
  if( name[strlen(name)-1] == '*') {
data/wise-2.4.1/src/dyc/type.c:451:10:  [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).
    name[strlen(name)-1] = '\0';
data/wise-2.4.1/src/dyc/wisec.c:1424: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).
      runner=buffer+strlen(buffer);
data/wise-2.4.1/src/dynamite_examples/est2gen.c:102:53:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  (void) strip_out_integer_argument(&argc,argv,"n",&mismatch);
data/wise-2.4.1/src/dynamite_examples/est2gen.c:126:33:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  dm = identity_DnaMatrix(match,mismatch);
data/wise-2.4.1/src/dynamite_examples/estgendisplay.c:38:8:  [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(q->name) > name ) {
data/wise-2.4.1/src/dynamite_examples/estgendisplay.c:40:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(qname,q->name,name);
data/wise-2.4.1/src/dynamite_examples/estgendisplay.c:46:8:  [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(t->name) > name ) {
data/wise-2.4.1/src/dynamite_examples/estgendisplay.c:48:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(tname,t->name,name);
data/wise-2.4.1/src/dynamite_examples/seqaligndisplay.c:38:8:  [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(q->name) > name ) {
data/wise-2.4.1/src/dynamite_examples/seqaligndisplay.c:40:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(qname,q->name,name);
data/wise-2.4.1/src/dynamite_examples/seqaligndisplay.c:46:8:  [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(t->name) > name ) {
data/wise-2.4.1/src/dynamite_examples/seqaligndisplay.c:48:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(tname,t->name,name);
data/wise-2.4.1/src/dynlibsrc/compmat.c:434: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( !isalpha((int)*runner) || strlen(runner) > 1 ) {
data/wise-2.4.1/src/dynlibsrc/compmat.c:537: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( !isalpha((int)*runner) || strlen(runner) > 1 ) {
data/wise-2.4.1/src/dynlibsrc/dnamatrix.c:263:53:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
DnaMatrix * identity_DnaMatrix(Score id_score,Score mismatch)
data/wise-2.4.1/src/dynlibsrc/dnamatrix.c:276:40:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	out->score[i][j] = out->score[j][i] = mismatch;
data/wise-2.4.1/src/dynlibsrc/dnamatrix.h:171:59:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
DnaMatrix * Wise2_identity_DnaMatrix(Score id_score,Score mismatch);
data/wise-2.4.1/src/dynlibsrc/dnamatrix_api.h:138:66:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
Wise2_DnaMatrix * Wise2_identity_DnaMatrix( Score id_score,Score mismatch);
data/wise-2.4.1/src/dynlibsrc/embl.c:46:27:  [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).
    memmove(buffer,runner,strlen(runner));
data/wise-2.4.1/src/dynlibsrc/hitlist.c:471: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(buffer," ");
data/wise-2.4.1/src/dynlibsrc/hspstream.c:163: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).
    auto int temp_len = strlen(set->set[seq_pos]->name);
data/wise-2.4.1/src/dynlibsrc/hspstream.c:208: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).
    sscanf(buffer+strlen(set->set[seq_pos]->name)+1,"%d %d %d %d %d",&h->query_start,&h->target_start,&h->length,&h->score,&dummy);
data/wise-2.4.1/src/dynlibsrc/pairbaseseq.c:208:7:  [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(a) != strlen(b) ) {
data/wise-2.4.1/src/dynlibsrc/pairbaseseq.c:208: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( strlen(a) != strlen(b) ) {
data/wise-2.4.1/src/dynlibsrc/pairbaseseq.c:209:73:  [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).
    warn("Cannot build PairBaseSeq with different length strings %d %d",strlen(a),strlen(b));
data/wise-2.4.1/src/dynlibsrc/pairbaseseq.c:209:83:  [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).
    warn("Cannot build PairBaseSeq with different length strings %d %d",strlen(a),strlen(b));
data/wise-2.4.1/src/dynlibsrc/pairbaseseq.c:213:7:  [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(a);
data/wise-2.4.1/src/dynlibsrc/seqalign.c:421: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).
	for(strip = buffer + strlen(buffer) - 1;
data/wise-2.4.1/src/dynlibsrc/sequence.c:57: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).
  out->len = strlen(out->seq);
data/wise-2.4.1/src/dynlibsrc/sequence.c:110: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).
  seq->len = strlen(seq->seq);
data/wise-2.4.1/src/dynlibsrc/sequence.c:341: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).
  out->len   = strlen(out->seq);
data/wise-2.4.1/src/dynlibsrc/sequence.c:384: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).
  out->len = strlen(seq->seq);
data/wise-2.4.1/src/dynlibsrc/sequence.c:526: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).
  out->len = strlen(out->seq);
data/wise-2.4.1/src/dynlibsrc/sequence.c:710:13:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while( (c=fgetc(ifp)) != EOF ) {
data/wise-2.4.1/src/dynlibsrc/sequence.c:711:24:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if( c == '/' && (c=fgetc(ifp)) == '/') 
data/wise-2.4.1/src/dynlibsrc/sequence.c:738:15:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while( (c=fgetc(ifp)) != '\n' && c != EOF )
data/wise-2.4.1/src/dynlibsrc/sequence.c:783: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( buffer[strlen(buffer)-1] != '\n' ) {
data/wise-2.4.1/src/dynlibsrc/sequence.c:785:15:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while( (c=fgetc(ifp)) != '\n' && c != EOF ) {
data/wise-2.4.1/src/dynlibsrc/sequence.c:796:24:  [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).
    tax_id = atoi(temp+strlen("tax_id="));
data/wise-2.4.1/src/dynlibsrc/sequence.c:800:24:  [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).
    weight = atof(temp+strlen("weight="));
data/wise-2.4.1/src/dynlibsrc/sequence.c:852:9:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    c = fgetc(ifp);
data/wise-2.4.1/src/dynlibsrc/sequence.c:929:13:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while( (c=fgetc(ifp)) != EOF &&  isspace(c)) 
data/wise-2.4.1/src/dynlibsrc/sequence.c:948:21:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while( !isspace(c=fgetc(ifp)) && c != EOF)
data/wise-2.4.1/src/dynlibsrc/sequence.c:967:7:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    c=fgetc(ifp);
data/wise-2.4.1/src/dynlibsrc/sequence.c:972:29:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  for(i=0; !feof(ifp) && (c=fgetc(ifp)) != '>' && c != EOF;)
data/wise-2.4.1/src/dynlibsrc/sequence.c:1057:10:  [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).
  strl = strlen(more);
data/wise-2.4.1/src/dynlibsrc/sequence.c:1072: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).
  seq->len = strlen(seq->seq);
data/wise-2.4.1/src/dynlibsrc/sequence.c:1100: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).
  len = strlen(more)+1;
data/wise-2.4.1/src/dynlibsrc/sequence.c:1106: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).
      seq->len = strlen(seq->seq);
data/wise-2.4.1/src/dynlibsrc/sequence.c:1134: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).
  seq->len = strlen(seq->seq);
data/wise-2.4.1/src/dynlibsrc/sequence.c:1253: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).
  out->maxlen = out->len = strlen(seq);
data/wise-2.4.1/src/dynlibsrc/sequence_codon.c:40: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).
  out->len = strlen(seq->seq);
data/wise-2.4.1/src/dynlibsrc/sequence_codon.c:151: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).
  out->len   = strlen(out->seq);
data/wise-2.4.1/src/dynlibsrc/sequencestream.c:209:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(buffer,seq->seq+i,80);
data/wise-2.4.1/src/dynlibsrc/sequencestream.c:216: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(buffer,"\n");
data/wise-2.4.1/src/dynlibsrc/transcript.c:86: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(base->seq,gn->baseseq->seq+trs->exon[i]->start,trs->exon[i]->end-trs->exon[i]->start);
data/wise-2.4.1/src/models/dbac.c:191: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 (xSeq, "");   
data/wise-2.4.1/src/models/dbac.c:192: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 (ySeq, "");  
data/wise-2.4.1/src/models/dbac.c:233: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(ySeq, ".");  
data/wise-2.4.1/src/models/dbac.c:238: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(xSeq, ".");  
data/wise-2.4.1/src/models/dbac.c:321: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 (xSeq, "");  
data/wise-2.4.1/src/models/dbac.c:322: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 (ySeq, "");  
data/wise-2.4.1/src/models/dbac.c:413:45:  [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).
  fprintf(stderr,"Got %d with %d vs %d\n",i,strlen(seq),one->len);
data/wise-2.4.1/src/models/dnal.c:44:48:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  strip_out_integer_argument(&argc,argv,"mis",&mismatch);
data/wise-2.4.1/src/models/dnal.c:59:34:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  mat = identity_DnaMatrix(match,mismatch);
data/wise-2.4.1/src/models/dnamatcher.c:29:55:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  strip_out_integer_argument(argc,argv,"dm_mismatch",&mismatch);
data/wise-2.4.1/src/models/dnamatcher.c:31:10:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  assert(mismatch < 0 );
data/wise-2.4.1/src/models/dnamatcher.c:34:39:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  out->mat = identity_DnaMatrix(match,mismatch);
data/wise-2.4.1/src/models/dnaprofileengine.c:82:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  Sequence * read;
data/wise-2.4.1/src/models/dnaprofileengine.c:85:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uppercase_Sequence(read);
data/wise-2.4.1/src/models/dnaprofileengine.c:90:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  first = new_leaf_DnaProfileNode(read);
data/wise-2.4.1/src/models/dnaprofileengine.c:93:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uppercase_Sequence(read);
data/wise-2.4.1/src/models/dnaprofileengine.c:98:34:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  leaf = new_leaf_DnaProfileNode(read);
data/wise-2.4.1/src/models/dnaprofileengine.c:109:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    uppercase_Sequence(read);
data/wise-2.4.1/src/models/dnaprofileengine.c:110:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    leaf = new_leaf_DnaProfileNode(read);
data/wise-2.4.1/src/models/editdist.c:67:51:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  pal = PackAln_bestmemory_EditDistance(q,t,match,mismatch,gap,NULL,dpri);
data/wise-2.4.1/src/models/editdistdp.c:15: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).
   out->len = strlen(string);
data/wise-2.4.1/src/models/editdistdp.c:305:96:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        score = SIG_1_1[MATCH] + EDITMATCH(mat->q->string[i],mat->t->string[j],mat->match,mat->mismatch);    
data/wise-2.4.1/src/models/editdistdp.c:319:130:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
          temp = EditDistance_SHATTER_SPECIAL(mat,i-1,j-1,START) + EDITMATCH(mat->q->string[i],mat->t->string[j],mat->match,mat->mismatch);  
data/wise-2.4.1/src/models/editdistdp.c:392:116:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
Search_Return_Type search_EditDistance(DBSearchImpl * dbsi,Hscore * out,EditString* q,EditString* t ,int match,int mismatch,int gap) 
data/wise-2.4.1/src/models/editdistdp.c:412:58:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        return serial_search_EditDistance(out,q,t ,match,mismatch,gap);  
data/wise-2.4.1/src/models/editdistdp.c:425:28:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        holder->mismatch = mismatch; 
data/wise-2.4.1/src/models/editdistdp.c:507:103:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
Search_Return_Type serial_search_EditDistance(Hscore * out,EditString* q,EditString* t ,int match,int mismatch,int gap) 
data/wise-2.4.1/src/models/editdistdp.c:525:51:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    score = score_only_EditDistance(q, t , match, mismatch, gap);    
data/wise-2.4.1/src/models/editdistdp.c:561:72:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
int score_only_EditDistance(EditString* q,EditString* t ,int match,int mismatch,int gap) 
data/wise-2.4.1/src/models/editdistdp.c:570:52:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    mat = allocate_EditDistance_only(q, t , match, mismatch, gap);   
data/wise-2.4.1/src/models/editdistdp.c:605:127:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        score = EditDistance_VSMALL_MATRIX(mat,i-1,j-1,MATCH) + EDITMATCH(mat->q->string[i],mat->t->string[j],mat->match,mat->mismatch);     
data/wise-2.4.1/src/models/editdistdp.c:619:129:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
          temp = EditDistance_VSMALL_SPECIAL(mat,i-1,j-1,START) + EDITMATCH(mat->q->string[i],mat->t->string[j],mat->match,mat->mismatch);   
data/wise-2.4.1/src/models/editdistdp.c:702:86:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
PackAln * PackAln_bestmemory_EditDistance(EditString* q,EditString* t ,int match,int mismatch,int gap,DPEnvelope * dpenv,DPRunImpl * dpri) 
data/wise-2.4.1/src/models/editdistdp.c:728:59:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        if( (mat=allocate_Expl_EditDistance(q, t , match, mismatch, gap,dpri)) == NULL ) {  
data/wise-2.4.1/src/models/editdistdp.c:736:56:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        mat = allocate_EditDistance_only(q, t , match, mismatch, gap);   
data/wise-2.4.1/src/models/editdistdp.c:744:60:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        if( (mat=allocate_Small_EditDistance(q, t , match, mismatch, gap)) == NULL ) {  
data/wise-2.4.1/src/models/editdistdp.c:752:59:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        if( (mat=allocate_Expl_EditDistance(q, t , match, mismatch, gap,dpri)) == NULL ) {  
data/wise-2.4.1/src/models/editdistdp.c:788:86:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
EditDistance * allocate_EditDistance_only(EditString* q,EditString* t ,int match,int mismatch,int gap) 
data/wise-2.4.1/src/models/editdistdp.c:802:21:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    out->mismatch = mismatch;    
data/wise-2.4.1/src/models/editdistdp.c:827:86:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
EditDistance * allocate_Expl_EditDistance(EditString* q,EditString* t ,int match,int mismatch,int gap,DPRunImpl * dpri) 
data/wise-2.4.1/src/models/editdistdp.c:832:52:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    out = allocate_EditDistance_only(q, t , match, mismatch, gap);   
data/wise-2.4.1/src/models/editdistdp.c:919:88:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
            pau->score = EDITMATCH(mat->q->string[i],mat->t->string[j],mat->match,mat->mismatch) + (0);  
data/wise-2.4.1/src/models/editdistdp.c:931:88:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
            pau->score = EDITMATCH(mat->q->string[i],mat->t->string[j],mat->match,mat->mismatch) + (0);  
data/wise-2.4.1/src/models/editdistdp.c:990:87:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
EditDistance * allocate_Small_EditDistance(EditString* q,EditString* t ,int match,int mismatch,int gap) 
data/wise-2.4.1/src/models/editdistdp.c:995:52:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    out = allocate_EditDistance_only(q, t , match, mismatch, gap);   
data/wise-2.4.1/src/models/editdistdp.c:1377:88:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        temp = cscore - (EDITMATCH(mat->q->string[i],mat->t->string[j],mat->match,mat->mismatch)) -  (0);    
data/wise-2.4.1/src/models/editdistdp.c:1577:88:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        temp = cscore - (EDITMATCH(mat->q->string[i],mat->t->string[j],mat->match,mat->mismatch)) -  (0);    
data/wise-2.4.1/src/models/editdistdp.c:1647:127:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        score = EditDistance_HIDDEN_MATRIX(mat,i-1,j-1,MATCH) + EDITMATCH(mat->q->string[i],mat->t->string[j],mat->match,mat->mismatch);     
data/wise-2.4.1/src/models/editdistdp.c:1861:130:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        score = EditDistance_DC_SHADOW_MATRIX(mat,i-1,j-1,MATCH) + EDITMATCH(mat->q->string[i],mat->t->string[j],mat->match,mat->mismatch);  
data/wise-2.4.1/src/models/editdistdp.c:1972:130:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        score = EditDistance_DC_SHADOW_MATRIX(mat,i-1,j-1,MATCH) + EDITMATCH(mat->q->string[i],mat->t->string[j],mat->match,mat->mismatch);  
data/wise-2.4.1/src/models/editdistdp.c:2048:130:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        score = EditDistance_DC_SHADOW_MATRIX(mat,i-1,j-1,MATCH) + EDITMATCH(mat->q->string[i],mat->t->string[j],mat->match,mat->mismatch);  
data/wise-2.4.1/src/models/editdistdp.c:2185:134:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        score = EditDistance_DC_OPT_SHADOW_MATRIX(mat,i-1,j-1,MATCH) + EDITMATCH(mat->q->string[i],mat->t->string[j],mat->match,mat->mismatch) + (0);    
data/wise-2.4.1/src/models/editdistdp.c:2203:134:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        temp = EditDistance_DC_OPT_SHADOW_SPECIAL(mat,i-1,j-1,START) + EDITMATCH(mat->q->string[i],mat->t->string[j],mat->match,mat->mismatch) + (0);    
data/wise-2.4.1/src/models/editdistdp.c:2704:90:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
          temp = cscore - (EDITMATCH(mat->q->string[i],mat->t->string[j],mat->match,mat->mismatch)) -  (0);  
data/wise-2.4.1/src/models/editdistdp.c:2738:88:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        temp = cscore - (EDITMATCH(mat->q->string[i],mat->t->string[j],mat->match,mat->mismatch)) -  (0);    
data/wise-2.4.1/src/models/editdistdp.c:2862:125:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        score = EditDistance_EXPL_MATRIX(mat,i-1,j-1,MATCH) + EDITMATCH(mat->q->string[i],mat->t->string[j],mat->match,mat->mismatch);   
data/wise-2.4.1/src/models/editdistdp.c:2876:127:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
          temp = EditDistance_EXPL_SPECIAL(mat,i-1,j-1,START) + EDITMATCH(mat->q->string[i],mat->t->string[j],mat->match,mat->mismatch);     
data/wise-2.4.1/src/models/editdistdp.c:3025:125:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        score = EditDistance_EXPL_MATRIX(mat,i-1,j-1,MATCH) + EDITMATCH(mat->q->string[i],mat->t->string[j],mat->match,mat->mismatch);   
data/wise-2.4.1/src/models/editdistdp.c:3039:127:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
          temp = EditDistance_EXPL_SPECIAL(mat,i-1,j-1,START) + EDITMATCH(mat->q->string[i],mat->t->string[j],mat->match,mat->mismatch);     
data/wise-2.4.1/src/models/editdistdp.h:10:43:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
#define EDITMATCH(string1c,string2c,match,mismatch) (string1c == string2c ? match : mismatch)
data/wise-2.4.1/src/models/editdistdp.h:10:85:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
#define EDITMATCH(string1c,string2c,match,mismatch) (string1c == string2c ? match : mismatch)
data/wise-2.4.1/src/models/editdistdp.h:40:9:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    int mismatch;    
data/wise-2.4.1/src/models/editdistdp.h:56:9:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    int mismatch;    
data/wise-2.4.1/src/models/editdistdp.h:183:122:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
Search_Return_Type Wise2_search_EditDistance(DBSearchImpl * dbsi,Hscore * out,EditString* q,EditString* t ,int match,int mismatch,int gap);
data/wise-2.4.1/src/models/editdistdp.h:203:109:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
Search_Return_Type Wise2_serial_search_EditDistance(Hscore * out,EditString* q,EditString* t ,int match,int mismatch,int gap);
data/wise-2.4.1/src/models/editdistdp.h:230:92:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
PackAln * Wise2_PackAln_bestmemory_EditDistance(EditString* q,EditString* t ,int match,int mismatch,int gap,DPEnvelope * dpenv,DPRunImpl * dpri);
data/wise-2.4.1/src/models/editdistdp.h:251:92:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
EditDistance * Wise2_allocate_Expl_EditDistance(EditString* q,EditString* t ,int match,int mismatch,int gap,DPRunImpl * dpri);
data/wise-2.4.1/src/models/editdistdp.h:285:93:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
EditDistance * Wise2_allocate_Small_EditDistance(EditString* q,EditString* t ,int match,int mismatch,int gap);
data/wise-2.4.1/src/models/editdistdp.h:465:78:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
int Wise2_score_only_EditDistance(EditString* q,EditString* t ,int match,int mismatch,int gap);
data/wise-2.4.1/src/models/editdistdp.h:467:92:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
EditDistance * Wise2_allocate_EditDistance_only(EditString* q,EditString* t ,int match,int mismatch,int gap);
data/wise-2.4.1/src/models/estwise.c:328:27:  [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).
    cdna->baseseq->end  = strlen(cdna->baseseq->seq);
data/wise-2.4.1/src/models/genedisplay.c:130:7:  [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(protname_in) > name ) {
data/wise-2.4.1/src/models/genedisplay.c:132:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(protname,protname_in,name);
data/wise-2.4.1/src/models/genedisplay.c:138:7:  [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(dna->name) > name ) {
data/wise-2.4.1/src/models/genedisplay.c:140:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(dnaname,dna->name,name);
data/wise-2.4.1/src/models/genedisplay.c:452:37:  [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).
  btp = get_paste_area_btCanvas(btc,strlen(buffer));
data/wise-2.4.1/src/models/genedisplay.c:475:43:  [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).
  paste_string_btPasteArea(btp,name_len+5-strlen(buffer),0,buffer,BC_RIGHT,0);
data/wise-2.4.1/src/models/genedisplay.c:482:43:  [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).
  paste_string_btPasteArea(btp,name_len+5-strlen(buffer),3,buffer,BC_RIGHT,0);
data/wise-2.4.1/src/models/genefrequency.c:863: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(base) > 1 || (b=base_from_char(*base)) == BASE_N ) {
data/wise-2.4.1/src/models/genewise.c:555: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).
      gen->baseseq->end  = strlen(gen->baseseq->seq);
data/wise-2.4.1/src/models/genewisehsp.c:91: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).
    trans->len  = strlen(temp_seq);
data/wise-2.4.1/src/models/mapstruct.c:8:99:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
MappedCloneMatch * new_MappedCloneMatch(MappedCloneSet * iset,MappedCloneSet * jset,int match,int mismatch)
data/wise-2.4.1/src/models/mapstruct.c:19:10:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  assert(mismatch <= 0);
data/wise-2.4.1/src/models/mapstruct.c:60:26:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	  out->matrix[ii][k] += mismatch;
data/wise-2.4.1/src/models/mapstruct.c:74:20:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	out->skip_iset += mismatch;
data/wise-2.4.1/src/models/mapstruct.c:82:20:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	out->skip_jset += mismatch;
data/wise-2.4.1/src/models/mapstruct.c:108:129:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
int MappedCloneSet_match(MappedCloneSet * weak_query,MappedCloneSet * trusted_target,int qpos,int tpos,int spread,int match,int mismatch)
data/wise-2.4.1/src/models/mapstruct.c:120:13:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    score = mismatch;
data/wise-2.4.1/src/models/mapstruct.c:140:115:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
int old_MappedCloneSet_match(MappedCloneSet * one,MappedCloneSet * two,int qpos,int tpos,int spread,int match,int mismatch)
data/wise-2.4.1/src/models/mapstruct.c:151:12:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    return mismatch;
data/wise-2.4.1/src/models/mapstruct.c:155:12:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    return mismatch;
data/wise-2.4.1/src/models/mapstruct.c:172:12:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    return mismatch;
data/wise-2.4.1/src/models/mapstruct.c:176:12:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    return mismatch;
data/wise-2.4.1/src/models/mapstruct.c:197:16:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      score -= mismatch;
data/wise-2.4.1/src/models/mapstruct.h:374:105:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
MappedCloneMatch * Wise2_new_MappedCloneMatch(MappedCloneSet * iset,MappedCloneSet * jset,int match,int mismatch);
data/wise-2.4.1/src/models/mapstruct.h:378:135:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
int Wise2_MappedCloneSet_match(MappedCloneSet * weak_query,MappedCloneSet * trusted_target,int qpos,int tpos,int spread,int match,int mismatch);
data/wise-2.4.1/src/models/mapstruct.h:380:121:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
int Wise2_old_MappedCloneSet_match(MappedCloneSet * one,MappedCloneSet * two,int qpos,int tpos,int spread,int match,int mismatch);
data/wise-2.4.1/src/models/phasemodel.c:204:15:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while( (c = fgetc(ifp)) != EOF ) {
data/wise-2.4.1/src/models/seqaligndisplay.c:70:8:  [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(q->name) > name ) {
data/wise-2.4.1/src/models/seqaligndisplay.c:72:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(qname,q->name,name);
data/wise-2.4.1/src/models/seqaligndisplay.c:78:8:  [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(t->name) > name ) {
data/wise-2.4.1/src/models/seqaligndisplay.c:80:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(tname,t->name,name);
data/wise-2.4.1/src/models/seqhit.c:186: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).
  if( *runner != '(' || runner[strlen(runner)-1] != ')' ) 
data/wise-2.4.1/src/models/seqhit.c:189:10:  [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).
  runner[strlen(runner)-1] = '\0';
data/wise-2.4.1/src/models/seqhit.c:237: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).
  if( *runner != '(' || runner[strlen(runner)-1] != ')' ) 
data/wise-2.4.1/src/models/seqhit.c:240:10:  [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).
  runner[strlen(runner)-1] = '\0';
data/wise-2.4.1/src/models/threestatemodel.c:1079:29:  [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).
      filename = filename + strlen(filename) -1;
data/wise-2.4.1/src/models/transfactor.c:736: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).
    line->len  = strlen(buffer);
data/wise-2.4.1/src/models/transfactor.c:799: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).
  name = line + strlen("factor")+1;
data/wise-2.4.1/src/socket/directsocketwrite.c:70: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).
  length = strlen(string);
data/wise-2.4.1/src/socket/functionclient.c:108:43:  [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 (write(fpc->socket, function_call, strlen(function_call)) == -1) {
data/wise-2.4.1/src/socket/functionclient.c:113:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (read(fpc->socket, buffer, 1024) == -1) {
data/wise-2.4.1/src/socket/functionserver.c:81:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if ((bytes_in = read(new_socket,buf,sizeof(buf))) == -1) {
data/wise-2.4.1/src/socket/functionserver.c:97: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).
		      strlen(fs->fi[i]->transfer->name)) == 0 ) {
data/wise-2.4.1/src/socket/simplebufferedserver.c:120:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(ms,buf,sizeof(buf));
data/wise-2.4.1/src/socket/simplebufferedserver.c:125:8:  [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(sbs->buffer[i]);
data/wise-2.4.1/src/socket/simplesocketclient.c:72:56:  [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).
  write(handle->socket,"<WISE2-START-SIMPLE-STREAM>\n",strlen("<WISE2-START-SIMPLE-STREAM>\n"));
data/wise-2.4.1/src/socket/transferinterface.c:47:59:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void * stream_to_object_string(Wise2ReadStreamInterface * read)
data/wise-2.4.1/src/socket/transferinterface.c:55:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  WISE2_READ_BUFFER(buffer,1024,read);
data/wise-2.4.1/src/socket/transferinterface.c:67:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  WISE2_READ_BUFFER(buffer,1024,read);
data/wise-2.4.1/src/socket/transferinterface.h:208:65:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void * Wise2_stream_to_object_string(Wise2ReadStreamInterface * read);

ANALYSIS SUMMARY:

Hits = 1215
Lines analyzed = 516065 in approximately 14.06 seconds (36693 lines/second)
Physical Source Lines of Code (SLOC) = 277875
Hits@level = [0] 3497 [1] 389 [2] 545 [3]  13 [4] 268 [5]   0
Hits@level+ = [0+] 4712 [1+] 1215 [2+] 826 [3+] 281 [4+] 268 [5+]   0
Hits/KSLOC@level+ = [0+] 16.9573 [1+] 4.37247 [2+] 2.97256 [3+] 1.01125 [4+] 0.964462 [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.