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/rcpp-1.0.5/src/rcpp_init.cpp
Examining data/rcpp-1.0.5/src/module.cpp
Examining data/rcpp-1.0.5/src/date.cpp
Examining data/rcpp-1.0.5/src/barrier.cpp
Examining data/rcpp-1.0.5/src/api.cpp
Examining data/rcpp-1.0.5/src/attributes.cpp
Examining data/rcpp-1.0.5/src/internal.h
Examining data/rcpp-1.0.5/inst/examples/ConvolveBenchmarks/convolve9_cpp.cpp
Examining data/rcpp-1.0.5/inst/examples/ConvolveBenchmarks/convolve5_cpp.cpp
Examining data/rcpp-1.0.5/inst/examples/ConvolveBenchmarks/overhead_2.c
Examining data/rcpp-1.0.5/inst/examples/ConvolveBenchmarks/convolve14_cpp.cpp
Examining data/rcpp-1.0.5/inst/examples/ConvolveBenchmarks/convolve10_cpp.cpp
Examining data/rcpp-1.0.5/inst/examples/ConvolveBenchmarks/convolve13_cpp.cpp
Examining data/rcpp-1.0.5/inst/examples/ConvolveBenchmarks/convolve2_c.c
Examining data/rcpp-1.0.5/inst/examples/ConvolveBenchmarks/convolve11_cpp.cpp
Examining data/rcpp-1.0.5/inst/examples/ConvolveBenchmarks/convolve7_c.c
Examining data/rcpp-1.0.5/inst/examples/ConvolveBenchmarks/convolve3_cpp.cpp
Examining data/rcpp-1.0.5/inst/examples/ConvolveBenchmarks/convolve4_cpp.cpp
Examining data/rcpp-1.0.5/inst/examples/ConvolveBenchmarks/convolve12_cpp.cpp
Examining data/rcpp-1.0.5/inst/examples/ConvolveBenchmarks/loopmacro.h
Examining data/rcpp-1.0.5/inst/examples/ConvolveBenchmarks/overhead_1.cpp
Examining data/rcpp-1.0.5/inst/examples/ConvolveBenchmarks/convolve8_cpp.cpp
Examining data/rcpp-1.0.5/inst/examples/ConvolveBenchmarks/convolve10_cpp.h
Examining data/rcpp-1.0.5/inst/examples/Attributes/Export.cpp
Examining data/rcpp-1.0.5/inst/examples/Attributes/Depends.cpp
Examining data/rcpp-1.0.5/inst/examples/Misc/piSugar.cpp
Examining data/rcpp-1.0.5/inst/examples/SugarPerformance/Timertest.cpp
Examining data/rcpp-1.0.5/inst/examples/SugarPerformance/Timer.h
Examining data/rcpp-1.0.5/inst/examples/OpenMP/piWithInterrupts.cpp
Examining data/rcpp-1.0.5/inst/include/doxygen/Examples.h
Examining data/rcpp-1.0.5/inst/include/RcppCommon.h
Examining data/rcpp-1.0.5/inst/include/Rcpp.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/Pairlist.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/config.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/Extractor.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/module/class_Base.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/module/Module_generated_class_factory.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/module/Module_generated_class_signature.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/module/Module_generated_method.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/module/Module_generated_class_constructor.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/module/Module_generated_get_signature.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/module/CppFunction.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/module/Module_Property.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/module/Module_generated_CppFunction.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/module/Module_generated_Constructor.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/module/Module.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/module/class.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/module/Module_generated_Pointer_CppMethod.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/module/Module_generated_function.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/module/Module_generated_CppMethod.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/module/Module_generated_Pointer_method.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/module/Module_generated_Factory.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/module/get_return_type.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/module/Module_Field.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/module/Module_generated_ctor_signature.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/module/Module_Add_Property.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/storage/NoProtectStorage.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/storage/PreserveStorage.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/storage/storage.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/exceptions_impl.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/vector/LazyVector.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/vector/ChildVector.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/vector/converter.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/vector/RangeIndexer.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/vector/Matrix.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/vector/const_generic_proxy.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/vector/proxy.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/vector/VectorBase.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/vector/const_string_proxy.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/vector/00_forward_proxy.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/vector/swap.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/vector/instantiation.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/vector/no_init.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/vector/DimNameProxy.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/vector/traits.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/vector/MatrixBase.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/vector/SubMatrix.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/vector/Vector.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/vector/MatrixRow.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/vector/vector_from_string.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/vector/generic_proxy.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/vector/Subsetter.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/vector/MatrixColumn.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/vector/string_proxy.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/vector/00_forward_Vector.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/vector/ListOf.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/longlong.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/complex.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/routines.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/as.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/logical/logical.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/logical/and.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/logical/not.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/logical/SingleLogicalResult.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/logical/is.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/logical/can_have_na.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/logical/or.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/block/SugarBlock_3.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/block/block.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/block/SugarMath.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/block/SugarBlock_1.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/block/SugarBlock_2.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/block/Vectorized_Math.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/tools/iterator.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/sets.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/operators/times.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/operators/logical_operators__Vector__primitive.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/operators/not.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/operators/Comparator.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/operators/divides.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/operators/Comparator_With_One_Value.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/operators/logical_operators__Vector__Vector.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/operators/r_binary_op.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/operators/operators.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/operators/unary_minus.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/operators/plus.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/operators/minus.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/sugar.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/Range.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/nona/nona.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/sugar_forward.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/matrix/diag.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/matrix/upper_tri.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/matrix/as_vector.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/matrix/col.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/matrix/tools.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/matrix/matrix_functions.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/matrix/row.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/matrix/lower_tri.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/matrix/outer.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/rep.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/self_match.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/duplicated.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/head.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/sample.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/pow.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/ifelse.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/complex.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/range.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/pmin.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/clamp.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/max.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/any.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/mapply/mapply_2.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/mapply/mapply_3.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/lapply.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/seq_along.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/mean.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/cumsum.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/match.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/unique.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/sd.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/mapply.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/rep_each.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/sign.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/tail.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/min.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/which_max.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/table.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/cbind.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/cumprod.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/math.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/var.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/is_infinite.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/setdiff.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/is_nan.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/sapply.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/which_min.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/cummin.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/Lazy.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/pmax.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/diff.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/sum.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/is_finite.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/rev.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/strings/trimws.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/strings/collapse.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/strings/strings.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/rep_len.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/cummax.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/is_na.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/functions.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/all.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/median.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/na_omit.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/rowSums.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sugar/undoRmath.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/DottedPairImpl.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/exceptions/cpp11/exceptions.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/exceptions/cpp98/exceptions.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/S4.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/iostream/Rstreambuf.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/DottedPair.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/internal/converter.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/internal/r_vector.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/internal/na.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/internal/Proxy_Iterator.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/internal/Exporter.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/internal/wrap.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/internal/SEXP_Iterator.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/internal/ListInitialization.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/internal/GreedyVector.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/internal/NAComparator.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/internal/export.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/internal/NAEquals.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/internal/r_coerce.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/internal/caster.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/internal/wrap_end.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/Benchmark/Timer.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/Interrupt.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/Promise.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/Rmath.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/Nullable.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/clone.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/InternalFunction.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/Fast.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/InputParameter.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/is.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/InternalFunctionWithStdFunction.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/algorithm.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/nbinom_mu.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/stats.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/norm.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/exp.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/beta.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/nt.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/pois.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/logis.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/f.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/nchisq.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/gamma.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/t.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/dpq/macros.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/dpq/dpq.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/cauchy.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/nf.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/lnorm.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/binom.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/hyper.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/weibull.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/nbeta.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/geom.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/chisq.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/unif.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/random/rpois.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/random/rlnorm.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/random/rbeta.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/random/rexp.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/random/rcauchy.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/random/rbinom.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/random/rnchisq.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/random/rwilcox.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/random/runif.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/random/rhyper.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/random/rsignrank.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/random/rchisq.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/random/rlogis.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/random/rt.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/random/rnbinom.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/random/rnbinom_mu.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/random/rgamma.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/random/rweibull.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/random/rf.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/random/random.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/random/rnorm.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/random/rgeom.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/stats/nbinom.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/barrier.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/date_datetime/oldDatetimeVector.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/date_datetime/Date.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/date_datetime/Datetime.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/date_datetime/date_datetime.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/date_datetime/newDateVector.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/date_datetime/newDatetimeVector.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/date_datetime/oldDateVector.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/grow.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/Dimension.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/macros/cat.hpp
Examining data/rcpp-1.0.5/inst/include/Rcpp/macros/unroll.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/macros/interface.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/macros/xp.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/macros/traits.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/macros/debug.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/macros/config.hpp
Examining data/rcpp-1.0.5/inst/include/Rcpp/macros/dispatch.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/macros/macros.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/macros/module.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/sprintf.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/Module.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/XPtr.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/Na_Proxy.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/RNGScope.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/Formula.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/proxy/NamesProxy.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/proxy/proxy.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/proxy/DottedPairProxy.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/proxy/GenericProxy.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/proxy/Binding.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/proxy/TagProxy.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/proxy/ProtectedProxy.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/proxy/FieldProxy.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/proxy/AttributeProxy.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/proxy/RObjectMethods.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/proxy/SlotProxy.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/print.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/Function.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/traits/is_sugar_expression.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/traits/is_eigen_base.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/traits/is_bool.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/traits/is_pointer.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/traits/longlong.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/traits/integral_constant.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/traits/if_.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/traits/same_type.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/traits/storage_type.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/traits/is_trivial.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/traits/un_pointer.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/traits/is_arithmetic.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/traits/has_na.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/traits/is_module_object.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/traits/expands_to_logical.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/traits/init_type.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/traits/get_na.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/traits/wrap_type_traits.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/traits/enable_if.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/traits/traits.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/traits/is_reference.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/traits/matrix_interface.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/traits/num2type.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/traits/remove_const.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/traits/is_const.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/traits/r_sexptype_traits.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/traits/is_infinite.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/traits/is_nan.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/traits/char_type.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/traits/is_convertible.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/traits/result_of.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/traits/has_iterator.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/traits/is_finite.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/traits/r_type_traits.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/traits/module_wrap_traits.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/traits/named_object.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/traits/is_primitive.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/traits/is_na.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/traits/one_type.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/traits/remove_reference.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/traits/remove_const_and_reference.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/traits/is_wide_string.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/Vector.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/Environment.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/RObject.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/utils/tinyformat/tinyformat.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/utils/tinyformat.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/WeakReference.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/unwindProtect.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/lang.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/exceptions.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/DataFrame.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/StretchyList.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/r/headers.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/algo.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/protection/protection.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/protection/Shelter.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/protection/Shield.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/protection/Armor.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/Named.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/Symbol.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/Language.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/StringTransformer.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/hash/IndexHash.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/hash/hash.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/hash/SelfHash.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/api/meat/meat.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/api/meat/module/Module.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/api/meat/proxy.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/api/meat/as.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/api/meat/DottedPairImpl.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/api/meat/Date.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/api/meat/S4.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/api/meat/wrap.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/api/meat/is.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/api/meat/Dimension.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/api/meat/Datetime.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/api/meat/export.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/api/meat/Vector.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/api/meat/Environment.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/api/meat/Rcpp_eval.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/api/meat/DataFrame.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/api/meat/protection.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/api/meat/StretchyList.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/api/bones/Date.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/api/bones/bones.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/api/bones/Datetime.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/api/bones/wrap_extra_steps.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/r_cast.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/platform/compiler.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/platform/solaris.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/String.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/generated/InternalFunctionWithStdFunction_call.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/generated/InternalFunction__ctors.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/generated/DottedPair__ctors.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/generated/Language__ctors.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/generated/Vector__create.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/generated/Function__operator.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/generated/Pairlist__ctors.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/generated/DataFrame_generated.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/generated/grow__pairlist.h
Examining data/rcpp-1.0.5/inst/include/Rcpp/Reference.h
Examining data/rcpp-1.0.5/inst/tinytest/testRcppPackage/src/rcpp_hello_world.h
Examining data/rcpp-1.0.5/inst/tinytest/testRcppPackage/src/rcpp_hello_world.cpp
Examining data/rcpp-1.0.5/inst/tinytest/testRcppModule/src/rcpp_hello_world.h
Examining data/rcpp-1.0.5/inst/tinytest/testRcppModule/src/rcpp_module.cpp
Examining data/rcpp-1.0.5/inst/tinytest/testRcppModule/src/init.c
Examining data/rcpp-1.0.5/inst/tinytest/testRcppModule/src/Num.cpp
Examining data/rcpp-1.0.5/inst/tinytest/testRcppModule/src/rcpp_hello_world.cpp
Examining data/rcpp-1.0.5/inst/tinytest/testRcppModule/src/stdVector.cpp
Examining data/rcpp-1.0.5/inst/tinytest/cpp/dispatch.cpp
Examining data/rcpp-1.0.5/inst/tinytest/cpp/ListOf.cpp
Examining data/rcpp-1.0.5/inst/tinytest/cpp/stats.cpp
Examining data/rcpp-1.0.5/inst/tinytest/cpp/Subset.cpp
Examining data/rcpp-1.0.5/inst/tinytest/cpp/S4.cpp
Examining data/rcpp-1.0.5/inst/tinytest/cpp/na.cpp
Examining data/rcpp-1.0.5/inst/tinytest/cpp/language.cpp
Examining data/rcpp-1.0.5/inst/tinytest/cpp/embeddedR.cpp
Examining data/rcpp-1.0.5/inst/tinytest/cpp/support.cpp
Examining data/rcpp-1.0.5/inst/tinytest/cpp/InternalFunction.cpp
Examining data/rcpp-1.0.5/inst/tinytest/cpp/Reference.cpp
Examining data/rcpp-1.0.5/inst/tinytest/cpp/Exceptions_nocall.cpp
Examining data/rcpp-1.0.5/inst/tinytest/cpp/misc.cpp
Examining data/rcpp-1.0.5/inst/tinytest/cpp/dates.cpp
Examining data/rcpp-1.0.5/inst/tinytest/cpp/exceptions.cpp
Examining data/rcpp-1.0.5/inst/tinytest/cpp/stack.cpp
Examining data/rcpp-1.0.5/inst/tinytest/cpp/modref.cpp
Examining data/rcpp-1.0.5/inst/tinytest/cpp/Vector.cpp
Examining data/rcpp-1.0.5/inst/tinytest/cpp/VectorOld.cpp
Examining data/rcpp-1.0.5/inst/tinytest/cpp/algorithm.cpp
Examining data/rcpp-1.0.5/inst/tinytest/cpp/table.cpp
Examining data/rcpp-1.0.5/inst/tinytest/cpp/sugar.cpp
Examining data/rcpp-1.0.5/inst/tinytest/cpp/wstring.cpp
Examining data/rcpp-1.0.5/inst/tinytest/cpp/embeddedR2.cpp
Examining data/rcpp-1.0.5/inst/tinytest/cpp/Function.cpp
Examining data/rcpp-1.0.5/inst/tinytest/cpp/rmath.cpp
Examining data/rcpp-1.0.5/inst/tinytest/cpp/Module.cpp
Examining data/rcpp-1.0.5/inst/tinytest/cpp/rcppversion.cpp
Examining data/rcpp-1.0.5/inst/tinytest/cpp/as.cpp
Examining data/rcpp-1.0.5/inst/tinytest/cpp/InternalFunctionCPP11.cpp
Examining data/rcpp-1.0.5/inst/tinytest/cpp/Environment.cpp
Examining data/rcpp-1.0.5/inst/tinytest/cpp/RObject.cpp
Examining data/rcpp-1.0.5/inst/tinytest/cpp/attributes.hpp
Examining data/rcpp-1.0.5/inst/tinytest/cpp/Matrix.cpp
Examining data/rcpp-1.0.5/inst/tinytest/cpp/String.cpp
Examining data/rcpp-1.0.5/inst/tinytest/cpp/wrap.cpp
Examining data/rcpp-1.0.5/inst/tinytest/cpp/DataFrame.cpp
Examining data/rcpp-1.0.5/inst/tinytest/cpp/attributes.cpp
Examining data/rcpp-1.0.5/inst/tinytest/cpp/XPtr.cpp
Examining data/rcpp-1.0.5/inst/tinytest/testRcppInterfaceUser/src/config.h
Examining data/rcpp-1.0.5/inst/tinytest/testRcppInterfaceUser/src/unwound.h
Examining data/rcpp-1.0.5/inst/tinytest/testRcppInterfaceUser/src/user.cpp
Examining data/rcpp-1.0.5/inst/tinytest/testRcppInterfaceExporter/src/config.h
Examining data/rcpp-1.0.5/inst/tinytest/testRcppInterfaceExporter/src/unwound.h
Examining data/rcpp-1.0.5/inst/tinytest/testRcppInterfaceExporter/src/RcppExports.cpp
Examining data/rcpp-1.0.5/inst/tinytest/testRcppInterfaceExporter/src/exporter.cpp
Examining data/rcpp-1.0.5/inst/tinytest/testRcppInterfaceExporter/inst/include/testRcppInterfaceExporter_RcppExports.h
Examining data/rcpp-1.0.5/inst/tinytest/testRcppInterfaceExporter/inst/include/testRcppInterfaceExporter.h
Examining data/rcpp-1.0.5/inst/tinytest/testRcppClass/src/rcpp_hello_world.h
Examining data/rcpp-1.0.5/inst/tinytest/testRcppClass/src/rcpp_module.cpp
Examining data/rcpp-1.0.5/inst/tinytest/testRcppClass/src/init.c
Examining data/rcpp-1.0.5/inst/tinytest/testRcppClass/src/Num.cpp
Examining data/rcpp-1.0.5/inst/tinytest/testRcppClass/src/rcpp_hello_world.cpp
Examining data/rcpp-1.0.5/inst/tinytest/testRcppClass/src/stdVector.cpp
Examining data/rcpp-1.0.5/inst/skeleton/rcpp_hello_world.h
Examining data/rcpp-1.0.5/inst/skeleton/rcpp_module.cpp
Examining data/rcpp-1.0.5/inst/skeleton/Num.cpp
Examining data/rcpp-1.0.5/inst/skeleton/rcpp_hello_world.cpp
Examining data/rcpp-1.0.5/inst/skeleton/rcpp_hello_world_attributes.cpp
Examining data/rcpp-1.0.5/inst/skeleton/stdVector.cpp

