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/openfst-1.6.3/src/bin/fstprint.cc
Examining data/openfst-1.6.3/src/bin/fstisomorphic.cc
Examining data/openfst-1.6.3/src/bin/fstprune.cc
Examining data/openfst-1.6.3/src/bin/fstinfo.cc
Examining data/openfst-1.6.3/src/bin/fstdraw.cc
Examining data/openfst-1.6.3/src/bin/fstunion.cc
Examining data/openfst-1.6.3/src/bin/fstrandgen.cc
Examining data/openfst-1.6.3/src/bin/fstpush.cc
Examining data/openfst-1.6.3/src/bin/fstmap.cc
Examining data/openfst-1.6.3/src/bin/fstsymbols.cc
Examining data/openfst-1.6.3/src/bin/fstepsnormalize.cc
Examining data/openfst-1.6.3/src/bin/fstconvert.cc
Examining data/openfst-1.6.3/src/bin/fstshortestpath.cc
Examining data/openfst-1.6.3/src/bin/fstdifference.cc
Examining data/openfst-1.6.3/src/bin/fstconnect.cc
Examining data/openfst-1.6.3/src/bin/fstclosure.cc
Examining data/openfst-1.6.3/src/bin/fstencode.cc
Examining data/openfst-1.6.3/src/bin/fstcompose.cc
Examining data/openfst-1.6.3/src/bin/fstminimize.cc
Examining data/openfst-1.6.3/src/bin/fsttopsort.cc
Examining data/openfst-1.6.3/src/bin/fstinvert.cc
Examining data/openfst-1.6.3/src/bin/fstintersect.cc
Examining data/openfst-1.6.3/src/bin/fstreweight.cc
Examining data/openfst-1.6.3/src/bin/fstcompile.cc
Examining data/openfst-1.6.3/src/bin/fstreplace.cc
Examining data/openfst-1.6.3/src/bin/fstconcat.cc
Examining data/openfst-1.6.3/src/bin/fstproject.cc
Examining data/openfst-1.6.3/src/bin/fstequivalent.cc
Examining data/openfst-1.6.3/src/bin/fstrelabel.cc
Examining data/openfst-1.6.3/src/bin/fstarcsort.cc
Examining data/openfst-1.6.3/src/bin/fstdeterminize.cc
Examining data/openfst-1.6.3/src/bin/fstreverse.cc
Examining data/openfst-1.6.3/src/bin/fstdisambiguate.cc
Examining data/openfst-1.6.3/src/bin/fstshortestdistance.cc
Examining data/openfst-1.6.3/src/bin/fstequal.cc
Examining data/openfst-1.6.3/src/bin/fstrmepsilon.cc
Examining data/openfst-1.6.3/src/bin/fstsynchronize.cc
Examining data/openfst-1.6.3/src/include/fst/reweight.h
Examining data/openfst-1.6.3/src/include/fst/union.h
Examining data/openfst-1.6.3/src/include/fst/replace-util.h
Examining data/openfst-1.6.3/src/include/fst/visit.h
Examining data/openfst-1.6.3/src/include/fst/pair-weight.h
Examining data/openfst-1.6.3/src/include/fst/generic-register.h
Examining data/openfst-1.6.3/src/include/fst/flags.h
Examining data/openfst-1.6.3/src/include/fst/weight.h
Examining data/openfst-1.6.3/src/include/fst/compose.h
Examining data/openfst-1.6.3/src/include/fst/randequivalent.h
Examining data/openfst-1.6.3/src/include/fst/expanded-fst.h
Examining data/openfst-1.6.3/src/include/fst/arc-map.h
Examining data/openfst-1.6.3/src/include/fst/determinize.h
Examining data/openfst-1.6.3/src/include/fst/types.h
Examining data/openfst-1.6.3/src/include/fst/config.h
Examining data/openfst-1.6.3/src/include/fst/lookahead-matcher.h
Examining data/openfst-1.6.3/src/include/fst/statesort.h
Examining data/openfst-1.6.3/src/include/fst/prune.h
Examining data/openfst-1.6.3/src/include/fst/verify.h
Examining data/openfst-1.6.3/src/include/fst/rmfinalepsilon.h
Examining data/openfst-1.6.3/src/include/fst/register.h
Examining data/openfst-1.6.3/src/include/fst/state-map.h
Examining data/openfst-1.6.3/src/include/fst/state-table.h
Examining data/openfst-1.6.3/src/include/fst/properties.h
Examining data/openfst-1.6.3/src/include/fst/replace.h
Examining data/openfst-1.6.3/src/include/fst/edit-fst.h
Examining data/openfst-1.6.3/src/include/fst/map.h
Examining data/openfst-1.6.3/src/include/fst/arcfilter.h
Examining data/openfst-1.6.3/src/include/fst/matcher.h
Examining data/openfst-1.6.3/src/include/fst/union-weight.h
Examining data/openfst-1.6.3/src/include/fst/product-weight.h
Examining data/openfst-1.6.3/src/include/fst/label-reachable.h
Examining data/openfst-1.6.3/src/include/fst/icu.h
Examining data/openfst-1.6.3/src/include/fst/symbol-table.h
Examining data/openfst-1.6.3/src/include/fst/const-fst.h
Examining data/openfst-1.6.3/src/include/fst/equivalent.h
Examining data/openfst-1.6.3/src/include/fst/util.h
Examining data/openfst-1.6.3/src/include/fst/filter-state.h
Examining data/openfst-1.6.3/src/include/fst/union-find.h
Examining data/openfst-1.6.3/src/include/fst/complement.h
Examining data/openfst-1.6.3/src/include/fst/dfs-visit.h
Examining data/openfst-1.6.3/src/include/fst/relabel.h
Examining data/openfst-1.6.3/src/include/fst/sparse-power-weight.h
Examining data/openfst-1.6.3/src/include/fst/float-weight.h
Examining data/openfst-1.6.3/src/include/fst/epsnormalize.h
Examining data/openfst-1.6.3/src/include/fst/push.h
Examining data/openfst-1.6.3/src/include/fst/rational.h
Examining data/openfst-1.6.3/src/include/fst/compact-fst.h
Examining data/openfst-1.6.3/src/include/fst/fst-decl.h
Examining data/openfst-1.6.3/src/include/fst/symbol-table-ops.h
Examining data/openfst-1.6.3/src/include/fst/lock.h
Examining data/openfst-1.6.3/src/include/fst/mapped-file.h
Examining data/openfst-1.6.3/src/include/fst/matcher-fst.h
Examining data/openfst-1.6.3/src/include/fst/arc-arena.h
Examining data/openfst-1.6.3/src/include/fst/synchronize.h
Examining data/openfst-1.6.3/src/include/fst/project.h
Examining data/openfst-1.6.3/src/include/fst/state-reachable.h
Examining data/openfst-1.6.3/src/include/fst/vector-fst.h
Examining data/openfst-1.6.3/src/include/fst/sparse-tuple-weight.h
Examining data/openfst-1.6.3/src/include/fst/heap.h
Examining data/openfst-1.6.3/src/include/fst/memory.h
Examining data/openfst-1.6.3/src/include/fst/reverse.h
Examining data/openfst-1.6.3/src/include/fst/intersect.h
Examining data/openfst-1.6.3/src/include/fst/fstlib.h
Examining data/openfst-1.6.3/src/include/fst/arc.h
Examining data/openfst-1.6.3/src/include/fst/lookahead-filter.h
Examining data/openfst-1.6.3/src/include/fst/script/reweight.h
Examining data/openfst-1.6.3/src/include/fst/script/union.h
Examining data/openfst-1.6.3/src/include/fst/script/fst-class.h
Examining data/openfst-1.6.3/src/include/fst/script/fstscript-decl.h
Examining data/openfst-1.6.3/src/include/fst/script/compose.h
Examining data/openfst-1.6.3/src/include/fst/script/randequivalent.h
Examining data/openfst-1.6.3/src/include/fst/script/text-io.h
Examining data/openfst-1.6.3/src/include/fst/script/decode.h
Examining data/openfst-1.6.3/src/include/fst/script/determinize.h
Examining data/openfst-1.6.3/src/include/fst/script/draw-impl.h
Examining data/openfst-1.6.3/src/include/fst/script/prune.h
Examining data/openfst-1.6.3/src/include/fst/script/verify.h
Examining data/openfst-1.6.3/src/include/fst/script/print-impl.h
Examining data/openfst-1.6.3/src/include/fst/script/register.h
Examining data/openfst-1.6.3/src/include/fst/script/convert.h
Examining data/openfst-1.6.3/src/include/fst/script/weight-class.h
Examining data/openfst-1.6.3/src/include/fst/script/replace.h
Examining data/openfst-1.6.3/src/include/fst/script/map.h
Examining data/openfst-1.6.3/src/include/fst/script/script-impl.h
Examining data/openfst-1.6.3/src/include/fst/script/compile.h
Examining data/openfst-1.6.3/src/include/fst/script/fstscript.h
Examining data/openfst-1.6.3/src/include/fst/script/compile-impl.h
Examining data/openfst-1.6.3/src/include/fst/script/draw.h
Examining data/openfst-1.6.3/src/include/fst/script/equivalent.h
Examining data/openfst-1.6.3/src/include/fst/script/relabel.h
Examining data/openfst-1.6.3/src/include/fst/script/epsnormalize.h
Examining data/openfst-1.6.3/src/include/fst/script/push.h
Examining data/openfst-1.6.3/src/include/fst/script/arc-class.h
Examining data/openfst-1.6.3/src/include/fst/script/stateiterator-class.h
Examining data/openfst-1.6.3/src/include/fst/script/info-impl.h
Examining data/openfst-1.6.3/src/include/fst/script/synchronize.h
Examining data/openfst-1.6.3/src/include/fst/script/project.h
Examining data/openfst-1.6.3/src/include/fst/script/info.h
Examining data/openfst-1.6.3/src/include/fst/script/reverse.h
Examining data/openfst-1.6.3/src/include/fst/script/intersect.h
Examining data/openfst-1.6.3/src/include/fst/script/getters.h
Examining data/openfst-1.6.3/src/include/fst/script/minimize.h
Examining data/openfst-1.6.3/src/include/fst/script/invert.h
Examining data/openfst-1.6.3/src/include/fst/script/closure.h
Examining data/openfst-1.6.3/src/include/fst/script/randgen.h
Examining data/openfst-1.6.3/src/include/fst/script/connect.h
Examining data/openfst-1.6.3/src/include/fst/script/shortest-path.h
Examining data/openfst-1.6.3/src/include/fst/script/arcsort.h
Examining data/openfst-1.6.3/src/include/fst/script/arg-packs.h
Examining data/openfst-1.6.3/src/include/fst/script/difference.h
Examining data/openfst-1.6.3/src/include/fst/script/disambiguate.h
Examining data/openfst-1.6.3/src/include/fst/script/encodemapper-class.h
Examining data/openfst-1.6.3/src/include/fst/script/equal.h
Examining data/openfst-1.6.3/src/include/fst/script/topsort.h
Examining data/openfst-1.6.3/src/include/fst/script/shortest-distance.h
Examining data/openfst-1.6.3/src/include/fst/script/print.h
Examining data/openfst-1.6.3/src/include/fst/script/arciterator-class.h
Examining data/openfst-1.6.3/src/include/fst/script/isomorphic.h
Examining data/openfst-1.6.3/src/include/fst/script/rmepsilon.h
Examining data/openfst-1.6.3/src/include/fst/script/encode.h
Examining data/openfst-1.6.3/src/include/fst/script/concat.h
Examining data/openfst-1.6.3/src/include/fst/minimize.h
Examining data/openfst-1.6.3/src/include/fst/queue.h
Examining data/openfst-1.6.3/src/include/fst/cache.h
Examining data/openfst-1.6.3/src/include/fst/string-weight.h
Examining data/openfst-1.6.3/src/include/fst/invert.h
Examining data/openfst-1.6.3/src/include/fst/accumulator.h
Examining data/openfst-1.6.3/src/include/fst/log.h
Examining data/openfst-1.6.3/src/include/fst/closure.h
Examining data/openfst-1.6.3/src/include/fst/randgen.h
Examining data/openfst-1.6.3/src/include/fst/signed-log-weight.h
Examining data/openfst-1.6.3/src/include/fst/add-on.h
Examining data/openfst-1.6.3/src/include/fst/partition.h
Examining data/openfst-1.6.3/src/include/fst/connect.h
Examining data/openfst-1.6.3/src/include/fst/extensions/far/far-class.h
Examining data/openfst-1.6.3/src/include/fst/extensions/far/farlib.h
Examining data/openfst-1.6.3/src/include/fst/extensions/far/compile-strings.h
Examining data/openfst-1.6.3/src/include/fst/extensions/far/print-strings.h
Examining data/openfst-1.6.3/src/include/fst/extensions/far/script-impl.h
Examining data/openfst-1.6.3/src/include/fst/extensions/far/stlist.h
Examining data/openfst-1.6.3/src/include/fst/extensions/far/sttable.h
Examining data/openfst-1.6.3/src/include/fst/extensions/far/farscript.h
Examining data/openfst-1.6.3/src/include/fst/extensions/far/info.h
Examining data/openfst-1.6.3/src/include/fst/extensions/far/getters.h
Examining data/openfst-1.6.3/src/include/fst/extensions/far/extract.h
Examining data/openfst-1.6.3/src/include/fst/extensions/far/far.h
Examining data/openfst-1.6.3/src/include/fst/extensions/far/equal.h
Examining data/openfst-1.6.3/src/include/fst/extensions/far/create.h
Examining data/openfst-1.6.3/src/include/fst/extensions/far/isomorphic.h
Examining data/openfst-1.6.3/src/include/fst/extensions/special/sigma-fst.h
Examining data/openfst-1.6.3/src/include/fst/extensions/special/rho-fst.h
Examining data/openfst-1.6.3/src/include/fst/extensions/special/phi-fst.h
Examining data/openfst-1.6.3/src/include/fst/extensions/pdt/compose.h
Examining data/openfst-1.6.3/src/include/fst/extensions/pdt/paren.h
Examining data/openfst-1.6.3/src/include/fst/extensions/pdt/pdtlib.h
Examining data/openfst-1.6.3/src/include/fst/extensions/pdt/replace.h
Examining data/openfst-1.6.3/src/include/fst/extensions/pdt/pdtscript.h
Examining data/openfst-1.6.3/src/include/fst/extensions/pdt/pdt.h
Examining data/openfst-1.6.3/src/include/fst/extensions/pdt/info.h
Examining data/openfst-1.6.3/src/include/fst/extensions/pdt/reverse.h
Examining data/openfst-1.6.3/src/include/fst/extensions/pdt/getters.h
Examining data/openfst-1.6.3/src/include/fst/extensions/pdt/shortest-path.h
Examining data/openfst-1.6.3/src/include/fst/extensions/pdt/collection.h
Examining data/openfst-1.6.3/src/include/fst/extensions/pdt/expand.h
Examining data/openfst-1.6.3/src/include/fst/extensions/ngram/ngram-fst.h
Examining data/openfst-1.6.3/src/include/fst/extensions/ngram/nthbit.h
Examining data/openfst-1.6.3/src/include/fst/extensions/ngram/bitmap-index.h
Examining data/openfst-1.6.3/src/include/fst/extensions/compress/compress-script.h
Examining data/openfst-1.6.3/src/include/fst/extensions/compress/elias.h
Examining data/openfst-1.6.3/src/include/fst/extensions/compress/randmod.h
Examining data/openfst-1.6.3/src/include/fst/extensions/compress/compress.h
Examining data/openfst-1.6.3/src/include/fst/extensions/compress/gzfile.h
Examining data/openfst-1.6.3/src/include/fst/extensions/mpdt/compose.h
Examining data/openfst-1.6.3/src/include/fst/extensions/mpdt/mpdtscript.h
Examining data/openfst-1.6.3/src/include/fst/extensions/mpdt/read_write_utils.h
Examining data/openfst-1.6.3/src/include/fst/extensions/mpdt/info.h
Examining data/openfst-1.6.3/src/include/fst/extensions/mpdt/reverse.h
Examining data/openfst-1.6.3/src/include/fst/extensions/mpdt/mpdt.h
Examining data/openfst-1.6.3/src/include/fst/extensions/mpdt/mpdtlib.h
Examining data/openfst-1.6.3/src/include/fst/extensions/mpdt/expand.h
Examining data/openfst-1.6.3/src/include/fst/extensions/linear/linear-fst.h
Examining data/openfst-1.6.3/src/include/fst/extensions/linear/linearscript.h
Examining data/openfst-1.6.3/src/include/fst/extensions/linear/trie.h
Examining data/openfst-1.6.3/src/include/fst/extensions/linear/linear-fst-data.h
Examining data/openfst-1.6.3/src/include/fst/extensions/linear/linear-fst-data-builder.h
Examining data/openfst-1.6.3/src/include/fst/extensions/linear/loglinear-apply.h
Examining data/openfst-1.6.3/src/include/fst/shortest-path.h
Examining data/openfst-1.6.3/src/include/fst/arcsort.h
Examining data/openfst-1.6.3/src/include/fst/tuple-weight.h
Examining data/openfst-1.6.3/src/include/fst/difference.h
Examining data/openfst-1.6.3/src/include/fst/mutable-fst.h
Examining data/openfst-1.6.3/src/include/fst/factor-weight.h
Examining data/openfst-1.6.3/src/include/fst/lexicographic-weight.h
Examining data/openfst-1.6.3/src/include/fst/bi-table.h
Examining data/openfst-1.6.3/src/include/fst/disambiguate.h
Examining data/openfst-1.6.3/src/include/fst/compose-filter.h
Examining data/openfst-1.6.3/src/include/fst/equal.h
Examining data/openfst-1.6.3/src/include/fst/topsort.h
Examining data/openfst-1.6.3/src/include/fst/string.h
Examining data/openfst-1.6.3/src/include/fst/compat.h
Examining data/openfst-1.6.3/src/include/fst/shortest-distance.h
Examining data/openfst-1.6.3/src/include/fst/isomorphic.h
Examining data/openfst-1.6.3/src/include/fst/fst.h
Examining data/openfst-1.6.3/src/include/fst/expectation-weight.h
Examining data/openfst-1.6.3/src/include/fst/rmepsilon.h
Examining data/openfst-1.6.3/src/include/fst/power-weight.h
Examining data/openfst-1.6.3/src/include/fst/test-properties.h
Examining data/openfst-1.6.3/src/include/fst/encode.h
Examining data/openfst-1.6.3/src/include/fst/concat.h
Examining data/openfst-1.6.3/src/include/fst/interval-set.h
Examining data/openfst-1.6.3/src/lib/weight.cc
Examining data/openfst-1.6.3/src/lib/util.cc
Examining data/openfst-1.6.3/src/lib/symbol-table.cc
Examining data/openfst-1.6.3/src/lib/flags.cc
Examining data/openfst-1.6.3/src/lib/fst.cc
Examining data/openfst-1.6.3/src/lib/compat.cc
Examining data/openfst-1.6.3/src/lib/symbol-table-ops.cc
Examining data/openfst-1.6.3/src/lib/mapped-file.cc
Examining data/openfst-1.6.3/src/lib/properties.cc
Examining data/openfst-1.6.3/src/script/synchronize.cc
Examining data/openfst-1.6.3/src/script/replace.cc
Examining data/openfst-1.6.3/src/script/isomorphic.cc
Examining data/openfst-1.6.3/src/script/print.cc
Examining data/openfst-1.6.3/src/script/decode.cc
Examining data/openfst-1.6.3/src/script/text-io.cc
Examining data/openfst-1.6.3/src/script/intersect.cc
Examining data/openfst-1.6.3/src/script/minimize.cc
Examining data/openfst-1.6.3/src/script/info.cc
Examining data/openfst-1.6.3/src/script/getters.cc
Examining data/openfst-1.6.3/src/script/equal.cc
Examining data/openfst-1.6.3/src/script/draw.cc
Examining data/openfst-1.6.3/src/script/compose.cc
Examining data/openfst-1.6.3/src/script/disambiguate.cc
Examining data/openfst-1.6.3/src/script/verify.cc
Examining data/openfst-1.6.3/src/script/shortest-distance.cc
Examining data/openfst-1.6.3/src/script/encode.cc
Examining data/openfst-1.6.3/src/script/union.cc
Examining data/openfst-1.6.3/src/script/closure.cc
Examining data/openfst-1.6.3/src/script/info-impl.cc
Examining data/openfst-1.6.3/src/script/push.cc
Examining data/openfst-1.6.3/src/script/project.cc
Examining data/openfst-1.6.3/src/script/prune.cc
Examining data/openfst-1.6.3/src/script/reweight.cc
Examining data/openfst-1.6.3/src/script/weight-class.cc
Examining data/openfst-1.6.3/src/script/fst-class.cc
Examining data/openfst-1.6.3/src/script/arcsort.cc
Examining data/openfst-1.6.3/src/script/randequivalent.cc
Examining data/openfst-1.6.3/src/script/rmepsilon.cc
Examining data/openfst-1.6.3/src/script/epsnormalize.cc
Examining data/openfst-1.6.3/src/script/topsort.cc
Examining data/openfst-1.6.3/src/script/concat.cc
Examining data/openfst-1.6.3/src/script/stateiterator-class.cc
Examining data/openfst-1.6.3/src/script/determinize.cc
Examining data/openfst-1.6.3/src/script/map.cc
Examining data/openfst-1.6.3/src/script/randgen.cc
Examining data/openfst-1.6.3/src/script/arciterator-class.cc
Examining data/openfst-1.6.3/src/script/relabel.cc
Examining data/openfst-1.6.3/src/script/connect.cc
Examining data/openfst-1.6.3/src/script/invert.cc
Examining data/openfst-1.6.3/src/script/compile.cc
Examining data/openfst-1.6.3/src/script/shortest-path.cc
Examining data/openfst-1.6.3/src/script/reverse.cc
Examining data/openfst-1.6.3/src/script/convert.cc
Examining data/openfst-1.6.3/src/script/difference.cc
Examining data/openfst-1.6.3/src/script/equivalent.cc
Examining data/openfst-1.6.3/src/script/encodemapper-class.cc
Examining data/openfst-1.6.3/src/extensions/far/farextract.cc
Examining data/openfst-1.6.3/src/extensions/far/far-class.cc
Examining data/openfst-1.6.3/src/extensions/far/farequal.cc
Examining data/openfst-1.6.3/src/extensions/far/getters.cc
Examining data/openfst-1.6.3/src/extensions/far/sttable.cc
Examining data/openfst-1.6.3/src/extensions/far/farprintstrings.cc
Examining data/openfst-1.6.3/src/extensions/far/farisomorphic.cc
Examining data/openfst-1.6.3/src/extensions/far/farcreate.cc
Examining data/openfst-1.6.3/src/extensions/far/strings.cc
Examining data/openfst-1.6.3/src/extensions/far/stlist.cc
Examining data/openfst-1.6.3/src/extensions/far/farscript.cc
Examining data/openfst-1.6.3/src/extensions/far/script-impl.cc
Examining data/openfst-1.6.3/src/extensions/far/farcompilestrings.cc
Examining data/openfst-1.6.3/src/extensions/far/farinfo.cc
Examining data/openfst-1.6.3/src/extensions/special/sigma-fst.cc
Examining data/openfst-1.6.3/src/extensions/special/rho-fst.cc
Examining data/openfst-1.6.3/src/extensions/special/phi-fst.cc
Examining data/openfst-1.6.3/src/extensions/lookahead/olabel_lookahead-fst.cc
Examining data/openfst-1.6.3/src/extensions/lookahead/arc_lookahead-fst.cc
Examining data/openfst-1.6.3/src/extensions/lookahead/ilabel_lookahead-fst.cc
Examining data/openfst-1.6.3/src/extensions/pdt/pdtexpand.cc
Examining data/openfst-1.6.3/src/extensions/pdt/getters.cc
Examining data/openfst-1.6.3/src/extensions/pdt/pdtscript.cc
Examining data/openfst-1.6.3/src/extensions/pdt/pdtshortestpath.cc
Examining data/openfst-1.6.3/src/extensions/pdt/pdtreverse.cc
Examining data/openfst-1.6.3/src/extensions/pdt/pdtinfo.cc
Examining data/openfst-1.6.3/src/extensions/pdt/pdtcompose.cc
Examining data/openfst-1.6.3/src/extensions/pdt/pdtreplace.cc
Examining data/openfst-1.6.3/src/extensions/ngram/nthbit.cc
Examining data/openfst-1.6.3/src/extensions/ngram/ngram-fst.cc
Examining data/openfst-1.6.3/src/extensions/ngram/bitmap-index.cc
Examining data/openfst-1.6.3/src/extensions/compress/fstcompress.cc
Examining data/openfst-1.6.3/src/extensions/compress/compress-script.cc
Examining data/openfst-1.6.3/src/extensions/compress/fstrandmod.cc
Examining data/openfst-1.6.3/src/extensions/mpdt/mpdtinfo.cc
Examining data/openfst-1.6.3/src/extensions/mpdt/mpdtcompose.cc
Examining data/openfst-1.6.3/src/extensions/mpdt/mpdtexpand.cc
Examining data/openfst-1.6.3/src/extensions/mpdt/mpdtreverse.cc
Examining data/openfst-1.6.3/src/extensions/mpdt/mpdtscript.cc
Examining data/openfst-1.6.3/src/extensions/python/pywrapfst.cc
Examining data/openfst-1.6.3/src/extensions/const/const8-fst.cc
Examining data/openfst-1.6.3/src/extensions/const/const16-fst.cc
Examining data/openfst-1.6.3/src/extensions/const/const64-fst.cc
Examining data/openfst-1.6.3/src/extensions/compact/compact8_acceptor-fst.cc
Examining data/openfst-1.6.3/src/extensions/compact/compact16_weighted_string-fst.cc
Examining data/openfst-1.6.3/src/extensions/compact/compact64_acceptor-fst.cc
Examining data/openfst-1.6.3/src/extensions/compact/compact64_unweighted-fst.cc
Examining data/openfst-1.6.3/src/extensions/compact/compact64_string-fst.cc
Examining data/openfst-1.6.3/src/extensions/compact/compact8_weighted_string-fst.cc
Examining data/openfst-1.6.3/src/extensions/compact/compact16_string-fst.cc
Examining data/openfst-1.6.3/src/extensions/compact/compact8_unweighted-fst.cc
Examining data/openfst-1.6.3/src/extensions/compact/compact64_weighted_string-fst.cc
Examining data/openfst-1.6.3/src/extensions/compact/compact8_unweighted_acceptor-fst.cc
Examining data/openfst-1.6.3/src/extensions/compact/compact16_unweighted_acceptor-fst.cc
Examining data/openfst-1.6.3/src/extensions/compact/compact16_unweighted-fst.cc
Examining data/openfst-1.6.3/src/extensions/compact/compact16_acceptor-fst.cc
Examining data/openfst-1.6.3/src/extensions/compact/compact8_string-fst.cc
Examining data/openfst-1.6.3/src/extensions/compact/compact64_unweighted_acceptor-fst.cc
Examining data/openfst-1.6.3/src/extensions/linear/linear-tagger-fst.cc
Examining data/openfst-1.6.3/src/extensions/linear/fstloglinearapply.cc
Examining data/openfst-1.6.3/src/extensions/linear/linearscript.cc
Examining data/openfst-1.6.3/src/extensions/linear/fstlinear.cc
Examining data/openfst-1.6.3/src/extensions/linear/linear-classifier-fst.cc
Examining data/openfst-1.6.3/src/test/fst_test.cc
Examining data/openfst-1.6.3/src/test/weight-tester.h
Examining data/openfst-1.6.3/src/test/weight_test.cc
Examining data/openfst-1.6.3/src/test/algo_test.cc
Examining data/openfst-1.6.3/src/test/algo_test.h
Examining data/openfst-1.6.3/src/test/rand-fst.h
Examining data/openfst-1.6.3/src/test/fst_test.h

