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/sundials-3.1.2+dfsg/include/sundials/sundials_types.h Examining data/sundials-3.1.2+dfsg/include/sundials/sundials_mpi_types.h Examining data/sundials-3.1.2+dfsg/include/sundials/sundials_matrix.h Examining data/sundials-3.1.2+dfsg/include/sundials/sundials_linearsolver.h Examining data/sundials-3.1.2+dfsg/include/sundials/sundials_math.h Examining data/sundials-3.1.2+dfsg/include/sundials/sundials_nvector.h Examining data/sundials-3.1.2+dfsg/include/sundials/sundials_fnvector.h Examining data/sundials-3.1.2+dfsg/include/sundials/sundials_dense.h Examining data/sundials-3.1.2+dfsg/include/sundials/sundials_direct.h Examining data/sundials-3.1.2+dfsg/include/sundials/sundials_sparse.h Examining data/sundials-3.1.2+dfsg/include/sundials/sundials_band.h Examining data/sundials-3.1.2+dfsg/include/sundials/sundials_lapack.h Examining data/sundials-3.1.2+dfsg/include/sundials/sundials_spgmr.h Examining data/sundials-3.1.2+dfsg/include/sundials/sundials_spfgmr.h Examining data/sundials-3.1.2+dfsg/include/sundials/sundials_spbcgs.h Examining data/sundials-3.1.2+dfsg/include/sundials/sundials_sptfqmr.h Examining data/sundials-3.1.2+dfsg/include/sundials/sundials_pcg.h Examining data/sundials-3.1.2+dfsg/include/sundials/sundials_iterative.h Examining data/sundials-3.1.2+dfsg/include/sundials/sundials_klu_impl.h Examining data/sundials-3.1.2+dfsg/include/sundials/sundials_superlumt_impl.h Examining data/sundials-3.1.2+dfsg/include/sundials/sundials_version.h Examining data/sundials-3.1.2+dfsg/include/nvector/nvector_serial.h Examining data/sundials-3.1.2+dfsg/include/nvector/nvector_parallel.h Examining data/sundials-3.1.2+dfsg/include/nvector/nvector_parhyp.h Examining data/sundials-3.1.2+dfsg/include/nvector/nvector_petsc.h Examining data/sundials-3.1.2+dfsg/include/nvector/nvector_pthreads.h Examining data/sundials-3.1.2+dfsg/include/nvector/nvector_openmp.h Examining data/sundials-3.1.2+dfsg/include/nvector/nvector_cuda.h Examining data/sundials-3.1.2+dfsg/include/nvector/nvector_raja.h Examining data/sundials-3.1.2+dfsg/include/nvector/cuda/ThreadPartitioning.hpp Examining data/sundials-3.1.2+dfsg/include/nvector/cuda/Vector.hpp Examining data/sundials-3.1.2+dfsg/include/nvector/raja/Vector.hpp Examining data/sundials-3.1.2+dfsg/include/sunmatrix/sunmatrix_band.h Examining data/sundials-3.1.2+dfsg/include/sunmatrix/sunmatrix_dense.h Examining data/sundials-3.1.2+dfsg/include/sunmatrix/sunmatrix_sparse.h Examining data/sundials-3.1.2+dfsg/include/sunlinsol/sunlinsol_band.h Examining data/sundials-3.1.2+dfsg/include/sunlinsol/sunlinsol_dense.h Examining data/sundials-3.1.2+dfsg/include/sunlinsol/sunlinsol_klu.h Examining data/sundials-3.1.2+dfsg/include/sunlinsol/sunlinsol_lapackband.h Examining data/sundials-3.1.2+dfsg/include/sunlinsol/sunlinsol_lapackdense.h Examining data/sundials-3.1.2+dfsg/include/sunlinsol/sunlinsol_pcg.h Examining data/sundials-3.1.2+dfsg/include/sunlinsol/sunlinsol_spbcgs.h Examining data/sundials-3.1.2+dfsg/include/sunlinsol/sunlinsol_spfgmr.h Examining data/sundials-3.1.2+dfsg/include/sunlinsol/sunlinsol_spgmr.h Examining data/sundials-3.1.2+dfsg/include/sunlinsol/sunlinsol_sptfqmr.h Examining data/sundials-3.1.2+dfsg/include/sunlinsol/sunlinsol_superlumt.h Examining data/sundials-3.1.2+dfsg/include/arkode/arkode.h Examining data/sundials-3.1.2+dfsg/include/arkode/arkode_bandpre.h Examining data/sundials-3.1.2+dfsg/include/arkode/arkode_bbdpre.h Examining data/sundials-3.1.2+dfsg/include/arkode/arkode_direct.h Examining data/sundials-3.1.2+dfsg/include/arkode/arkode_spils.h Examining data/sundials-3.1.2+dfsg/include/cvode/cvode.h Examining data/sundials-3.1.2+dfsg/include/cvode/cvode_bandpre.h Examining data/sundials-3.1.2+dfsg/include/cvode/cvode_bbdpre.h Examining data/sundials-3.1.2+dfsg/include/cvode/cvode_diag.h Examining data/sundials-3.1.2+dfsg/include/cvode/cvode_direct.h Examining data/sundials-3.1.2+dfsg/include/cvode/cvode_spils.h Examining data/sundials-3.1.2+dfsg/include/cvodes/cvodes.h Examining data/sundials-3.1.2+dfsg/include/cvodes/cvodes_bandpre.h Examining data/sundials-3.1.2+dfsg/include/cvodes/cvodes_bbdpre.h Examining data/sundials-3.1.2+dfsg/include/cvodes/cvodes_diag.h Examining data/sundials-3.1.2+dfsg/include/cvodes/cvodes_direct.h Examining data/sundials-3.1.2+dfsg/include/cvodes/cvodes_spils.h Examining data/sundials-3.1.2+dfsg/include/ida/ida_bbdpre.h Examining data/sundials-3.1.2+dfsg/include/ida/ida_direct.h Examining data/sundials-3.1.2+dfsg/include/ida/ida.h Examining data/sundials-3.1.2+dfsg/include/ida/ida_spils.h Examining data/sundials-3.1.2+dfsg/include/idas/idas.h Examining data/sundials-3.1.2+dfsg/include/idas/idas_bbdpre.h Examining data/sundials-3.1.2+dfsg/include/idas/idas_direct.h Examining data/sundials-3.1.2+dfsg/include/idas/idas_spils.h Examining data/sundials-3.1.2+dfsg/include/kinsol/kinsol.h Examining data/sundials-3.1.2+dfsg/include/kinsol/kinsol_bbdpre.h Examining data/sundials-3.1.2+dfsg/include/kinsol/kinsol_direct.h Examining data/sundials-3.1.2+dfsg/include/kinsol/kinsol_spils.h Examining data/sundials-3.1.2+dfsg/src/sundials/sundials_math.c Examining data/sundials-3.1.2+dfsg/src/sundials/sundials_matrix.c Examining data/sundials-3.1.2+dfsg/src/sundials/sundials_linearsolver.c Examining data/sundials-3.1.2+dfsg/src/sundials/sundials_nvector.c Examining data/sundials-3.1.2+dfsg/src/sundials/sundials_dense.c Examining data/sundials-3.1.2+dfsg/src/sundials/sundials_direct.c Examining data/sundials-3.1.2+dfsg/src/sundials/sundials_sparse.c Examining data/sundials-3.1.2+dfsg/src/sundials/sundials_band.c Examining data/sundials-3.1.2+dfsg/src/sundials/sundials_spgmr.c Examining data/sundials-3.1.2+dfsg/src/sundials/sundials_spfgmr.c Examining data/sundials-3.1.2+dfsg/src/sundials/sundials_spbcgs.c Examining data/sundials-3.1.2+dfsg/src/sundials/sundials_sptfqmr.c Examining data/sundials-3.1.2+dfsg/src/sundials/sundials_pcg.c Examining data/sundials-3.1.2+dfsg/src/sundials/sundials_iterative.c Examining data/sundials-3.1.2+dfsg/src/sundials/sundials_version.c Examining data/sundials-3.1.2+dfsg/src/nvec_ser/fnvector_serial.h Examining data/sundials-3.1.2+dfsg/src/nvec_ser/nvector_serial.c Examining data/sundials-3.1.2+dfsg/src/nvec_ser/fnvector_serial.c Examining data/sundials-3.1.2+dfsg/src/nvec_par/fnvector_parallel.h Examining data/sundials-3.1.2+dfsg/src/nvec_par/nvector_parallel.c Examining data/sundials-3.1.2+dfsg/src/nvec_par/fnvector_parallel.c Examining data/sundials-3.1.2+dfsg/src/nvec_parhyp/nvector_parhyp.c Examining data/sundials-3.1.2+dfsg/src/nvec_petsc/nvector_petsc.c Examining data/sundials-3.1.2+dfsg/src/nvec_openmp/nvector_openmp.c Examining data/sundials-3.1.2+dfsg/src/nvec_openmp/fnvector_openmp.c Examining data/sundials-3.1.2+dfsg/src/nvec_openmp/fnvector_openmp.h Examining data/sundials-3.1.2+dfsg/src/nvec_pthreads/nvector_pthreads.c Examining data/sundials-3.1.2+dfsg/src/nvec_pthreads/fnvector_pthreads.c Examining data/sundials-3.1.2+dfsg/src/nvec_pthreads/fnvector_pthreads.h Examining data/sundials-3.1.2+dfsg/src/sunmat_band/sunmatrix_band.c Examining data/sundials-3.1.2+dfsg/src/sunmat_band/fsunmatrix_band.h Examining data/sundials-3.1.2+dfsg/src/sunmat_band/fsunmatrix_band.c Examining data/sundials-3.1.2+dfsg/src/sunmat_dense/sunmatrix_dense.c Examining data/sundials-3.1.2+dfsg/src/sunmat_dense/fsunmatrix_dense.h Examining data/sundials-3.1.2+dfsg/src/sunmat_dense/fsunmatrix_dense.c Examining data/sundials-3.1.2+dfsg/src/sunmat_sparse/sunmatrix_sparse.c Examining data/sundials-3.1.2+dfsg/src/sunmat_sparse/fsunmatrix_sparse.h Examining data/sundials-3.1.2+dfsg/src/sunmat_sparse/fsunmatrix_sparse.c Examining data/sundials-3.1.2+dfsg/src/sunlinsol_band/sunlinsol_band.c Examining data/sundials-3.1.2+dfsg/src/sunlinsol_band/fsunlinsol_band.h Examining data/sundials-3.1.2+dfsg/src/sunlinsol_band/fsunlinsol_band.c Examining data/sundials-3.1.2+dfsg/src/sunlinsol_dense/sunlinsol_dense.c Examining data/sundials-3.1.2+dfsg/src/sunlinsol_dense/fsunlinsol_dense.h Examining data/sundials-3.1.2+dfsg/src/sunlinsol_dense/fsunlinsol_dense.c Examining data/sundials-3.1.2+dfsg/src/sunlinsol_klu/sunlinsol_klu.c Examining data/sundials-3.1.2+dfsg/src/sunlinsol_klu/fsunlinsol_klu.h Examining data/sundials-3.1.2+dfsg/src/sunlinsol_klu/fsunlinsol_klu.c Examining data/sundials-3.1.2+dfsg/src/sunlinsol_lapackband/sunlinsol_lapackband.c Examining data/sundials-3.1.2+dfsg/src/sunlinsol_lapackband/fsunlinsol_lapackband.h Examining data/sundials-3.1.2+dfsg/src/sunlinsol_lapackband/fsunlinsol_lapackband.c Examining data/sundials-3.1.2+dfsg/src/sunlinsol_lapackdense/sunlinsol_lapackdense.c Examining data/sundials-3.1.2+dfsg/src/sunlinsol_lapackdense/fsunlinsol_lapackdense.h Examining data/sundials-3.1.2+dfsg/src/sunlinsol_lapackdense/fsunlinsol_lapackdense.c Examining data/sundials-3.1.2+dfsg/src/sunlinsol_pcg/sunlinsol_pcg.c Examining data/sundials-3.1.2+dfsg/src/sunlinsol_pcg/fsunlinsol_pcg.h Examining data/sundials-3.1.2+dfsg/src/sunlinsol_pcg/fsunlinsol_pcg.c Examining data/sundials-3.1.2+dfsg/src/sunlinsol_spbcgs/sunlinsol_spbcgs.c Examining data/sundials-3.1.2+dfsg/src/sunlinsol_spbcgs/fsunlinsol_spbcgs.h Examining data/sundials-3.1.2+dfsg/src/sunlinsol_spbcgs/fsunlinsol_spbcgs.c Examining data/sundials-3.1.2+dfsg/src/sunlinsol_spfgmr/sunlinsol_spfgmr.c Examining data/sundials-3.1.2+dfsg/src/sunlinsol_spfgmr/fsunlinsol_spfgmr.h Examining data/sundials-3.1.2+dfsg/src/sunlinsol_spfgmr/fsunlinsol_spfgmr.c Examining data/sundials-3.1.2+dfsg/src/sunlinsol_spgmr/sunlinsol_spgmr.c Examining data/sundials-3.1.2+dfsg/src/sunlinsol_spgmr/fsunlinsol_spgmr.h Examining data/sundials-3.1.2+dfsg/src/sunlinsol_spgmr/fsunlinsol_spgmr.c Examining data/sundials-3.1.2+dfsg/src/sunlinsol_sptfqmr/sunlinsol_sptfqmr.c Examining data/sundials-3.1.2+dfsg/src/sunlinsol_sptfqmr/fsunlinsol_sptfqmr.h Examining data/sundials-3.1.2+dfsg/src/sunlinsol_sptfqmr/fsunlinsol_sptfqmr.c Examining data/sundials-3.1.2+dfsg/src/sunlinsol_superlumt/sunlinsol_superlumt.c Examining data/sundials-3.1.2+dfsg/src/sunlinsol_superlumt/fsunlinsol_superlumt.h Examining data/sundials-3.1.2+dfsg/src/sunlinsol_superlumt/fsunlinsol_superlumt.c Examining data/sundials-3.1.2+dfsg/src/arkode/arkode.c Examining data/sundials-3.1.2+dfsg/src/arkode/arkode_bandpre.c Examining data/sundials-3.1.2+dfsg/src/arkode/arkode_bandpre_impl.h Examining data/sundials-3.1.2+dfsg/src/arkode/arkode_bbdpre.c Examining data/sundials-3.1.2+dfsg/src/arkode/arkode_bbdpre_impl.h Examining data/sundials-3.1.2+dfsg/src/arkode/arkode_butcher.c Examining data/sundials-3.1.2+dfsg/src/arkode/arkode_direct.c Examining data/sundials-3.1.2+dfsg/src/arkode/arkode_direct_impl.h Examining data/sundials-3.1.2+dfsg/src/arkode/arkode_impl.h Examining data/sundials-3.1.2+dfsg/src/arkode/arkode_io.c Examining data/sundials-3.1.2+dfsg/src/arkode/arkode_spils.c Examining data/sundials-3.1.2+dfsg/src/arkode/arkode_spils_impl.h Examining data/sundials-3.1.2+dfsg/src/arkode/fcmix/farkadapt.c Examining data/sundials-3.1.2+dfsg/src/arkode/fcmix/farkband.c Examining data/sundials-3.1.2+dfsg/src/arkode/fcmix/farkbandmass.c Examining data/sundials-3.1.2+dfsg/src/arkode/fcmix/farkbbd.c Examining data/sundials-3.1.2+dfsg/src/arkode/fcmix/farkbbd.h Examining data/sundials-3.1.2+dfsg/src/arkode/fcmix/farkbp.c Examining data/sundials-3.1.2+dfsg/src/arkode/fcmix/farkbp.h Examining data/sundials-3.1.2+dfsg/src/arkode/fcmix/farkdense.c Examining data/sundials-3.1.2+dfsg/src/arkode/fcmix/farkdensemass.c Examining data/sundials-3.1.2+dfsg/src/arkode/fcmix/farkewt.c Examining data/sundials-3.1.2+dfsg/src/arkode/fcmix/farkexpstab.c Examining data/sundials-3.1.2+dfsg/src/arkode/fcmix/farkjtimes.c Examining data/sundials-3.1.2+dfsg/src/arkode/fcmix/farkmasspreco.c Examining data/sundials-3.1.2+dfsg/src/arkode/fcmix/farkmtimes.c Examining data/sundials-3.1.2+dfsg/src/arkode/fcmix/farknulllinsol.c Examining data/sundials-3.1.2+dfsg/src/arkode/fcmix/farknullmatrix.c Examining data/sundials-3.1.2+dfsg/src/arkode/fcmix/farkode.c Examining data/sundials-3.1.2+dfsg/src/arkode/fcmix/farkode.h Examining data/sundials-3.1.2+dfsg/src/arkode/fcmix/farkpreco.c Examining data/sundials-3.1.2+dfsg/src/arkode/fcmix/farkroot.c Examining data/sundials-3.1.2+dfsg/src/arkode/fcmix/farkroot.h Examining data/sundials-3.1.2+dfsg/src/arkode/fcmix/farksparse.c Examining data/sundials-3.1.2+dfsg/src/arkode/fcmix/farksparsemass.c Examining data/sundials-3.1.2+dfsg/src/cvode/cvode.c Examining data/sundials-3.1.2+dfsg/src/cvode/cvode_bandpre.c Examining data/sundials-3.1.2+dfsg/src/cvode/cvode_bandpre_impl.h Examining data/sundials-3.1.2+dfsg/src/cvode/cvode_bbdpre.c Examining data/sundials-3.1.2+dfsg/src/cvode/cvode_bbdpre_impl.h Examining data/sundials-3.1.2+dfsg/src/cvode/cvode_diag.c Examining data/sundials-3.1.2+dfsg/src/cvode/cvode_diag_impl.h Examining data/sundials-3.1.2+dfsg/src/cvode/cvode_direct.c Examining data/sundials-3.1.2+dfsg/src/cvode/cvode_direct_impl.h Examining data/sundials-3.1.2+dfsg/src/cvode/cvode_impl.h Examining data/sundials-3.1.2+dfsg/src/cvode/cvode_io.c Examining data/sundials-3.1.2+dfsg/src/cvode/cvode_spils.c Examining data/sundials-3.1.2+dfsg/src/cvode/cvode_spils_impl.h Examining data/sundials-3.1.2+dfsg/src/cvode/fcmix/fcvband.c Examining data/sundials-3.1.2+dfsg/src/cvode/fcmix/fcvbbd.c Examining data/sundials-3.1.2+dfsg/src/cvode/fcmix/fcvbbd.h Examining data/sundials-3.1.2+dfsg/src/cvode/fcmix/fcvbp.c Examining data/sundials-3.1.2+dfsg/src/cvode/fcmix/fcvbp.h Examining data/sundials-3.1.2+dfsg/src/cvode/fcmix/fcvdense.c Examining data/sundials-3.1.2+dfsg/src/cvode/fcmix/fcvewt.c Examining data/sundials-3.1.2+dfsg/src/cvode/fcmix/fcvjtimes.c Examining data/sundials-3.1.2+dfsg/src/cvode/fcmix/fcvnulllinsol.c Examining data/sundials-3.1.2+dfsg/src/cvode/fcmix/fcvnullmatrix.c Examining data/sundials-3.1.2+dfsg/src/cvode/fcmix/fcvode.c Examining data/sundials-3.1.2+dfsg/src/cvode/fcmix/fcvode.h Examining data/sundials-3.1.2+dfsg/src/cvode/fcmix/fcvpreco.c Examining data/sundials-3.1.2+dfsg/src/cvode/fcmix/fcvroot.c Examining data/sundials-3.1.2+dfsg/src/cvode/fcmix/fcvroot.h Examining data/sundials-3.1.2+dfsg/src/cvode/fcmix/fcvsparse.c Examining data/sundials-3.1.2+dfsg/src/cvodes/cvodea.c Examining data/sundials-3.1.2+dfsg/src/cvodes/cvodea_io.c Examining data/sundials-3.1.2+dfsg/src/cvodes/cvodes_bandpre.c Examining data/sundials-3.1.2+dfsg/src/cvodes/cvodes_bandpre_impl.h Examining data/sundials-3.1.2+dfsg/src/cvodes/cvodes_bbdpre.c Examining data/sundials-3.1.2+dfsg/src/cvodes/cvodes_bbdpre_impl.h Examining data/sundials-3.1.2+dfsg/src/cvodes/cvodes.c Examining data/sundials-3.1.2+dfsg/src/cvodes/cvodes_diag.c Examining data/sundials-3.1.2+dfsg/src/cvodes/cvodes_diag_impl.h Examining data/sundials-3.1.2+dfsg/src/cvodes/cvodes_direct.c Examining data/sundials-3.1.2+dfsg/src/cvodes/cvodes_direct_impl.h Examining data/sundials-3.1.2+dfsg/src/cvodes/cvodes_impl.h Examining data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c Examining data/sundials-3.1.2+dfsg/src/cvodes/cvodes_spils.c Examining data/sundials-3.1.2+dfsg/src/cvodes/cvodes_spils_impl.h Examining data/sundials-3.1.2+dfsg/src/ida/ida_bbdpre.c Examining data/sundials-3.1.2+dfsg/src/ida/ida_bbdpre_impl.h Examining data/sundials-3.1.2+dfsg/src/ida/ida.c Examining data/sundials-3.1.2+dfsg/src/ida/ida_direct.c Examining data/sundials-3.1.2+dfsg/src/ida/ida_direct_impl.h Examining data/sundials-3.1.2+dfsg/src/ida/ida_ic.c Examining data/sundials-3.1.2+dfsg/src/ida/ida_impl.h Examining data/sundials-3.1.2+dfsg/src/ida/ida_io.c Examining data/sundials-3.1.2+dfsg/src/ida/ida_spils.c Examining data/sundials-3.1.2+dfsg/src/ida/ida_spils_impl.h Examining data/sundials-3.1.2+dfsg/src/ida/fcmix/fida.c Examining data/sundials-3.1.2+dfsg/src/ida/fcmix/fida.h Examining data/sundials-3.1.2+dfsg/src/ida/fcmix/fidaband.c Examining data/sundials-3.1.2+dfsg/src/ida/fcmix/fidabbd.c Examining data/sundials-3.1.2+dfsg/src/ida/fcmix/fidabbd.h Examining data/sundials-3.1.2+dfsg/src/ida/fcmix/fidadense.c Examining data/sundials-3.1.2+dfsg/src/ida/fcmix/fidaewt.c Examining data/sundials-3.1.2+dfsg/src/ida/fcmix/fidajtimes.c Examining data/sundials-3.1.2+dfsg/src/ida/fcmix/fidanullmatrix.c Examining data/sundials-3.1.2+dfsg/src/ida/fcmix/fidapreco.c Examining data/sundials-3.1.2+dfsg/src/ida/fcmix/fidaroot.c Examining data/sundials-3.1.2+dfsg/src/ida/fcmix/fidaroot.h Examining data/sundials-3.1.2+dfsg/src/ida/fcmix/fidasparse.c Examining data/sundials-3.1.2+dfsg/src/idas/idaa.c Examining data/sundials-3.1.2+dfsg/src/idas/idaa_io.c Examining data/sundials-3.1.2+dfsg/src/idas/idas.c Examining data/sundials-3.1.2+dfsg/src/idas/idas_bbdpre.c Examining data/sundials-3.1.2+dfsg/src/idas/idas_bbdpre_impl.h Examining data/sundials-3.1.2+dfsg/src/idas/idas_direct.c Examining data/sundials-3.1.2+dfsg/src/idas/idas_direct_impl.h Examining data/sundials-3.1.2+dfsg/src/idas/idas_ic.c Examining data/sundials-3.1.2+dfsg/src/idas/idas_impl.h Examining data/sundials-3.1.2+dfsg/src/idas/idas_io.c Examining data/sundials-3.1.2+dfsg/src/idas/idas_spils.c Examining data/sundials-3.1.2+dfsg/src/idas/idas_spils_impl.h Examining data/sundials-3.1.2+dfsg/src/kinsol/kinsol.c Examining data/sundials-3.1.2+dfsg/src/kinsol/kinsol_bbdpre.c Examining data/sundials-3.1.2+dfsg/src/kinsol/kinsol_bbdpre_impl.h Examining data/sundials-3.1.2+dfsg/src/kinsol/kinsol_direct.c Examining data/sundials-3.1.2+dfsg/src/kinsol/kinsol_direct_impl.h Examining data/sundials-3.1.2+dfsg/src/kinsol/kinsol_impl.h Examining data/sundials-3.1.2+dfsg/src/kinsol/kinsol_io.c Examining data/sundials-3.1.2+dfsg/src/kinsol/kinsol_spils.c Examining data/sundials-3.1.2+dfsg/src/kinsol/kinsol_spils_impl.h Examining data/sundials-3.1.2+dfsg/src/kinsol/fcmix/fkinband.c Examining data/sundials-3.1.2+dfsg/src/kinsol/fcmix/fkinbbd.c Examining data/sundials-3.1.2+dfsg/src/kinsol/fcmix/fkinbbd.h Examining data/sundials-3.1.2+dfsg/src/kinsol/fcmix/fkindense.c Examining data/sundials-3.1.2+dfsg/src/kinsol/fcmix/fkinjtimes.c Examining data/sundials-3.1.2+dfsg/src/kinsol/fcmix/fkinnulllinsol.c Examining data/sundials-3.1.2+dfsg/src/kinsol/fcmix/fkinnullmatrix.c Examining data/sundials-3.1.2+dfsg/src/kinsol/fcmix/fkinpreco.c Examining data/sundials-3.1.2+dfsg/src/kinsol/fcmix/fkinsol.c Examining data/sundials-3.1.2+dfsg/src/kinsol/fcmix/fkinsol.h Examining data/sundials-3.1.2+dfsg/src/kinsol/fcmix/fkinsparse.c Examining data/sundials-3.1.2+dfsg/examples/nvector/serial/test_nvector_serial.c Examining data/sundials-3.1.2+dfsg/examples/nvector/parallel/test_nvector_mpi.c Examining data/sundials-3.1.2+dfsg/examples/nvector/parhyp/test_nvector_parhyp.c Examining data/sundials-3.1.2+dfsg/examples/nvector/petsc/test_nvector_petsc.c Examining data/sundials-3.1.2+dfsg/examples/nvector/C_openmp/test_nvector_openmp.c Examining data/sundials-3.1.2+dfsg/examples/nvector/pthreads/test_nvector_pthreads.c Examining data/sundials-3.1.2+dfsg/examples/nvector/test_nvector.c Examining data/sundials-3.1.2+dfsg/examples/nvector/test_nvector.h Examining data/sundials-3.1.2+dfsg/examples/sunmatrix/band/test_sunmatrix_band.c Examining data/sundials-3.1.2+dfsg/examples/sunmatrix/dense/test_sunmatrix_dense.c Examining data/sundials-3.1.2+dfsg/examples/sunmatrix/sparse/test_sunmatrix_sparse.c Examining data/sundials-3.1.2+dfsg/examples/sunmatrix/test_sunmatrix.c Examining data/sundials-3.1.2+dfsg/examples/sunmatrix/test_sunmatrix.h Examining data/sundials-3.1.2+dfsg/examples/sunlinsol/band/test_sunlinsol_band.c Examining data/sundials-3.1.2+dfsg/examples/sunlinsol/dense/test_sunlinsol_dense.c Examining data/sundials-3.1.2+dfsg/examples/sunlinsol/klu/test_sunlinsol_klu.c Examining data/sundials-3.1.2+dfsg/examples/sunlinsol/lapackband/test_sunlinsol_lapackband.c Examining data/sundials-3.1.2+dfsg/examples/sunlinsol/lapackdense/test_sunlinsol_lapackdense.c Examining data/sundials-3.1.2+dfsg/examples/sunlinsol/pcg/serial/test_sunlinsol_pcg_serial.c Examining data/sundials-3.1.2+dfsg/examples/sunlinsol/spbcgs/parallel/test_sunlinsol_spbcgs_parallel.c Examining data/sundials-3.1.2+dfsg/examples/sunlinsol/spbcgs/serial/test_sunlinsol_spbcgs_serial.c Examining data/sundials-3.1.2+dfsg/examples/sunlinsol/spfgmr/parallel/test_sunlinsol_spfgmr_parallel.c Examining data/sundials-3.1.2+dfsg/examples/sunlinsol/spfgmr/serial/test_sunlinsol_spfgmr_serial.c Examining data/sundials-3.1.2+dfsg/examples/sunlinsol/spgmr/parallel/test_sunlinsol_spgmr_parallel.c Examining data/sundials-3.1.2+dfsg/examples/sunlinsol/spgmr/serial/test_sunlinsol_spgmr_serial.c Examining data/sundials-3.1.2+dfsg/examples/sunlinsol/sptfqmr/parallel/test_sunlinsol_sptfqmr_parallel.c Examining data/sundials-3.1.2+dfsg/examples/sunlinsol/sptfqmr/serial/test_sunlinsol_sptfqmr_serial.c Examining data/sundials-3.1.2+dfsg/examples/sunlinsol/superlumt/test_sunlinsol_superlumt.c Examining data/sundials-3.1.2+dfsg/examples/sunlinsol/test_sunlinsol.c Examining data/sundials-3.1.2+dfsg/examples/sunlinsol/test_sunlinsol.h Examining data/sundials-3.1.2+dfsg/examples/arkode/C_openmp/ark_brusselator1D_omp.c Examining data/sundials-3.1.2+dfsg/examples/arkode/CXX_parallel/ark_heat2D.cpp Examining data/sundials-3.1.2+dfsg/examples/arkode/CXX_serial/ark_analytic_sys.cpp Examining data/sundials-3.1.2+dfsg/examples/arkode/C_parallel/ark_diurnal_kry_bbd_p.c Examining data/sundials-3.1.2+dfsg/examples/arkode/C_parallel/ark_diurnal_kry_p.c Examining data/sundials-3.1.2+dfsg/examples/arkode/C_parhyp/ark_diurnal_kry_ph.c Examining data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_analytic.c Examining data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_analytic_nonlin.c Examining data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_brusselator.c Examining data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_brusselator1D.c Examining data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_brusselator1D_FEM_slu.c Examining data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_brusselator1D_klu.c Examining data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_brusselator_fp.c Examining data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_heat1D.c Examining data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_heat1D_adapt.c Examining data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_KrylovDemo_prec.c Examining data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_robertson.c Examining data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_robertson_root.c Examining data/sundials-3.1.2+dfsg/examples/cvode/serial/cvAdvDiff_bnd.c Examining data/sundials-3.1.2+dfsg/examples/cvode/serial/cvAdvDiff_bndL.c Examining data/sundials-3.1.2+dfsg/examples/cvode/serial/cvDirectDemo_ls.c Examining data/sundials-3.1.2+dfsg/examples/cvode/serial/cvDisc_dns.c Examining data/sundials-3.1.2+dfsg/examples/cvode/serial/cvDiurnal_kry_bp.c Examining data/sundials-3.1.2+dfsg/examples/cvode/serial/cvDiurnal_kry.c Examining data/sundials-3.1.2+dfsg/examples/cvode/serial/cvKrylovDemo_ls.c Examining data/sundials-3.1.2+dfsg/examples/cvode/serial/cvKrylovDemo_prec.c Examining data/sundials-3.1.2+dfsg/examples/cvode/serial/cvRoberts_dns.c Examining data/sundials-3.1.2+dfsg/examples/cvode/serial/cvRoberts_dnsL.c Examining data/sundials-3.1.2+dfsg/examples/cvode/serial/cvRoberts_dns_uw.c Examining data/sundials-3.1.2+dfsg/examples/cvode/serial/cvRoberts_dns_negsol.c Examining data/sundials-3.1.2+dfsg/examples/cvode/serial/cvRoberts_klu.c Examining data/sundials-3.1.2+dfsg/examples/cvode/serial/cvRoberts_sps.c Examining data/sundials-3.1.2+dfsg/examples/cvode/C_openmp/cvAdvDiff_bnd_omp.c Examining data/sundials-3.1.2+dfsg/examples/cvode/parallel/cvAdvDiff_non_p.c Examining data/sundials-3.1.2+dfsg/examples/cvode/parallel/cvAdvDiff_diag_p.c Examining data/sundials-3.1.2+dfsg/examples/cvode/parallel/cvDiurnal_kry_bbd_p.c Examining data/sundials-3.1.2+dfsg/examples/cvode/parallel/cvDiurnal_kry_p.c Examining data/sundials-3.1.2+dfsg/examples/cvode/parhyp/cvAdvDiff_non_ph.c Examining data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsAdvDiff_ASAi_bnd.c Examining data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsAdvDiff_bnd.c Examining data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsAdvDiff_bndL.c Examining data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsAdvDiff_FSA_non.c Examining data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsDirectDemo_ls.c Examining data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsDiurnal_FSA_kry.c Examining data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsDiurnal_kry_bp.c Examining data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsDiurnal_kry.c Examining data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsFoodWeb_ASAi_kry.c Examining data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsFoodWeb_ASAp_kry.c Examining data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsHessian_ASA_FSA.c Examining data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsKrylovDemo_ls.c Examining data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsKrylovDemo_prec.c Examining data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_ASAi_dns.c Examining data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_dns.c Examining data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_dnsL.c Examining data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_ASAi_klu.c Examining data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_ASAi_sps.c Examining data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_dns_uw.c Examining data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_FSA_dns.c Examining data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_FSA_dns_Switch.c Examining data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_FSA_klu.c Examining data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_FSA_sps.c Examining data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_klu.c Examining data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_sps.c Examining data/sundials-3.1.2+dfsg/examples/cvodes/C_openmp/cvsAdvDiff_bnd_omp.c Examining data/sundials-3.1.2+dfsg/examples/cvodes/parallel/cvsAdvDiff_ASAp_non_p.c Examining data/sundials-3.1.2+dfsg/examples/cvodes/parallel/cvsAdvDiff_FSA_non_p.c Examining data/sundials-3.1.2+dfsg/examples/cvodes/parallel/cvsAdvDiff_non_p.c Examining data/sundials-3.1.2+dfsg/examples/cvodes/parallel/cvsAtmDisp_ASAi_kry_bbd_p.c Examining data/sundials-3.1.2+dfsg/examples/cvodes/parallel/cvsDiurnal_FSA_kry_p.c Examining data/sundials-3.1.2+dfsg/examples/cvodes/parallel/cvsDiurnal_kry_bbd_p.c Examining data/sundials-3.1.2+dfsg/examples/cvodes/parallel/cvsDiurnal_kry_p.c Examining data/sundials-3.1.2+dfsg/examples/ida/serial/idaFoodWeb_bnd.c Examining data/sundials-3.1.2+dfsg/examples/ida/serial/idaFoodWeb_kry.c Examining data/sundials-3.1.2+dfsg/examples/ida/serial/idaHeat2D_bnd.c Examining data/sundials-3.1.2+dfsg/examples/ida/serial/idaHeat2D_kry.c Examining data/sundials-3.1.2+dfsg/examples/ida/serial/idaHeat2D_klu.c Examining data/sundials-3.1.2+dfsg/examples/ida/serial/idaKrylovDemo_ls.c Examining data/sundials-3.1.2+dfsg/examples/ida/serial/idaRoberts_dns.c Examining data/sundials-3.1.2+dfsg/examples/ida/serial/idaRoberts_klu.c Examining data/sundials-3.1.2+dfsg/examples/ida/serial/idaRoberts_sps.c Examining data/sundials-3.1.2+dfsg/examples/ida/serial/idaSlCrank_dns.c Examining data/sundials-3.1.2+dfsg/examples/ida/C_openmp/idaFoodWeb_bnd_omp.c Examining data/sundials-3.1.2+dfsg/examples/ida/C_openmp/idaFoodWeb_kry_omp.c Examining data/sundials-3.1.2+dfsg/examples/ida/petsc/idaHeat2D_kry_petsc.c Examining data/sundials-3.1.2+dfsg/examples/ida/parallel/idaFoodWeb_kry_bbd_p.c Examining data/sundials-3.1.2+dfsg/examples/ida/parallel/idaFoodWeb_kry_p.c Examining data/sundials-3.1.2+dfsg/examples/ida/parallel/idaHeat2D_kry_bbd_p.c Examining data/sundials-3.1.2+dfsg/examples/ida/parallel/idaHeat2D_kry_p.c Examining data/sundials-3.1.2+dfsg/examples/idas/serial/idasAkzoNob_ASAi_dns.c Parsing failed to find end of parameter list; semicolon terminated it in ("dG/dy0: \t%12.4Le\n\t\t%12.4Le\n\t\t%12.4Le\n\t\t%12.4Le\n\t\t%12.4Le\n\t\t%12.4Le\n", #else printf("dG/dy0: \t%12.4e\n\t\t%12.4e\n\t\t%12.4e\n\t\t%12.4e\n\t\t%12.4e\n\t\t%12.4e\n", #endif Examining data/sundials-3.1.2+dfsg/examples/idas/serial/idasAkzoNob_dns.c Examining data/sundials-3.1.2+dfsg/examples/idas/serial/idasFoodWeb_bnd.c Examining data/sundials-3.1.2+dfsg/examples/idas/serial/idasHeat2D_bnd.c Examining data/sundials-3.1.2+dfsg/examples/idas/serial/idasHeat2D_kry.c Examining data/sundials-3.1.2+dfsg/examples/idas/serial/idasHessian_ASA_FSA.c Examining data/sundials-3.1.2+dfsg/examples/idas/serial/idasKrylovDemo_ls.c Examining data/sundials-3.1.2+dfsg/examples/idas/serial/idasRoberts_ASAi_dns.c Examining data/sundials-3.1.2+dfsg/examples/idas/serial/idasRoberts_ASAi_klu.c Examining data/sundials-3.1.2+dfsg/examples/idas/serial/idasRoberts_ASAi_sps.c Examining data/sundials-3.1.2+dfsg/examples/idas/serial/idasRoberts_dns.c Examining data/sundials-3.1.2+dfsg/examples/idas/serial/idasRoberts_FSA_dns.c Examining data/sundials-3.1.2+dfsg/examples/idas/serial/idasRoberts_FSA_klu.c Examining data/sundials-3.1.2+dfsg/examples/idas/serial/idasRoberts_FSA_sps.c Examining data/sundials-3.1.2+dfsg/examples/idas/serial/idasRoberts_klu.c Examining data/sundials-3.1.2+dfsg/examples/idas/serial/idasRoberts_sps.c Examining data/sundials-3.1.2+dfsg/examples/idas/serial/idasSlCrank_dns.c Examining data/sundials-3.1.2+dfsg/examples/idas/serial/idasSlCrank_FSA_dns.c Examining data/sundials-3.1.2+dfsg/examples/idas/C_openmp/idasFoodWeb_bnd_omp.c Examining data/sundials-3.1.2+dfsg/examples/idas/C_openmp/idasFoodWeb_kry_omp.c Examining data/sundials-3.1.2+dfsg/examples/idas/parallel/idasBruss_ASAp_kry_bbd_p.c Examining data/sundials-3.1.2+dfsg/examples/idas/parallel/idasBruss_FSA_kry_bbd_p.c Examining data/sundials-3.1.2+dfsg/examples/idas/parallel/idasBruss_kry_bbd_p.c Examining data/sundials-3.1.2+dfsg/examples/idas/parallel/idasFoodWeb_kry_bbd_p.c Examining data/sundials-3.1.2+dfsg/examples/idas/parallel/idasFoodWeb_kry_p.c Examining data/sundials-3.1.2+dfsg/examples/idas/parallel/idasHeat2D_FSA_kry_bbd_p.c Examining data/sundials-3.1.2+dfsg/examples/idas/parallel/idasHeat2D_kry_bbd_p.c Examining data/sundials-3.1.2+dfsg/examples/idas/parallel/idasHeat2D_kry_p.c Examining data/sundials-3.1.2+dfsg/examples/kinsol/serial/kinFerTron_dns.c Examining data/sundials-3.1.2+dfsg/examples/kinsol/serial/kinFerTron_klu.c Examining data/sundials-3.1.2+dfsg/examples/kinsol/serial/kinFoodWeb_kry.c Examining data/sundials-3.1.2+dfsg/examples/kinsol/serial/kinKrylovDemo_ls.c Examining data/sundials-3.1.2+dfsg/examples/kinsol/serial/kinLaplace_bnd.c Examining data/sundials-3.1.2+dfsg/examples/kinsol/serial/kinLaplace_picard_bnd.c Examining data/sundials-3.1.2+dfsg/examples/kinsol/serial/kinRoboKin_dns.c Examining data/sundials-3.1.2+dfsg/examples/kinsol/serial/kinRoboKin_slu.c Examining data/sundials-3.1.2+dfsg/examples/kinsol/serial/kinRoberts_fp.c Examining data/sundials-3.1.2+dfsg/examples/kinsol/C_openmp/kinFoodWeb_kry_omp.c Examining data/sundials-3.1.2+dfsg/examples/kinsol/parallel/kinFoodWeb_kry_bbd_p.c Examining data/sundials-3.1.2+dfsg/examples/kinsol/parallel/kinFoodWeb_kry_p.c FINAL RESULTS: data/sundials-3.1.2+dfsg/examples/arkode/CXX_parallel/ark_heat2D.cpp:255:24: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. for (i=0; i<N; i++) fprintf(UFID," %.16" ESYM, data[i]); data/sundials-3.1.2+dfsg/examples/arkode/C_openmp/ark_brusselator1D_omp.c:255:24: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. for (i=0; i<N; i++) fprintf(UFID," %.16"ESYM, data[IDX(i,0)]); data/sundials-3.1.2+dfsg/examples/arkode/C_openmp/ark_brusselator1D_omp.c:256:24: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. for (i=0; i<N; i++) fprintf(VFID," %.16"ESYM, data[IDX(i,1)]); data/sundials-3.1.2+dfsg/examples/arkode/C_openmp/ark_brusselator1D_omp.c:257:24: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. for (i=0; i<N; i++) fprintf(WFID," %.16"ESYM, data[IDX(i,2)]); data/sundials-3.1.2+dfsg/examples/arkode/C_openmp/ark_brusselator1D_omp.c:289:26: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. for (i=0; i<N; i++) fprintf(UFID," %.16"ESYM, data[IDX(i,0)]); data/sundials-3.1.2+dfsg/examples/arkode/C_openmp/ark_brusselator1D_omp.c:290:26: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. for (i=0; i<N; i++) fprintf(VFID," %.16"ESYM, data[IDX(i,1)]); data/sundials-3.1.2+dfsg/examples/arkode/C_openmp/ark_brusselator1D_omp.c:291:26: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. for (i=0; i<N; i++) fprintf(WFID," %.16"ESYM, data[IDX(i,2)]); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_brusselator1D_FEM_slu.c:322:24: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. for (i=0; i<N; i++) fprintf(UFID," %.16"ESYM, data[IDX(i,0)]); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_brusselator1D_FEM_slu.c:323:24: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. for (i=0; i<N; i++) fprintf(VFID," %.16"ESYM, data[IDX(i,1)]); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_brusselator1D_FEM_slu.c:324:24: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. for (i=0; i<N; i++) fprintf(WFID," %.16"ESYM, data[IDX(i,2)]); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_brusselator1D_FEM_slu.c:356:26: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. for (i=0; i<N; i++) fprintf(UFID," %.16"ESYM, data[IDX(i,0)]); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_brusselator1D_FEM_slu.c:357:26: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. for (i=0; i<N; i++) fprintf(VFID," %.16"ESYM, data[IDX(i,1)]); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_brusselator1D_FEM_slu.c:358:26: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. for (i=0; i<N; i++) fprintf(WFID," %.16"ESYM, data[IDX(i,2)]); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_heat1D_adapt.c:134:31: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. for (i=0; i<udata->N; i++) fprintf(XFID," %.16"ESYM, udata->x[i]); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_heat1D_adapt.c:142:31: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. for (i=0; i<udata->N; i++) fprintf(UFID," %.16"ESYM, data[i]); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_heat1D_adapt.c:223:33: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. for (i=0; i<udata->N; i++) fprintf(UFID," %.16"ESYM, data[i]); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_heat1D_adapt.c:225:33: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. for (i=0; i<udata->N; i++) fprintf(XFID," %.16"ESYM, udata->x[i]); data/sundials-3.1.2+dfsg/examples/nvector/test_nvector.c:48:49: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define PRINT_TIME(format, time) if(print_time) printf(format, time) data/sundials-3.1.2+dfsg/examples/sunlinsol/test_sunlinsol.c:46:49: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define PRINT_TIME(format, time) if(print_time) printf(format, time) data/sundials-3.1.2+dfsg/examples/sunmatrix/test_sunmatrix.c:42:49: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define PRINT_TIME(format, time) if(print_time) printf(format, time) data/sundials-3.1.2+dfsg/src/arkode/arkode.c:5880:3: [4] (format) vsprintf: Potential format string problem (CWE-134). Make format string constant. vsprintf(msg, msgfmt, ap); data/sundials-3.1.2+dfsg/src/cvode/cvode.c:4115:3: [4] (format) vsprintf: Potential format string problem (CWE-134). Make format string constant. vsprintf(msg, msgfmt, ap); data/sundials-3.1.2+dfsg/src/cvodes/cvodes.c:9154:3: [4] (format) vsprintf: Potential format string problem (CWE-134). Make format string constant. vsprintf(msg, msgfmt, ap); data/sundials-3.1.2+dfsg/src/ida/ida.c:3323:3: [4] (format) vsprintf: Potential format string problem (CWE-134). Make format string constant. vsprintf(msg, msgfmt, ap); data/sundials-3.1.2+dfsg/src/idas/idas.c:7102:3: [4] (format) vsprintf: Potential format string problem (CWE-134). Make format string constant. vsprintf(msg, msgfmt, ap); data/sundials-3.1.2+dfsg/src/kinsol/kinsol.c:1942:5: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(msg1, msgfmt, ret); data/sundials-3.1.2+dfsg/src/kinsol/kinsol.c:1943:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(msg,"%s (%s)",msg1,retstr); data/sundials-3.1.2+dfsg/src/kinsol/kinsol.c:1950:5: [4] (format) vsprintf: Potential format string problem (CWE-134). Make format string constant. vsprintf(msg, msgfmt, ap); data/sundials-3.1.2+dfsg/src/kinsol/kinsol.c:2025:3: [4] (format) vsprintf: Potential format string problem (CWE-134). Make format string constant. vsprintf(msg, msgfmt, ap); data/sundials-3.1.2+dfsg/src/nvec_par/nvector_parallel.c:94:5: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr, BAD_N); data/sundials-3.1.2+dfsg/src/nvec_petsc/nvector_petsc.c:140:5: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr, BAD_N); data/sundials-3.1.2+dfsg/examples/arkode/CXX_parallel/ark_heat2D.cpp:184:29: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). cout << " atol = " << atol << "\n"; data/sundials-3.1.2+dfsg/examples/arkode/CXX_parallel/ark_heat2D.cpp:227:47: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). flag = ARKodeSStolerances(arkode_mem, rtol, atol); // Specify tolerances data/sundials-3.1.2+dfsg/examples/arkode/CXX_parallel/ark_heat2D.cpp:241:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char outname[100]; data/sundials-3.1.2+dfsg/examples/arkode/CXX_parallel/ark_heat2D.cpp:242:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(outname, "heat2d_subdomain.%03i.txt", udata->myid); data/sundials-3.1.2+dfsg/examples/arkode/CXX_parallel/ark_heat2D.cpp:243:16: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *UFID = fopen(outname,"w"); data/sundials-3.1.2+dfsg/examples/arkode/CXX_parallel/ark_heat2D.cpp:250:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(outname, "heat2d.%03i.txt", udata->myid); data/sundials-3.1.2+dfsg/examples/arkode/CXX_parallel/ark_heat2D.cpp:251:10: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). UFID = fopen(outname,"w"); data/sundials-3.1.2+dfsg/examples/arkode/CXX_serial/ark_analytic_sys.cpp:148:16: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *UFID = fopen("solution.txt","w"); data/sundials-3.1.2+dfsg/examples/arkode/C_openmp/ark_brusselator1D_omp.c:243:7: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FID=fopen("bruss_mesh.txt","w"); data/sundials-3.1.2+dfsg/examples/arkode/C_openmp/ark_brusselator1D_omp.c:248:8: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). UFID=fopen("bruss_u.txt","w"); data/sundials-3.1.2+dfsg/examples/arkode/C_openmp/ark_brusselator1D_omp.c:249:8: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). VFID=fopen("bruss_v.txt","w"); data/sundials-3.1.2+dfsg/examples/arkode/C_openmp/ark_brusselator1D_omp.c:250:8: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). WFID=fopen("bruss_w.txt","w"); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_analytic.c:67:70: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static int check_ans(N_Vector y, realtype t, realtype rtol, realtype atol); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_analytic.c:134:10: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). UFID = fopen("solution.txt","w"); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_analytic.c:276:70: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static int check_ans(N_Vector y, realtype t, realtype rtol, realtype atol) data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_analytic.c:284:38: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ewt = ONE / (rtol * SUNRabs(ans) + atol); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_analytic_nonlin.c:99:10: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). UFID = fopen("solution.txt","w"); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_brusselator.c:182:10: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). UFID = fopen("solution.txt","w"); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_brusselator1D.c:225:9: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FID = fopen("bruss_mesh.txt","w"); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_brusselator1D.c:230:8: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). UFID=fopen("bruss_u.txt","w"); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_brusselator1D.c:231:8: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). VFID=fopen("bruss_v.txt","w"); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_brusselator1D.c:232:8: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). WFID=fopen("bruss_w.txt","w"); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_brusselator1D_FEM_slu.c:310:7: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FID=fopen("bruss_FEM_mesh.txt","w"); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_brusselator1D_FEM_slu.c:315:10: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). UFID = fopen("bruss_FEM_u.txt","w"); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_brusselator1D_FEM_slu.c:316:10: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). VFID = fopen("bruss_FEM_v.txt","w"); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_brusselator1D_FEM_slu.c:317:10: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). WFID = fopen("bruss_FEM_w.txt","w"); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_brusselator1D_klu.c:244:9: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FID = fopen("bruss_mesh.txt","w"); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_brusselator1D_klu.c:249:8: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). UFID=fopen("bruss_u.txt","w"); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_brusselator1D_klu.c:250:8: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). VFID=fopen("bruss_v.txt","w"); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_brusselator1D_klu.c:251:8: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). WFID=fopen("bruss_w.txt","w"); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_brusselator_fp.c:168:10: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). UFID = fopen("solution.txt","w"); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_heat1D.c:135:47: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). flag = ARKodeSStolerances(arkode_mem, rtol, atol); /* Specify tolerances */ data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_heat1D.c:153:7: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FID=fopen("heat_mesh.txt","w"); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_heat1D.c:158:8: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). UFID=fopen("heat1D.txt","w"); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_heat1D_adapt.c:131:8: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). XFID=fopen("heat_mesh.txt","w"); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_heat1D_adapt.c:138:8: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). UFID=fopen("heat1D.txt","w"); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_heat1D_adapt.c:159:47: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). flag = ARKodeSStolerances(arkode_mem, rtol, atol); /* Specify tolerances */ data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_robertson.c:68:70: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static int check_ans(N_Vector y, realtype t, realtype rtol, realtype atol); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_robertson.c:148:10: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). UFID = fopen("solution.txt","w"); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_robertson.c:307:70: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static int check_ans(N_Vector y, realtype t, realtype rtol, realtype atol) data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_robertson.c:328:20: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). N_VAddConst(ewt, atol, ewt); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_robertson_root.c:160:10: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). UFID = fopen("solution.txt","w"); data/sundials-3.1.2+dfsg/examples/cvode/serial/cvRoberts_dns.c:95:70: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static int check_ans(N_Vector y, realtype t, realtype rtol, N_Vector atol); data/sundials-3.1.2+dfsg/examples/cvode/serial/cvRoberts_dns.c:386:70: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static int check_ans(N_Vector y, realtype t, realtype rtol, N_Vector atol) data/sundials-3.1.2+dfsg/examples/cvode/serial/cvRoberts_dns.c:405:41: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). N_VLinearSum(rtol, ewt, RCONST(10.0), atol, ewt); data/sundials-3.1.2+dfsg/examples/cvode/serial/cvRoberts_dns_uw.c:277:26: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype yy, ww, rtol, atol[3]; data/sundials-3.1.2+dfsg/examples/cvode/serial/cvRoberts_dns_uw.c:280:3: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). atol[0] = ATOL1; data/sundials-3.1.2+dfsg/examples/cvode/serial/cvRoberts_dns_uw.c:281:3: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). atol[1] = ATOL2; data/sundials-3.1.2+dfsg/examples/cvode/serial/cvRoberts_dns_uw.c:282:3: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). atol[2] = ATOL3; data/sundials-3.1.2+dfsg/examples/cvode/serial/cvRoberts_dns_uw.c:286:31: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ww = rtol * SUNRabs(yy) + atol[i-1]; data/sundials-3.1.2+dfsg/examples/cvodes/parallel/cvsAtmDisp_ASAi_kry_bbd_p.c:1058:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char filename[20]; data/sundials-3.1.2+dfsg/examples/cvodes/parallel/cvsAtmDisp_ASAi_kry_bbd_p.c:1063:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(filename,"grad%03d.m",myId); data/sundials-3.1.2+dfsg/examples/cvodes/parallel/cvsAtmDisp_ASAi_kry_bbd_p.c:1064:9: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fid = fopen(filename,"w"); data/sundials-3.1.2+dfsg/examples/cvodes/parallel/cvsAtmDisp_ASAi_kry_bbd_p.c:1159:11: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fid = fopen("grad.m","w"); data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_ASAi_dns.c:570:26: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype yy, ww, rtol, atol[3]; data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_ASAi_dns.c:573:3: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). atol[0] = ATOL1; data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_ASAi_dns.c:574:3: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). atol[1] = ATOL2; data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_ASAi_dns.c:575:3: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). atol[2] = ATOL3; data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_ASAi_dns.c:579:31: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ww = rtol * SUNRabs(yy) + atol[i-1]; data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_ASAi_klu.c:605:26: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype yy, ww, rtol, atol[3]; data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_ASAi_klu.c:608:3: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). atol[0] = ATOL1; data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_ASAi_klu.c:609:3: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). atol[1] = ATOL2; data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_ASAi_klu.c:610:3: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). atol[2] = ATOL3; data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_ASAi_klu.c:614:31: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ww = rtol * SUNRabs(yy) + atol[i-1]; data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_ASAi_sps.c:606:26: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype yy, ww, rtol, atol[3]; data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_ASAi_sps.c:609:3: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). atol[0] = ATOL1; data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_ASAi_sps.c:610:3: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). atol[1] = ATOL2; data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_ASAi_sps.c:611:3: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). atol[2] = ATOL3; data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_ASAi_sps.c:615:31: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ww = rtol * SUNRabs(yy) + atol[i-1]; data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_FSA_dns.c:393:26: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype yy, ww, rtol, atol[3]; data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_FSA_dns.c:396:3: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). atol[0] = ATOL1; data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_FSA_dns.c:397:3: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). atol[1] = ATOL2; data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_FSA_dns.c:398:3: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). atol[2] = ATOL3; data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_FSA_dns.c:402:31: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ww = rtol * SUNRabs(yy) + atol[i-1]; data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_FSA_klu.c:441:26: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype yy, ww, rtol, atol[3]; data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_FSA_klu.c:444:3: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). atol[0] = ATOL1; data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_FSA_klu.c:445:3: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). atol[1] = ATOL2; data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_FSA_klu.c:446:3: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). atol[2] = ATOL3; data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_FSA_klu.c:450:31: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ww = rtol * SUNRabs(yy) + atol[i-1]; data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_FSA_sps.c:441:26: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype yy, ww, rtol, atol[3]; data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_FSA_sps.c:444:3: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). atol[0] = ATOL1; data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_FSA_sps.c:445:3: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). atol[1] = ATOL2; data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_FSA_sps.c:446:3: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). atol[2] = ATOL3; data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_FSA_sps.c:450:31: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ww = rtol * SUNRabs(yy) + atol[i-1]; data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_dns.c:95:70: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static int check_ans(N_Vector y, realtype t, realtype rtol, N_Vector atol); data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_dns.c:386:70: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static int check_ans(N_Vector y, realtype t, realtype rtol, N_Vector atol) data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_dns.c:405:41: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). N_VLinearSum(rtol, ewt, RCONST(10.0), atol, ewt); data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_dns_uw.c:277:26: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype yy, ww, rtol, atol[3]; data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_dns_uw.c:280:3: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). atol[0] = ATOL1; data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_dns_uw.c:281:3: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). atol[1] = ATOL2; data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_dns_uw.c:282:3: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). atol[2] = ATOL3; data/sundials-3.1.2+dfsg/examples/cvodes/serial/cvsRoberts_dns_uw.c:286:31: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ww = rtol * SUNRabs(yy) + atol[i-1]; data/sundials-3.1.2+dfsg/examples/ida/C_openmp/idaFoodWeb_bnd_omp.c:174:83: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static void PrintHeader(sunindextype mu, sunindextype ml, realtype rtol, realtype atol); data/sundials-3.1.2+dfsg/examples/ida/C_openmp/idaFoodWeb_bnd_omp.c:198:18: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype rtol, atol, t0, tout, tret; data/sundials-3.1.2+dfsg/examples/ida/C_openmp/idaFoodWeb_bnd_omp.c:257:43: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). retval = IDASStolerances(ida_mem, rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/C_openmp/idaFoodWeb_bnd_omp.c:279:29: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). PrintHeader(mu, ml, rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/C_openmp/idaFoodWeb_bnd_omp.c:488:83: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static void PrintHeader(sunindextype mu, sunindextype ml, realtype rtol, realtype atol) data/sundials-3.1.2+dfsg/examples/ida/C_openmp/idaFoodWeb_bnd_omp.c:495:68: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %Lg atol = %Lg\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/C_openmp/idaFoodWeb_bnd_omp.c:497:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/C_openmp/idaFoodWeb_bnd_omp.c:499:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/C_openmp/idaFoodWeb_kry_omp.c:185:59: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static void PrintHeader(int maxl, realtype rtol, realtype atol); data/sundials-3.1.2+dfsg/examples/ida/C_openmp/idaFoodWeb_kry_omp.c:208:18: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype rtol, atol, t0, tout, tret; data/sundials-3.1.2+dfsg/examples/ida/C_openmp/idaFoodWeb_kry_omp.c:273:41: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). flag = IDASStolerances(ida_mem, rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/C_openmp/idaFoodWeb_kry_omp.c:299:27: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). PrintHeader(maxl, rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/C_openmp/idaFoodWeb_kry_omp.c:611:59: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static void PrintHeader(int maxl, realtype rtol, realtype atol) data/sundials-3.1.2+dfsg/examples/ida/C_openmp/idaFoodWeb_kry_omp.c:618:68: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %Lg atol = %Lg\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/C_openmp/idaFoodWeb_kry_omp.c:620:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/C_openmp/idaFoodWeb_kry_omp.c:622:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/parallel/idaFoodWeb_kry_bbd_p.c:210:49: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype rtol, realtype atol); data/sundials-3.1.2+dfsg/examples/ida/parallel/idaFoodWeb_kry_bbd_p.c:232:18: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype rtol, atol, t0, tout, tret; data/sundials-3.1.2+dfsg/examples/ida/parallel/idaFoodWeb_kry_bbd_p.c:309:43: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). retval = IDASStolerances(ida_mem, rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/parallel/idaFoodWeb_kry_bbd_p.c:340:38: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/parallel/idaFoodWeb_kry_bbd_p.c:512:49: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype rtol, realtype atol) data/sundials-3.1.2+dfsg/examples/ida/parallel/idaFoodWeb_kry_bbd_p.c:521:68: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %Lg atol = %Lg\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/parallel/idaFoodWeb_kry_bbd_p.c:523:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/parallel/idaFoodWeb_kry_bbd_p.c:525:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/parallel/idaFoodWeb_kry_p.c:220:49: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype rtol, realtype atol); data/sundials-3.1.2+dfsg/examples/ida/parallel/idaFoodWeb_kry_p.c:242:18: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype rtol, atol, t0, tout, tret; data/sundials-3.1.2+dfsg/examples/ida/parallel/idaFoodWeb_kry_p.c:319:41: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). flag = IDASStolerances(ida_mem, rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/parallel/idaFoodWeb_kry_p.c:352:56: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if (thispe == 0) PrintHeader(SystemSize, maxl, rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/parallel/idaFoodWeb_kry_p.c:562:49: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype rtol, realtype atol) data/sundials-3.1.2+dfsg/examples/ida/parallel/idaFoodWeb_kry_p.c:571:68: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %Lg atol = %Lg\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/parallel/idaFoodWeb_kry_p.c:573:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/parallel/idaFoodWeb_kry_p.c:575:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/parallel/idaHeat2D_kry_bbd_p.c:104:67: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static void PrintHeader(sunindextype Neq, realtype rtol, realtype atol); data/sundials-3.1.2+dfsg/examples/ida/parallel/idaHeat2D_kry_bbd_p.c:128:18: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype rtol, atol, t0, t1, tout, tret; data/sundials-3.1.2+dfsg/examples/ida/parallel/idaHeat2D_kry_bbd_p.c:214:40: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ier = IDASStolerances(ida_mem, rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/parallel/idaHeat2D_kry_bbd_p.c:224:44: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if (thispe == 0 ) PrintHeader(Neq, rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/parallel/idaHeat2D_kry_bbd_p.c:704:67: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static void PrintHeader(sunindextype Neq, realtype rtol, realtype atol) data/sundials-3.1.2+dfsg/examples/ida/parallel/idaHeat2D_kry_bbd_p.c:716:70: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %Lg atol = %Lg\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/parallel/idaHeat2D_kry_bbd_p.c:718:68: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/parallel/idaHeat2D_kry_bbd_p.c:720:68: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/parallel/idaHeat2D_kry_p.c:108:67: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static void PrintHeader(sunindextype Neq, realtype rtol, realtype atol); data/sundials-3.1.2+dfsg/examples/ida/parallel/idaHeat2D_kry_p.c:130:18: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype rtol, atol, t0, t1, tout, tret; data/sundials-3.1.2+dfsg/examples/ida/parallel/idaHeat2D_kry_p.c:229:40: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ier = IDASStolerances(ida_mem, rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/parallel/idaHeat2D_kry_p.c:245:43: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if (thispe == 0) PrintHeader(Neq, rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/parallel/idaHeat2D_kry_p.c:752:67: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static void PrintHeader(sunindextype Neq, realtype rtol, realtype atol) data/sundials-3.1.2+dfsg/examples/ida/parallel/idaHeat2D_kry_p.c:763:68: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %Lg atol = %Lg\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/parallel/idaHeat2D_kry_p.c:765:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/parallel/idaHeat2D_kry_p.c:767:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/petsc/idaHeat2D_kry_petsc.c:94:67: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static void PrintHeader(sunindextype Neq, realtype rtol, realtype atol); data/sundials-3.1.2+dfsg/examples/ida/petsc/idaHeat2D_kry_petsc.c:116:18: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype rtol, atol, t0, t1, tout, tret; data/sundials-3.1.2+dfsg/examples/ida/petsc/idaHeat2D_kry_petsc.c:238:40: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ier = IDASStolerances(ida_mem, rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/petsc/idaHeat2D_kry_petsc.c:254:43: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if (thispe == 0) PrintHeader(Neq, rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/petsc/idaHeat2D_kry_petsc.c:592:67: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static void PrintHeader(sunindextype Neq, realtype rtol, realtype atol) data/sundials-3.1.2+dfsg/examples/ida/petsc/idaHeat2D_kry_petsc.c:603:68: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %Lg atol = %Lg\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/petsc/idaHeat2D_kry_petsc.c:605:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/petsc/idaHeat2D_kry_petsc.c:607:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/serial/idaFoodWeb_bnd.c:151:83: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static void PrintHeader(sunindextype mu, sunindextype ml, realtype rtol, realtype atol); data/sundials-3.1.2+dfsg/examples/ida/serial/idaFoodWeb_bnd.c:173:18: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype rtol, atol, t0, tout, tret; data/sundials-3.1.2+dfsg/examples/ida/serial/idaFoodWeb_bnd.c:224:39: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). retval = IDASStolerances(mem, rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/serial/idaFoodWeb_bnd.c:248:29: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). PrintHeader(mu, ml, rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/serial/idaFoodWeb_bnd.c:456:83: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static void PrintHeader(sunindextype mu, sunindextype ml, realtype rtol, realtype atol) data/sundials-3.1.2+dfsg/examples/ida/serial/idaFoodWeb_bnd.c:463:68: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %Lg atol = %Lg\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/serial/idaFoodWeb_bnd.c:465:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/serial/idaFoodWeb_bnd.c:467:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/serial/idaFoodWeb_kry.c:165:68: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static void PrintHeader(sunindextype maxl, realtype rtol, realtype atol); data/sundials-3.1.2+dfsg/examples/ida/serial/idaFoodWeb_kry.c:187:18: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype rtol, atol, t0, tout, tret; data/sundials-3.1.2+dfsg/examples/ida/serial/idaFoodWeb_kry.c:243:37: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). flag = IDASStolerances(mem, rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/serial/idaFoodWeb_kry.c:274:27: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). PrintHeader(maxl, rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/serial/idaFoodWeb_kry.c:587:68: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static void PrintHeader(sunindextype maxl, realtype rtol, realtype atol) data/sundials-3.1.2+dfsg/examples/ida/serial/idaFoodWeb_kry.c:594:68: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %Lg atol = %Lg\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/serial/idaFoodWeb_kry.c:596:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/serial/idaFoodWeb_kry.c:598:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/serial/idaHeat2D_bnd.c:64:49: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static void PrintHeader(realtype rtol, realtype atol); data/sundials-3.1.2+dfsg/examples/ida/serial/idaHeat2D_bnd.c:85:18: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype rtol, atol, t0, t1, tout, tret; data/sundials-3.1.2+dfsg/examples/ida/serial/idaHeat2D_bnd.c:144:36: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ier = IDASStolerances(mem, rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/serial/idaHeat2D_bnd.c:166:21: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). PrintHeader(rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/serial/idaHeat2D_bnd.c:310:49: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static void PrintHeader(realtype rtol, realtype atol) data/sundials-3.1.2+dfsg/examples/ida/serial/idaHeat2D_bnd.c:319:68: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %Lg atol = %Lg\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/serial/idaHeat2D_bnd.c:321:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/serial/idaHeat2D_bnd.c:323:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/serial/idaHeat2D_klu.c:77:49: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static void PrintHeader(realtype rtol, realtype atol); data/sundials-3.1.2+dfsg/examples/ida/serial/idaHeat2D_klu.c:97:18: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype rtol, atol, t0, t1, tout, tret; data/sundials-3.1.2+dfsg/examples/ida/serial/idaHeat2D_klu.c:155:36: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ier = IDASStolerances(mem, rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/serial/idaHeat2D_klu.c:189:21: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). PrintHeader(rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/serial/idaHeat2D_klu.c:644:49: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static void PrintHeader(realtype rtol, realtype atol) data/sundials-3.1.2+dfsg/examples/ida/serial/idaHeat2D_klu.c:653:68: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %Lg atol = %Lg\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/serial/idaHeat2D_klu.c:655:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/serial/idaHeat2D_klu.c:657:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/serial/idaHeat2D_kry.c:76:49: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static void PrintHeader(realtype rtol, realtype atol); data/sundials-3.1.2+dfsg/examples/ida/serial/idaHeat2D_kry.c:92:18: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype rtol, atol, t0, t1, tout, tret; data/sundials-3.1.2+dfsg/examples/ida/serial/idaHeat2D_kry.c:157:36: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ier = IDASStolerances(mem, rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/serial/idaHeat2D_kry.c:178:21: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). PrintHeader(rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/serial/idaHeat2D_kry.c:452:49: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static void PrintHeader(realtype rtol, realtype atol) data/sundials-3.1.2+dfsg/examples/ida/serial/idaHeat2D_kry.c:461:68: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %Lg atol = %Lg\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/serial/idaHeat2D_kry.c:463:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/serial/idaHeat2D_kry.c:465:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/serial/idaKrylovDemo_ls.c:87:49: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static void PrintHeader(realtype rtol, realtype atol, int linsolver); data/sundials-3.1.2+dfsg/examples/ida/serial/idaKrylovDemo_ls.c:103:18: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype rtol, atol, t0, t1, tout, tret; data/sundials-3.1.2+dfsg/examples/ida/serial/idaKrylovDemo_ls.c:168:36: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ier = IDASStolerances(mem, rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/serial/idaKrylovDemo_ls.c:254:23: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). PrintHeader(rtol, atol, linsolver); data/sundials-3.1.2+dfsg/examples/ida/serial/idaKrylovDemo_ls.c:477:49: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static void PrintHeader(realtype rtol, realtype atol, int linsolver) data/sundials-3.1.2+dfsg/examples/ida/serial/idaKrylovDemo_ls.c:486:68: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %Lg atol = %Lg\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/serial/idaKrylovDemo_ls.c:488:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/serial/idaKrylovDemo_ls.c:490:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/serial/idaRoberts_dns.c:67:70: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static int check_ans(N_Vector y, realtype t, realtype rtol, N_Vector atol); data/sundials-3.1.2+dfsg/examples/ida/serial/idaRoberts_dns.c:422:70: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static int check_ans(N_Vector y, realtype t, realtype rtol, N_Vector atol) data/sundials-3.1.2+dfsg/examples/ida/serial/idaRoberts_dns.c:440:41: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). N_VLinearSum(rtol, ewt, RCONST(10.0), atol, ewt); data/sundials-3.1.2+dfsg/examples/ida/serial/idaSlCrank_dns.c:54:49: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static void PrintHeader(realtype rtol, realtype atol, N_Vector y); data/sundials-3.1.2+dfsg/examples/ida/serial/idaSlCrank_dns.c:71:18: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype rtol, atol; data/sundials-3.1.2+dfsg/examples/ida/serial/idaSlCrank_dns.c:120:37: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). flag = IDASStolerances(mem, rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/serial/idaSlCrank_dns.c:137:21: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). PrintHeader(rtol, atol, yy); data/sundials-3.1.2+dfsg/examples/ida/serial/idaSlCrank_dns.c:306:49: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static void PrintHeader(realtype rtol, realtype atol, N_Vector y) data/sundials-3.1.2+dfsg/examples/ida/serial/idaSlCrank_dns.c:312:16: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/serial/idaSlCrank_dns.c:315:16: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). rtol, atol); data/sundials-3.1.2+dfsg/examples/ida/serial/idaSlCrank_dns.c:318:16: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/C_openmp/idasFoodWeb_bnd_omp.c:174:83: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static void PrintHeader(sunindextype mu, sunindextype ml, realtype rtol, realtype atol); data/sundials-3.1.2+dfsg/examples/idas/C_openmp/idasFoodWeb_bnd_omp.c:198:18: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype rtol, atol, t0, tout, tret; data/sundials-3.1.2+dfsg/examples/idas/C_openmp/idasFoodWeb_bnd_omp.c:257:43: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). retval = IDASStolerances(ida_mem, rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/C_openmp/idasFoodWeb_bnd_omp.c:279:29: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). PrintHeader(mu, ml, rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/C_openmp/idasFoodWeb_bnd_omp.c:488:83: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static void PrintHeader(sunindextype mu, sunindextype ml, realtype rtol, realtype atol) data/sundials-3.1.2+dfsg/examples/idas/C_openmp/idasFoodWeb_bnd_omp.c:495:68: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %Lg atol = %Lg\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/C_openmp/idasFoodWeb_bnd_omp.c:497:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/C_openmp/idasFoodWeb_bnd_omp.c:499:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/C_openmp/idasFoodWeb_kry_omp.c:185:68: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static void PrintHeader(sunindextype maxl, realtype rtol, realtype atol); data/sundials-3.1.2+dfsg/examples/idas/C_openmp/idasFoodWeb_kry_omp.c:208:18: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype rtol, atol, t0, tout, tret; data/sundials-3.1.2+dfsg/examples/idas/C_openmp/idasFoodWeb_kry_omp.c:273:41: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). flag = IDASStolerances(ida_mem, rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/C_openmp/idasFoodWeb_kry_omp.c:299:27: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). PrintHeader(maxl, rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/C_openmp/idasFoodWeb_kry_omp.c:611:68: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static void PrintHeader(sunindextype maxl, realtype rtol, realtype atol) data/sundials-3.1.2+dfsg/examples/idas/C_openmp/idasFoodWeb_kry_omp.c:618:68: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %Lg atol = %Lg\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/C_openmp/idasFoodWeb_kry_omp.c:620:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/C_openmp/idasFoodWeb_kry_omp.c:622:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasBruss_ASAp_kry_bbd_p.c:184:49: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype rtol, realtype atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasBruss_ASAp_kry_bbd_p.c:212:18: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype rtol, atol, t0, tout, tret; data/sundials-3.1.2+dfsg/examples/idas/parallel/idasBruss_ASAp_kry_bbd_p.c:285:43: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). retval = IDASStolerances(ida_mem, rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasBruss_ASAp_kry_bbd_p.c:321:38: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasBruss_ASAp_kry_bbd_p.c:360:52: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). retval = IDASStolerancesB(ida_mem, indexB, rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasBruss_ASAp_kry_bbd_p.c:621:49: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype rtol, realtype atol) data/sundials-3.1.2+dfsg/examples/idas/parallel/idasBruss_ASAp_kry_bbd_p.c:630:68: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %Lg atol = %Lg\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasBruss_ASAp_kry_bbd_p.c:632:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasBruss_ASAp_kry_bbd_p.c:634:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasBruss_ASAp_kry_bbd_p.c:717:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char szFilename[128]; data/sundials-3.1.2+dfsg/examples/idas/parallel/idasBruss_ASAp_kry_bbd_p.c:721:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(szFilename, "ysol%da.txt", thispe); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasBruss_ASAp_kry_bbd_p.c:723:10: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fout = fopen(szFilename, "w+"); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasBruss_ASAp_kry_bbd_p.c:766:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char szFilename[128]; data/sundials-3.1.2+dfsg/examples/idas/parallel/idasBruss_ASAp_kry_bbd_p.c:770:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(szFilename, "ysol%dadj.txt", thispe); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasBruss_ASAp_kry_bbd_p.c:772:10: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fout = fopen(szFilename, "w+"); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasBruss_FSA_kry_bbd_p.c:157:49: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype rtol, realtype atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasBruss_FSA_kry_bbd_p.c:182:18: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype rtol, atol, t0, tout, tret; data/sundials-3.1.2+dfsg/examples/idas/parallel/idasBruss_FSA_kry_bbd_p.c:264:43: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). retval = IDASStolerances(ida_mem, rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasBruss_FSA_kry_bbd_p.c:308:38: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasBruss_FSA_kry_bbd_p.c:514:49: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype rtol, realtype atol) data/sundials-3.1.2+dfsg/examples/idas/parallel/idasBruss_FSA_kry_bbd_p.c:523:68: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %Lg atol = %Lg\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasBruss_FSA_kry_bbd_p.c:525:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasBruss_FSA_kry_bbd_p.c:527:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasBruss_FSA_kry_bbd_p.c:612:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char szFilename[128]; data/sundials-3.1.2+dfsg/examples/idas/parallel/idasBruss_FSA_kry_bbd_p.c:615:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(szFilename, "ysol%d.txt", thispe); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasBruss_FSA_kry_bbd_p.c:617:10: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fout = fopen(szFilename, "w+"); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasBruss_kry_bbd_p.c:143:49: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype rtol, realtype atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasBruss_kry_bbd_p.c:168:18: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype rtol, atol, t0, tout, tret; data/sundials-3.1.2+dfsg/examples/idas/parallel/idasBruss_kry_bbd_p.c:237:43: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). retval = IDASStolerances(ida_mem, rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasBruss_kry_bbd_p.c:269:38: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasBruss_kry_bbd_p.c:446:49: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype rtol, realtype atol) data/sundials-3.1.2+dfsg/examples/idas/parallel/idasBruss_kry_bbd_p.c:455:68: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %Lg atol = %Lg\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasBruss_kry_bbd_p.c:457:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasBruss_kry_bbd_p.c:459:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasBruss_kry_bbd_p.c:544:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char szFilename[128]; data/sundials-3.1.2+dfsg/examples/idas/parallel/idasBruss_kry_bbd_p.c:547:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(szFilename, "ysol%d.txt", thispe); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasBruss_kry_bbd_p.c:549:10: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fout = fopen(szFilename, "w+"); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasFoodWeb_kry_bbd_p.c:210:49: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype rtol, realtype atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasFoodWeb_kry_bbd_p.c:232:18: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype rtol, atol, t0, tout, tret; data/sundials-3.1.2+dfsg/examples/idas/parallel/idasFoodWeb_kry_bbd_p.c:309:43: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). retval = IDASStolerances(ida_mem, rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasFoodWeb_kry_bbd_p.c:340:38: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasFoodWeb_kry_bbd_p.c:512:49: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype rtol, realtype atol) data/sundials-3.1.2+dfsg/examples/idas/parallel/idasFoodWeb_kry_bbd_p.c:521:68: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %Lg atol = %Lg\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasFoodWeb_kry_bbd_p.c:523:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasFoodWeb_kry_bbd_p.c:525:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasFoodWeb_kry_p.c:219:49: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype rtol, realtype atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasFoodWeb_kry_p.c:241:18: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype rtol, atol, t0, tout, tret; data/sundials-3.1.2+dfsg/examples/idas/parallel/idasFoodWeb_kry_p.c:318:41: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). flag = IDASStolerances(ida_mem, rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasFoodWeb_kry_p.c:351:56: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if (thispe == 0) PrintHeader(SystemSize, maxl, rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasFoodWeb_kry_p.c:561:49: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype rtol, realtype atol) data/sundials-3.1.2+dfsg/examples/idas/parallel/idasFoodWeb_kry_p.c:570:68: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %Lg atol = %Lg\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasFoodWeb_kry_p.c:572:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasFoodWeb_kry_p.c:574:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasHeat2D_FSA_kry_bbd_p.c:103:67: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static void PrintHeader(sunindextype Neq, realtype rtol, realtype atol, data/sundials-3.1.2+dfsg/examples/idas/parallel/idasHeat2D_FSA_kry_bbd_p.c:130:18: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype rtol, atol, t0, t1, tout, tret; data/sundials-3.1.2+dfsg/examples/idas/parallel/idasHeat2D_FSA_kry_bbd_p.c:233:40: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ier = IDASStolerances(ida_mem, rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasHeat2D_FSA_kry_bbd_p.c:321:44: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if (thispe == 0 ) PrintHeader(Neq, rtol, atol, mudq, mukeep, data/sundials-3.1.2+dfsg/examples/idas/parallel/idasHeat2D_FSA_kry_bbd_p.c:755:67: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static void PrintHeader(sunindextype Neq, realtype rtol, realtype atol, data/sundials-3.1.2+dfsg/examples/idas/parallel/idasHeat2D_FSA_kry_bbd_p.c:768:70: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %Lg atol = %Lg\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasHeat2D_FSA_kry_bbd_p.c:770:68: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasHeat2D_FSA_kry_bbd_p.c:772:68: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasHeat2D_kry_bbd_p.c:104:67: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static void PrintHeader(sunindextype Neq, realtype rtol, realtype atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasHeat2D_kry_bbd_p.c:128:18: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype rtol, atol, t0, t1, tout, tret; data/sundials-3.1.2+dfsg/examples/idas/parallel/idasHeat2D_kry_bbd_p.c:214:40: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ier = IDASStolerances(ida_mem, rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasHeat2D_kry_bbd_p.c:224:44: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if (thispe == 0 ) PrintHeader(Neq, rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasHeat2D_kry_bbd_p.c:704:67: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static void PrintHeader(sunindextype Neq, realtype rtol, realtype atol) data/sundials-3.1.2+dfsg/examples/idas/parallel/idasHeat2D_kry_bbd_p.c:716:70: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %Lg atol = %Lg\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasHeat2D_kry_bbd_p.c:718:68: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasHeat2D_kry_bbd_p.c:720:68: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasHeat2D_kry_p.c:108:67: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static void PrintHeader(sunindextype Neq, realtype rtol, realtype atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasHeat2D_kry_p.c:130:18: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype rtol, atol, t0, t1, tout, tret; data/sundials-3.1.2+dfsg/examples/idas/parallel/idasHeat2D_kry_p.c:229:40: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ier = IDASStolerances(ida_mem, rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasHeat2D_kry_p.c:245:43: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if (thispe == 0) PrintHeader(Neq, rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasHeat2D_kry_p.c:752:67: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static void PrintHeader(sunindextype Neq, realtype rtol, realtype atol) data/sundials-3.1.2+dfsg/examples/idas/parallel/idasHeat2D_kry_p.c:763:68: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %Lg atol = %Lg\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasHeat2D_kry_p.c:765:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/parallel/idasHeat2D_kry_p.c:767:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/serial/idasFoodWeb_bnd.c:151:83: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static void PrintHeader(sunindextype mu, sunindextype ml, realtype rtol, realtype atol); data/sundials-3.1.2+dfsg/examples/idas/serial/idasFoodWeb_bnd.c:173:18: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype rtol, atol, t0, tout, tret; data/sundials-3.1.2+dfsg/examples/idas/serial/idasFoodWeb_bnd.c:224:39: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). retval = IDASStolerances(mem, rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/serial/idasFoodWeb_bnd.c:248:29: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). PrintHeader(mu, ml, rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/serial/idasFoodWeb_bnd.c:456:83: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static void PrintHeader(sunindextype mu, sunindextype ml, realtype rtol, realtype atol) data/sundials-3.1.2+dfsg/examples/idas/serial/idasFoodWeb_bnd.c:463:68: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %Lg atol = %Lg\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/serial/idasFoodWeb_bnd.c:465:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/serial/idasFoodWeb_bnd.c:467:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/serial/idasHeat2D_bnd.c:64:49: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static void PrintHeader(realtype rtol, realtype atol); data/sundials-3.1.2+dfsg/examples/idas/serial/idasHeat2D_bnd.c:85:18: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype rtol, atol, t0, t1, tout, tret; data/sundials-3.1.2+dfsg/examples/idas/serial/idasHeat2D_bnd.c:144:36: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ier = IDASStolerances(mem, rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/serial/idasHeat2D_bnd.c:166:21: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). PrintHeader(rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/serial/idasHeat2D_bnd.c:310:49: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static void PrintHeader(realtype rtol, realtype atol) data/sundials-3.1.2+dfsg/examples/idas/serial/idasHeat2D_bnd.c:319:68: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %Lg atol = %Lg\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/serial/idasHeat2D_bnd.c:321:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/serial/idasHeat2D_bnd.c:323:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/serial/idasHeat2D_kry.c:76:49: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static void PrintHeader(realtype rtol, realtype atol); data/sundials-3.1.2+dfsg/examples/idas/serial/idasHeat2D_kry.c:92:18: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype rtol, atol, t0, t1, tout, tret; data/sundials-3.1.2+dfsg/examples/idas/serial/idasHeat2D_kry.c:157:36: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ier = IDASStolerances(mem, rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/serial/idasHeat2D_kry.c:178:21: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). PrintHeader(rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/serial/idasHeat2D_kry.c:452:49: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static void PrintHeader(realtype rtol, realtype atol) data/sundials-3.1.2+dfsg/examples/idas/serial/idasHeat2D_kry.c:461:68: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %Lg atol = %Lg\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/serial/idasHeat2D_kry.c:463:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/serial/idasHeat2D_kry.c:465:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/serial/idasKrylovDemo_ls.c:87:49: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static void PrintHeader(realtype rtol, realtype atol, int linsolver); data/sundials-3.1.2+dfsg/examples/idas/serial/idasKrylovDemo_ls.c:103:18: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype rtol, atol, t0, t1, tout, tret; data/sundials-3.1.2+dfsg/examples/idas/serial/idasKrylovDemo_ls.c:168:36: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ier = IDASStolerances(mem, rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/serial/idasKrylovDemo_ls.c:254:23: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). PrintHeader(rtol, atol, linsolver); data/sundials-3.1.2+dfsg/examples/idas/serial/idasKrylovDemo_ls.c:477:49: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static void PrintHeader(realtype rtol, realtype atol, int linsolver) data/sundials-3.1.2+dfsg/examples/idas/serial/idasKrylovDemo_ls.c:486:68: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %Lg atol = %Lg\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/serial/idasKrylovDemo_ls.c:488:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/serial/idasKrylovDemo_ls.c:490:66: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). printf("Tolerance parameters: rtol = %g atol = %g\n", rtol, atol); data/sundials-3.1.2+dfsg/examples/idas/serial/idasRoberts_ASAi_dns.c:589:26: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype yy, ww, rtol, atol[3]; data/sundials-3.1.2+dfsg/examples/idas/serial/idasRoberts_ASAi_dns.c:592:3: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). atol[0] = ATOL1; data/sundials-3.1.2+dfsg/examples/idas/serial/idasRoberts_ASAi_dns.c:593:3: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). atol[1] = ATOL2; data/sundials-3.1.2+dfsg/examples/idas/serial/idasRoberts_ASAi_dns.c:594:3: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). atol[2] = ATOL3; data/sundials-3.1.2+dfsg/examples/idas/serial/idasRoberts_ASAi_dns.c:598:31: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ww = rtol * SUNRabs(yy) + atol[i-1]; data/sundials-3.1.2+dfsg/examples/idas/serial/idasRoberts_ASAi_klu.c:603:26: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype yy, ww, rtol, atol[3]; data/sundials-3.1.2+dfsg/examples/idas/serial/idasRoberts_ASAi_klu.c:606:3: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). atol[0] = ATOL1; data/sundials-3.1.2+dfsg/examples/idas/serial/idasRoberts_ASAi_klu.c:607:3: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). atol[1] = ATOL2; data/sundials-3.1.2+dfsg/examples/idas/serial/idasRoberts_ASAi_klu.c:608:3: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). atol[2] = ATOL3; data/sundials-3.1.2+dfsg/examples/idas/serial/idasRoberts_ASAi_klu.c:612:31: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ww = rtol * SUNRabs(yy) + atol[i-1]; data/sundials-3.1.2+dfsg/examples/idas/serial/idasRoberts_ASAi_sps.c:604:26: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype yy, ww, rtol, atol[3]; data/sundials-3.1.2+dfsg/examples/idas/serial/idasRoberts_ASAi_sps.c:607:3: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). atol[0] = ATOL1; data/sundials-3.1.2+dfsg/examples/idas/serial/idasRoberts_ASAi_sps.c:608:3: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). atol[1] = ATOL2; data/sundials-3.1.2+dfsg/examples/idas/serial/idasRoberts_ASAi_sps.c:609:3: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). atol[2] = ATOL3; data/sundials-3.1.2+dfsg/examples/idas/serial/idasRoberts_ASAi_sps.c:613:31: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ww = rtol * SUNRabs(yy) + atol[i-1]; data/sundials-3.1.2+dfsg/examples/idas/serial/idasRoberts_dns.c:67:70: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static int check_ans(N_Vector y, realtype t, realtype rtol, N_Vector atol); data/sundials-3.1.2+dfsg/examples/idas/serial/idasRoberts_dns.c:422:70: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static int check_ans(N_Vector y, realtype t, realtype rtol, N_Vector atol) data/sundials-3.1.2+dfsg/examples/idas/serial/idasRoberts_dns.c:440:41: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). N_VLinearSum(rtol, ewt, RCONST(10.0), atol, ewt); data/sundials-3.1.2+dfsg/examples/kinsol/serial/kinRoberts_fp.c:63:58: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static int check_ans(N_Vector u, realtype rtol, realtype atol); data/sundials-3.1.2+dfsg/examples/kinsol/serial/kinRoberts_fp.c:304:58: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). static int check_ans(N_Vector u, realtype rtol, realtype atol) data/sundials-3.1.2+dfsg/examples/kinsol/serial/kinRoberts_fp.c:323:20: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). N_VAddConst(ewt, atol, ewt); data/sundials-3.1.2+dfsg/examples/nvector/C_openmp/test_nvector_openmp.c:44:12: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). veclen = atol(argv[1]); data/sundials-3.1.2+dfsg/examples/nvector/C_openmp/test_nvector_openmp.c:50:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). num_threads = atoi(argv[2]); data/sundials-3.1.2+dfsg/examples/nvector/C_openmp/test_nvector_openmp.c:56:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). print_timing = atoi(argv[3]); data/sundials-3.1.2+dfsg/examples/nvector/parhyp/test_nvector_parhyp.c:61:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). print_timing = atoi(argv[2]); data/sundials-3.1.2+dfsg/examples/nvector/parhyp/test_nvector_parhyp.c:68:14: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). veclen = atol(argv[1]); data/sundials-3.1.2+dfsg/examples/nvector/pthreads/test_nvector_pthreads.c:45:12: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). veclen = atol(argv[1]); data/sundials-3.1.2+dfsg/examples/nvector/pthreads/test_nvector_pthreads.c:51:14: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). nthreads = atoi(argv[2]); data/sundials-3.1.2+dfsg/examples/nvector/pthreads/test_nvector_pthreads.c:57:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). print_timing = atoi(argv[3]); data/sundials-3.1.2+dfsg/examples/nvector/serial/test_nvector_serial.c:44:12: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). veclen = atol(argv[1]); data/sundials-3.1.2+dfsg/examples/nvector/serial/test_nvector_serial.c:50:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). print_timing = atoi(argv[2]); data/sundials-3.1.2+dfsg/examples/sunlinsol/band/test_sunlinsol_band.c:55:10: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). cols = atol(argv[1]); data/sundials-3.1.2+dfsg/examples/sunlinsol/band/test_sunlinsol_band.c:61:11: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). uband = atol(argv[2]); data/sundials-3.1.2+dfsg/examples/sunlinsol/band/test_sunlinsol_band.c:67:11: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). lband = atol(argv[3]); data/sundials-3.1.2+dfsg/examples/sunlinsol/band/test_sunlinsol_band.c:73:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). print_timing = atoi(argv[4]); data/sundials-3.1.2+dfsg/examples/sunlinsol/dense/test_sunlinsol_dense.c:54:10: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). cols = atol(argv[1]); data/sundials-3.1.2+dfsg/examples/sunlinsol/dense/test_sunlinsol_dense.c:62:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). print_timing = atoi(argv[2]); data/sundials-3.1.2+dfsg/examples/sunlinsol/klu/test_sunlinsol_klu.c:55:7: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). N = atol(argv[1]); data/sundials-3.1.2+dfsg/examples/sunlinsol/klu/test_sunlinsol_klu.c:61:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). mattype = atoi(argv[2]); data/sundials-3.1.2+dfsg/examples/sunlinsol/klu/test_sunlinsol_klu.c:68:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). print_timing = atoi(argv[3]); data/sundials-3.1.2+dfsg/examples/sunlinsol/lapackband/test_sunlinsol_lapackband.c:55:10: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). cols = atol(argv[1]); data/sundials-3.1.2+dfsg/examples/sunlinsol/lapackband/test_sunlinsol_lapackband.c:61:11: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). uband = atol(argv[2]); data/sundials-3.1.2+dfsg/examples/sunlinsol/lapackband/test_sunlinsol_lapackband.c:67:11: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). lband = atol(argv[3]); data/sundials-3.1.2+dfsg/examples/sunlinsol/lapackband/test_sunlinsol_lapackband.c:73:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). print_timing = atoi(argv[4]); data/sundials-3.1.2+dfsg/examples/sunlinsol/lapackdense/test_sunlinsol_lapackdense.c:54:10: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). cols = atol(argv[1]); data/sundials-3.1.2+dfsg/examples/sunlinsol/lapackdense/test_sunlinsol_lapackdense.c:62:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). print_timing = atoi(argv[2]); data/sundials-3.1.2+dfsg/examples/sunlinsol/pcg/serial/test_sunlinsol_pcg_serial.c:123:16: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ProbData.N = atol(argv[1]); data/sundials-3.1.2+dfsg/examples/sunlinsol/pcg/serial/test_sunlinsol_pcg_serial.c:129:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxl = atoi(argv[2]); data/sundials-3.1.2+dfsg/examples/sunlinsol/pcg/serial/test_sunlinsol_pcg_serial.c:139:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). print_timing = atoi(argv[4]); data/sundials-3.1.2+dfsg/examples/sunlinsol/spbcgs/parallel/test_sunlinsol_spbcgs_parallel.c:132:19: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ProbData.Nloc = atol(argv[1]); data/sundials-3.1.2+dfsg/examples/sunlinsol/spbcgs/parallel/test_sunlinsol_spbcgs_parallel.c:138:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). pretype = atoi(argv[2]); data/sundials-3.1.2+dfsg/examples/sunlinsol/spbcgs/parallel/test_sunlinsol_spbcgs_parallel.c:143:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxl = atoi(argv[3]); data/sundials-3.1.2+dfsg/examples/sunlinsol/spbcgs/parallel/test_sunlinsol_spbcgs_parallel.c:153:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). print_timing = atoi(argv[5]); data/sundials-3.1.2+dfsg/examples/sunlinsol/spbcgs/serial/test_sunlinsol_spbcgs_serial.c:118:16: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ProbData.N = atol(argv[1]); data/sundials-3.1.2+dfsg/examples/sunlinsol/spbcgs/serial/test_sunlinsol_spbcgs_serial.c:124:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). pretype = atoi(argv[2]); data/sundials-3.1.2+dfsg/examples/sunlinsol/spbcgs/serial/test_sunlinsol_spbcgs_serial.c:129:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxl = atoi(argv[3]); data/sundials-3.1.2+dfsg/examples/sunlinsol/spbcgs/serial/test_sunlinsol_spbcgs_serial.c:139:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). print_timing = atoi(argv[5]); data/sundials-3.1.2+dfsg/examples/sunlinsol/spfgmr/parallel/test_sunlinsol_spfgmr_parallel.c:134:19: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ProbData.Nloc = atol(argv[1]); data/sundials-3.1.2+dfsg/examples/sunlinsol/spfgmr/parallel/test_sunlinsol_spfgmr_parallel.c:140:12: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). gstype = atoi(argv[2]); data/sundials-3.1.2+dfsg/examples/sunlinsol/spfgmr/parallel/test_sunlinsol_spfgmr_parallel.c:145:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxl = atoi(argv[3]); data/sundials-3.1.2+dfsg/examples/sunlinsol/spfgmr/parallel/test_sunlinsol_spfgmr_parallel.c:155:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). print_timing = atoi(argv[5]); data/sundials-3.1.2+dfsg/examples/sunlinsol/spfgmr/serial/test_sunlinsol_spfgmr_serial.c:120:16: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ProbData.N = atol(argv[1]); data/sundials-3.1.2+dfsg/examples/sunlinsol/spfgmr/serial/test_sunlinsol_spfgmr_serial.c:126:12: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). gstype = atoi(argv[2]); data/sundials-3.1.2+dfsg/examples/sunlinsol/spfgmr/serial/test_sunlinsol_spfgmr_serial.c:131:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxl = atoi(argv[3]); data/sundials-3.1.2+dfsg/examples/sunlinsol/spfgmr/serial/test_sunlinsol_spfgmr_serial.c:141:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). print_timing = atoi(argv[5]); data/sundials-3.1.2+dfsg/examples/sunlinsol/spgmr/parallel/test_sunlinsol_spgmr_parallel.c:135:19: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ProbData.Nloc = atol(argv[1]); data/sundials-3.1.2+dfsg/examples/sunlinsol/spgmr/parallel/test_sunlinsol_spgmr_parallel.c:141:12: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). gstype = atoi(argv[2]); data/sundials-3.1.2+dfsg/examples/sunlinsol/spgmr/parallel/test_sunlinsol_spgmr_parallel.c:146:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). pretype = atoi(argv[3]); data/sundials-3.1.2+dfsg/examples/sunlinsol/spgmr/parallel/test_sunlinsol_spgmr_parallel.c:151:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxl = atoi(argv[4]); data/sundials-3.1.2+dfsg/examples/sunlinsol/spgmr/parallel/test_sunlinsol_spgmr_parallel.c:161:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). print_timing = atoi(argv[6]); data/sundials-3.1.2+dfsg/examples/sunlinsol/spgmr/serial/test_sunlinsol_spgmr_serial.c:121:16: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ProbData.N = atol(argv[1]); data/sundials-3.1.2+dfsg/examples/sunlinsol/spgmr/serial/test_sunlinsol_spgmr_serial.c:127:12: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). gstype = atoi(argv[2]); data/sundials-3.1.2+dfsg/examples/sunlinsol/spgmr/serial/test_sunlinsol_spgmr_serial.c:132:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). pretype = atoi(argv[3]); data/sundials-3.1.2+dfsg/examples/sunlinsol/spgmr/serial/test_sunlinsol_spgmr_serial.c:137:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxl = atoi(argv[4]); data/sundials-3.1.2+dfsg/examples/sunlinsol/spgmr/serial/test_sunlinsol_spgmr_serial.c:147:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). print_timing = atoi(argv[6]); data/sundials-3.1.2+dfsg/examples/sunlinsol/sptfqmr/parallel/test_sunlinsol_sptfqmr_parallel.c:134:19: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ProbData.Nloc = atol(argv[1]); data/sundials-3.1.2+dfsg/examples/sunlinsol/sptfqmr/parallel/test_sunlinsol_sptfqmr_parallel.c:140:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). pretype = atoi(argv[2]); data/sundials-3.1.2+dfsg/examples/sunlinsol/sptfqmr/parallel/test_sunlinsol_sptfqmr_parallel.c:145:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxl = atoi(argv[3]); data/sundials-3.1.2+dfsg/examples/sunlinsol/sptfqmr/parallel/test_sunlinsol_sptfqmr_parallel.c:155:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). print_timing = atoi(argv[5]); data/sundials-3.1.2+dfsg/examples/sunlinsol/sptfqmr/serial/test_sunlinsol_sptfqmr_serial.c:123:16: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ProbData.N = atol(argv[1]); data/sundials-3.1.2+dfsg/examples/sunlinsol/sptfqmr/serial/test_sunlinsol_sptfqmr_serial.c:129:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). pretype = atoi(argv[2]); data/sundials-3.1.2+dfsg/examples/sunlinsol/sptfqmr/serial/test_sunlinsol_sptfqmr_serial.c:134:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxl = atoi(argv[3]); data/sundials-3.1.2+dfsg/examples/sunlinsol/sptfqmr/serial/test_sunlinsol_sptfqmr_serial.c:144:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). print_timing = atoi(argv[5]); data/sundials-3.1.2+dfsg/examples/sunlinsol/superlumt/test_sunlinsol_superlumt.c:55:7: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). N = atol(argv[1]); data/sundials-3.1.2+dfsg/examples/sunlinsol/superlumt/test_sunlinsol_superlumt.c:61:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). mattype = atoi(argv[2]); data/sundials-3.1.2+dfsg/examples/sunlinsol/superlumt/test_sunlinsol_superlumt.c:68:17: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). num_threads = atoi(argv[3]); data/sundials-3.1.2+dfsg/examples/sunlinsol/superlumt/test_sunlinsol_superlumt.c:74:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). print_timing = atoi(argv[4]); data/sundials-3.1.2+dfsg/examples/sunmatrix/band/test_sunmatrix_band.c:54:10: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). cols = atol(argv[1]); data/sundials-3.1.2+dfsg/examples/sunmatrix/band/test_sunmatrix_band.c:60:11: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). uband = atol(argv[2]); data/sundials-3.1.2+dfsg/examples/sunmatrix/band/test_sunmatrix_band.c:66:11: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). lband = atol(argv[3]); data/sundials-3.1.2+dfsg/examples/sunmatrix/band/test_sunmatrix_band.c:72:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). print_timing = atoi(argv[4]); data/sundials-3.1.2+dfsg/examples/sunmatrix/dense/test_sunmatrix_dense.c:55:13: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). matrows = atol(argv[1]); data/sundials-3.1.2+dfsg/examples/sunmatrix/dense/test_sunmatrix_dense.c:61:13: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). matcols = atol(argv[2]); data/sundials-3.1.2+dfsg/examples/sunmatrix/dense/test_sunmatrix_dense.c:67:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). print_timing = atoi(argv[3]); data/sundials-3.1.2+dfsg/examples/sunmatrix/sparse/test_sunmatrix_sparse.c:65:13: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). matrows = atol(argv[1]); data/sundials-3.1.2+dfsg/examples/sunmatrix/sparse/test_sunmatrix_sparse.c:71:13: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). matcols = atol(argv[2]); data/sundials-3.1.2+dfsg/examples/sunmatrix/sparse/test_sunmatrix_sparse.c:77:7: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). k = atol(argv[3]); data/sundials-3.1.2+dfsg/examples/sunmatrix/sparse/test_sunmatrix_sparse.c:84:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). print_timing = atoi(argv[4]); data/sundials-3.1.2+dfsg/src/arkode/arkode.c:2096:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char err_type[10]; data/sundials-3.1.2+dfsg/src/arkode/arkode.c:2102:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(err_type,"WARNING"); data/sundials-3.1.2+dfsg/src/arkode/arkode.c:2104:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(err_type,"ERROR"); data/sundials-3.1.2+dfsg/src/arkode/arkode.c:5873:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char msg[256]; data/sundials-3.1.2+dfsg/src/arkode/arkode_direct.c:446:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARKDLS_SUCCESS"); data/sundials-3.1.2+dfsg/src/arkode/arkode_direct.c:449:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARKDLS_MEM_NULL"); data/sundials-3.1.2+dfsg/src/arkode/arkode_direct.c:452:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARKDLS_LMEM_NULL"); data/sundials-3.1.2+dfsg/src/arkode/arkode_direct.c:455:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARKDLS_ILL_INPUT"); data/sundials-3.1.2+dfsg/src/arkode/arkode_direct.c:458:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARKDLS_MEM_FAIL"); data/sundials-3.1.2+dfsg/src/arkode/arkode_direct.c:461:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARKDLS_MASSMEM_NULL"); data/sundials-3.1.2+dfsg/src/arkode/arkode_direct.c:464:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARKDLS_JACFUNC_UNRECVR"); data/sundials-3.1.2+dfsg/src/arkode/arkode_direct.c:467:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARKDLS_JACFUNC_RECVR"); data/sundials-3.1.2+dfsg/src/arkode/arkode_direct.c:470:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARKDLS_MASSFUNC_UNRECVR"); data/sundials-3.1.2+dfsg/src/arkode/arkode_direct.c:473:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARKDLS_MASSFUNC_RECVR"); data/sundials-3.1.2+dfsg/src/arkode/arkode_direct.c:476:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARKDLS_SUNMAT_FAIL"); data/sundials-3.1.2+dfsg/src/arkode/arkode_direct.c:479:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"NONE"); data/sundials-3.1.2+dfsg/src/arkode/arkode_io.c:2660:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARK_SUCCESS"); data/sundials-3.1.2+dfsg/src/arkode/arkode_io.c:2663:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARK_TSTOP_RETURN"); data/sundials-3.1.2+dfsg/src/arkode/arkode_io.c:2666:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARK_ROOT_RETURN"); data/sundials-3.1.2+dfsg/src/arkode/arkode_io.c:2669:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARK_TOO_MUCH_WORK"); data/sundials-3.1.2+dfsg/src/arkode/arkode_io.c:2672:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARK_TOO_MUCH_ACC"); data/sundials-3.1.2+dfsg/src/arkode/arkode_io.c:2675:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARK_ERR_FAILURE"); data/sundials-3.1.2+dfsg/src/arkode/arkode_io.c:2678:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARK_CONV_FAILURE"); data/sundials-3.1.2+dfsg/src/arkode/arkode_io.c:2681:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARK_LINIT_FAIL"); data/sundials-3.1.2+dfsg/src/arkode/arkode_io.c:2684:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARK_LSETUP_FAIL"); data/sundials-3.1.2+dfsg/src/arkode/arkode_io.c:2687:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARK_LSOLVE_FAIL"); data/sundials-3.1.2+dfsg/src/arkode/arkode_io.c:2690:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARK_RHSFUNC_FAIL"); data/sundials-3.1.2+dfsg/src/arkode/arkode_io.c:2693:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARK_FIRST_RHSFUNC_ERR"); data/sundials-3.1.2+dfsg/src/arkode/arkode_io.c:2696:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARK_REPTD_RHSFUNC_ERR"); data/sundials-3.1.2+dfsg/src/arkode/arkode_io.c:2699:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARK_UNREC_RHSFUNC_ERR"); data/sundials-3.1.2+dfsg/src/arkode/arkode_io.c:2702:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARK_RTFUNC_FAIL"); data/sundials-3.1.2+dfsg/src/arkode/arkode_io.c:2705:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARK_LFREE_FAIL"); data/sundials-3.1.2+dfsg/src/arkode/arkode_io.c:2708:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARK_MASSINIT_FAIL"); data/sundials-3.1.2+dfsg/src/arkode/arkode_io.c:2711:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARK_MASSSETUP_FAIL"); data/sundials-3.1.2+dfsg/src/arkode/arkode_io.c:2714:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARK_MASSSOLVE_FAIL"); data/sundials-3.1.2+dfsg/src/arkode/arkode_io.c:2717:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARK_MASSFREE_FAIL"); data/sundials-3.1.2+dfsg/src/arkode/arkode_io.c:2720:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARK_MASSMULT_FAIL"); data/sundials-3.1.2+dfsg/src/arkode/arkode_io.c:2723:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARK_MEM_FAIL"); data/sundials-3.1.2+dfsg/src/arkode/arkode_io.c:2726:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARK_MEM_NULL"); data/sundials-3.1.2+dfsg/src/arkode/arkode_io.c:2729:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARK_ILL_INPUT"); data/sundials-3.1.2+dfsg/src/arkode/arkode_io.c:2732:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARK_NO_MALLOC"); data/sundials-3.1.2+dfsg/src/arkode/arkode_io.c:2735:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARK_BAD_K"); data/sundials-3.1.2+dfsg/src/arkode/arkode_io.c:2738:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARK_BAD_T"); data/sundials-3.1.2+dfsg/src/arkode/arkode_io.c:2741:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARK_BAD_DKY"); data/sundials-3.1.2+dfsg/src/arkode/arkode_io.c:2744:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARK_TOO_CLOSE"); data/sundials-3.1.2+dfsg/src/arkode/arkode_io.c:2747:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"NONE"); data/sundials-3.1.2+dfsg/src/arkode/arkode_spils.c:713:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARKSPILS_SUCCESS"); data/sundials-3.1.2+dfsg/src/arkode/arkode_spils.c:716:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARKSPILS_MEM_NULL"); data/sundials-3.1.2+dfsg/src/arkode/arkode_spils.c:719:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARKSPILS_LMEM_NULL"); data/sundials-3.1.2+dfsg/src/arkode/arkode_spils.c:722:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARKSPILS_ILL_INPUT"); data/sundials-3.1.2+dfsg/src/arkode/arkode_spils.c:725:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARKSPILS_MEM_FAIL"); data/sundials-3.1.2+dfsg/src/arkode/arkode_spils.c:728:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARKSPILS_PMEM_NULL"); data/sundials-3.1.2+dfsg/src/arkode/arkode_spils.c:731:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARKSPILS_MASSMEM_NULL"); data/sundials-3.1.2+dfsg/src/arkode/arkode_spils.c:734:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARKSPILS_SUNLS_FAIL"); data/sundials-3.1.2+dfsg/src/arkode/arkode_spils.c:737:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"NONE"); data/sundials-3.1.2+dfsg/src/arkode/fcmix/farkode.c:77:42: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int *iatol, realtype *rtol, realtype *atol, data/sundials-3.1.2+dfsg/src/arkode/fcmix/farkode.c:174:10: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if (*atol > ZERO) abstol = *atol; data/sundials-3.1.2+dfsg/src/arkode/fcmix/farkode.c:174:34: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if (*atol > ZERO) abstol = *atol; data/sundials-3.1.2+dfsg/src/arkode/fcmix/farkode.c:185:24: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). N_VSetArrayPointer(atol, Vatol); data/sundials-3.1.2+dfsg/src/arkode/fcmix/farkode.c:217:30: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype *rtol, realtype *atol, int *ier) { data/sundials-3.1.2+dfsg/src/arkode/fcmix/farkode.c:260:10: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if (*atol > ZERO) abstol = *atol; data/sundials-3.1.2+dfsg/src/arkode/fcmix/farkode.c:260:34: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if (*atol > ZERO) abstol = *atol; data/sundials-3.1.2+dfsg/src/arkode/fcmix/farkode.c:269:24: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). N_VSetArrayPointer(atol, Vatol); data/sundials-3.1.2+dfsg/src/arkode/fcmix/farkode.c:293:41: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int *itol, realtype *rtol, realtype *atol, int *ier) { data/sundials-3.1.2+dfsg/src/arkode/fcmix/farkode.c:322:24: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). N_VSetArrayPointer(atol, Vatol); data/sundials-3.1.2+dfsg/src/arkode/fcmix/farkode.c:488:48: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). void FARK_SETRESTOLERANCE(int *itol, realtype *atol, int *ier) { data/sundials-3.1.2+dfsg/src/arkode/fcmix/farkode.c:499:10: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if (*atol > ZERO) abstol = *atol; data/sundials-3.1.2+dfsg/src/arkode/fcmix/farkode.c:499:34: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if (*atol > ZERO) abstol = *atol; data/sundials-3.1.2+dfsg/src/arkode/fcmix/farkode.c:509:24: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). N_VSetArrayPointer(atol, Vatol); data/sundials-3.1.2+dfsg/src/arkode/fcmix/farkode.c:533:10: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). DFID = fopen(filename,"w"); data/sundials-3.1.2+dfsg/src/arkode/fcmix/farkode.h:1701:44: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int *iatol, realtype *rtol, realtype *atol, data/sundials-3.1.2+dfsg/src/arkode/fcmix/farkode.h:1706:44: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int *iatol, realtype *rtol, realtype *atol, data/sundials-3.1.2+dfsg/src/arkode/fcmix/farkode.h:1710:43: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int *itol, realtype *rtol, realtype *atol, int *ier); data/sundials-3.1.2+dfsg/src/arkode/fcmix/farkode.h:1728:50: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). void FARK_SETRESTOLERANCE(int *itol, realtype *atol, int *ier); data/sundials-3.1.2+dfsg/src/cvode/cvode.c:4106:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char msg[256]; data/sundials-3.1.2+dfsg/src/cvode/cvode.c:4142:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char err_type[10]; data/sundials-3.1.2+dfsg/src/cvode/cvode.c:4149:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(err_type,"WARNING"); data/sundials-3.1.2+dfsg/src/cvode/cvode.c:4151:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(err_type,"ERROR"); data/sundials-3.1.2+dfsg/src/cvode/cvode_diag.c:255:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVDIAG_SUCCESS"); data/sundials-3.1.2+dfsg/src/cvode/cvode_diag.c:258:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVDIAG_MEM_NULL"); data/sundials-3.1.2+dfsg/src/cvode/cvode_diag.c:261:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVDIAG_LMEM_NULL"); data/sundials-3.1.2+dfsg/src/cvode/cvode_diag.c:264:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVDIAG_ILL_INPUT"); data/sundials-3.1.2+dfsg/src/cvode/cvode_diag.c:267:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVDIAG_MEM_FAIL"); data/sundials-3.1.2+dfsg/src/cvode/cvode_diag.c:270:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVDIAG_INV_FAIL"); data/sundials-3.1.2+dfsg/src/cvode/cvode_diag.c:273:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVDIAG_RHSFUNC_UNRECVR"); data/sundials-3.1.2+dfsg/src/cvode/cvode_diag.c:276:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVDIAG_RHSFUNC_RECVR"); data/sundials-3.1.2+dfsg/src/cvode/cvode_diag.c:279:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"NONE"); data/sundials-3.1.2+dfsg/src/cvode/cvode_direct.c:303:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVDLS_SUCCESS"); data/sundials-3.1.2+dfsg/src/cvode/cvode_direct.c:306:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVDLS_MEM_NULL"); data/sundials-3.1.2+dfsg/src/cvode/cvode_direct.c:309:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVDLS_LMEM_NULL"); data/sundials-3.1.2+dfsg/src/cvode/cvode_direct.c:312:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVDLS_ILL_INPUT"); data/sundials-3.1.2+dfsg/src/cvode/cvode_direct.c:315:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVDLS_MEM_FAIL"); data/sundials-3.1.2+dfsg/src/cvode/cvode_direct.c:318:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVDLS_JACFUNC_UNRECVR"); data/sundials-3.1.2+dfsg/src/cvode/cvode_direct.c:321:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVDLS_JACFUNC_RECVR"); data/sundials-3.1.2+dfsg/src/cvode/cvode_direct.c:324:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVDLS_SUNMAT_FAIL"); data/sundials-3.1.2+dfsg/src/cvode/cvode_direct.c:327:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"NONE"); data/sundials-3.1.2+dfsg/src/cvode/cvode_io.c:1028:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_SUCCESS"); data/sundials-3.1.2+dfsg/src/cvode/cvode_io.c:1031:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_TSTOP_RETURN"); data/sundials-3.1.2+dfsg/src/cvode/cvode_io.c:1034:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_ROOT_RETURN"); data/sundials-3.1.2+dfsg/src/cvode/cvode_io.c:1037:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_TOO_MUCH_WORK"); data/sundials-3.1.2+dfsg/src/cvode/cvode_io.c:1040:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_TOO_MUCH_ACC"); data/sundials-3.1.2+dfsg/src/cvode/cvode_io.c:1043:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_ERR_FAILURE"); data/sundials-3.1.2+dfsg/src/cvode/cvode_io.c:1046:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_CONV_FAILURE"); data/sundials-3.1.2+dfsg/src/cvode/cvode_io.c:1049:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_LINIT_FAIL"); data/sundials-3.1.2+dfsg/src/cvode/cvode_io.c:1052:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_LSETUP_FAIL"); data/sundials-3.1.2+dfsg/src/cvode/cvode_io.c:1055:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_LSOLVE_FAIL"); data/sundials-3.1.2+dfsg/src/cvode/cvode_io.c:1058:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_RHSFUNC_FAIL"); data/sundials-3.1.2+dfsg/src/cvode/cvode_io.c:1061:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_FIRST_RHSFUNC_ERR"); data/sundials-3.1.2+dfsg/src/cvode/cvode_io.c:1064:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_REPTD_RHSFUNC_ERR"); data/sundials-3.1.2+dfsg/src/cvode/cvode_io.c:1067:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_UNREC_RHSFUNC_ERR"); data/sundials-3.1.2+dfsg/src/cvode/cvode_io.c:1070:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_RTFUNC_FAIL"); data/sundials-3.1.2+dfsg/src/cvode/cvode_io.c:1073:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_MEM_FAIL"); data/sundials-3.1.2+dfsg/src/cvode/cvode_io.c:1076:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_MEM_NULL"); data/sundials-3.1.2+dfsg/src/cvode/cvode_io.c:1079:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_ILL_INPUT"); data/sundials-3.1.2+dfsg/src/cvode/cvode_io.c:1082:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_NO_MALLOC"); data/sundials-3.1.2+dfsg/src/cvode/cvode_io.c:1085:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_BAD_K"); data/sundials-3.1.2+dfsg/src/cvode/cvode_io.c:1088:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_BAD_T"); data/sundials-3.1.2+dfsg/src/cvode/cvode_io.c:1091:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_BAD_DKY"); data/sundials-3.1.2+dfsg/src/cvode/cvode_io.c:1094:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_TOO_CLOSE"); data/sundials-3.1.2+dfsg/src/cvode/cvode_io.c:1097:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"NONE"); data/sundials-3.1.2+dfsg/src/cvode/cvode_spils.c:552:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVSPILS_SUCCESS"); data/sundials-3.1.2+dfsg/src/cvode/cvode_spils.c:555:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVSPILS_MEM_NULL"); data/sundials-3.1.2+dfsg/src/cvode/cvode_spils.c:558:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVSPILS_LMEM_NULL"); data/sundials-3.1.2+dfsg/src/cvode/cvode_spils.c:561:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVSPILS_ILL_INPUT"); data/sundials-3.1.2+dfsg/src/cvode/cvode_spils.c:564:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVSPILS_MEM_FAIL"); data/sundials-3.1.2+dfsg/src/cvode/cvode_spils.c:567:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVSPILS_PMEM_NULL"); data/sundials-3.1.2+dfsg/src/cvode/cvode_spils.c:570:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVSPILS_SUNLS_FAIL"); data/sundials-3.1.2+dfsg/src/cvode/cvode_spils.c:573:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"NONE"); data/sundials-3.1.2+dfsg/src/cvode/fcmix/fcvode.c:76:43: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype *rtol, realtype *atol, data/sundials-3.1.2+dfsg/src/cvode/fcmix/fcvode.c:155:51: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). *ier = CVodeSStolerances(CV_cvodemem, *rtol, *atol); data/sundials-3.1.2+dfsg/src/cvode/fcmix/fcvode.c:165:24: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). N_VSetArrayPointer(atol, Vatol); data/sundials-3.1.2+dfsg/src/cvode/fcmix/fcvode.c:191:55: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int *iatol, realtype *rtol, realtype *atol, data/sundials-3.1.2+dfsg/src/cvode/fcmix/fcvode.c:219:51: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). *ier = CVodeSStolerances(CV_cvodemem, *rtol, *atol); data/sundials-3.1.2+dfsg/src/cvode/fcmix/fcvode.c:228:24: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). N_VSetArrayPointer(atol, Vatol); data/sundials-3.1.2+dfsg/src/cvode/fcmix/fcvode.h:976:45: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). realtype *rtol, realtype *atol, data/sundials-3.1.2+dfsg/src/cvode/fcmix/fcvode.h:982:57: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int *iatol, realtype *rtol, realtype *atol, data/sundials-3.1.2+dfsg/src/cvodes/cvodes.c:9145:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char msg[256]; data/sundials-3.1.2+dfsg/src/cvodes/cvodes.c:9181:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char err_type[10]; data/sundials-3.1.2+dfsg/src/cvodes/cvodes.c:9188:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(err_type,"WARNING"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes.c:9190:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(err_type,"ERROR"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_diag.c:262:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVDIAG_SUCCESS"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_diag.c:265:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVDIAG_MEM_NULL"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_diag.c:268:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVDIAG_LMEM_NULL"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_diag.c:271:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVDIAG_ILL_INPUT"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_diag.c:274:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVDIAG_MEM_FAIL"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_diag.c:277:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVDIAG_INV_FAIL"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_diag.c:280:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVDIAG_RHSFUNC_UNRECVR"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_diag.c:283:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVDIAG_RHSFUNC_RECVR"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_diag.c:286:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVDIAG_NO_ADJ"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_diag.c:289:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"NONE"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_direct.c:313:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVDLS_SUCCESS"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_direct.c:316:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVDLS_MEM_NULL"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_direct.c:319:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVDLS_LMEM_NULL"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_direct.c:322:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVDLS_ILL_INPUT"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_direct.c:325:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVDLS_MEM_FAIL"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_direct.c:328:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVDLS_JACFUNC_UNRECVR"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_direct.c:331:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVDLS_JACFUNC_RECVR"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_direct.c:334:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVDLS_SUNMAT_FAIL"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_direct.c:337:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"NONE"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c:1690:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_SUCCESS"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c:1693:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_TSTOP_RETURN"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c:1696:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_ROOT_RETURN"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c:1699:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_TOO_MUCH_WORK"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c:1702:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_TOO_MUCH_ACC"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c:1705:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_ERR_FAILURE"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c:1708:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_CONV_FAILURE"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c:1711:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_LINIT_FAIL"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c:1714:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_LSETUP_FAIL"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c:1717:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_LSOLVE_FAIL"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c:1720:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_RHSFUNC_FAIL"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c:1723:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_FIRST_RHSFUNC_ERR"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c:1726:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_REPTD_RHSFUNC_ERR"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c:1729:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_UNREC_RHSFUNC_ERR"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c:1732:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_RTFUNC_FAIL"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c:1735:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_MEM_FAIL"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c:1738:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_MEM_NULL"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c:1741:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_ILL_INPUT"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c:1744:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_NO_MALLOC"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c:1747:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_BAD_K"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c:1750:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_BAD_T"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c:1753:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_BAD_DKY"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c:1756:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_NO_QUAD"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c:1759:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_QRHSFUNC_FAIL"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c:1762:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_FIRST_QRHSFUNC_ERR"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c:1765:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_REPTD_QRHSFUNC_ERR"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c:1768:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_UNREC_QRHSFUNC_ERR"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c:1771:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_BAD_IS"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c:1774:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_NO_SENS"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c:1777:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_SRHSFUNC_FAIL"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c:1780:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_FIRST_SRHSFUNC_ERR"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c:1783:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_REPTD_SRHSFUNC_ERR"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c:1786:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_UNREC_SRHSFUNC_ERR"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c:1789:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_TOO_CLOSE"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c:1792:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_NO_ADJ"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c:1795:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_NO_FWD"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c:1798:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_NO_BCK"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c:1801:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_BAD_TB0"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c:1804:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_REIFWD_FAIL"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c:1807:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_FWD_FAIL"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c:1810:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CV_GETY_BADT"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_io.c:1813:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"NONE"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_spils.c:605:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVSPILS_SUCCESS"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_spils.c:608:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVSPILS_MEM_NULL"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_spils.c:611:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVSPILS_LMEM_NULL"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_spils.c:614:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVSPILS_ILL_INPUT"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_spils.c:617:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVSPILS_MEM_FAIL"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_spils.c:620:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVSPILS_PMEM_NULL"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_spils.c:623:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVSPILS_SUNLS_FAIL"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_spils.c:626:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVSPILS_NO_ADJ"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_spils.c:629:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVSPILS_LMEMB_NULL"); data/sundials-3.1.2+dfsg/src/cvodes/cvodes_spils.c:632:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"NONE"); data/sundials-3.1.2+dfsg/src/ida/fcmix/fida.c:73:56: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int *iatol, realtype *rtol, realtype *atol, data/sundials-3.1.2+dfsg/src/ida/fcmix/fida.c:149:48: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). *ier = IDASStolerances(IDA_idamem, *rtol, *atol); data/sundials-3.1.2+dfsg/src/ida/fcmix/fida.c:159:24: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). N_VSetArrayPointer(atol, Vatol); data/sundials-3.1.2+dfsg/src/ida/fcmix/fida.c:188:56: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int *iatol, realtype *rtol, realtype *atol, data/sundials-3.1.2+dfsg/src/ida/fcmix/fida.c:220:48: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). *ier = IDASStolerances(IDA_idamem, *rtol, *atol); data/sundials-3.1.2+dfsg/src/ida/fcmix/fida.c:229:24: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). N_VSetArrayPointer(atol, Vatol); data/sundials-3.1.2+dfsg/src/ida/fcmix/fida.c:336:59: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). void FIDA_TOLREINIT(int *iatol, realtype *rtol, realtype *atol, int *ier) data/sundials-3.1.2+dfsg/src/ida/fcmix/fida.c:343:48: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). *ier = IDASStolerances(IDA_idamem, *rtol, *atol); data/sundials-3.1.2+dfsg/src/ida/fcmix/fida.c:351:24: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). N_VSetArrayPointer(atol, Vatol); data/sundials-3.1.2+dfsg/src/ida/fcmix/fida.h:1020:56: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int *iatol, realtype *rtol, realtype *atol, data/sundials-3.1.2+dfsg/src/ida/fcmix/fida.h:1024:56: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int *iatol, realtype *rtol, realtype *atol, data/sundials-3.1.2+dfsg/src/ida/fcmix/fida.h:1031:59: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). void FIDA_TOLREINIT(int *iatol, realtype *rtol, realtype *atol, int *ier); data/sundials-3.1.2+dfsg/src/ida/ida.c:3314:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char msg[256]; data/sundials-3.1.2+dfsg/src/ida/ida.c:3348:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char err_type[10]; data/sundials-3.1.2+dfsg/src/ida/ida.c:3355:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(err_type,"WARNING"); data/sundials-3.1.2+dfsg/src/ida/ida.c:3357:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(err_type,"ERROR"); data/sundials-3.1.2+dfsg/src/ida/ida_direct.c:288:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDADLS_SUCCESS"); data/sundials-3.1.2+dfsg/src/ida/ida_direct.c:291:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDADLS_MEM_NULL"); data/sundials-3.1.2+dfsg/src/ida/ida_direct.c:294:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDADLS_LMEM_NULL"); data/sundials-3.1.2+dfsg/src/ida/ida_direct.c:297:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDADLS_ILL_INPUT"); data/sundials-3.1.2+dfsg/src/ida/ida_direct.c:300:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDADLS_MEM_FAIL"); data/sundials-3.1.2+dfsg/src/ida/ida_direct.c:303:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDADLS_JACFUNC_UNRECVR"); data/sundials-3.1.2+dfsg/src/ida/ida_direct.c:306:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDADLS_JACFUNC_RECVR"); data/sundials-3.1.2+dfsg/src/ida/ida_direct.c:309:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDADLS_SUNMAT_FAIL"); data/sundials-3.1.2+dfsg/src/ida/ida_direct.c:312:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"NONE"); data/sundials-3.1.2+dfsg/src/ida/ida_io.c:1067:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_SUCCESS"); data/sundials-3.1.2+dfsg/src/ida/ida_io.c:1070:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_TSTOP_RETURN"); data/sundials-3.1.2+dfsg/src/ida/ida_io.c:1073:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_ROOT_RETURN"); data/sundials-3.1.2+dfsg/src/ida/ida_io.c:1076:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_TOO_MUCH_WORK"); data/sundials-3.1.2+dfsg/src/ida/ida_io.c:1079:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_TOO_MUCH_ACC"); data/sundials-3.1.2+dfsg/src/ida/ida_io.c:1082:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_ERR_FAIL"); data/sundials-3.1.2+dfsg/src/ida/ida_io.c:1085:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_CONV_FAIL"); data/sundials-3.1.2+dfsg/src/ida/ida_io.c:1088:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_LINIT_FAIL"); data/sundials-3.1.2+dfsg/src/ida/ida_io.c:1091:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_LSETUP_FAIL"); data/sundials-3.1.2+dfsg/src/ida/ida_io.c:1094:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_LSOLVE_FAIL"); data/sundials-3.1.2+dfsg/src/ida/ida_io.c:1097:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_CONSTR_FAIL"); data/sundials-3.1.2+dfsg/src/ida/ida_io.c:1100:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_RES_FAIL"); data/sundials-3.1.2+dfsg/src/ida/ida_io.c:1103:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_FIRST_RES_FAIL"); data/sundials-3.1.2+dfsg/src/ida/ida_io.c:1106:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_REP_RES_ERR"); data/sundials-3.1.2+dfsg/src/ida/ida_io.c:1109:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_RTFUNC_FAIL"); data/sundials-3.1.2+dfsg/src/ida/ida_io.c:1112:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_MEM_FAIL"); data/sundials-3.1.2+dfsg/src/ida/ida_io.c:1115:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_MEM_NULL"); data/sundials-3.1.2+dfsg/src/ida/ida_io.c:1118:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_ILL_INPUT"); data/sundials-3.1.2+dfsg/src/ida/ida_io.c:1121:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_NO_MALLOC"); data/sundials-3.1.2+dfsg/src/ida/ida_io.c:1124:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_BAD_T"); data/sundials-3.1.2+dfsg/src/ida/ida_io.c:1127:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_BAD_EWT"); data/sundials-3.1.2+dfsg/src/ida/ida_io.c:1130:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_NO_RECOVERY"); data/sundials-3.1.2+dfsg/src/ida/ida_io.c:1133:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_LINESEARCH_FAIL"); data/sundials-3.1.2+dfsg/src/ida/ida_io.c:1137:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"NONE"); data/sundials-3.1.2+dfsg/src/ida/ida_spils.c:612:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDASPILS_SUCCESS"); data/sundials-3.1.2+dfsg/src/ida/ida_spils.c:615:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDASPILS_MEM_NULL"); data/sundials-3.1.2+dfsg/src/ida/ida_spils.c:618:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDASPILS_LMEM_NULL"); data/sundials-3.1.2+dfsg/src/ida/ida_spils.c:621:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDASPILS_ILL_INPUT"); data/sundials-3.1.2+dfsg/src/ida/ida_spils.c:624:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDASPILS_MEM_FAIL"); data/sundials-3.1.2+dfsg/src/ida/ida_spils.c:627:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDASPILS_PMEM_NULL"); data/sundials-3.1.2+dfsg/src/ida/ida_spils.c:630:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDASPILS_SUNLS_FAIL"); data/sundials-3.1.2+dfsg/src/ida/ida_spils.c:633:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"NONE"); data/sundials-3.1.2+dfsg/src/idas/idas.c:7093:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char msg[256]; data/sundials-3.1.2+dfsg/src/idas/idas.c:7127:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char err_type[10]; data/sundials-3.1.2+dfsg/src/idas/idas.c:7134:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(err_type,"WARNING"); data/sundials-3.1.2+dfsg/src/idas/idas.c:7136:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(err_type,"ERROR"); data/sundials-3.1.2+dfsg/src/idas/idas_direct.c:304:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDADLS_SUCCESS"); data/sundials-3.1.2+dfsg/src/idas/idas_direct.c:307:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDADLS_MEM_NULL"); data/sundials-3.1.2+dfsg/src/idas/idas_direct.c:310:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDADLS_LMEM_NULL"); data/sundials-3.1.2+dfsg/src/idas/idas_direct.c:313:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDADLS_ILL_INPUT"); data/sundials-3.1.2+dfsg/src/idas/idas_direct.c:316:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDADLS_MEM_FAIL"); data/sundials-3.1.2+dfsg/src/idas/idas_direct.c:319:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDADLS_JACFUNC_UNRECVR"); data/sundials-3.1.2+dfsg/src/idas/idas_direct.c:322:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDADLS_JACFUNC_RECVR"); data/sundials-3.1.2+dfsg/src/idas/idas_direct.c:325:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDADLS_SUNMAT_FAIL"); data/sundials-3.1.2+dfsg/src/idas/idas_direct.c:328:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"NONE"); data/sundials-3.1.2+dfsg/src/idas/idas_io.c:1724:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_SUCCESS"); data/sundials-3.1.2+dfsg/src/idas/idas_io.c:1727:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_TSTOP_RETURN"); data/sundials-3.1.2+dfsg/src/idas/idas_io.c:1730:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_ROOT_RETURN"); data/sundials-3.1.2+dfsg/src/idas/idas_io.c:1733:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_TOO_MUCH_WORK"); data/sundials-3.1.2+dfsg/src/idas/idas_io.c:1736:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_TOO_MUCH_ACC"); data/sundials-3.1.2+dfsg/src/idas/idas_io.c:1739:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_ERR_FAIL"); data/sundials-3.1.2+dfsg/src/idas/idas_io.c:1742:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_CONV_FAIL"); data/sundials-3.1.2+dfsg/src/idas/idas_io.c:1745:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_LINIT_FAIL"); data/sundials-3.1.2+dfsg/src/idas/idas_io.c:1748:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_LSETUP_FAIL"); data/sundials-3.1.2+dfsg/src/idas/idas_io.c:1751:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_LSOLVE_FAIL"); data/sundials-3.1.2+dfsg/src/idas/idas_io.c:1754:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_CONSTR_FAIL"); data/sundials-3.1.2+dfsg/src/idas/idas_io.c:1757:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_RES_FAIL"); data/sundials-3.1.2+dfsg/src/idas/idas_io.c:1760:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_FIRST_RES_FAIL"); data/sundials-3.1.2+dfsg/src/idas/idas_io.c:1763:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_REP_RES_ERR"); data/sundials-3.1.2+dfsg/src/idas/idas_io.c:1766:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_RTFUNC_FAIL"); data/sundials-3.1.2+dfsg/src/idas/idas_io.c:1769:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_MEM_FAIL"); data/sundials-3.1.2+dfsg/src/idas/idas_io.c:1772:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_MEM_NULL"); data/sundials-3.1.2+dfsg/src/idas/idas_io.c:1775:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_ILL_INPUT"); data/sundials-3.1.2+dfsg/src/idas/idas_io.c:1778:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_NO_MALLOC"); data/sundials-3.1.2+dfsg/src/idas/idas_io.c:1781:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_BAD_T"); data/sundials-3.1.2+dfsg/src/idas/idas_io.c:1784:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_BAD_K"); data/sundials-3.1.2+dfsg/src/idas/idas_io.c:1787:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_BAD_DKY"); data/sundials-3.1.2+dfsg/src/idas/idas_io.c:1790:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_BAD_EWT"); data/sundials-3.1.2+dfsg/src/idas/idas_io.c:1793:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_NO_RECOVERY"); data/sundials-3.1.2+dfsg/src/idas/idas_io.c:1796:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_LINESEARCH_FAIL"); data/sundials-3.1.2+dfsg/src/idas/idas_io.c:1799:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_NO_SENS"); data/sundials-3.1.2+dfsg/src/idas/idas_io.c:1802:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "IDA_SRES_FAIL"); data/sundials-3.1.2+dfsg/src/idas/idas_io.c:1805:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "IDA_REP_SRES_ERR"); data/sundials-3.1.2+dfsg/src/idas/idas_io.c:1808:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_BAD_IS"); data/sundials-3.1.2+dfsg/src/idas/idas_io.c:1811:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_NO_QUAD"); data/sundials-3.1.2+dfsg/src/idas/idas_io.c:1814:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "IDA_NO_QUADSENS"); data/sundials-3.1.2+dfsg/src/idas/idas_io.c:1817:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "IDA_QSRHS_FAIL"); data/sundials-3.1.2+dfsg/src/idas/idas_io.c:1822:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "IDA_NO_ADJ"); data/sundials-3.1.2+dfsg/src/idas/idas_io.c:1825:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "IDA_BAD_TB0"); data/sundials-3.1.2+dfsg/src/idas/idas_io.c:1828:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "IDA_REIFWD_FAIL"); data/sundials-3.1.2+dfsg/src/idas/idas_io.c:1831:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "IDA_FWD_FAIL"); data/sundials-3.1.2+dfsg/src/idas/idas_io.c:1834:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "IDA_GETY_BADT"); data/sundials-3.1.2+dfsg/src/idas/idas_io.c:1837:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "IDA_NO_BCK"); data/sundials-3.1.2+dfsg/src/idas/idas_io.c:1840:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDA_NO_FWD"); data/sundials-3.1.2+dfsg/src/idas/idas_io.c:1843:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"NONE"); data/sundials-3.1.2+dfsg/src/idas/idas_spils.c:661:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDASPILS_SUCCESS"); data/sundials-3.1.2+dfsg/src/idas/idas_spils.c:664:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDASPILS_MEM_NULL"); data/sundials-3.1.2+dfsg/src/idas/idas_spils.c:667:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDASPILS_LMEM_NULL"); data/sundials-3.1.2+dfsg/src/idas/idas_spils.c:670:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDASPILS_ILL_INPUT"); data/sundials-3.1.2+dfsg/src/idas/idas_spils.c:673:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDASPILS_MEM_FAIL"); data/sundials-3.1.2+dfsg/src/idas/idas_spils.c:676:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDASPILS_PMEM_NULL"); data/sundials-3.1.2+dfsg/src/idas/idas_spils.c:679:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDASPILS_SUNLS_FAIL"); data/sundials-3.1.2+dfsg/src/idas/idas_spils.c:682:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"NONE"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol.c:1889:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char msg[256], msg1[40]; data/sundials-3.1.2+dfsg/src/kinsol/kinsol.c:1890:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char retstr[30]; data/sundials-3.1.2+dfsg/src/kinsol/kinsol.c:1906: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(retstr, "KIN_SUCCESS"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol.c:1909: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(retstr, "KIN_SYSFUNC_FAIL"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol.c:1912: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(retstr, "KIN_REPTD_SYSFUNC_ERR"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol.c:1915: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(retstr, "KIN_STEP_LT_STPTOL"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol.c:1918: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(retstr, "KIN_LINESEARCH_NONCONV"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol.c:1921: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(retstr, "KIN_LINESEARCH_BCFAIL"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol.c:1924: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(retstr, "KIN_MAXITER_REACHED"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol.c:1927: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(retstr, "KIN_MXNEWT_5X_EXCEEDED"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol.c:1930: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(retstr, "KIN_LINSOLV_NO_RECOVERY"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol.c:1933: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(retstr, "KIN_PRECONDSET_FAILURE"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol.c:1936: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(retstr, "KIN_PRECONDSOLVE_FAILURE"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol.c:2016:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char msg[256]; data/sundials-3.1.2+dfsg/src/kinsol/kinsol.c:2054:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char err_type[10]; data/sundials-3.1.2+dfsg/src/kinsol/kinsol.c:2061:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(err_type,"WARNING"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol.c:2063:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(err_type,"ERROR"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol_direct.c:298:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "KINDLS_SUCCESS"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol_direct.c:301:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "KINDLS_MEM_NULL"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol_direct.c:304:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "KINDLS_LMEM_NULL"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol_direct.c:307:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "KINDLS_ILL_INPUT"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol_direct.c:310:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "KINDLS_MEM_FAIL"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol_direct.c:313:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"KINDLS_JACFUNC_ERR"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol_direct.c:316:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"KINDLS_SUNMAT_FAIL"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol_direct.c:319:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "NONE"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol_io.c:1008:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "KIN_SUCCESS"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol_io.c:1011:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "KIN_INITIAL_GUESS_OK"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol_io.c:1014:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "KIN_STEP_LT_STPTOL"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol_io.c:1017:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "KIN_WARNING"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol_io.c:1020:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "KIN_MEM_NULL"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol_io.c:1023:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "KIN_ILL_INPUT"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol_io.c:1026:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "KIN_NO_MALLOC"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol_io.c:1029:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "KIN_MEM_FAIL"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol_io.c:1032:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "KIN_LINESEARCH_NONCONV"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol_io.c:1035:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "KIN_MAXITER_REACHED"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol_io.c:1038:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "KIN_MXNEWT_5X_EXCEEDED"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol_io.c:1041:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "KIN_LINESEARCH_BCFAIL"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol_io.c:1044:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "KIN_LINSOLV_NO_RECOVERY"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol_io.c:1047:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "KIN_LINIT_FAIL"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol_io.c:1050:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "KIN_LSETUP_FAIL"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol_io.c:1053:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "KIN_LSOLVE_FAIL"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol_io.c:1056:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "NONE"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol_spils.c:498:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "KINSPILS_SUCCESS"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol_spils.c:501:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "KINSPILS_MEM_NULL"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol_spils.c:504:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "KINSPILS_LMEM_NULL"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol_spils.c:507:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "KINSPILS_ILL_INPUT"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol_spils.c:510:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "KINSPILS_MEM_FAIL"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol_spils.c:513:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "KINSPILS_PMEM_NULL"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol_spils.c:516:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"KINSPILS_SUNLS_FAIL"); data/sundials-3.1.2+dfsg/src/kinsol/kinsol_spils.c:519:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "NONE"); data/sundials-3.1.2+dfsg/examples/arkode/C_openmp/ark_brusselator1D_omp.c:183:26: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). if (check_flag((void *)umask, "N_VNew_OpenMP", 0)) return 1; data/sundials-3.1.2+dfsg/examples/arkode/C_openmp/ark_brusselator1D_omp.c:198:17: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). N_VConst(0.0, umask); data/sundials-3.1.2+dfsg/examples/arkode/C_openmp/ark_brusselator1D_omp.c:199:29: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). data = N_VGetArrayPointer(umask); data/sundials-3.1.2+dfsg/examples/arkode/C_openmp/ark_brusselator1D_omp.c:273:22: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). u = N_VWL2Norm(y,umask); /* access/print solution statistics */ data/sundials-3.1.2+dfsg/examples/arkode/C_openmp/ark_brusselator1D_omp.c:337:21: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). N_VDestroy_OpenMP(umask); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_brusselator1D.c:165:26: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). if (check_flag((void *)umask, "N_VNew_Serial", 0)) return 1; data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_brusselator1D.c:180:17: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). N_VConst(0.0, umask); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_brusselator1D.c:181:29: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). data = N_VGetArrayPointer(umask); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_brusselator1D.c:255:22: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). u = N_VWL2Norm(y,umask); /* access/print solution statistics */ data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_brusselator1D.c:315:14: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). N_VDestroy(umask); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_brusselator1D_FEM_slu.c:223:26: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). if (check_flag((void *)umask, "N_VNew_Serial", 0)) return 1; data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_brusselator1D_FEM_slu.c:250:17: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). N_VConst(0.0, umask); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_brusselator1D_FEM_slu.c:251:29: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). data = N_VGetArrayPointer(umask); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_brusselator1D_FEM_slu.c:340:22: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). u = N_VWL2Norm(y,umask); /* access/print solution statistics */ data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_brusselator1D_FEM_slu.c:406:14: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). N_VDestroy(umask); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_brusselator1D_klu.c:182:26: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). if (check_flag((void *)umask, "N_VNew_Serial", 0)) return 1; data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_brusselator1D_klu.c:197:17: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). N_VConst(0.0, umask); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_brusselator1D_klu.c:198:29: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). data = N_VGetArrayPointer(umask); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_brusselator1D_klu.c:273:22: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). u = N_VWL2Norm(y,umask); data/sundials-3.1.2+dfsg/examples/arkode/C_serial/ark_brusselator1D_klu.c:331:14: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). N_VDestroy(umask); data/sundials-3.1.2+dfsg/src/sundials/sundials_version.c:25:7: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(SUNDIALS_VERSION) > len) { data/sundials-3.1.2+dfsg/src/sundials/sundials_version.c:29:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(version, SUNDIALS_VERSION, len); data/sundials-3.1.2+dfsg/src/sundials/sundials_version.c:38:7: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(SUNDIALS_VERSION_LABEL) > len) { data/sundials-3.1.2+dfsg/src/sundials/sundials_version.c:45:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(label, SUNDIALS_VERSION_LABEL, len); ANALYSIS SUMMARY: Hits = 864 Lines analyzed = 246974 in approximately 7.16 seconds (34485 lines/second) Physical Source Lines of Code (SLOC) = 133180 Hits@level = [0] 5330 [1] 24 [2] 809 [3] 0 [4] 31 [5] 0 Hits@level+ = [0+] 6194 [1+] 864 [2+] 840 [3+] 31 [4+] 31 [5+] 0 Hits/KSLOC@level+ = [0+] 46.5085 [1+] 6.48746 [2+] 6.30725 [3+] 0.232768 [4+] 0.232768 [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.