FINAL RESULTS:

data/rcpp-1.0.5/inst/include/Rcpp/sprintf.h:28:13:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
std::string sprintf( const char *format, ...) {
data/rcpp-1.0.5/inst/include/Rcpp/sprintf.h:32:5:  [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.
    vsnprintf(buffer, MAX_SIZE, format, ap);
data/rcpp-1.0.5/inst/include/Rcpp/utils/tinyformat/tinyformat.h:981:6:  [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.
void printf(const char* fmt, const Args&... args)
data/rcpp-1.0.5/inst/include/Rcpp/utils/tinyformat/tinyformat.h:1008:13:  [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.
inline void printf(const char* fmt)
data/rcpp-1.0.5/inst/include/Rcpp/utils/tinyformat/tinyformat.h:1036:6:  [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.
void printf(const char* fmt, TINYFORMAT_VARARGS(n))                       \
data/rcpp-1.0.5/src/date.cpp:680:10:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		(void) strcpy(fullname, p);
data/rcpp-1.0.5/src/date.cpp:682:10:  [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).
		(void) strcat(fullname, name);
data/rcpp-1.0.5/src/date.cpp:670:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		p = getenv("TZDIR");
data/rcpp-1.0.5/src/date.cpp:673:9:  [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.
			     getenv("R_HOME"));
data/rcpp-1.0.5/inst/include/Rcpp/algorithm.h:37:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    typedef struct {char a[1];} CTYPE_CHAR;
data/rcpp-1.0.5/inst/include/Rcpp/algorithm.h:38:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    typedef struct {char a[2];} CTYPE_SHORT;
data/rcpp-1.0.5/inst/include/Rcpp/algorithm.h:39:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    typedef struct {char a[3];} CTYPE_INT;
data/rcpp-1.0.5/inst/include/Rcpp/algorithm.h:40:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    typedef struct {char a[4];} CTYPE_LONG;
data/rcpp-1.0.5/inst/include/Rcpp/algorithm.h:42:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    typedef struct {char a[5];} CTYPE_LONG_LONG;
data/rcpp-1.0.5/inst/include/Rcpp/algorithm.h:44:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    typedef struct {char a[6];} CTYPE_FLOAT;
data/rcpp-1.0.5/inst/include/Rcpp/algorithm.h:45:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    typedef struct {char a[7];} CTYPE_DOUBLE;
data/rcpp-1.0.5/inst/include/Rcpp/algorithm.h:46:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    typedef struct {char a[8];} CTYPE_LONG_DOUBLE;
data/rcpp-1.0.5/inst/include/Rcpp/algorithm.h:47:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    typedef struct {char a[9];} CTYPE_STRING;
data/rcpp-1.0.5/inst/include/Rcpp/algorithm.h:48:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    typedef struct {char a[10];} CTYPE_UNSIGNED_CHAR;
data/rcpp-1.0.5/inst/include/Rcpp/algorithm.h:49:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    typedef struct {char a[11];} CTYPE_UNSIGNED_SHORT;
data/rcpp-1.0.5/inst/include/Rcpp/algorithm.h:50:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    typedef struct {char a[12];} CTYPE_UNSIGNED_INT;
data/rcpp-1.0.5/inst/include/Rcpp/algorithm.h:51:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    typedef struct {char a[13];} CTYPE_UNSIGNED_LONG;
data/rcpp-1.0.5/inst/include/Rcpp/algorithm.h:53:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    typedef struct {char a[14];} CTYPE_UNSIGNED_LONG_LONG;
data/rcpp-1.0.5/inst/include/Rcpp/algorithm.h:55:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    typedef struct {char a[128];} CTYPE_UNKNOWN;
data/rcpp-1.0.5/inst/include/Rcpp/date_datetime/Date.h:108:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char txt[32];
data/rcpp-1.0.5/inst/include/Rcpp/date_datetime/Datetime.h:76:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char txtiso[64], txtsec[64];
data/rcpp-1.0.5/inst/include/Rcpp/internal/r_coerce.h:216:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char tmp1[128], tmp2[128], tmp3[256];
data/rcpp-1.0.5/inst/include/Rcpp/internal/r_coerce.h:240:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char tmp[128];
data/rcpp-1.0.5/inst/include/Rcpp/internal/r_coerce.h:248:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char buffer[NB] ;
data/rcpp-1.0.5/inst/include/Rcpp/internal/r_coerce.h:254:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char buff[3];
data/rcpp-1.0.5/inst/include/Rcpp/internal/r_coerce.h:255: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(buff, "%02x", from);
data/rcpp-1.0.5/inst/include/Rcpp/internal/wrap.h:49:13:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            wchar_t x[2]; x[0] = data; x[1] = '\0';
data/rcpp-1.0.5/inst/include/Rcpp/internal/wrap.h:61:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char x[2]; x[0] = data; x[1] = '\0';
data/rcpp-1.0.5/inst/include/Rcpp/sprintf.h:29:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buffer[MAX_SIZE];
data/rcpp-1.0.5/inst/include/Rcpp/sugar/functions/cbind.h:377: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 array[2];
data/rcpp-1.0.5/inst/include/Rcpp/traits/has_iterator.h:36:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    typedef struct { char __arr[2]; } __two;
data/rcpp-1.0.5/inst/include/Rcpp/traits/is_convertible.h:32:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		typedef struct { char dummy[2] ; } Big ;
data/rcpp-1.0.5/inst/include/Rcpp/utils/tinyformat/tinyformat.h:180:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        struct fail { char dummy[2]; };
data/rcpp-1.0.5/src/api.cpp:69:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            static char buffer[MAXELTSIZE];
data/rcpp-1.0.5/src/api.cpp:147: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 buffer[20];
data/rcpp-1.0.5/src/date.cpp:206:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char	tzh_magic[4];		/* TZ_MAGIC */
data/rcpp-1.0.5/src/date.cpp:207:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char	tzh_version[1];		/* '\0' or '2' as of 2005 */
data/rcpp-1.0.5/src/date.cpp:208:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char	tzh_reserved[15];	/* reserved--must be zero */
data/rcpp-1.0.5/src/date.cpp:209:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char	tzh_ttisgmtcnt[4];	/* coded number of trans. time flags */
data/rcpp-1.0.5/src/date.cpp:210:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char	tzh_ttisstdcnt[4];	/* coded number of trans. time flags */
data/rcpp-1.0.5/src/date.cpp:211:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char	tzh_leapcnt[4];		/* coded number of leap seconds */
data/rcpp-1.0.5/src/date.cpp:212:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char	tzh_timecnt[4];		/* coded number of transition times */
data/rcpp-1.0.5/src/date.cpp:213:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char	tzh_typecnt[4];		/* coded number of local time types */
data/rcpp-1.0.5/src/date.cpp:214:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char	tzh_charcnt[4];		/* coded number of abbr. chars */
data/rcpp-1.0.5/src/date.cpp:401:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char	types[TZ_MAX_TIMES];
data/rcpp-1.0.5/src/date.cpp:403:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char		chars[BIGGEST(BIGGEST(TZ_MAX_CHARS + 1, sizeof gmt),
data/rcpp-1.0.5/src/date.cpp:640:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    char  buf[2 * sizeof(struct tzhead) +
data/rcpp-1.0.5/src/date.cpp:662:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    char fullname[FILENAME_MAX + 1];
data/rcpp-1.0.5/src/date.cpp:669:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[1000];
data/rcpp-1.0.5/src/date.cpp:696:17:  [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 ((fid = open(name, OPEN_MODE)) == -1) {
data/rcpp-1.0.5/inst/include/Rcpp/String.h:192:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            std::wstring tmp(buf, buf + strlen(buf));
data/rcpp-1.0.5/inst/include/Rcpp/String.h:248:67:  [1] (buffer) strlen:
  Does not handle 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 (index != std::string::npos) buffer.replace(index, strlen(s), news);
data/rcpp-1.0.5/inst/include/Rcpp/String.h:274:67:  [1] (buffer) strlen:
  Does not handle 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 (index != std::string::npos) buffer.replace(index, strlen(s), news);
data/rcpp-1.0.5/inst/include/Rcpp/String.h:305:71:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                if (index != std::string::npos) buffer.replace(index, strlen(s), news);
data/rcpp-1.0.5/inst/include/Rcpp/String.h:396: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).
            return std::wstring(s, s + strlen(s));
data/rcpp-1.0.5/inst/include/Rcpp/as.h:63:38:  [1] (buffer) strlen:
  Does not handle 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 std::wstring(y, y+strlen(y));
data/rcpp-1.0.5/inst/include/Rcpp/internal/export.h:33: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).
			return std::wstring(y, y+strlen(y) ) ;
data/rcpp-1.0.5/inst/include/Rcpp/sugar/operators/logical_operators__Vector__Vector.h:114:15:  [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.
	Rcpp::sugar::equal<RTYPE>,
data/rcpp-1.0.5/inst/include/Rcpp/sugar/operators/logical_operators__Vector__Vector.h:124:16:  [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.
		Rcpp::sugar::equal<RTYPE>,
data/rcpp-1.0.5/inst/include/Rcpp/sugar/operators/logical_operators__Vector__primitive.h:207:15:  [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.
	Rcpp::sugar::equal<RTYPE>,
data/rcpp-1.0.5/inst/include/Rcpp/sugar/operators/logical_operators__Vector__primitive.h:217:16:  [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.
		Rcpp::sugar::equal<RTYPE>,
data/rcpp-1.0.5/inst/include/Rcpp/sugar/operators/logical_operators__Vector__primitive.h:227:15:  [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.
	Rcpp::sugar::equal<RTYPE>,
data/rcpp-1.0.5/inst/include/Rcpp/sugar/operators/logical_operators__Vector__primitive.h:237:16:  [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.
		Rcpp::sugar::equal<RTYPE>,
data/rcpp-1.0.5/inst/include/Rcpp/sugar/operators/r_binary_op.h:42: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.
RCPP_OP(equal,==)
data/rcpp-1.0.5/inst/include/Rcpp/vector/const_string_proxy.h:96:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		inline R_xlen_t size() const { return strlen( begin() ) ; }
data/rcpp-1.0.5/inst/include/Rcpp/vector/proxy.h:116: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).
		inline R_xlen_t size(){ return strlen( get() ) ; }
data/rcpp-1.0.5/inst/include/Rcpp/vector/string_proxy.h:169:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		inline R_xlen_t size() const { return strlen( begin() ) ; }
data/rcpp-1.0.5/inst/tinytest/cpp/Vector.cpp:878: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.
    return std::equal(x.begin(), x.end(), y.begin());
data/rcpp-1.0.5/inst/tinytest/cpp/Vector.cpp:887: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.
    return std::equal(x.begin(), x.end(), y.begin());
data/rcpp-1.0.5/src/date.cpp:678:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if ((strlen(p) + strlen(name) + 1) >= sizeof fullname)
data/rcpp-1.0.5/src/date.cpp:678:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if ((strlen(p) + strlen(name) + 1) >= sizeof fullname)
data/rcpp-1.0.5/src/date.cpp:681:10:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
		(void) strcat(fullname, "/");
data/rcpp-1.0.5/src/date.cpp:704:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	nread = read(fid, u.buf, sizeof u.buf);
data/rcpp-1.0.5/src/date.cpp:980: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).
            stdlen = strlen(name);	/* length of standard zone name */
data/rcpp-1.0.5/src/date.cpp:1192:16:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        (void) strncpy(cp, stdname, stdlen);
data/rcpp-1.0.5/src/date.cpp:1196:20:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            (void) strncpy(cp, dstname, dstlen);

ANALYSIS SUMMARY:

Hits = 81
Lines analyzed = 111055 in approximately 4.87 seconds (22795 lines/second)
Physical Source Lines of Code (SLOC) = 84118
Hits@level = [0]   8 [1]  26 [2]  46 [3]   2 [4]   7 [5]   0
Hits@level+ = [0+]  89 [1+]  81 [2+]  55 [3+]   9 [4+]   7 [5+]   0
Hits/KSLOC@level+ = [0+] 1.05804 [1+] 0.962933 [2+] 0.653843 [3+] 0.106993 [4+] 0.0832164 [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.