FINAL RESULTS:

data/openfst-1.6.3/src/extensions/python/pywrapfst.cc:632:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(__PYX_DEFAULT_STRING_ENCODING, default_encoding_c);
data/openfst-1.6.3/src/include/fst/connect.h:108:60:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  SccVisitor(std::vector<StateId> *scc, std::vector<bool> *access,
data/openfst-1.6.3/src/include/fst/connect.h:110:28:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
      : scc_(scc), access_(access), coaccess_(coaccess), props_(props) {}
data/openfst-1.6.3/src/include/fst/connect.h:268:21:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  std::vector<bool> access;
data/openfst-1.6.3/src/include/fst/connect.h:271:41:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  SccVisitor<Arc> scc_visitor(nullptr, &access, &coaccess, &props);
data/openfst-1.6.3/src/include/fst/connect.h:274:27:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  for (StateId s = 0; s < access.size(); ++s) {
data/openfst-1.6.3/src/include/fst/connect.h:275:10:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if (!access[s] || !coaccess[s]) dstates.push_back(s);
data/openfst-1.6.3/src/include/fst/extensions/far/compile-strings.h:240:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(filename, in_fname.c_str());
data/openfst-1.6.3/src/include/fst/extensions/far/create.h:37:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(filename, in_fnames[i].c_str());
data/openfst-1.6.3/src/include/fst/extensions/far/extract.h:59:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(keys_cstr, keys.c_str());
data/openfst-1.6.3/src/include/fst/extensions/far/extract.h:65:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(key_cstr, key.c_str());
data/openfst-1.6.3/src/include/fst/rmfinalepsilon.h:24:21:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  std::vector<bool> access;
data/openfst-1.6.3/src/include/fst/rmfinalepsilon.h:27:41:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  SccVisitor<Arc> scc_visitor(nullptr, &access, &coaccess, &props);
data/openfst-1.6.3/src/include/fst/script/info-impl.h:136:25:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
      std::vector<bool> access, coaccess;
data/openfst-1.6.3/src/include/fst/script/info-impl.h:138:42:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
      SccVisitor<Arc> scc_visitor(&scc, &access, &coaccess, &props);
data/openfst-1.6.3/src/include/fst/script/info-impl.h:152:13:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
        if (access[s]) ++naccess_;
data/openfst-1.6.3/src/include/fst/script/info-impl.h:154:13:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
        if (access[s] && coaccess[s]) ++nconnect_;
data/openfst-1.6.3/src/bin/fstequivalent.cc:21:13:  [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.
DEFINE_bool(random, false,
data/openfst-1.6.3/src/extensions/compress/fstrandmod.cc:43: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(FLAGS_seed);
data/openfst-1.6.3/src/lib/flags.cc:18:37:  [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.
static const char *private_tmpdir = getenv("TMPDIR");
data/openfst-1.6.3/src/test/algo_test.cc:44: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(FLAGS_seed);
data/openfst-1.6.3/src/test/weight_test.cc:111: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(FLAGS_seed);
data/openfst-1.6.3/src/bin/fstcompile.cc:47:11:  [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).
    fstrm.open(argv[1]);
data/openfst-1.6.3/src/bin/fstdraw.cc:64:11:  [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).
    fstrm.open(argv[2]);
data/openfst-1.6.3/src/bin/fstprint.cc:56:11:  [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).
    fstrm.open(argv[2]);
data/openfst-1.6.3/src/extensions/python/pywrapfst.cc:585: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 ascii_chars[128];
data/openfst-1.6.3/src/extensions/python/pywrapfst.cc:55284: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 ctversion[4], rtversion[4];
data/openfst-1.6.3/src/extensions/python/pywrapfst.cc:55288: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 message[200];
data/openfst-1.6.3/src/include/fst/extensions/compress/gzfile.h:105: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 buf[bufsize_];
data/openfst-1.6.3/src/include/fst/extensions/far/compile-strings.h:197:13:  [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).
      fstrm.open(in_fname);
data/openfst-1.6.3/src/include/fst/extensions/mpdt/mpdt.h:151:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char s[128];
data/openfst-1.6.3/src/include/fst/extensions/mpdt/read_write_utils.h:31:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char line[kLineLen];
data/openfst-1.6.3/src/include/fst/extensions/ngram/ngram-fst.h:113: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(data, reinterpret_cast<char *>(&num_states), sizeof(num_states));
data/openfst-1.6.3/src/include/fst/extensions/ngram/ngram-fst.h:114: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(data + sizeof(num_states), reinterpret_cast<char *>(&num_futures),
data/openfst-1.6.3/src/include/fst/extensions/ngram/ngram-fst.h:116: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(data + sizeof(num_states) + sizeof(num_futures),
data/openfst-1.6.3/src/include/fst/extensions/ngram/ngram-fst.h:606: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(data + offset, reinterpret_cast<char *>(&num_states),
data/openfst-1.6.3/src/include/fst/extensions/ngram/ngram-fst.h:609: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(data + offset, reinterpret_cast<char *>(&num_futures),
data/openfst-1.6.3/src/include/fst/extensions/ngram/ngram-fst.h:612: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(data + offset, reinterpret_cast<char *>(&num_final),
data/openfst-1.6.3/src/include/fst/extensions/pdt/shortest-path.h:402:69:  [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).
  Arc GetPathArc(SearchState s, SearchState p, Label paren_id, bool open);
data/openfst-1.6.3/src/include/fst/memory.h:94: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 buf[sizeof(T)];
data/openfst-1.6.3/src/include/fst/script/compile-impl.h:72:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char line[kLineLen];
data/openfst-1.6.3/src/include/fst/util.h:278:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char line[kLineLen];
data/openfst-1.6.3/src/lib/mapped-file.cc:45:14:  [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).
    int fd = open(source.c_str(), O_RDONLY);
data/openfst-1.6.3/src/lib/symbol-table.cc:37:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char line[kLineLen];
data/openfst-1.6.3/src/lib/symbol-table.cc:267: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(cpy, x.symbols_[i], sz);
data/openfst-1.6.3/src/lib/symbol-table.cc:323: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(newstr, sym.c_str(), num);
data/openfst-1.6.3/src/script/text-io.cc:29:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char line[kLineLen];
data/openfst-1.6.3/src/script/text-io.cc:57:11:  [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).
    ostrm.open(filename);
data/openfst-1.6.3/src/extensions/python/pywrapfst.cc:516:87:  [1] (buffer) strlen:
  Does not handle 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 __Pyx_PyByteArray_FromString(s) PyByteArray_FromStringAndSize((const char*)s, strlen((const char*)s))
data/openfst-1.6.3/src/extensions/python/pywrapfst.cc:630:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    __PYX_DEFAULT_STRING_ENCODING = (char*) malloc(strlen(default_encoding_c));
data/openfst-1.6.3/src/extensions/python/pywrapfst.cc:55367:65:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return __Pyx_PyUnicode_FromStringAndSize(c_str, (Py_ssize_t)strlen(c_str));
data/openfst-1.6.3/src/include/fst/extensions/compress/compress.h:866:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      Decompress(*gzfile.read(), "stdin", fst);
data/openfst-1.6.3/src/include/fst/extensions/compress/compress.h:877:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      Decompress(*gzfile.read(), file_name, fst);
data/openfst-1.6.3/src/include/fst/extensions/compress/gzfile.h:50:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  int read(void *buf, unsigned int size) {
data/openfst-1.6.3/src/include/fst/extensions/compress/gzfile.h:104:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  unique_ptr<stringstream> read() {
data/openfst-1.6.3/src/include/fst/extensions/compress/gzfile.h:111:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ((bytes_read = gz_.read(buf, bufsize_)) == bufsize_)
data/openfst-1.6.3/src/include/fst/extensions/ngram/ngram-fst.h:106:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    strm.read(reinterpret_cast<char *>(&num_states), sizeof(num_states));
data/openfst-1.6.3/src/include/fst/extensions/ngram/ngram-fst.h:107:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    strm.read(reinterpret_cast<char *>(&num_futures), sizeof(num_futures));
data/openfst-1.6.3/src/include/fst/extensions/ngram/ngram-fst.h:108:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    strm.read(reinterpret_cast<char *>(&num_final), sizeof(num_final));
data/openfst-1.6.3/src/include/fst/extensions/ngram/ngram-fst.h:118:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    strm.read(data + offset, size - offset);
data/openfst-1.6.3/src/include/fst/extensions/special/phi-fst.h:38:63:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                                        const FstReadOptions &read) {
data/openfst-1.6.3/src/include/fst/extensions/special/rho-fst.h:32:59:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                                    const FstReadOptions &read) {
data/openfst-1.6.3/src/include/fst/extensions/special/sigma-fst.h:32:61:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                                      const FstReadOptions &read) {
data/openfst-1.6.3/src/include/fst/interval-set.h:148:17:  [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.
           std::equal(intervals_.begin(), intervals_.end(),
data/openfst-1.6.3/src/include/fst/interval-set.h:155:18:  [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.
           !std::equal(intervals_.begin(), intervals_.end(),
data/openfst-1.6.3/src/include/fst/script/compile-impl.h:156:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (p < s + strlen(s) || (!allow_negative && n < 0)) {
data/openfst-1.6.3/src/include/fst/signed-log-weight.h:107:9:  [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/openfst-1.6.3/src/include/fst/signed-log-weight.h:113:9:  [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/openfst-1.6.3/src/include/fst/signed-log-weight.h:121:9:  [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/openfst-1.6.3/src/include/fst/signed-log-weight.h:244:11:  [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/openfst-1.6.3/src/include/fst/signed-log-weight.h:252:11:  [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/openfst-1.6.3/src/include/fst/signed-log-weight.h:258:11:  [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/openfst-1.6.3/src/include/fst/string.h:48:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (p < str + strlen(str) || (!allow_negative && n < 0)) {
data/openfst-1.6.3/src/include/fst/symbol-table.h:75: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).
    return string(symbols_[idx], strlen(symbols_[idx]));
data/openfst-1.6.3/src/include/fst/util.h:52:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return strm.read(reinterpret_cast<char *>(t), sizeof(T)); \
data/openfst-1.6.3/src/include/fst/util.h:59:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  strm.read(reinterpret_cast<char *>(&ns), sizeof(ns));
data/openfst-1.6.3/src/include/fst/util.h:62:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    strm.read(&c, 1);
data/openfst-1.6.3/src/lib/mapped-file.cc:82:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (!istrm->read(buffer, next_size)) {
data/openfst-1.6.3/src/lib/symbol-table.cc:55:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (p < value + strlen(value) ||
data/openfst-1.6.3/src/lib/symbol-table.cc:265: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).
    const auto sz = strlen(x.symbols_[i]) + 1;
data/openfst-1.6.3/src/lib/util.cc:68:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    strm.read(&c, 1);

ANALYSIS SUMMARY:

Hits = 81
Lines analyzed = 126258 in approximately 3.08 seconds (40969 lines/second)
Physical Source Lines of Code (SLOC) = 88877
Hits@level = [0]   1 [1]  33 [2]  26 [3]   5 [4]  17 [5]   0
Hits@level+ = [0+]  82 [1+]  81 [2+]  48 [3+]  22 [4+]  17 [5+]   0
Hits/KSLOC@level+ = [0+] 0.922623 [1+] 0.911372 [2+] 0.540072 [3+] 0.247533 [4+] 0.191276 [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.