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/vmatch-2.3.1+dfsg/src/Mkvtree/allwhatsthere.c
Examining data/vmatch-2.3.1+dfsg/src/Mkvtree/bese.c
Examining data/vmatch-2.3.1+dfsg/src/Mkvtree/cprsuf.c
Examining data/vmatch-2.3.1+dfsg/src/Mkvtree/endian.c
Examining data/vmatch-2.3.1+dfsg/src/Mkvtree/gccont.c
Examining data/vmatch-2.3.1+dfsg/src/Mkvtree/longsort.c
Parsing failed to find end of parameter list in ("left=%u,right=%u\n);\
        } else\
        {\
          if((WIDTH) > (BORDER1))\
          {\
            if((WIDTH) <= (BORDER2))\
            {\
              DIRECTSORT(WIDTH,TWO,LEFT,RIGHT,DE
Examining data/vmatch-2.3.1+dfsg/src/Mkvtree/mkcld.mn.c
Examining data/vmatch-2.3.1+dfsg/src/Mkvtree/mkiso.c
Examining data/vmatch-2.3.1+dfsg/src/Mkvtree/mklsf.c
Examining data/vmatch-2.3.1+dfsg/src/Mkvtree/mksti.c
Examining data/vmatch-2.3.1+dfsg/src/Mkvtree/mkvaux.h
Examining data/vmatch-2.3.1+dfsg/src/Mkvtree/mkvcmp.c
Examining data/vmatch-2.3.1+dfsg/src/Mkvtree/mkvfile.c
Examining data/vmatch-2.3.1+dfsg/src/Mkvtree/mkvram.c
Examining data/vmatch-2.3.1+dfsg/src/Mkvtree/ppsort.c
Examining data/vmatch-2.3.1+dfsg/src/Mkvtree/remainsort.c
Examining data/vmatch-2.3.1+dfsg/src/Mkvtree/rmnsufinfo.h
Examining data/vmatch-2.3.1+dfsg/src/Mkvtree/turn.c
Examining data/vmatch-2.3.1+dfsg/src/Mkvtree/vseqinfo.c
Examining data/vmatch-2.3.1+dfsg/src/Mkvtree/inputdef.h
Examining data/vmatch-2.3.1+dfsg/src/Mkvtree/mapcfrcrf.c
Examining data/vmatch-2.3.1+dfsg/src/Mkvtree/mkcfr.c
Examining data/vmatch-2.3.1+dfsg/src/Mkvtree/mkdna6idx.c
Examining data/vmatch-2.3.1+dfsg/src/Mkvtree/mkrcidx.c
Examining data/vmatch-2.3.1+dfsg/src/Mkvtree/mkvinput.c
Examining data/vmatch-2.3.1+dfsg/src/Mkvtree/mkvprocess.c
Examining data/vmatch-2.3.1+dfsg/src/Mkvtree/mkvtree.c
Examining data/vmatch-2.3.1+dfsg/src/Mkvtree/vseqselect.c
Examining data/vmatch-2.3.1+dfsg/src/Mkvtree/vstree2tex.c
Examining data/vmatch-2.3.1+dfsg/src/Mkvtree/vsubseqselect.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/SELECT/dbseqstat.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/SELECT/end2end-match.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/SELECT/endmatch.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/SELECT/lenpospos.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/SELECT/lowcomplex.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/SELECT/mergematches.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/SELECT/polyafun.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/SELECT/printfasta.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/SELECT/qgramout.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/SELECT/restrictgap.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/SELECT/rightmost.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/SELECT/sel392.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/SELECT/sel5race.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/SELECT/selcontext.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/SELECT/selmatchcontext.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/SELECT/selnone.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/SELECT/selsplicesite.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/SELECT/selstartend.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/SELECT/selsuperinc.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/SELECT/vmerout.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/SELECT/xmlout.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/SELECT/mstat.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/SELECT/cgvizout.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/allmclust.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/apmcontain.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/assigndig.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/cpridx-start.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/cpridxps-demo.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/detmatch.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/echomatch.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/explain.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/fqfinfo.h
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/initpost.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/keepflags.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/lrseq.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/mapdemand.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/markinfo.h
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/markmat.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/matchcl.mn.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/matchclust.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/matchinfo.h
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/matchlenparm.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/mlendistrib.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/mokay.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/nomatch.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/opensel.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/optstring.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/outinfo.h
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/parsedbcl.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/parsedbms.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/parsepp.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/parsequery.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/procfinal.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/procmultiseq.h
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/profiler.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/queryindex.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/readm.mn.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/runquery.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/runself.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/showmasked.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/substpos.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/threadchain.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/threaddef.h
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/verifysub.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/virtualexp.h
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/vmatch.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/vmatch.mn.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/vmatgen.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/vmatsel.mn.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/vmcldef.h
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/vmdbfunc.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/vmdbparms.h
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/vmdbtypes.h
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/vmotif-demo.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/vmotif-start.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/vplugin-open.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/xmlfunc.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/chain2dim.mn.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/chaincall.h
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/chainof.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/chainvm.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/chncallparse.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/clpos.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/cluedist.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/matchtask.h
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/mcldef.h
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/parsemcl.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/parsevm.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/procargs.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/procmatch.c
Examining data/vmatch-2.3.1+dfsg/src/Vmatch/vmcluster.c
Examining data/vmatch-2.3.1+dfsg/src/Vmengine/alphasize.h
Examining data/vmatch-2.3.1+dfsg/src/Vmengine/approxcompl.c
Examining data/vmatch-2.3.1+dfsg/src/Vmengine/bestinfo.h
Examining data/vmatch-2.3.1+dfsg/src/Vmengine/currdirect.h
Examining data/vmatch-2.3.1+dfsg/src/Vmengine/edistcompl.c
Examining data/vmatch-2.3.1+dfsg/src/Vmengine/esaapm.c
Examining data/vmatch-2.3.1+dfsg/src/Vmengine/esahamming.c
Examining data/vmatch-2.3.1+dfsg/src/Vmengine/exactcompl.c
Examining data/vmatch-2.3.1+dfsg/src/Vmengine/extendgen.c
Examining data/vmatch-2.3.1+dfsg/src/Vmengine/fcomplete.c
Examining data/vmatch-2.3.1+dfsg/src/Vmengine/fmumself.c
Examining data/vmatch-2.3.1+dfsg/src/Vmengine/fquery.c
Examining data/vmatch-2.3.1+dfsg/src/Vmengine/fself.c
Examining data/vmatch-2.3.1+dfsg/src/Vmengine/fsuper.c
Examining data/vmatch-2.3.1+dfsg/src/Vmengine/ftandem.c
Examining data/vmatch-2.3.1+dfsg/src/Vmengine/hamcompl.c
Examining data/vmatch-2.3.1+dfsg/src/Vmengine/initcompl.c
Examining data/vmatch-2.3.1+dfsg/src/Vmengine/initmstate.c
Examining data/vmatch-2.3.1+dfsg/src/Vmengine/leafblocktree.c
Examining data/vmatch-2.3.1+dfsg/src/Vmengine/leafblocktree.h
Examining data/vmatch-2.3.1+dfsg/src/Vmengine/longestmatch.c
Examining data/vmatch-2.3.1+dfsg/src/Vmengine/matchstate.h
Examining data/vmatch-2.3.1+dfsg/src/Vmengine/mparms.h
Examining data/vmatch-2.3.1+dfsg/src/Vmengine/pminfo.h
Examining data/vmatch-2.3.1+dfsg/src/Vmengine/procexqu.c
Examining data/vmatch-2.3.1+dfsg/src/Vmengine/splitesaapm.c
Examining data/vmatch-2.3.1+dfsg/src/Vmengine/vmatbgfind.c
Examining data/vmatch-2.3.1+dfsg/src/Vmengine/vmatcount.c
Examining data/vmatch-2.3.1+dfsg/src/Vmengine/vmatfind.c
Examining data/vmatch-2.3.1+dfsg/src/Vmengine/vmatgen.c
Examining data/vmatch-2.3.1+dfsg/src/Vmengine/vmengineexport.h
Examining data/vmatch-2.3.1+dfsg/src/Vmengine/xdropext.c
Examining data/vmatch-2.3.1+dfsg/src/include/absdef.h
Examining data/vmatch-2.3.1+dfsg/src/include/alignment.h
Examining data/vmatch-2.3.1+dfsg/src/include/alphadef.h
Examining data/vmatch-2.3.1+dfsg/src/include/args.h
Examining data/vmatch-2.3.1+dfsg/src/include/arraydef.h
Examining data/vmatch-2.3.1+dfsg/src/include/assertion.h
Examining data/vmatch-2.3.1+dfsg/src/include/boundedgaps.h
Examining data/vmatch-2.3.1+dfsg/src/include/chaindef.h
Examining data/vmatch-2.3.1+dfsg/src/include/chardef.h
Examining data/vmatch-2.3.1+dfsg/src/include/clusterdef.h
Examining data/vmatch-2.3.1+dfsg/src/include/cmp-gentab.c
Examining data/vmatch-2.3.1+dfsg/src/include/cmp-tabdef.h
Examining data/vmatch-2.3.1+dfsg/src/include/codondef.h
Examining data/vmatch-2.3.1+dfsg/src/include/compl.h
Examining data/vmatch-2.3.1+dfsg/src/include/cpridx-data.h
Examining data/vmatch-2.3.1+dfsg/src/include/debugdef.h
Examining data/vmatch-2.3.1+dfsg/src/include/divmodmul.h
Examining data/vmatch-2.3.1+dfsg/src/include/dlopen.h
Examining data/vmatch-2.3.1+dfsg/src/include/dpbitvec.h
Examining data/vmatch-2.3.1+dfsg/src/include/dpbitvec48.h
Examining data/vmatch-2.3.1+dfsg/src/include/drand48.h
Examining data/vmatch-2.3.1+dfsg/src/include/emimergeesa.h
Examining data/vmatch-2.3.1+dfsg/src/include/encseq-def.h
Examining data/vmatch-2.3.1+dfsg/src/include/errordef.h
Examining data/vmatch-2.3.1+dfsg/src/include/esafileend.h
Examining data/vmatch-2.3.1+dfsg/src/include/esastream.h
Examining data/vmatch-2.3.1+dfsg/src/include/evaluedef.h
Examining data/vmatch-2.3.1+dfsg/src/include/experim.h
Examining data/vmatch-2.3.1+dfsg/src/include/extcmp.c
Examining data/vmatch-2.3.1+dfsg/src/include/extractcc.h
Examining data/vmatch-2.3.1+dfsg/src/include/extraproto.h
Examining data/vmatch-2.3.1+dfsg/src/include/failures.h
Examining data/vmatch-2.3.1+dfsg/src/include/fdrewr.h
Examining data/vmatch-2.3.1+dfsg/src/include/fhandledef.h
Examining data/vmatch-2.3.1+dfsg/src/include/file.h
Examining data/vmatch-2.3.1+dfsg/src/include/fopen.h
Examining data/vmatch-2.3.1+dfsg/src/include/frontdef.h
Examining data/vmatch-2.3.1+dfsg/src/include/functrace.h
Examining data/vmatch-2.3.1+dfsg/src/include/galigndef.h
Examining data/vmatch-2.3.1+dfsg/src/include/genfile.h
Examining data/vmatch-2.3.1+dfsg/src/include/genredblack.c
Examining data/vmatch-2.3.1+dfsg/src/include/genstream.h
Examining data/vmatch-2.3.1+dfsg/src/include/gextenddef.h
Examining data/vmatch-2.3.1+dfsg/src/include/gqueue-if.h
Examining data/vmatch-2.3.1+dfsg/src/include/gqueueproc.h
Examining data/vmatch-2.3.1+dfsg/src/include/gstack.c
Examining data/vmatch-2.3.1+dfsg/src/include/inputsymbol.h
Examining data/vmatch-2.3.1+dfsg/src/include/intbits.h
Examining data/vmatch-2.3.1+dfsg/src/include/iter.h
Examining data/vmatch-2.3.1+dfsg/src/include/iubdef.h
Examining data/vmatch-2.3.1+dfsg/src/include/logbase.h
Examining data/vmatch-2.3.1+dfsg/src/include/match.h
Examining data/vmatch-2.3.1+dfsg/src/include/maxfiles.h
Examining data/vmatch-2.3.1+dfsg/src/include/megabytes.h
Examining data/vmatch-2.3.1+dfsg/src/include/minmax.h
Examining data/vmatch-2.3.1+dfsg/src/include/multidef.h
Examining data/vmatch-2.3.1+dfsg/src/include/multimatdef.h
Examining data/vmatch-2.3.1+dfsg/src/include/mumcand.h
Examining data/vmatch-2.3.1+dfsg/src/include/nextesamerged.c
Examining data/vmatch-2.3.1+dfsg/src/include/nextesastream.c
Examining data/vmatch-2.3.1+dfsg/src/include/onflychaindef.h
Examining data/vmatch-2.3.1+dfsg/src/include/optdesc.h
Examining data/vmatch-2.3.1+dfsg/src/include/programversion.h
Examining data/vmatch-2.3.1+dfsg/src/include/qgram2code.c
Examining data/vmatch-2.3.1+dfsg/src/include/qsortdef.h
Examining data/vmatch-2.3.1+dfsg/src/include/qualint.h
Examining data/vmatch-2.3.1+dfsg/src/include/queryext.h
Examining data/vmatch-2.3.1+dfsg/src/include/queue.c
Examining data/vmatch-2.3.1+dfsg/src/include/redblackdef.h
Examining data/vmatch-2.3.1+dfsg/src/include/safeadd.h
Examining data/vmatch-2.3.1+dfsg/src/include/safecast.h
Examining data/vmatch-2.3.1+dfsg/src/include/safemult.h
Examining data/vmatch-2.3.1+dfsg/src/include/scoredef.h
Examining data/vmatch-2.3.1+dfsg/src/include/searchdef.h
Examining data/vmatch-2.3.1+dfsg/src/include/select.h
Examining data/vmatch-2.3.1+dfsg/src/include/skiplist.h
Examining data/vmatch-2.3.1+dfsg/src/include/spacedef.h
Examining data/vmatch-2.3.1+dfsg/src/include/trieins-def.h
Examining data/vmatch-2.3.1+dfsg/src/include/types.h
Examining data/vmatch-2.3.1+dfsg/src/include/vdfstrav.c
Examining data/vmatch-2.3.1+dfsg/src/include/visible.h
Examining data/vmatch-2.3.1+dfsg/src/include/vmatfind-def.h
Examining data/vmatch-2.3.1+dfsg/src/include/vmotif-data.h
Examining data/vmatch-2.3.1+dfsg/src/include/vnodedef.h
Examining data/vmatch-2.3.1+dfsg/src/include/vplugin-interface.h
Examining data/vmatch-2.3.1+dfsg/src/include/xdropdef.h
Examining data/vmatch-2.3.1+dfsg/src/include/xmlindent.h
Examining data/vmatch-2.3.1+dfsg/src/include/pathmax.h
Examining data/vmatch-2.3.1+dfsg/src/include/virtualdef.h
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/accvirt.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/alphabet.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/binsplitvn.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/bytehandler.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/chain2count.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/chain2dim.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/checkgzip.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/checkonoff.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/clock.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/cmpalpha.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/comparetabs.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/compfilenm.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/debug.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/detnumofcodes.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/dictmaxsize.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/distri.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/dstrdup.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/encodedseq.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/encseq2offset.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/endianess.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/fastastream.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/genericstream.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/genfile.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/getEqs.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/getbasename.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/guessprot.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/handleesastream.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/kmer2string.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/mapfile.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/mergeesa.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/mkidxfilecpy.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/multiseq.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/parsemultiform.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/procopt.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/readgzip.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/readnextline.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/redblack.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/safescpy.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/scorematrix.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/seterror.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/showmemsize.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/space.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/trieins.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/verbosealpha.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/filehandle.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/multiseq-adv.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/readmulti.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/readvirt.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz-basic/scanpaths.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/applall.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/bestmatch.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/binsearch.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/bitvdist.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/bmhfun.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/bwtcode.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/ceillog2.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/cleanMUMcand.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/cluster.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/cmpmaxd.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/codon.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/detpfxlen.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/dpacp.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/dpvecdbg.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/drand48.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/evalues.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/extendED.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/extendHD.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/file2lines.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/frontSEP.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/galign.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/genericqueue.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/getdirname.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/getfasta.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/huffman.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/karlin.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/libtest/addmulti.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/libtest/basename.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/libtest/chainqhits.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/libtest/checkEvalue.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/libtest/checkcluster.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/libtest/checkgalign.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/libtest/checklongdist.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/libtest/checkqsort.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/libtest/checkredrange.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/libtest/checkuedist.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/libtest/checkxalign.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/libtest/codon.mn.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/libtest/fillscores.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/libtest/getEvalue.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/libtest/mygzip.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/libtest/optsimple.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/libtest/queuetest.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/libtest/rblastm.mn.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/libtest/readdb.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/libtest/regioncheck.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/libtest/rmulfast.mn.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/libtest/rsymmap.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/libtest/rundict.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/libtest/runredblack.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/libtest/simpleopt.h
Examining data/vmatch-2.3.1+dfsg/src/kurtz/libtest/spacemanage.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/libtest/strm-selfcmp.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/libtest/strmfna.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/libtest/suffixprefix.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/libtest/verifycld.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/libtest/vmatch-mini.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/matchsub.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/matsort.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/maxpref.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/mcontain.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/mkcld.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/mkskip.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/multireverse.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/onflychain.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/produceqhits.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/programversion.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/prsqualint.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/qsort.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/recvirt.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/regionsmerger.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/remdups.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/reverse.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/safecast.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/searchpat.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/showalign.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/showibit.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/sixframe.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/skiplist.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/smcontain.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/smwa.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/sortstrings.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/splitargs.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/superbck.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/uedist.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/vbfstrav.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/vnodes.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/wheels.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/xdrop.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/xdropal1.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/xdropal2.c
Examining data/vmatch-2.3.1+dfsg/src/kurtz/outindextab.c

FINAL RESULTS:

data/vmatch-2.3.1+dfsg/src/Mkvtree/longsort.c:76:11:  [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("left=%u,right=%u\n);\
data/vmatch-2.3.1+dfsg/src/Mkvtree/mkdna6idx.c:64: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(&input.indexname[0],SIXFRAMESUFFIX);
data/vmatch-2.3.1+dfsg/src/Mkvtree/mkrcidx.c:290: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(&input.indexname[0],RCMSUFFIX);
data/vmatch-2.3.1+dfsg/src/Mkvtree/mkvinput.c:209:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(sbuf,"reading%sfile \"%s\"",isgzipped ? " gzipped " : " ",
data/vmatch-2.3.1+dfsg/src/Mkvtree/mkvprocess.c:57:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(outputfilename,"%s.%s",input->indexname,ending);
data/vmatch-2.3.1+dfsg/src/Mkvtree/mkvprocess.c:70:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(sbuf,"create file \"%s\"",outputfilename);
data/vmatch-2.3.1+dfsg/src/Mkvtree/mkvprocess.c:82:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(tmpfilename,"%s.%s",input->indexname,"lcp");
data/vmatch-2.3.1+dfsg/src/Mkvtree/mkvprocess.c:543:11:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
          fprintf(alpfp,DNAALPHABET);
data/vmatch-2.3.1+dfsg/src/Mkvtree/mkvprocess.c:548:13:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            fprintf(alpfp,PROTEINALPHABET);
data/vmatch-2.3.1+dfsg/src/Mkvtree/mkvprocess.c:656:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(tmpfilename,"%s.%s",input->indexname,"bck");
data/vmatch-2.3.1+dfsg/src/Mkvtree/mkvprocess.c:846:16:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      start += sprintf(sbuf+start," (including %lu separator%s)",
data/vmatch-2.3.1+dfsg/src/Mkvtree/mkvtree.c:84:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  wrotelength = sprintf(onetaboptionspace,"output %s (%stab) to file",
data/vmatch-2.3.1+dfsg/src/Vmatch/SELECT/mstat.c:43:11:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
          fprintf(stderr,\
data/vmatch-2.3.1+dfsg/src/Vmatch/chain2dim.mn.c:96:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(vbuf,"match file \"%s\" (Vmatch format) read",
data/vmatch-2.3.1+dfsg/src/Vmatch/chainof.c:307:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(vbuf,"match file \"%s\" (open format) read",
data/vmatch-2.3.1+dfsg/src/Vmatch/chainvm.c:123:20:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    writtenbytes = sprintf(chainoutfile,"%s-%lu.chain",
data/vmatch-2.3.1+dfsg/src/Vmatch/chncallparse.c:132:20:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  helplinelength = sprintf(helpline,
data/vmatch-2.3.1+dfsg/src/Vmatch/chncallparse.c:167:20:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  helplinelength = sprintf(helpline,
data/vmatch-2.3.1+dfsg/src/Vmatch/detmatch.c:72:13:  [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. If the scanf format is influenceable by an
  attacker, it's exploitable.
        if (sscanf(matchline,FT,&V) == 1 )\
data/vmatch-2.3.1+dfsg/src/Vmatch/explain.c:15:28:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
#define OUT1(X)   start += sprintf(expstring+start,X);\
data/vmatch-2.3.1+dfsg/src/Vmatch/explain.c:18:28:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
#define OUT2(X,Y) start += sprintf(expstring+start,X,Y);\
data/vmatch-2.3.1+dfsg/src/Vmatch/keepflags.c:45:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  start = sprintf(space,
data/vmatch-2.3.1+dfsg/src/Vmatch/matchclust.c:17:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(&mclinfo->clusterfilename[0],"%s.%lu.%lu.match",
data/vmatch-2.3.1+dfsg/src/Vmatch/parsedbms.c:88:35:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
                                  getpass("Enter password for database access: "));\
data/vmatch-2.3.1+dfsg/src/Vmatch/parsepp.c:59:23:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  addedbytes = (Uint) sprintf(transformedargs->strbuf,"%s",progname);
data/vmatch-2.3.1+dfsg/src/Vmatch/parsepp.c:71:27:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      addedbytes = (Uint) sprintf(transformedargs->strbuf+strbufoffset,
data/vmatch-2.3.1+dfsg/src/Vmatch/parsepp.c:75:27:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      addedbytes = (Uint) sprintf(transformedargs->strbuf+strbufoffset,
data/vmatch-2.3.1+dfsg/src/Vmatch/parsepp.c:82:23:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  addedbytes = (Uint) sprintf(transformedargs->strbuf+strbufoffset,
data/vmatch-2.3.1+dfsg/src/Vmatch/parsevm.c:493:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  start = sprintf(msgbuf,
data/vmatch-2.3.1+dfsg/src/Vmatch/procargs.c:75:14:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        j += sprintf((*args)+j,"."PATH_SEPARATOR_STR);
data/vmatch-2.3.1+dfsg/src/Vmatch/procargs.c:78:14:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        j += sprintf((*args)+j,"%s"PATH_SEPARATOR_STR,&directoryname[0]);
data/vmatch-2.3.1+dfsg/src/Vmatch/procargs.c:82: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((*args)+j,indexormatchfile);
data/vmatch-2.3.1+dfsg/src/Vmatch/procmatch.c:440:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(sbuf,"%s.ois read",&matchcallinfo->indexormatchfile[0]);
data/vmatch-2.3.1+dfsg/src/Vmatch/procmatch.c:442:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(sbuf,"generating six frame translation "
data/vmatch-2.3.1+dfsg/src/Vmatch/vmcluster.c:90:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(&clusterinfo->dbmatchfileoutname[0],"%s.%lu.%lu.match",
data/vmatch-2.3.1+dfsg/src/Vmatch/vmcluster.c:110:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(&clusterinfo->dbfnafileoutname[0],"%s.%lu.%lu.fna",
data/vmatch-2.3.1+dfsg/src/Vmatch/vmcluster.c:457:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(sbuf,"output cluster information to files \"%s.s.i.fna\" "
data/vmatch-2.3.1+dfsg/src/Vmatch/vmcluster.c:464:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(sbuf,"output cluster information to files \"%s.s.i.match\" "
data/vmatch-2.3.1+dfsg/src/Vmatch/vmcluster.c:522:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(&clusterinfo->dbfnafileoutname[0],
data/vmatch-2.3.1+dfsg/src/Vmatch/xmlfunc.c:61:11:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
          fprintf(outfp,FMT,VAL);\
data/vmatch-2.3.1+dfsg/src/include/debugdef.h:103:11:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
          fprintf(getdbgfp(),\
data/vmatch-2.3.1+dfsg/src/include/debugdef.h:122:21:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        GENDEBUG(L){fprintf(getdbgfp(),F); (void) fflush(stdout);}
data/vmatch-2.3.1+dfsg/src/include/debugdef.h:124:21:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        GENDEBUG(L){fprintf(getdbgfp(),F,A1); (void) fflush(stdout);}
data/vmatch-2.3.1+dfsg/src/include/debugdef.h:126:21:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        GENDEBUG(L){fprintf(getdbgfp(),F,A1,A2); (void) fflush(stdout);}
data/vmatch-2.3.1+dfsg/src/include/debugdef.h:128:21:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        GENDEBUG(L){fprintf(getdbgfp(),F,A1,A2,A3); (void) fflush(stdout);}
data/vmatch-2.3.1+dfsg/src/include/debugdef.h:130:21:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        GENDEBUG(L){fprintf(getdbgfp(),F,A1,A2,A3,A4); (void) fflush(stdout);}
data/vmatch-2.3.1+dfsg/src/include/debugdef.h:132:21:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        GENDEBUG(L){fprintf(getdbgfp(),F,A1,A2,A3,A4,A5); (void) fflush(stdout);}
data/vmatch-2.3.1+dfsg/src/include/errordef.h:62:18:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        GENERROR(sprintf(messagespace(),F))
data/vmatch-2.3.1+dfsg/src/include/errordef.h:65:18:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        GENERROR(sprintf(messagespace(),F,A1))
data/vmatch-2.3.1+dfsg/src/include/errordef.h:68:18:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        GENERROR(sprintf(messagespace(),F,A1,A2))
data/vmatch-2.3.1+dfsg/src/include/errordef.h:71:18:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        GENERROR(sprintf(messagespace(),F,A1,A2,A3))
data/vmatch-2.3.1+dfsg/src/include/errordef.h:74:18:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        GENERROR(sprintf(messagespace(),F,A1,A2,A3,A4))
data/vmatch-2.3.1+dfsg/src/include/errordef.h:77:18:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        GENERROR(sprintf(messagespace(),F,A1,A2,A3,A4,A5))
data/vmatch-2.3.1+dfsg/src/include/errordef.h:80:18:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        GENERROR(sprintf(messagespace(),F,A1,A2,A3,A4,A5,A6))
data/vmatch-2.3.1+dfsg/src/include/errordef.h:83:18:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        GENERROR(sprintf(messagespace(),F,A1,A2,A3,A4,A5,A6,A7))
data/vmatch-2.3.1+dfsg/src/kurtz-basic/chain2dim.c:1617:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(vbuf,"compute optimal %s chains with score >= %ld",
data/vmatch-2.3.1+dfsg/src/kurtz-basic/dstrdup.c:22: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(dest,source);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/filehandle.c:179: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(filehandle[fd].createmode,mode);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/filehandle.c:186: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(filehandle[fd].path,path);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/filehandle.c:259:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(tmpfiledesc->tmpfilenamebuffer,"%s%s",usedfileprefix,TMPFILESUFFIX);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/genfile.c:102:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  len = vsnprintf(buf, sizeof(buf), format, va);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/genfile.c:119:9:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  len = vsnprintf(buf, sizeof(buf), format, va);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/genfile.c:137:12:  [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.
    rval = vfprintf(stdout, format, va);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/genfile.c:144:16:  [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.
        rval = vfprintf(genfile->fileptr.file, format, va);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/getbasename.c:72: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(sbuf,path);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/multiseq-adv.c:1439:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(sbuf,"reading file \"%s\"",allfiles[fnum].filenamebuf);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/multiseq-adv.c:1742:12:  [4] (buffer) fscanf:
  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.
  for(i=0; fscanf(fp,"dbfile=%s %ld %ld\n",
data/vmatch-2.3.1+dfsg/src/kurtz-basic/multiseq-adv.c:1751:12:  [4] (buffer) fscanf:
  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.
  for(j=0; fscanf(fp,"queryfile=%s %ld %ld\n",
data/vmatch-2.3.1+dfsg/src/kurtz-basic/readmulti.c:215:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(sbuf,"reading%sfile \"%s\"",isgzipped ? " gzipped " : " ",
data/vmatch-2.3.1+dfsg/src/kurtz-basic/readmulti.c:332:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(sbuf,"reading%sfile \"%s\" again",
data/vmatch-2.3.1+dfsg/src/kurtz-basic/readvirt.c:309:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(sbuf,"remove file \"%s\"",filename);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/readvirt.c:372:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(sbuf,"%s.lcp read",indexname);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/readvirt.c:376:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(sbuf,"%s.llv read",indexname);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/readvirt.c:383:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(sbuf,"%s.des read",indexname);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/readvirt.c:385:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(sbuf,"%s.sds read",indexname);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/readvirt.c:389:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(sbuf,"%s.%s read",indexname,bitname);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/readvirt.c:412:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
          sprintf(sbuf,"%stab constructed",bitname);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/readvirt.c:474:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(sbuf,"index \"%s\" is reverse complement index",indexname);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/readvirt.c:479:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(sbuf,"index \"%s\" is six frame index for translation table %lu",
data/vmatch-2.3.1+dfsg/src/kurtz-basic/readvirt.c:485:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(sbuf,"file=%s %lu %lu",
data/vmatch-2.3.1+dfsg/src/kurtz-basic/readvirt.c:501:14:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    start += sprintf(sbuf+start," (including %lu separator%s)",
data/vmatch-2.3.1+dfsg/src/kurtz-basic/safescpy.c:33: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(dest,source);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/scanpaths.c:29:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(tmpfilename,"%s/%s",path,fileopeninfo->filename);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/space.c:61:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(stderr,\
data/vmatch-2.3.1+dfsg/src/kurtz/codon.c:273:19:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sizehelp += sprintf(sbuf+sizehelp,"%2lu %s%s",
data/vmatch-2.3.1+dfsg/src/kurtz/evalues.c:91:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf(sa,FORMATEVALUE,a);
data/vmatch-2.3.1+dfsg/src/kurtz/evalues.c:92:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf(sb,FORMATEVALUE,b);
data/vmatch-2.3.1+dfsg/src/kurtz/evalues.c:148:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr,FORMATEVALUE,prob);
data/vmatch-2.3.1+dfsg/src/kurtz/evalues.c:150:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr,FORMATEVALUE,realprob);
data/vmatch-2.3.1+dfsg/src/kurtz/evalues.c:158:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr,FORMATEVALUE,lookupprob);
data/vmatch-2.3.1+dfsg/src/kurtz/evalues.c:160:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr,FORMATEVALUE,realprob);
data/vmatch-2.3.1+dfsg/src/kurtz/getdirname.c:81: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(sbuf,path);
data/vmatch-2.3.1+dfsg/src/kurtz/libtest/vmatch-mini.c:374:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr,USAGE,argv[0]);
data/vmatch-2.3.1+dfsg/src/kurtz/matsort.c:215:14:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    start += sprintf(sortmodestring+start,"%s",comparefunctions[i].sortmode);
data/vmatch-2.3.1+dfsg/src/kurtz/matsort.c:234:14:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    start += sprintf(sortmodehelp+start,"%s: %s",comparefunctions[i].sortmode,
data/vmatch-2.3.1+dfsg/src/kurtz/outindextab.c:24:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(outputfilename,"%s.%s",indexname,filenamesuffix);
data/vmatch-2.3.1+dfsg/src/Mkvtree/gccont.c:55:30:  [3] (random) drand48:
  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.
    cc = (Uint) ptab[(Uint) (drand48() * (double) TOTALTABWIDTH)];
data/vmatch-2.3.1+dfsg/src/Mkvtree/vseqselect.c:282:22:  [3] (random) drand48:
  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.
    seqnum = (Uint) (drand48() * (double) multiseq->numofsequences);
data/vmatch-2.3.1+dfsg/src/Mkvtree/vseqselect.c:348:22:  [3] (random) drand48:
  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.
    seqnum = (Uint) (drand48() * (double) multiseq->numofsequences);
data/vmatch-2.3.1+dfsg/src/Mkvtree/vsubseqselect.c:304:30:  [3] (random) drand48:
  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.
                            (drand48() * 
data/vmatch-2.3.1+dfsg/src/Mkvtree/vsubseqselect.c:308:21:  [3] (random) drand48:
  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.
    start = (Uint) (drand48() * 
data/vmatch-2.3.1+dfsg/src/Vmatch/opensel.c:35:32:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
  selectbundle->selecthandle = LoadLibrary(filename);
data/vmatch-2.3.1+dfsg/src/Vmatch/parsevm.c:472:19:  [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((envstring = getenv("QUERYSPEEDUP")) != NULL)
data/vmatch-2.3.1+dfsg/src/Vmatch/profiler.c:687:28:  [3] (random) drand48:
  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.
      score = (ProfScore) (drand48() * (double) maxrandscore);
data/vmatch-2.3.1+dfsg/src/Vmatch/vplugin-open.c:31:25:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
  vplugininfo->handle = LoadLibrary(filename);
data/vmatch-2.3.1+dfsg/src/Vmengine/leafblocktree.c:188:12:  [3] (random) drand48:
  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.
        if(drand48() > p) break;
data/vmatch-2.3.1+dfsg/src/include/drand48.h:7:8:  [3] (random) drand48:
  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.
double drand48(void);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/checkonoff.c:24:19:  [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((envstring = getenv(varname)) != NULL)
data/vmatch-2.3.1+dfsg/src/kurtz-basic/debug.c:99:19:  [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((envstring = getenv("DEBUGLEVEL")) != NULL)
data/vmatch-2.3.1+dfsg/src/kurtz-basic/debug.c:119:19:  [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((envstring = getenv("DEBUGWHERE")) != (char *) NULL)
data/vmatch-2.3.1+dfsg/src/kurtz-basic/mapfile.c:443: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.
  envpagesizelevel = getenv(ENVPAGESIZELEVEL);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/scanpaths.c:42:18:  [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.
  char *envptr = getenv(envarname);
data/vmatch-2.3.1+dfsg/src/kurtz/drand48.c:7:3:  [3] (random) srand:
  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.
  srand(seedval);
data/vmatch-2.3.1+dfsg/src/kurtz/drand48.c:11:8:  [3] (random) drand48:
  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.
double drand48(void)
data/vmatch-2.3.1+dfsg/src/kurtz/libtest/checkcluster.c:19:17:  [3] (random) drand48:
  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.
    r = (Uint) (drand48() * (double) range);
data/vmatch-2.3.1+dfsg/src/kurtz/libtest/checklongdist.c:48:27:  [3] (random) drand48:
  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.
                         (drand48() * (double) (maxlength-minlength+1)));
data/vmatch-2.3.1+dfsg/src/kurtz/libtest/checklongdist.c:50:24:  [3] (random) drand48:
  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.
  str->start = (Uint) (drand48() * (double) (totallength-str->length));
data/vmatch-2.3.1+dfsg/src/kurtz/libtest/checkqsort.c:150:25:  [3] (random) drand48:
  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.
    values[i] = (Uint) (drand48() * (maxvalue+1));
data/vmatch-2.3.1+dfsg/src/kurtz/libtest/checkredrange.c:71:39:  [3] (random) drand48:
  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.
    numberinfo->numtable[i] = (Uint) (drand48() * (double) (maxnum+1));
data/vmatch-2.3.1+dfsg/src/kurtz/libtest/queuetest.c:43:8:  [3] (random) drand48:
  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.
    if(drand48() <= 0.3 && !queueisemptygeneric(queue))
data/vmatch-2.3.1+dfsg/src/kurtz/libtest/regioncheck.c:66:60:  [3] (random) drand48:
  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.
    currentregion.uint0 = (Uint) (width - maxregionsize) * drand48 ();
data/vmatch-2.3.1+dfsg/src/kurtz/libtest/regioncheck.c:67:63:  [3] (random) drand48:
  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.
    regionsize = (Uint) (maxregionsize - MINREGIONSIZE + 1) * drand48 ();
data/vmatch-2.3.1+dfsg/src/kurtz/libtest/rundict.c:332:33:  [3] (random) drand48:
  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.
    randomnumbers[i] =  (Uint) (drand48() * (double) maxnumber);
data/vmatch-2.3.1+dfsg/src/kurtz/libtest/runredblack.c:17:6:  [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.
long random(void);
data/vmatch-2.3.1+dfsg/src/kurtz/libtest/runredblack.c:76:17:  [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.
    j = (Sint) (random() % SIZE);
data/vmatch-2.3.1+dfsg/src/kurtz/libtest/spacemanage.c:29:56:  [3] (random) drand48:
  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.
  Uint trials = 0, randindex = (Uint) maxnumofblocks * drand48();
data/vmatch-2.3.1+dfsg/src/kurtz/libtest/spacemanage.c:70:43:  [3] (random) drand48:
  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.
      Uint allocblocks = 1 + (Uint) 999 * drand48();
data/vmatch-2.3.1+dfsg/src/kurtz/libtest/spacemanage.c:85:36:  [3] (random) drand48:
  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.
    allocblocks = 1 + (Uint) 999 * drand48();
data/vmatch-2.3.1+dfsg/src/kurtz/libtest/spacemanage.c:209:15:  [3] (random) drand48:
  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.
    randnum = drand48();
data/vmatch-2.3.1+dfsg/src/kurtz/searchpat.c:129:29:  [3] (random) drand48:
  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.
                           (drand48() * 
data/vmatch-2.3.1+dfsg/src/kurtz/searchpat.c:133:21:  [3] (random) drand48:
  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.
    start = (Uint) (drand48() * (double) (textlen-patternlen));
data/vmatch-2.3.1+dfsg/src/kurtz/searchpat.c:233:26:  [3] (random) drand48:
  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.
                 (Uint) (drand48() * (double) (maxpatternlen-minpatternlen+1));
data/vmatch-2.3.1+dfsg/src/kurtz/searchpat.c:243:21:  [3] (random) drand48:
  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.
    start = (Uint) (drand48() * (double) (textlen-patternlen));
data/vmatch-2.3.1+dfsg/src/kurtz/skiplist.c:77:12:  [3] (random) drand48:
  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.
        if(drand48() > p) break;
data/vmatch-2.3.1+dfsg/src/Mkvtree/bese.c:901: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 sbuf[256];
data/vmatch-2.3.1+dfsg/src/Mkvtree/bese.c:902: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(sbuf,"sorting suffixes according to prefix of length %lu",
data/vmatch-2.3.1+dfsg/src/Mkvtree/endian.c:12: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 ((FP = fopen(FILENAME,MODE)) == NULL)\
data/vmatch-2.3.1+dfsg/src/Mkvtree/inputdef.h:24:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char indexname[PATH_MAX+4+1]; // name of index
data/vmatch-2.3.1+dfsg/src/Mkvtree/mapcfrcrf.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 findexname[PATH_MAX+1], 
data/vmatch-2.3.1+dfsg/src/Mkvtree/mapcfrcrf.c:61: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(&rindexname[0],".rev");
data/vmatch-2.3.1+dfsg/src/Mkvtree/mkcfr.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 findexname[PATH_MAX+1], 
data/vmatch-2.3.1+dfsg/src/Mkvtree/mkcfr.c:411: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(&rindexname[0],".rev");
data/vmatch-2.3.1+dfsg/src/Mkvtree/mkrcidx.c:224:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(rcplusmultiseq->descspace.spaceUchar + descoffset,
data/vmatch-2.3.1+dfsg/src/Mkvtree/mkrcidx.c:228:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(rcplusmultiseq->descspace.spaceUchar + descoffset,
data/vmatch-2.3.1+dfsg/src/Mkvtree/mkrcidx.c:236:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(rcplusmultiseq->sequence + offset,
data/vmatch-2.3.1+dfsg/src/Mkvtree/mkrcidx.c:249:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(rcplusmultiseq->sequence + offset,
data/vmatch-2.3.1+dfsg/src/Mkvtree/mkvfile.c: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 sbuf[256];
data/vmatch-2.3.1+dfsg/src/Mkvtree/mkvfile.c:31: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(sbuf,
data/vmatch-2.3.1+dfsg/src/Mkvtree/mkvinput.c:73: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(multiseq->descspace.spaceUchar,desc,(size_t) desclen);
data/vmatch-2.3.1+dfsg/src/Mkvtree/mkvinput.c:208: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 sbuf[PATH_MAX+100+1];
data/vmatch-2.3.1+dfsg/src/Mkvtree/mkvprocess.c:54:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char outputfilename[PATH_MAX+EXTRASUFFIXLENGTH+1], sbuf[PATH_MAX+50+1];
data/vmatch-2.3.1+dfsg/src/Mkvtree/mkvprocess.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 tmpfilename[PATH_MAX+EXTRASUFFIXLENGTH+1];
data/vmatch-2.3.1+dfsg/src/Mkvtree/mkvprocess.c:653:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char tmpfilename[PATH_MAX+EXTRASUFFIXLENGTH+1];
data/vmatch-2.3.1+dfsg/src/Mkvtree/mkvprocess.c:840: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 sbuf[256] = {0};
data/vmatch-2.3.1+dfsg/src/Mkvtree/mkvprocess.c:842:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      = sprintf(sbuf,"total length of sequences: %lu",
data/vmatch-2.3.1+dfsg/src/Mkvtree/mkvtree.c:155: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(indexname,".rcp");
data/vmatch-2.3.1+dfsg/src/Mkvtree/mkvtree.c:158: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(indexname,".rev");
data/vmatch-2.3.1+dfsg/src/Mkvtree/mkvtree.c:164: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(indexname,".cpl");
data/vmatch-2.3.1+dfsg/src/Mkvtree/mkvtree.c:192:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char taboptionspace[NUMOFOPTIONS][MAXTABOPTSPACE+1],
data/vmatch-2.3.1+dfsg/src/Mkvtree/mkvtree.c:737: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(&input.indexname[0],"none");
data/vmatch-2.3.1+dfsg/src/Mkvtree/turn.c:57:25:  [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).
  prefixlength = (Uint) atoi(argv[2]);
data/vmatch-2.3.1+dfsg/src/Mkvtree/vseqselect.c:471: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(descriptions,multiseq->descspace.spaceUchar,(size_t)deslen);
data/vmatch-2.3.1+dfsg/src/Mkvtree/vstree2tex.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 indexname[PATH_MAX+1];
data/vmatch-2.3.1+dfsg/src/Mkvtree/vsubseqselect.c:63:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char indexname[PATH_MAX+1];
data/vmatch-2.3.1+dfsg/src/Vmatch/SELECT/cgvizout.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 srcName[15 + 1];
data/vmatch-2.3.1+dfsg/src/Vmatch/SELECT/cgvizout.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 tgtName[15 + 1];
data/vmatch-2.3.1+dfsg/src/Vmatch/SELECT/cgvizout.c:215: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 (cd.srcName, "Data%lu", (Showuint) group);
data/vmatch-2.3.1+dfsg/src/Vmatch/SELECT/cgvizout.c:216: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 (cd.tgtName, "Matches%lu", (Showuint) group);
data/vmatch-2.3.1+dfsg/src/Vmatch/SELECT/cgvizout.c:223: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 (cd.srcName, "Matches%lu", (Showuint) group);
data/vmatch-2.3.1+dfsg/src/Vmatch/SELECT/cgvizout.c:224: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 (cd.tgtName, "Pane");
data/vmatch-2.3.1+dfsg/src/Vmatch/SELECT/cgvizout.c:371: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 (conData.srcName, "Pane");
data/vmatch-2.3.1+dfsg/src/Vmatch/SELECT/cgvizout.c:372: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 (conData.tgtName, "Window");
data/vmatch-2.3.1+dfsg/src/Vmatch/chain2dim.mn.c:95: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 vbuf[PATH_MAX+80+1];
data/vmatch-2.3.1+dfsg/src/Vmatch/chaincall.h: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 matchfile[PATH_MAX+1],
data/vmatch-2.3.1+dfsg/src/Vmatch/chainof.c:277: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 vbuf[80+1];
data/vmatch-2.3.1+dfsg/src/Vmatch/chainof.c:278: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(vbuf,"overall space peak: main=%.2f MB",MEGABYTES(spacepeak));
data/vmatch-2.3.1+dfsg/src/Vmatch/chainof.c:306: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 vbuf[PATH_MAX+80+1];
data/vmatch-2.3.1+dfsg/src/Vmatch/chainvm.c:113:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char chainoutfile[PATH_MAX+1];
data/vmatch-2.3.1+dfsg/src/Vmatch/chainvm.c:175: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 vbuf[80+1];
data/vmatch-2.3.1+dfsg/src/Vmatch/chainvm.c:176: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(vbuf,"overall space peak: main=%.2f MB",MEGABYTES(spacepeak));
data/vmatch-2.3.1+dfsg/src/Vmatch/chncallparse.c:147:20:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  helplinelength = sprintf(helpline,
data/vmatch-2.3.1+dfsg/src/Vmatch/chncallparse.c:237:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char lchelpline[MAXHELPLINE+1], 
data/vmatch-2.3.1+dfsg/src/Vmatch/detmatch.c:130:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char *vargv[MAXNUMBEROFFILES + MAXNUMOFARGS];
data/vmatch-2.3.1+dfsg/src/Vmatch/detmatch.c:758:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char matchline[IBUFSIZE+1];
data/vmatch-2.3.1+dfsg/src/Vmatch/detmatch.c:883: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(matchline,"%ld %ld %ld %c %ld %ld %ld %ld %.2e %ld %.2f",
data/vmatch-2.3.1+dfsg/src/Vmatch/explain.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 expstring[EXPLAINLENGTH+1];
data/vmatch-2.3.1+dfsg/src/Vmatch/matchlenparm.c:25: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 sbuf[128+1];
data/vmatch-2.3.1+dfsg/src/Vmatch/matchlenparm.c:26:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(sbuf,"search with minimal length %lu, maximal distance %lu, "
data/vmatch-2.3.1+dfsg/src/Vmatch/matchtask.h: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 progname[PATH_MAX+1],          // program name
data/vmatch-2.3.1+dfsg/src/Vmatch/mcldef.h: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 *mfargs,
data/vmatch-2.3.1+dfsg/src/Vmatch/nomatch.c:140:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char msg[512];
data/vmatch-2.3.1+dfsg/src/Vmatch/nomatch.c:142: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(&msg[0],"output regions of minimum length %lu "
data/vmatch-2.3.1+dfsg/src/Vmatch/nomatch.c:146:11:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  start = sprintf(&msg[0],"each region is characterized by a line "
data/vmatch-2.3.1+dfsg/src/Vmatch/nomatch.c:150:14:  [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.
    start += sprintf(&msg[start],"filename ");
data/vmatch-2.3.1+dfsg/src/Vmatch/nomatch.c:154:14:  [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.
    start += sprintf(&msg[start],"abs_startpos ");
data/vmatch-2.3.1+dfsg/src/Vmatch/nomatch.c:159:16:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      start += sprintf(&msg[start],"seq_desc ");
data/vmatch-2.3.1+dfsg/src/Vmatch/nomatch.c:162:16:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      start += sprintf(&msg[start],"seq_num ");
data/vmatch-2.3.1+dfsg/src/Vmatch/nomatch.c:164:14:  [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.
    start += sprintf(&msg[start],"startpos ");
data/vmatch-2.3.1+dfsg/src/Vmatch/nomatch.c:166:12:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  start += sprintf(&msg[start],"length");
data/vmatch-2.3.1+dfsg/src/Vmatch/nomatch.c:169:14:  [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.
    start += sprintf(&msg[start]," character_distribution");
data/vmatch-2.3.1+dfsg/src/Vmatch/nomatch.c:174: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(&msg[0],"followed by the sequence itself");
data/vmatch-2.3.1+dfsg/src/Vmatch/parsedbms.c:143:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char *vargv[MAXNUMOFDBMSARGSINFILE+2];
data/vmatch-2.3.1+dfsg/src/Vmatch/parsevm.c:748:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char keepflagshelp[KEEPFLAGSHELPSIZE+1],
data/vmatch-2.3.1+dfsg/src/Vmatch/procargs.c:72: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 directoryname[PATH_MAX+1];
data/vmatch-2.3.1+dfsg/src/Vmatch/procargs.c:98: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 *originalargv[MAXNUMBEROFFILES+MAXNUMOFARGS];
data/vmatch-2.3.1+dfsg/src/Vmatch/procfinal.c:725: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 sbuf[80+1];
data/vmatch-2.3.1+dfsg/src/Vmatch/procfinal.c:726: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(sbuf,"remove %lu contained matches",(Showuint) countremoved);
data/vmatch-2.3.1+dfsg/src/Vmatch/procmatch.c:62: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 sbuf[80+1];
data/vmatch-2.3.1+dfsg/src/Vmatch/procmatch.c:63: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(sbuf,"match query number %lu against database substring "
data/vmatch-2.3.1+dfsg/src/Vmatch/procmatch.c:439: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 sbuf[PATH_MAX+9+1];
data/vmatch-2.3.1+dfsg/src/Vmatch/queryindex.c:65:37:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                             (const char *) queryfiles[0],
data/vmatch-2.3.1+dfsg/src/Vmatch/queryindex.c:114: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 sbuf[80+1];
data/vmatch-2.3.1+dfsg/src/Vmatch/queryindex.c:117: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(sbuf,"querylength=%lu (including %lu separators)",
data/vmatch-2.3.1+dfsg/src/Vmatch/queryindex.c:122: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(sbuf,"querylength=%lu",(Showuint) querymultiseq->totallength);
data/vmatch-2.3.1+dfsg/src/Vmatch/vmatch.c:32: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 sbuf[256+1];
data/vmatch-2.3.1+dfsg/src/Vmatch/vmatch.c:33: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(sbuf,"overall space peak: main=%.2f MB (%.2f bytes/symbol), secondary=%.2f MB (%.2f bytes/symbol)",
data/vmatch-2.3.1+dfsg/src/Vmatch/vmatsel.mn.c:230: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 sbuf[80+1];
data/vmatch-2.3.1+dfsg/src/Vmatch/vmatsel.mn.c:231: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(sbuf,"remove %lu contained matches",(Showuint) countremoved);
data/vmatch-2.3.1+dfsg/src/Vmatch/vmcldef.h: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 *args,
data/vmatch-2.3.1+dfsg/src/Vmatch/vmcluster.c:454: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 sbuf[256+2*PATH_MAX+1];
data/vmatch-2.3.1+dfsg/src/Vmatch/vmcluster.c:472:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(sbuf,"only clusters of size between %lu and %lu are reported",
data/vmatch-2.3.1+dfsg/src/Vmatch/vmdbtypes.h: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   versiondate[STRLENVERSION+1],  //date of vmatch compiletime
data/vmatch-2.3.1+dfsg/src/Vmatch/vmdbtypes.h:75:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char  md5[STRLENMD5+1],                //checksum for identification
data/vmatch-2.3.1+dfsg/src/Vmatch/vmdbtypes.h: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  md5[STRLENMD5+1],       //checksum for sequence identification
data/vmatch-2.3.1+dfsg/src/Vmengine/vmatfind.c:207:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(ptr->refPoslist,&ptr->spacePoslist[0],
data/vmatch-2.3.1+dfsg/src/include/fdrewr.h:24:18:  [2] (misc) open:
  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((FD = open(FILENAME,FLAGS,MODE)) == -1)\
data/vmatch-2.3.1+dfsg/src/include/fdrewr.h:33:18:  [2] (misc) open:
  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((FD = open(FILENAME,FLAGS)) == -1)\
data/vmatch-2.3.1+dfsg/src/include/fopen.h:17: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 ((FP = fopen(FILENAME,MODE)) == NULL)\
data/vmatch-2.3.1+dfsg/src/include/genredblack.c:388:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(nodestack,&staticstack[0],\
data/vmatch-2.3.1+dfsg/src/include/types.h:244:5:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
int mkstemp(char *);
data/vmatch-2.3.1+dfsg/src/include/vdfstrav.c:369:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(stackptr,&stackspace[0],
data/vmatch-2.3.1+dfsg/src/kurtz-basic/alphabet.c:373: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(alpha->mapdomain,
data/vmatch-2.3.1+dfsg/src/kurtz-basic/alphabet.c:378: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(alpha->characters,"acgt",(size_t) (MAPSIZEDNA-1));
data/vmatch-2.3.1+dfsg/src/kurtz-basic/alphabet.c:438: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(alpha->mapdomain,
data/vmatch-2.3.1+dfsg/src/kurtz-basic/alphabet.c:442: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(alpha->characters,PROTEINUPPERAMINOACIDS,(size_t) MAPSIZEPROTEIN-1);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/chain2dim.c:1616: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 vbuf[80+1];
data/vmatch-2.3.1+dfsg/src/kurtz-basic/encodedseq.c:356:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  (void) memcpy(encseq->characters,alphabet->characters,
data/vmatch-2.3.1+dfsg/src/kurtz-basic/filehandle.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 path[PATH_MAX+1],
data/vmatch-2.3.1+dfsg/src/kurtz-basic/filehandle.c:210: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(path,mode);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/filehandle.c:261:8:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
  fd = mkstemp(tmpfiledesc->tmpfilenamebuffer);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/filehandle.c:270:8:  [2] (misc) open:
  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).
  fd = open(tmpfiledesc->tmpfilenamebuffer, O_RDWR, O_EXCL);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/genericstream.c:18:39:  [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).
    inputstream->stream.fopenstream = fopen(inputfile,"rb");
data/vmatch-2.3.1+dfsg/src/kurtz-basic/genfile.c:29:31:  [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).
      genfile->fileptr.file = fopen(path, mode);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/genfile.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[Z_PRINTF_BUFSIZE];
data/vmatch-2.3.1+dfsg/src/kurtz-basic/genfile.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 buf[Z_PRINTF_BUFSIZE];
data/vmatch-2.3.1+dfsg/src/kurtz-basic/mapfile.c:80: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 *filemapped[MAXMAPPEDFILES] = {NULL};
data/vmatch-2.3.1+dfsg/src/kurtz-basic/mapfile.c:129:12:  [2] (misc) open:
  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((fd = open(filename,O_RDONLY)) == -1)
data/vmatch-2.3.1+dfsg/src/kurtz-basic/multiseq-adv.c:1430: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((char *) (concatenation+bytes2concat),">%*.*s\n",
data/vmatch-2.3.1+dfsg/src/kurtz-basic/multiseq-adv.c:1438: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 sbuf[PATH_MAX+50+1];
data/vmatch-2.3.1+dfsg/src/kurtz-basic/multiseq-adv.c:1442:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy((void *) (concatenation+bytes2concat), 
data/vmatch-2.3.1+dfsg/src/kurtz-basic/readgzip.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 buf[BUFLEN];
data/vmatch-2.3.1+dfsg/src/kurtz-basic/readgzip.c:88:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[BUFLEN];
data/vmatch-2.3.1+dfsg/src/kurtz-basic/readmulti.c:214: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 sbuf[PATH_MAX+100+1];
data/vmatch-2.3.1+dfsg/src/kurtz-basic/readmulti.c:331: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 sbuf[PATH_MAX+50+1];
data/vmatch-2.3.1+dfsg/src/kurtz-basic/readvirt.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 suffixspace[MAXFILENAMESUFFIXSIZE+1];
data/vmatch-2.3.1+dfsg/src/kurtz-basic/readvirt.c:308: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 sbuf[64+PATH_MAX+MAXFILENAMESUFFIXSIZE+1];
data/vmatch-2.3.1+dfsg/src/kurtz-basic/readvirt.c:366:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char sbuf[PATH_MAX+30];
data/vmatch-2.3.1+dfsg/src/kurtz-basic/readvirt.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 sbuf[PATH_MAX+200+1];
data/vmatch-2.3.1+dfsg/src/kurtz-basic/readvirt.c:497:11:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  start = sprintf(sbuf,"databaselength=%lu",
data/vmatch-2.3.1+dfsg/src/kurtz-basic/readvirt.c:515: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(sbuf,"sequence lengths: minimal=%lu, maximal=%lu, average=%.2f",
data/vmatch-2.3.1+dfsg/src/kurtz-basic/readvirt.c:523: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(sbuf,"querylength=%lu",
data/vmatch-2.3.1+dfsg/src/kurtz-basic/readvirt.c:1029:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char sspace[64+1];
data/vmatch-2.3.1+dfsg/src/kurtz-basic/redblack.c:456:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(nodestack,&staticstack[0],\
data/vmatch-2.3.1+dfsg/src/kurtz-basic/scanpaths.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 tmpfilename[PATH_MAX+1];
data/vmatch-2.3.1+dfsg/src/kurtz-basic/seterror.c:27: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 errormessage[MAXERRORMSG+1];
data/vmatch-2.3.1+dfsg/src/kurtz-basic/verbosealpha.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 sbuf[4096];
data/vmatch-2.3.1+dfsg/src/kurtz-basic/verbosealpha.c:30:18:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  start = (Uint) sprintf(sbuf,"alphabet \"");
data/vmatch-2.3.1+dfsg/src/kurtz-basic/verbosealpha.c:36:16:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      start += sprintf(sbuf+start,"\\%lu",(Showuint) c);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/verbosealpha.c:39:16:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      start += sprintf(sbuf+start,"%c",c);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/verbosealpha.c:42:12:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  start += sprintf(sbuf+start,"\" (size %lu) mapped to \"",
data/vmatch-2.3.1+dfsg/src/kurtz-basic/verbosealpha.c:49:16:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      start += sprintf(sbuf+start,"\\%lu",(Showuint) c);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/verbosealpha.c:52:16:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      start += sprintf(sbuf+start,"%c",c);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/verbosealpha.c:55: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(sbuf+start,"\" (size %lu)",(Showuint) alpha->mapsize);
data/vmatch-2.3.1+dfsg/src/kurtz/bwtcode.c:141: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(sndstring,sndbuffer,(size_t) textlen);
data/vmatch-2.3.1+dfsg/src/kurtz/codon.c:262:14:  [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.
  sizehelp = sprintf(sbuf,"perform six frame translation\n"
data/vmatch-2.3.1+dfsg/src/kurtz/detpfxlen.c:109: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 verbosebuf[256];
data/vmatch-2.3.1+dfsg/src/kurtz/detpfxlen.c:110: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(&verbosebuf[0],
data/vmatch-2.3.1+dfsg/src/kurtz/evalues.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 sa[100], sb[100];
data/vmatch-2.3.1+dfsg/src/kurtz/libtest/rblastm.mn.c:22:29:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  if(readblastmatrix((const char *) argv[1],UCHAR_MAX,
data/vmatch-2.3.1+dfsg/src/kurtz/libtest/runredblack.c:229: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     state[8] = {1, 2, 3, 4, 5, 6, 7, 8};
data/vmatch-2.3.1+dfsg/src/kurtz/matsort.c:182: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 sortmodestring[5 * NUMSORTMODES];
data/vmatch-2.3.1+dfsg/src/kurtz/matsort.c:183: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 sortmodehelp[80 * NUMSORTMODES];
data/vmatch-2.3.1+dfsg/src/kurtz/matsort.c:218:16:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      start += sprintf(sortmodestring+start,", ");
data/vmatch-2.3.1+dfsg/src/kurtz/matsort.c:229:12:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  start += sprintf(sortmodehelp+start,
data/vmatch-2.3.1+dfsg/src/kurtz/outindextab.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 outputfilename[PATH_MAX+4+1];
data/vmatch-2.3.1+dfsg/src/kurtz/searchpat.c:244:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(pattern,text + start,(size_t) patternlen);
data/vmatch-2.3.1+dfsg/src/kurtz/showibit.c:25: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 cs[INTWORDSIZE+(INTWORDSIZE/CHAR_BIT)-1+1];
data/vmatch-2.3.1+dfsg/src/kurtz/sixframe.c:83:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(sfinfo->descspace.spaceUchar + 
data/vmatch-2.3.1+dfsg/src/Mkvtree/mkvinput.c:71: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).
  Uint desclen = (Uint) strlen(desc);
data/vmatch-2.3.1+dfsg/src/Mkvtree/mkvprocess.c:531:21:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        while((cc = fgetc(fpin)) != EOF)
data/vmatch-2.3.1+dfsg/src/Mkvtree/turn.c:17: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).
  Uint turns = 0, asize = (Uint) strlen(alphabet);
data/vmatch-2.3.1+dfsg/src/Vmatch/detmatch.c:583: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).
       argprefixlen = (Uint) strlen(ARGUMENTLINEPREFIX),
data/vmatch-2.3.1+dfsg/src/Vmatch/detmatch.c:584: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).
       largeheadingprefixlen = (Uint) strlen(LARGEHEADINGPREFIX),
data/vmatch-2.3.1+dfsg/src/Vmatch/detmatch.c:585: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).
       smallheadingprefixlen = (Uint) strlen(SMALLHEADINGPREFIX);
data/vmatch-2.3.1+dfsg/src/Vmatch/detmatch.c:594:15:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  inputchar = fgetc(matchfp);
data/vmatch-2.3.1+dfsg/src/Vmatch/detmatch.c:604:17:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    inputchar = fgetc(matchfp);
data/vmatch-2.3.1+dfsg/src/Vmatch/detmatch.c:613:26:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      while((inputchar = fgetc(matchfp)) != '\n')
data/vmatch-2.3.1+dfsg/src/Vmatch/detmatch.c:702:21:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        inputchar = fgetc(matchfp);
data/vmatch-2.3.1+dfsg/src/Vmatch/detmatch.c:827: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=0; i<strlen((char *)run.params); i++)
data/vmatch-2.3.1+dfsg/src/Vmatch/detmatch.c:832: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=0; i<strlen((char *)run.indexname); i++)
data/vmatch-2.3.1+dfsg/src/Vmatch/parsedbms.c:85: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).
                strlen(eqpos+1)==0)\
data/vmatch-2.3.1+dfsg/src/Vmatch/parsedbms.c:181:22:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while((inputchar = fgetc(dboptfp)) != EOF)
data/vmatch-2.3.1+dfsg/src/Vmatch/parsedbms.c:248:22:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while((inputchar = fgetc(sqlfilep)) != EOF)
data/vmatch-2.3.1+dfsg/src/Vmatch/parsepp.c:48: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).
    totstrlen += (Uint) (strlen(argv[i]) + 1 + 1);
data/vmatch-2.3.1+dfsg/src/Vmatch/parsepp.c:55: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).
  totstrlen += (Uint) (strlen(progname) + 1);
data/vmatch-2.3.1+dfsg/src/Vmatch/parsepp.c:56: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).
  totstrlen += (Uint) (strlen(DUMMYINDEX) + 1);
data/vmatch-2.3.1+dfsg/src/Vmatch/parsevm.c:527:6:  [1] (buffer) strlen:
  Does not handle 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(arg) == (size_t) 1 && !INVISIBLE((Uchar) arg[0]))
data/vmatch-2.3.1+dfsg/src/Vmatch/parsevm.c:662: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(argv[0]) > 0)
data/vmatch-2.3.1+dfsg/src/Vmatch/parsevm.c:1151: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).
                       strlen(VMOTIFWORKPREFIX)) == 0)
data/vmatch-2.3.1+dfsg/src/Vmatch/parsevm.c:1161: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).
                       strlen(CPRIDXPATSEARCHWORKPREFIX)) == 0)
data/vmatch-2.3.1+dfsg/src/Vmatch/procargs.c:41: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).
  alen = (Sint) (argc + strlen(indexormatchfile));
data/vmatch-2.3.1+dfsg/src/Vmatch/procargs.c:45: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).
    alen += strlen(argv[i]);
data/vmatch-2.3.1+dfsg/src/Vmatch/procargs.c:100: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(splitargstring(argstring,(Uint) strlen(argstring),
data/vmatch-2.3.1+dfsg/src/include/fdrewr.h:51:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if(read(FD,BUF,SIZE) != (SIZE))\
data/vmatch-2.3.1+dfsg/src/include/fhandledef.h:10: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).
#define NUMBEROFX            strlen(TMPFILESUFFIX)
data/vmatch-2.3.1+dfsg/src/kurtz-basic/alphabet.c:371: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).
  alpha->domainsize = (Uint) strlen(DNAALPHABETDOMAIN);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/alphabet.c:372: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).
  alpha->mappedwildcards = (Uint) strlen(DNAWILDCARDS);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/alphabet.c:436: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).
  alpha->domainsize = (Uint) strlen(PROTEINALPHABETDOMAIN);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/alphabet.c:437: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).
  alpha->mappedwildcards = (Uint) strlen(PROTEINWILDCARDS);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/alphabet.c:768:29:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    alpha->mapsize = (Uint) fgetc(fp);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/alphabet.c:773:20:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    for(i=0; (cc = fgetc(fp)) != EOF; i++)
data/vmatch-2.3.1+dfsg/src/kurtz-basic/checkgzip.c:8: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).
  size_t filenamelength = strlen (filename);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/compfilenm.c:17: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).
  lenfilename = (Uint) strlen(filename);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/compfilenm.c:19: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).
  lensuffix = (Uint) strlen(suffix);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/debug.c:101: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).
    if(!(strlen(envstring) == (size_t) 1 && 
data/vmatch-2.3.1+dfsg/src/kurtz-basic/dstrdup.c:20: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).
  sourcelength = (Uint) strlen(source);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/fastastream.c:30:24:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while((currentchar = fgetc(inputstream)) != EOF)
data/vmatch-2.3.1+dfsg/src/kurtz-basic/filehandle.c:173:6:  [1] (buffer) strlen:
  Does not handle 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(mode) > (size_t) MAXOPENMODE)
data/vmatch-2.3.1+dfsg/src/kurtz-basic/filehandle.c:180:6:  [1] (buffer) strlen:
  Does not handle 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(path) > PATH_MAX)
data/vmatch-2.3.1+dfsg/src/kurtz-basic/filehandle.c:251: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).
  tmpfilenamelength = (Uint) (strlen(usedfileprefix) + NUMBEROFX + 1);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/filehandle.c:264: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).
                  strlen(tmpfiledesc->tmpfilenamebuffer) + 1);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/filehandle.c:329: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(filehandle[fd].createmode,"");
data/vmatch-2.3.1+dfsg/src/kurtz-basic/genfile.c:208:14:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      return fgetc(genfile->fileptr.file);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/getbasename.c:59: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).
  pathlen = strlen(path);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/getbasename.c:69:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
    strcpy(sbuf,".");
data/vmatch-2.3.1+dfsg/src/kurtz-basic/guessprot.c:88:21:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      currentchar = fgetc(inputstream->stream.fopenstream);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/mkidxfilecpy.c:41:17:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while((cc = fgetc(fpsource)) != EOF)
data/vmatch-2.3.1+dfsg/src/kurtz-basic/mkidxfilecpy.c:49:16:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if((cc = fgetc(fpsource)) == EOF)
data/vmatch-2.3.1+dfsg/src/kurtz-basic/multiseq-adv.c:1399: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).
      bytes2concat += 3 + strlen(allfiles[fnum].filenamebuf);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/multiseq-adv.c:1421: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).
      filenamelength2show = strlen(allfiles[fnum].filenamebuf);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/parsemultiform.c:228: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).
      firstlen = (Sint) strlen(firststring),
data/vmatch-2.3.1+dfsg/src/kurtz-basic/parsemultiform.c:229: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).
      secondlen = (Sint) strlen(secondstring),
data/vmatch-2.3.1+dfsg/src/kurtz-basic/parsemultiform.c:230: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).
      thirdlen = (Sint) strlen(thirdstring);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/procopt.c:162: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).
      slen = (Uint) strlen(opt[i].optname);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/procopt.c:188: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).
      slen = (Uint) strlen(opt[i].optname);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/procopt.c:609: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).
      sumlength += strlen(opt[(Uint) excludetab[j]].optname);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/readnextline.c:19:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    cc = getc(fpin);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/readvirt.c:789:6:  [1] (buffer) strlen:
  Does not handle 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(indexname) >= PATH_MAX)
data/vmatch-2.3.1+dfsg/src/kurtz-basic/readvirt.c:1409: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).
  size_t indexnamelen = strlen(indexname),
data/vmatch-2.3.1+dfsg/src/kurtz-basic/readvirt.c:1410: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).
          suffixlen = strlen(suffix);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/readvirt.c:1424: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).
  size_t indexnamelen = strlen(indexname),
data/vmatch-2.3.1+dfsg/src/kurtz-basic/readvirt.c:1425: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).
         suffixlen = strlen(suffix);
data/vmatch-2.3.1+dfsg/src/kurtz-basic/safescpy.c:26: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).
  slen = (Sint) strlen(source);
data/vmatch-2.3.1+dfsg/src/kurtz/applall.c:37: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).
  Uint w[MAXGENLEN+1], z = textlen-1, asize = (Uint) strlen(alpha);
data/vmatch-2.3.1+dfsg/src/kurtz/getdirname.c:68: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).
  pathlen = strlen(path);
data/vmatch-2.3.1+dfsg/src/kurtz/getdirname.c:78:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
    strcpy(sbuf,".");
data/vmatch-2.3.1+dfsg/src/kurtz/getdirname.c:95: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(sbuf,"");
data/vmatch-2.3.1+dfsg/src/kurtz/getdirname.c:105:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
    strcpy(sbuf,".");
data/vmatch-2.3.1+dfsg/src/kurtz/libtest/checklongdist.c:165: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(j=0; j<strlen(argv[1]); j++)
data/vmatch-2.3.1+dfsg/src/kurtz/libtest/checkqsort.c:99: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).
  for(j=0; j<(Uint) strlen(argv[1]); j++)
data/vmatch-2.3.1+dfsg/src/kurtz/libtest/checkuedist.c:111: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(argv[1]);
data/vmatch-2.3.1+dfsg/src/kurtz/libtest/optsimple.c:248: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).
  len = (Uint) strlen(text);
data/vmatch-2.3.1+dfsg/src/kurtz/libtest/optsimple.c:308: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).
                       (Uint) strlen(optionvalues.string1),
data/vmatch-2.3.1+dfsg/src/kurtz/libtest/optsimple.c:310: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).
                       (Uint) strlen(optionvalues.string2)) != 0)
data/vmatch-2.3.1+dfsg/src/kurtz/libtest/optsimple.c:316: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).
                       (Uint) strlen(optionvalues.string1),
data/vmatch-2.3.1+dfsg/src/kurtz/libtest/optsimple.c:318: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).
                       (Uint) strlen(optionvalues.string2)) != 0)
data/vmatch-2.3.1+dfsg/src/kurtz/matsort.c:238:16:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
      start += sprintf(sortmodehelp+start,"\n");
data/vmatch-2.3.1+dfsg/src/kurtz/showalign.c:1722:8:  [1] (buffer) equal:
  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(equal)
data/vmatch-2.3.1+dfsg/src/kurtz/showalign.c:1742:8:  [1] (buffer) equal:
  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(equal)
data/vmatch-2.3.1+dfsg/src/kurtz/showalign.c:1770:10:  [1] (buffer) equal:
  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(equal)

ANALYSIS SUMMARY:

Hits = 370
Lines analyzed = 86277 in approximately 1.98 seconds (43527 lines/second)
Physical Source Lines of Code (SLOC) = 70777
Hits@level = [0] 1411 [1]  82 [2] 154 [3]  38 [4]  96 [5]   0
Hits@level+ = [0+] 1781 [1+] 370 [2+] 288 [3+] 134 [4+]  96 [5+]   0
Hits/KSLOC@level+ = [0+] 25.1635 [1+] 5.22769 [2+] 4.06912 [3+] 1.89327 [4+] 1.35637 [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.