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-4.1.0+dfsg/include/sundials/sundials_types.h Examining data/sundials-4.1.0+dfsg/include/sundials/sundials_mpi_types.h Examining data/sundials-4.1.0+dfsg/include/sundials/sundials_mpi.h Examining data/sundials-4.1.0+dfsg/include/sundials/sundials_matrix.h Examining data/sundials-4.1.0+dfsg/include/sundials/sundials_linearsolver.h Examining data/sundials-4.1.0+dfsg/include/sundials/sundials_math.h Examining data/sundials-4.1.0+dfsg/include/sundials/sundials_nvector.h Examining data/sundials-4.1.0+dfsg/include/sundials/sundials_fnvector.h Examining data/sundials-4.1.0+dfsg/include/sundials/sundials_dense.h Examining data/sundials-4.1.0+dfsg/include/sundials/sundials_direct.h Examining data/sundials-4.1.0+dfsg/include/sundials/sundials_sparse.h Examining data/sundials-4.1.0+dfsg/include/sundials/sundials_band.h Examining data/sundials-4.1.0+dfsg/include/sundials/sundials_lapack.h Examining data/sundials-4.1.0+dfsg/include/sundials/sundials_spgmr.h Examining data/sundials-4.1.0+dfsg/include/sundials/sundials_spfgmr.h Examining data/sundials-4.1.0+dfsg/include/sundials/sundials_spbcgs.h Examining data/sundials-4.1.0+dfsg/include/sundials/sundials_sptfqmr.h Examining data/sundials-4.1.0+dfsg/include/sundials/sundials_pcg.h Examining data/sundials-4.1.0+dfsg/include/sundials/sundials_iterative.h Examining data/sundials-4.1.0+dfsg/include/sundials/sundials_klu_impl.h Examining data/sundials-4.1.0+dfsg/include/sundials/sundials_superlumt_impl.h Examining data/sundials-4.1.0+dfsg/include/sundials/sundials_version.h Examining data/sundials-4.1.0+dfsg/include/sundials/sundials_nonlinearsolver.h Examining data/sundials-4.1.0+dfsg/include/sundials/sundials_nvector_senswrapper.h Examining data/sundials-4.1.0+dfsg/include/nvector/nvector_serial.h Examining data/sundials-4.1.0+dfsg/include/nvector/nvector_parallel.h Examining data/sundials-4.1.0+dfsg/include/nvector/nvector_parhyp.h Examining data/sundials-4.1.0+dfsg/include/nvector/nvector_petsc.h Examining data/sundials-4.1.0+dfsg/include/nvector/nvector_pthreads.h Examining data/sundials-4.1.0+dfsg/include/nvector/nvector_openmp.h Examining data/sundials-4.1.0+dfsg/include/nvector/nvector_openmpdev.h Examining data/sundials-4.1.0+dfsg/include/nvector/nvector_cuda.h Examining data/sundials-4.1.0+dfsg/include/nvector/nvector_mpicuda.h Examining data/sundials-4.1.0+dfsg/include/nvector/nvector_raja.h Examining data/sundials-4.1.0+dfsg/include/nvector/nvector_mpiraja.h Examining data/sundials-4.1.0+dfsg/include/nvector/cuda/ThreadPartitioning.hpp Examining data/sundials-4.1.0+dfsg/include/nvector/cuda/Vector.hpp Examining data/sundials-4.1.0+dfsg/include/nvector/raja/Vector.hpp Examining data/sundials-4.1.0+dfsg/include/nvector/nvector_trilinos.h Examining data/sundials-4.1.0+dfsg/include/nvector/trilinos/SundialsTpetraVectorInterface.hpp Examining data/sundials-4.1.0+dfsg/include/nvector/trilinos/SundialsTpetraVectorKernels.hpp Examining data/sundials-4.1.0+dfsg/include/sunmatrix/sunmatrix_band.h Examining data/sundials-4.1.0+dfsg/include/sunmatrix/sunmatrix_dense.h Examining data/sundials-4.1.0+dfsg/include/sunmatrix/sunmatrix_sparse.h Examining data/sundials-4.1.0+dfsg/include/sunlinsol/sunlinsol_band.h Examining data/sundials-4.1.0+dfsg/include/sunlinsol/sunlinsol_dense.h Examining data/sundials-4.1.0+dfsg/include/sunlinsol/sunlinsol_klu.h Examining data/sundials-4.1.0+dfsg/include/sunlinsol/sunlinsol_lapackband.h Examining data/sundials-4.1.0+dfsg/include/sunlinsol/sunlinsol_lapackdense.h Examining data/sundials-4.1.0+dfsg/include/sunlinsol/sunlinsol_pcg.h Examining data/sundials-4.1.0+dfsg/include/sunlinsol/sunlinsol_spbcgs.h Examining data/sundials-4.1.0+dfsg/include/sunlinsol/sunlinsol_spfgmr.h Examining data/sundials-4.1.0+dfsg/include/sunlinsol/sunlinsol_spgmr.h Examining data/sundials-4.1.0+dfsg/include/sunlinsol/sunlinsol_sptfqmr.h Examining data/sundials-4.1.0+dfsg/include/sunlinsol/sunlinsol_superlumt.h Examining data/sundials-4.1.0+dfsg/include/sunnonlinsol/sunnonlinsol_newton.h Examining data/sundials-4.1.0+dfsg/include/sunnonlinsol/sunnonlinsol_fixedpoint.h Examining data/sundials-4.1.0+dfsg/include/arkode/arkode.h Examining data/sundials-4.1.0+dfsg/include/arkode/arkode_arkstep.h Examining data/sundials-4.1.0+dfsg/include/arkode/arkode_bandpre.h Examining data/sundials-4.1.0+dfsg/include/arkode/arkode_bbdpre.h Examining data/sundials-4.1.0+dfsg/include/arkode/arkode_butcher.h Examining data/sundials-4.1.0+dfsg/include/arkode/arkode_butcher_dirk.h Examining data/sundials-4.1.0+dfsg/include/arkode/arkode_butcher_erk.h Examining data/sundials-4.1.0+dfsg/include/arkode/arkode_erkstep.h Examining data/sundials-4.1.0+dfsg/include/arkode/arkode_ls.h Examining data/sundials-4.1.0+dfsg/include/arkode/arkode_mristep.h Examining data/sundials-4.1.0+dfsg/include/cvode/cvode.h Examining data/sundials-4.1.0+dfsg/include/cvode/cvode_bandpre.h Examining data/sundials-4.1.0+dfsg/include/cvode/cvode_bbdpre.h Examining data/sundials-4.1.0+dfsg/include/cvode/cvode_diag.h Examining data/sundials-4.1.0+dfsg/include/cvode/cvode_direct.h Examining data/sundials-4.1.0+dfsg/include/cvode/cvode_ls.h Examining data/sundials-4.1.0+dfsg/include/cvode/cvode_spils.h Examining data/sundials-4.1.0+dfsg/include/cvodes/cvodes.h Examining data/sundials-4.1.0+dfsg/include/cvodes/cvodes_bandpre.h Examining data/sundials-4.1.0+dfsg/include/cvodes/cvodes_bbdpre.h Examining data/sundials-4.1.0+dfsg/include/cvodes/cvodes_diag.h Examining data/sundials-4.1.0+dfsg/include/cvodes/cvodes_direct.h Examining data/sundials-4.1.0+dfsg/include/cvodes/cvodes_ls.h Examining data/sundials-4.1.0+dfsg/include/cvodes/cvodes_spils.h Examining data/sundials-4.1.0+dfsg/include/ida/ida_bbdpre.h Examining data/sundials-4.1.0+dfsg/include/ida/ida_direct.h Examining data/sundials-4.1.0+dfsg/include/ida/ida.h Examining data/sundials-4.1.0+dfsg/include/ida/ida_ls.h Examining data/sundials-4.1.0+dfsg/include/ida/ida_spils.h Examining data/sundials-4.1.0+dfsg/include/idas/idas.h Examining data/sundials-4.1.0+dfsg/include/idas/idas_bbdpre.h Examining data/sundials-4.1.0+dfsg/include/idas/idas_direct.h Examining data/sundials-4.1.0+dfsg/include/idas/idas_ls.h Examining data/sundials-4.1.0+dfsg/include/idas/idas_spils.h Examining data/sundials-4.1.0+dfsg/include/kinsol/kinsol.h Examining data/sundials-4.1.0+dfsg/include/kinsol/kinsol_bbdpre.h Examining data/sundials-4.1.0+dfsg/include/kinsol/kinsol_direct.h Examining data/sundials-4.1.0+dfsg/include/kinsol/kinsol_ls.h Examining data/sundials-4.1.0+dfsg/include/kinsol/kinsol_spils.h Examining data/sundials-4.1.0+dfsg/src/sundials/sundials_math.c Examining data/sundials-4.1.0+dfsg/src/sundials/sundials_matrix.c Examining data/sundials-4.1.0+dfsg/src/sundials/sundials_mpi.c Examining data/sundials-4.1.0+dfsg/src/sundials/sundials_linearsolver.c Examining data/sundials-4.1.0+dfsg/src/sundials/sundials_nvector.c Examining data/sundials-4.1.0+dfsg/src/sundials/sundials_dense.c Examining data/sundials-4.1.0+dfsg/src/sundials/sundials_direct.c Examining data/sundials-4.1.0+dfsg/src/sundials/sundials_sparse.c Examining data/sundials-4.1.0+dfsg/src/sundials/sundials_band.c Examining data/sundials-4.1.0+dfsg/src/sundials/sundials_spgmr.c Examining data/sundials-4.1.0+dfsg/src/sundials/sundials_spfgmr.c Examining data/sundials-4.1.0+dfsg/src/sundials/sundials_spbcgs.c Examining data/sundials-4.1.0+dfsg/src/sundials/sundials_sptfqmr.c Examining data/sundials-4.1.0+dfsg/src/sundials/sundials_pcg.c Examining data/sundials-4.1.0+dfsg/src/sundials/sundials_iterative.c Examining data/sundials-4.1.0+dfsg/src/sundials/sundials_version.c Examining data/sundials-4.1.0+dfsg/src/sundials/sundials_nonlinearsolver.c Examining data/sundials-4.1.0+dfsg/src/sundials/sundials_nvector_senswrapper.c Examining data/sundials-4.1.0+dfsg/src/nvector/serial/nvector_serial.c Examining data/sundials-4.1.0+dfsg/src/nvector/serial/fnvector_serial.h Examining data/sundials-4.1.0+dfsg/src/nvector/serial/fnvector_serial.c Examining data/sundials-4.1.0+dfsg/src/nvector/parallel/nvector_parallel.c Examining data/sundials-4.1.0+dfsg/src/nvector/parallel/fnvector_parallel.h Examining data/sundials-4.1.0+dfsg/src/nvector/parallel/fnvector_parallel.c Examining data/sundials-4.1.0+dfsg/src/nvector/parhyp/nvector_parhyp.c Examining data/sundials-4.1.0+dfsg/src/nvector/petsc/nvector_petsc.c Examining data/sundials-4.1.0+dfsg/src/nvector/openmpdev/nvector_openmpdev.c Examining data/sundials-4.1.0+dfsg/src/nvector/openmp/nvector_openmp.c Examining data/sundials-4.1.0+dfsg/src/nvector/openmp/fnvector_openmp.c Examining data/sundials-4.1.0+dfsg/src/nvector/openmp/fnvector_openmp.h Examining data/sundials-4.1.0+dfsg/src/nvector/pthreads/nvector_pthreads.c Examining data/sundials-4.1.0+dfsg/src/nvector/pthreads/fnvector_pthreads.c Examining data/sundials-4.1.0+dfsg/src/nvector/pthreads/fnvector_pthreads.h Examining data/sundials-4.1.0+dfsg/src/nvector/trilinos/nvector_trilinos.cpp Examining data/sundials-4.1.0+dfsg/src/sunmatrix/band/sunmatrix_band.c Examining data/sundials-4.1.0+dfsg/src/sunmatrix/band/fsunmatrix_band.h Examining data/sundials-4.1.0+dfsg/src/sunmatrix/band/fsunmatrix_band.c Examining data/sundials-4.1.0+dfsg/src/sunmatrix/dense/sunmatrix_dense.c Examining data/sundials-4.1.0+dfsg/src/sunmatrix/dense/fsunmatrix_dense.h Examining data/sundials-4.1.0+dfsg/src/sunmatrix/dense/fsunmatrix_dense.c Examining data/sundials-4.1.0+dfsg/src/sunmatrix/sparse/sunmatrix_sparse.c Examining data/sundials-4.1.0+dfsg/src/sunmatrix/sparse/fsunmatrix_sparse.h Examining data/sundials-4.1.0+dfsg/src/sunmatrix/sparse/fsunmatrix_sparse.c Examining data/sundials-4.1.0+dfsg/src/sunlinsol/band/sunlinsol_band.c Examining data/sundials-4.1.0+dfsg/src/sunlinsol/band/fsunlinsol_band.h Examining data/sundials-4.1.0+dfsg/src/sunlinsol/band/fsunlinsol_band.c Examining data/sundials-4.1.0+dfsg/src/sunlinsol/dense/sunlinsol_dense.c Examining data/sundials-4.1.0+dfsg/src/sunlinsol/dense/fsunlinsol_dense.h Examining data/sundials-4.1.0+dfsg/src/sunlinsol/dense/fsunlinsol_dense.c Examining data/sundials-4.1.0+dfsg/src/sunlinsol/klu/sunlinsol_klu.c Examining data/sundials-4.1.0+dfsg/src/sunlinsol/klu/fsunlinsol_klu.h Examining data/sundials-4.1.0+dfsg/src/sunlinsol/klu/fsunlinsol_klu.c Examining data/sundials-4.1.0+dfsg/src/sunlinsol/lapackband/sunlinsol_lapackband.c Examining data/sundials-4.1.0+dfsg/src/sunlinsol/lapackband/fsunlinsol_lapackband.h Examining data/sundials-4.1.0+dfsg/src/sunlinsol/lapackband/fsunlinsol_lapackband.c Examining data/sundials-4.1.0+dfsg/src/sunlinsol/lapackdense/sunlinsol_lapackdense.c Examining data/sundials-4.1.0+dfsg/src/sunlinsol/lapackdense/fsunlinsol_lapackdense.h Examining data/sundials-4.1.0+dfsg/src/sunlinsol/lapackdense/fsunlinsol_lapackdense.c Examining data/sundials-4.1.0+dfsg/src/sunlinsol/pcg/sunlinsol_pcg.c Examining data/sundials-4.1.0+dfsg/src/sunlinsol/pcg/fsunlinsol_pcg.h Examining data/sundials-4.1.0+dfsg/src/sunlinsol/pcg/fsunlinsol_pcg.c Examining data/sundials-4.1.0+dfsg/src/sunlinsol/spbcgs/sunlinsol_spbcgs.c Examining data/sundials-4.1.0+dfsg/src/sunlinsol/spbcgs/fsunlinsol_spbcgs.h Examining data/sundials-4.1.0+dfsg/src/sunlinsol/spbcgs/fsunlinsol_spbcgs.c Examining data/sundials-4.1.0+dfsg/src/sunlinsol/spfgmr/sunlinsol_spfgmr.c Examining data/sundials-4.1.0+dfsg/src/sunlinsol/spfgmr/fsunlinsol_spfgmr.h Examining data/sundials-4.1.0+dfsg/src/sunlinsol/spfgmr/fsunlinsol_spfgmr.c Examining data/sundials-4.1.0+dfsg/src/sunlinsol/spgmr/sunlinsol_spgmr.c Examining data/sundials-4.1.0+dfsg/src/sunlinsol/spgmr/fsunlinsol_spgmr.h Examining data/sundials-4.1.0+dfsg/src/sunlinsol/spgmr/fsunlinsol_spgmr.c Examining data/sundials-4.1.0+dfsg/src/sunlinsol/sptfqmr/sunlinsol_sptfqmr.c Examining data/sundials-4.1.0+dfsg/src/sunlinsol/sptfqmr/fsunlinsol_sptfqmr.h Examining data/sundials-4.1.0+dfsg/src/sunlinsol/sptfqmr/fsunlinsol_sptfqmr.c Examining data/sundials-4.1.0+dfsg/src/sunlinsol/superlumt/sunlinsol_superlumt.c Examining data/sundials-4.1.0+dfsg/src/sunlinsol/superlumt/fsunlinsol_superlumt.h Examining data/sundials-4.1.0+dfsg/src/sunlinsol/superlumt/fsunlinsol_superlumt.c Examining data/sundials-4.1.0+dfsg/src/sunnonlinsol/newton/sunnonlinsol_newton.c Examining data/sundials-4.1.0+dfsg/src/sunnonlinsol/newton/fsunnonlinsol_newton.h Examining data/sundials-4.1.0+dfsg/src/sunnonlinsol/newton/fsunnonlinsol_newton.c Examining data/sundials-4.1.0+dfsg/src/sunnonlinsol/fixedpoint/sunnonlinsol_fixedpoint.c Examining data/sundials-4.1.0+dfsg/src/sunnonlinsol/fixedpoint/fsunnonlinsol_fixedpoint.h Examining data/sundials-4.1.0+dfsg/src/sunnonlinsol/fixedpoint/fsunnonlinsol_fixedpoint.c Examining data/sundials-4.1.0+dfsg/src/arkode/arkode.c Examining data/sundials-4.1.0+dfsg/src/arkode/arkode_adapt.c Examining data/sundials-4.1.0+dfsg/src/arkode/arkode_adapt_impl.h Examining data/sundials-4.1.0+dfsg/src/arkode/arkode_arkstep.c Examining data/sundials-4.1.0+dfsg/src/arkode/arkode_arkstep_impl.h Examining data/sundials-4.1.0+dfsg/src/arkode/arkode_arkstep_io.c Examining data/sundials-4.1.0+dfsg/src/arkode/arkode_arkstep_nls.c Examining data/sundials-4.1.0+dfsg/src/arkode/arkode_bandpre.c Examining data/sundials-4.1.0+dfsg/src/arkode/arkode_bandpre_impl.h Examining data/sundials-4.1.0+dfsg/src/arkode/arkode_bbdpre.c Examining data/sundials-4.1.0+dfsg/src/arkode/arkode_bbdpre_impl.h Examining data/sundials-4.1.0+dfsg/src/arkode/arkode_butcher.c Examining data/sundials-4.1.0+dfsg/src/arkode/arkode_butcher_dirk.c Examining data/sundials-4.1.0+dfsg/src/arkode/arkode_butcher_erk.c Examining data/sundials-4.1.0+dfsg/src/arkode/arkode_erkstep.c Examining data/sundials-4.1.0+dfsg/src/arkode/arkode_erkstep_impl.h Examining data/sundials-4.1.0+dfsg/src/arkode/arkode_erkstep_io.c Examining data/sundials-4.1.0+dfsg/src/arkode/arkode_impl.h Examining data/sundials-4.1.0+dfsg/src/arkode/arkode_interp.c Examining data/sundials-4.1.0+dfsg/src/arkode/arkode_interp_impl.h Examining data/sundials-4.1.0+dfsg/src/arkode/arkode_io.c Examining data/sundials-4.1.0+dfsg/src/arkode/arkode_ls.c Examining data/sundials-4.1.0+dfsg/src/arkode/arkode_ls_impl.h Examining data/sundials-4.1.0+dfsg/src/arkode/arkode_mristep.c Examining data/sundials-4.1.0+dfsg/src/arkode/arkode_mristep_impl.h Examining data/sundials-4.1.0+dfsg/src/arkode/arkode_mristep_io.c Examining data/sundials-4.1.0+dfsg/src/arkode/arkode_root.c Examining data/sundials-4.1.0+dfsg/src/arkode/arkode_root_impl.h Examining data/sundials-4.1.0+dfsg/src/arkode/fcmix/farkadapt.c Examining data/sundials-4.1.0+dfsg/src/arkode/fcmix/farkband.c Examining data/sundials-4.1.0+dfsg/src/arkode/fcmix/farkbandmass.c Examining data/sundials-4.1.0+dfsg/src/arkode/fcmix/farkbbd.c Examining data/sundials-4.1.0+dfsg/src/arkode/fcmix/farkbbd.h Examining data/sundials-4.1.0+dfsg/src/arkode/fcmix/farkbp.c Examining data/sundials-4.1.0+dfsg/src/arkode/fcmix/farkbp.h Examining data/sundials-4.1.0+dfsg/src/arkode/fcmix/farkdense.c Examining data/sundials-4.1.0+dfsg/src/arkode/fcmix/farkdensemass.c Examining data/sundials-4.1.0+dfsg/src/arkode/fcmix/farkewt.c Examining data/sundials-4.1.0+dfsg/src/arkode/fcmix/farkexpstab.c Examining data/sundials-4.1.0+dfsg/src/arkode/fcmix/farkjtimes.c Examining data/sundials-4.1.0+dfsg/src/arkode/fcmix/farkmasspreco.c Examining data/sundials-4.1.0+dfsg/src/arkode/fcmix/farkmtimes.c Examining data/sundials-4.1.0+dfsg/src/arkode/fcmix/farknulllinsol.c Examining data/sundials-4.1.0+dfsg/src/arkode/fcmix/farknullmatrix.c Examining data/sundials-4.1.0+dfsg/src/arkode/fcmix/farknullnonlinsol.c Examining data/sundials-4.1.0+dfsg/src/arkode/fcmix/farkode.c Examining data/sundials-4.1.0+dfsg/src/arkode/fcmix/farkode.h Examining data/sundials-4.1.0+dfsg/src/arkode/fcmix/farkpreco.c Examining data/sundials-4.1.0+dfsg/src/arkode/fcmix/farkroot.c Examining data/sundials-4.1.0+dfsg/src/arkode/fcmix/farkroot.h Examining data/sundials-4.1.0+dfsg/src/arkode/fcmix/farksparse.c Examining data/sundials-4.1.0+dfsg/src/arkode/fcmix/farksparsemass.c Examining data/sundials-4.1.0+dfsg/src/cvode/cvode.c Examining data/sundials-4.1.0+dfsg/src/cvode/cvode_bandpre.c Examining data/sundials-4.1.0+dfsg/src/cvode/cvode_bandpre_impl.h Examining data/sundials-4.1.0+dfsg/src/cvode/cvode_bbdpre.c Examining data/sundials-4.1.0+dfsg/src/cvode/cvode_bbdpre_impl.h Examining data/sundials-4.1.0+dfsg/src/cvode/cvode_diag.c Examining data/sundials-4.1.0+dfsg/src/cvode/cvode_diag_impl.h Examining data/sundials-4.1.0+dfsg/src/cvode/cvode_direct.c Examining data/sundials-4.1.0+dfsg/src/cvode/cvode_impl.h Examining data/sundials-4.1.0+dfsg/src/cvode/cvode_io.c Examining data/sundials-4.1.0+dfsg/src/cvode/cvode_ls.c Examining data/sundials-4.1.0+dfsg/src/cvode/cvode_ls_impl.h Examining data/sundials-4.1.0+dfsg/src/cvode/cvode_nls.c Examining data/sundials-4.1.0+dfsg/src/cvode/cvode_spils.c Examining data/sundials-4.1.0+dfsg/src/cvode/fcmix/fcvband.c Examining data/sundials-4.1.0+dfsg/src/cvode/fcmix/fcvbbd.c Examining data/sundials-4.1.0+dfsg/src/cvode/fcmix/fcvbbd.h Examining data/sundials-4.1.0+dfsg/src/cvode/fcmix/fcvbp.c Examining data/sundials-4.1.0+dfsg/src/cvode/fcmix/fcvbp.h Examining data/sundials-4.1.0+dfsg/src/cvode/fcmix/fcvdense.c Examining data/sundials-4.1.0+dfsg/src/cvode/fcmix/fcvewt.c Examining data/sundials-4.1.0+dfsg/src/cvode/fcmix/fcvjtimes.c Examining data/sundials-4.1.0+dfsg/src/cvode/fcmix/fcvnulllinsol.c Examining data/sundials-4.1.0+dfsg/src/cvode/fcmix/fcvnullmatrix.c Examining data/sundials-4.1.0+dfsg/src/cvode/fcmix/fcvnullnonlinsol.c Examining data/sundials-4.1.0+dfsg/src/cvode/fcmix/fcvode.c Examining data/sundials-4.1.0+dfsg/src/cvode/fcmix/fcvode.h Examining data/sundials-4.1.0+dfsg/src/cvode/fcmix/fcvpreco.c Examining data/sundials-4.1.0+dfsg/src/cvode/fcmix/fcvroot.c Examining data/sundials-4.1.0+dfsg/src/cvode/fcmix/fcvroot.h Examining data/sundials-4.1.0+dfsg/src/cvode/fcmix/fcvsparse.c Examining data/sundials-4.1.0+dfsg/src/cvodes/cvodea.c Examining data/sundials-4.1.0+dfsg/src/cvodes/cvodea_io.c Examining data/sundials-4.1.0+dfsg/src/cvodes/cvodes_bandpre.c Examining data/sundials-4.1.0+dfsg/src/cvodes/cvodes_bandpre_impl.h Examining data/sundials-4.1.0+dfsg/src/cvodes/cvodes_bbdpre.c Examining data/sundials-4.1.0+dfsg/src/cvodes/cvodes_bbdpre_impl.h Examining data/sundials-4.1.0+dfsg/src/cvodes/cvodes.c Examining data/sundials-4.1.0+dfsg/src/cvodes/cvodes_diag.c Examining data/sundials-4.1.0+dfsg/src/cvodes/cvodes_diag_impl.h Examining data/sundials-4.1.0+dfsg/src/cvodes/cvodes_direct.c Examining data/sundials-4.1.0+dfsg/src/cvodes/cvodes_impl.h Examining data/sundials-4.1.0+dfsg/src/cvodes/cvodes_io.c Examining data/sundials-4.1.0+dfsg/src/cvodes/cvodes_ls.c Examining data/sundials-4.1.0+dfsg/src/cvodes/cvodes_ls_impl.h Examining data/sundials-4.1.0+dfsg/src/cvodes/cvodes_nls.c Examining data/sundials-4.1.0+dfsg/src/cvodes/cvodes_nls_sim.c Examining data/sundials-4.1.0+dfsg/src/cvodes/cvodes_nls_stg.c Examining data/sundials-4.1.0+dfsg/src/cvodes/cvodes_nls_stg1.c Examining data/sundials-4.1.0+dfsg/src/cvodes/cvodes_spils.c Examining data/sundials-4.1.0+dfsg/src/ida/ida_bbdpre.c Examining data/sundials-4.1.0+dfsg/src/ida/ida_bbdpre_impl.h Examining data/sundials-4.1.0+dfsg/src/ida/ida.c Examining data/sundials-4.1.0+dfsg/src/ida/ida_direct.c Examining data/sundials-4.1.0+dfsg/src/ida/ida_ic.c Examining data/sundials-4.1.0+dfsg/src/ida/ida_impl.h Examining data/sundials-4.1.0+dfsg/src/ida/ida_io.c Examining data/sundials-4.1.0+dfsg/src/ida/ida_ls.c Examining data/sundials-4.1.0+dfsg/src/ida/ida_ls_impl.h Examining data/sundials-4.1.0+dfsg/src/ida/ida_nls.c Examining data/sundials-4.1.0+dfsg/src/ida/ida_spils.c Examining data/sundials-4.1.0+dfsg/src/ida/fcmix/fida.c Examining data/sundials-4.1.0+dfsg/src/ida/fcmix/fida.h Examining data/sundials-4.1.0+dfsg/src/ida/fcmix/fidaband.c Examining data/sundials-4.1.0+dfsg/src/ida/fcmix/fidabbd.c Examining data/sundials-4.1.0+dfsg/src/ida/fcmix/fidabbd.h Examining data/sundials-4.1.0+dfsg/src/ida/fcmix/fidadense.c Examining data/sundials-4.1.0+dfsg/src/ida/fcmix/fidaewt.c Examining data/sundials-4.1.0+dfsg/src/ida/fcmix/fidajtimes.c Examining data/sundials-4.1.0+dfsg/src/ida/fcmix/fidanullmatrix.c Examining data/sundials-4.1.0+dfsg/src/ida/fcmix/fidanullnonlinsol.c Examining data/sundials-4.1.0+dfsg/src/ida/fcmix/fidapreco.c Examining data/sundials-4.1.0+dfsg/src/ida/fcmix/fidaroot.c Examining data/sundials-4.1.0+dfsg/src/ida/fcmix/fidaroot.h Examining data/sundials-4.1.0+dfsg/src/ida/fcmix/fidasparse.c Examining data/sundials-4.1.0+dfsg/src/idas/idaa.c Examining data/sundials-4.1.0+dfsg/src/idas/idaa_io.c Examining data/sundials-4.1.0+dfsg/src/idas/idas.c Examining data/sundials-4.1.0+dfsg/src/idas/idas_bbdpre.c Examining data/sundials-4.1.0+dfsg/src/idas/idas_bbdpre_impl.h Examining data/sundials-4.1.0+dfsg/src/idas/idas_direct.c Examining data/sundials-4.1.0+dfsg/src/idas/idas_ic.c Examining data/sundials-4.1.0+dfsg/src/idas/idas_impl.h Examining data/sundials-4.1.0+dfsg/src/idas/idas_io.c Examining data/sundials-4.1.0+dfsg/src/idas/idas_ls.c Examining data/sundials-4.1.0+dfsg/src/idas/idas_ls_impl.h Examining data/sundials-4.1.0+dfsg/src/idas/idas_nls.c Examining data/sundials-4.1.0+dfsg/src/idas/idas_nls_sim.c Examining data/sundials-4.1.0+dfsg/src/idas/idas_nls_stg.c Examining data/sundials-4.1.0+dfsg/src/idas/idas_spils.c Examining data/sundials-4.1.0+dfsg/src/kinsol/kinsol.c Examining data/sundials-4.1.0+dfsg/src/kinsol/kinsol_bbdpre.c Examining data/sundials-4.1.0+dfsg/src/kinsol/kinsol_bbdpre_impl.h Examining data/sundials-4.1.0+dfsg/src/kinsol/kinsol_direct.c Examining data/sundials-4.1.0+dfsg/src/kinsol/kinsol_impl.h Examining data/sundials-4.1.0+dfsg/src/kinsol/kinsol_io.c Examining data/sundials-4.1.0+dfsg/src/kinsol/kinsol_ls.c Examining data/sundials-4.1.0+dfsg/src/kinsol/kinsol_ls_impl.h Examining data/sundials-4.1.0+dfsg/src/kinsol/kinsol_spils.c Examining data/sundials-4.1.0+dfsg/src/kinsol/fcmix/fkinband.c Examining data/sundials-4.1.0+dfsg/src/kinsol/fcmix/fkinbbd.c Examining data/sundials-4.1.0+dfsg/src/kinsol/fcmix/fkinbbd.h Examining data/sundials-4.1.0+dfsg/src/kinsol/fcmix/fkindense.c Examining data/sundials-4.1.0+dfsg/src/kinsol/fcmix/fkinjtimes.c Examining data/sundials-4.1.0+dfsg/src/kinsol/fcmix/fkinnulllinsol.c Examining data/sundials-4.1.0+dfsg/src/kinsol/fcmix/fkinnullmatrix.c Examining data/sundials-4.1.0+dfsg/src/kinsol/fcmix/fkinpreco.c Examining data/sundials-4.1.0+dfsg/src/kinsol/fcmix/fkinsol.c Examining data/sundials-4.1.0+dfsg/src/kinsol/fcmix/fkinsol.h Examining data/sundials-4.1.0+dfsg/src/kinsol/fcmix/fkinsparse.c Examining data/sundials-4.1.0+dfsg/examples/nvector/serial/test_nvector_serial.c Examining data/sundials-4.1.0+dfsg/examples/nvector/parallel/test_nvector_mpi.c Examining data/sundials-4.1.0+dfsg/examples/nvector/parhyp/test_nvector_parhyp.c Examining data/sundials-4.1.0+dfsg/examples/nvector/petsc/test_nvector_petsc.c Examining data/sundials-4.1.0+dfsg/examples/nvector/C_openmp/test_nvector_openmp.c Examining data/sundials-4.1.0+dfsg/examples/nvector/openmpdev/test_nvector_openmpdev.c Examining data/sundials-4.1.0+dfsg/examples/nvector/pthreads/test_nvector_pthreads.c Examining data/sundials-4.1.0+dfsg/examples/nvector/trilinos/test_nvector_trilinos.cpp Examining data/sundials-4.1.0+dfsg/examples/nvector/test_nvector.c Examining data/sundials-4.1.0+dfsg/examples/nvector/test_nvector.h Examining data/sundials-4.1.0+dfsg/examples/sunmatrix/band/test_sunmatrix_band.c Examining data/sundials-4.1.0+dfsg/examples/sunmatrix/dense/test_sunmatrix_dense.c Examining data/sundials-4.1.0+dfsg/examples/sunmatrix/sparse/test_sunmatrix_sparse.c Examining data/sundials-4.1.0+dfsg/examples/sunmatrix/test_sunmatrix.c Examining data/sundials-4.1.0+dfsg/examples/sunmatrix/test_sunmatrix.h Examining data/sundials-4.1.0+dfsg/examples/sunlinsol/band/test_sunlinsol_band.c Examining data/sundials-4.1.0+dfsg/examples/sunlinsol/dense/test_sunlinsol_dense.c Examining data/sundials-4.1.0+dfsg/examples/sunlinsol/klu/test_sunlinsol_klu.c Examining data/sundials-4.1.0+dfsg/examples/sunlinsol/lapackband/test_sunlinsol_lapackband.c Examining data/sundials-4.1.0+dfsg/examples/sunlinsol/lapackdense/test_sunlinsol_lapackdense.c Examining data/sundials-4.1.0+dfsg/examples/sunlinsol/pcg/serial/test_sunlinsol_pcg_serial.c Examining data/sundials-4.1.0+dfsg/examples/sunlinsol/spbcgs/parallel/test_sunlinsol_spbcgs_parallel.c Examining data/sundials-4.1.0+dfsg/examples/sunlinsol/spbcgs/serial/test_sunlinsol_spbcgs_serial.c Examining data/sundials-4.1.0+dfsg/examples/sunlinsol/spfgmr/parallel/test_sunlinsol_spfgmr_parallel.c Examining data/sundials-4.1.0+dfsg/examples/sunlinsol/spfgmr/serial/test_sunlinsol_spfgmr_serial.c Examining data/sundials-4.1.0+dfsg/examples/sunlinsol/spgmr/parallel/test_sunlinsol_spgmr_parallel.c Examining data/sundials-4.1.0+dfsg/examples/sunlinsol/spgmr/serial/test_sunlinsol_spgmr_serial.c Examining data/sundials-4.1.0+dfsg/examples/sunlinsol/sptfqmr/parallel/test_sunlinsol_sptfqmr_parallel.c Examining data/sundials-4.1.0+dfsg/examples/sunlinsol/sptfqmr/serial/test_sunlinsol_sptfqmr_serial.c Examining data/sundials-4.1.0+dfsg/examples/sunlinsol/superlumt/test_sunlinsol_superlumt.c Examining data/sundials-4.1.0+dfsg/examples/sunlinsol/test_sunlinsol.c Examining data/sundials-4.1.0+dfsg/examples/sunlinsol/test_sunlinsol.h Examining data/sundials-4.1.0+dfsg/examples/sunnonlinsol/newton/test_sunnonlinsol_newton.c Examining data/sundials-4.1.0+dfsg/examples/sunnonlinsol/fixedpoint/test_sunnonlinsol_fixedpoint.c Examining data/sundials-4.1.0+dfsg/examples/arkode/C_openmp/ark_brusselator1D_omp.c Examining data/sundials-4.1.0+dfsg/examples/arkode/C_openmp/ark_heat1D_omp.c Examining data/sundials-4.1.0+dfsg/examples/arkode/C_openmpdev/ark_analytic_nonlin_ompdev.c Examining data/sundials-4.1.0+dfsg/examples/arkode/C_openmpdev/ark_heat1D_adapt_ompdev.c Examining data/sundials-4.1.0+dfsg/examples/arkode/C_openmpdev/ark_heat1D_ompdev.c Examining data/sundials-4.1.0+dfsg/examples/arkode/C_parallel/ark_diurnal_kry_bbd_p.c Examining data/sundials-4.1.0+dfsg/examples/arkode/C_parallel/ark_diurnal_kry_p.c Examining data/sundials-4.1.0+dfsg/examples/arkode/C_parhyp/ark_diurnal_kry_ph.c Examining data/sundials-4.1.0+dfsg/examples/arkode/C_serial/ark_analytic.c Examining data/sundials-4.1.0+dfsg/examples/arkode/C_serial/ark_analytic_nonlin.c Examining data/sundials-4.1.0+dfsg/examples/arkode/C_serial/ark_brusselator.c Examining data/sundials-4.1.0+dfsg/examples/arkode/C_serial/ark_brusselator1D.c Examining data/sundials-4.1.0+dfsg/examples/arkode/C_serial/ark_brusselator1D_FEM_slu.c Examining data/sundials-4.1.0+dfsg/examples/arkode/C_serial/ark_brusselator1D_klu.c Examining data/sundials-4.1.0+dfsg/examples/arkode/C_serial/ark_brusselator_fp.c Examining data/sundials-4.1.0+dfsg/examples/arkode/C_serial/ark_brusselator_mri.c Examining data/sundials-4.1.0+dfsg/examples/arkode/C_serial/ark_heat1D.c Examining data/sundials-4.1.0+dfsg/examples/arkode/C_serial/ark_heat1D_adapt.c Examining data/sundials-4.1.0+dfsg/examples/arkode/C_serial/ark_KrylovDemo_prec.c Examining data/sundials-4.1.0+dfsg/examples/arkode/C_serial/ark_onewaycouple_mri.c Examining data/sundials-4.1.0+dfsg/examples/arkode/C_serial/ark_reaction_diffusion_mri.c Examining data/sundials-4.1.0+dfsg/examples/arkode/C_serial/ark_robertson.c Examining data/sundials-4.1.0+dfsg/examples/arkode/C_serial/ark_robertson_root.c Examining data/sundials-4.1.0+dfsg/examples/arkode/C_serial/ark_twowaycouple_mri.c Examining data/sundials-4.1.0+dfsg/examples/arkode/CXX_parallel/ark_heat2D.cpp Examining data/sundials-4.1.0+dfsg/examples/arkode/CXX_parhyp/ark_heat2D_hypre.cpp Examining data/sundials-4.1.0+dfsg/examples/arkode/CXX_serial/ark_analytic_sys.cpp Examining data/sundials-4.1.0+dfsg/examples/cvode/serial/cvAdvDiff_bnd.c Examining data/sundials-4.1.0+dfsg/examples/cvode/serial/cvAdvDiff_bndL.c Examining data/sundials-4.1.0+dfsg/examples/cvode/serial/cvDirectDemo_ls.c Examining data/sundials-4.1.0+dfsg/examples/cvode/serial/cvDisc_dns.c Examining data/sundials-4.1.0+dfsg/examples/cvode/serial/cvDiurnal_kry_bp.c Examining data/sundials-4.1.0+dfsg/examples/cvode/serial/cvDiurnal_kry.c Examining data/sundials-4.1.0+dfsg/examples/cvode/serial/cvKrylovDemo_ls.c Examining data/sundials-4.1.0+dfsg/examples/cvode/serial/cvKrylovDemo_prec.c Examining data/sundials-4.1.0+dfsg/examples/cvode/serial/cvRoberts_dns.c Examining data/sundials-4.1.0+dfsg/examples/cvode/serial/cvRoberts_dns_constraints.c Examining data/sundials-4.1.0+dfsg/examples/cvode/serial/cvRoberts_dnsL.c Examining data/sundials-4.1.0+dfsg/examples/cvode/serial/cvRoberts_dns_uw.c Examining data/sundials-4.1.0+dfsg/examples/cvode/serial/cvRoberts_dns_negsol.c Examining data/sundials-4.1.0+dfsg/examples/cvode/serial/cvRoberts_klu.c Examining data/sundials-4.1.0+dfsg/examples/cvode/serial/cvRoberts_sps.c Examining data/sundials-4.1.0+dfsg/examples/cvode/C_openmp/cvAdvDiff_bnd_omp.c Examining data/sundials-4.1.0+dfsg/examples/cvode/C_openmpdev/cvAdvDiff_kry_ompdev.c Examining data/sundials-4.1.0+dfsg/examples/cvode/parallel/cvAdvDiff_non_p.c Examining data/sundials-4.1.0+dfsg/examples/cvode/parallel/cvAdvDiff_diag_p.c Examining data/sundials-4.1.0+dfsg/examples/cvode/parallel/cvDiurnal_kry_bbd_p.c Examining data/sundials-4.1.0+dfsg/examples/cvode/parallel/cvDiurnal_kry_p.c Examining data/sundials-4.1.0+dfsg/examples/cvode/parhyp/cvAdvDiff_non_ph.c Examining data/sundials-4.1.0+dfsg/examples/cvodes/serial/cvsAdvDiff_ASAi_bnd.c Examining data/sundials-4.1.0+dfsg/examples/cvodes/serial/cvsAdvDiff_bnd.c Examining data/sundials-4.1.0+dfsg/examples/cvodes/serial/cvsAdvDiff_bndL.c Examining data/sundials-4.1.0+dfsg/examples/cvodes/serial/cvsAdvDiff_FSA_non.c Examining data/sundials-4.1.0+dfsg/examples/cvodes/serial/cvsDirectDemo_ls.c Examining data/sundials-4.1.0+dfsg/examples/cvodes/serial/cvsDiurnal_FSA_kry.c Examining data/sundials-4.1.0+dfsg/examples/cvodes/serial/cvsDiurnal_kry_bp.c Examining data/sundials-4.1.0+dfsg/examples/cvodes/serial/cvsDiurnal_kry.c Examining data/sundials-4.1.0+dfsg/examples/cvodes/serial/cvsFoodWeb_ASAi_kry.c Examining data/sundials-4.1.0+dfsg/examples/cvodes/serial/cvsFoodWeb_ASAp_kry.c Examining data/sundials-4.1.0+dfsg/examples/cvodes/serial/cvsHessian_ASA_FSA.c Examining data/sundials-4.1.0+dfsg/examples/cvodes/serial/cvsKrylovDemo_ls.c Examining data/sundials-4.1.0+dfsg/examples/cvodes/serial/cvsKrylovDemo_prec.c Examining data/sundials-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_ASAi_dns.c Examining data/sundials-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_ASAi_dns_constraints.c Examining data/sundials-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_dns.c Examining data/sundials-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_dns_constraints.c Examining data/sundials-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_dnsL.c Examining data/sundials-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_ASAi_klu.c Examining data/sundials-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_ASAi_sps.c Examining data/sundials-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_dns_uw.c Examining data/sundials-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_FSA_dns.c Examining data/sundials-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_FSA_dns_Switch.c Examining data/sundials-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_FSA_dns_constraints.c Examining data/sundials-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_FSA_klu.c Examining data/sundials-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_FSA_sps.c Examining data/sundials-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_klu.c Examining data/sundials-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_sps.c Examining data/sundials-4.1.0+dfsg/examples/cvodes/C_openmp/cvsAdvDiff_bnd_omp.c Examining data/sundials-4.1.0+dfsg/examples/cvodes/parallel/cvsAdvDiff_ASAp_non_p.c Examining data/sundials-4.1.0+dfsg/examples/cvodes/parallel/cvsAdvDiff_FSA_non_p.c Examining data/sundials-4.1.0+dfsg/examples/cvodes/parallel/cvsAdvDiff_non_p.c Examining data/sundials-4.1.0+dfsg/examples/cvodes/parallel/cvsAtmDisp_ASAi_kry_bbd_p.c Examining data/sundials-4.1.0+dfsg/examples/cvodes/parallel/cvsDiurnal_FSA_kry_p.c Examining data/sundials-4.1.0+dfsg/examples/cvodes/parallel/cvsDiurnal_kry_bbd_p.c Examining data/sundials-4.1.0+dfsg/examples/cvodes/parallel/cvsDiurnal_kry_p.c Examining data/sundials-4.1.0+dfsg/examples/ida/serial/idaFoodWeb_bnd.c Examining data/sundials-4.1.0+dfsg/examples/ida/serial/idaFoodWeb_kry.c Examining data/sundials-4.1.0+dfsg/examples/ida/serial/idaHeat2D_bnd.c Examining data/sundials-4.1.0+dfsg/examples/ida/serial/idaHeat2D_kry.c Examining data/sundials-4.1.0+dfsg/examples/ida/serial/idaHeat2D_klu.c Examining data/sundials-4.1.0+dfsg/examples/ida/serial/idaKrylovDemo_ls.c Examining data/sundials-4.1.0+dfsg/examples/ida/serial/idaRoberts_dns.c Examining data/sundials-4.1.0+dfsg/examples/ida/serial/idaRoberts_klu.c Examining data/sundials-4.1.0+dfsg/examples/ida/serial/idaRoberts_sps.c Examining data/sundials-4.1.0+dfsg/examples/ida/serial/idaSlCrank_dns.c Examining data/sundials-4.1.0+dfsg/examples/ida/C_openmp/idaFoodWeb_bnd_omp.c Examining data/sundials-4.1.0+dfsg/examples/ida/C_openmp/idaFoodWeb_kry_omp.c Examining data/sundials-4.1.0+dfsg/examples/ida/petsc/idaHeat2D_kry_petsc.c Examining data/sundials-4.1.0+dfsg/examples/ida/parallel/idaFoodWeb_kry_bbd_p.c Examining data/sundials-4.1.0+dfsg/examples/ida/parallel/idaFoodWeb_kry_p.c Examining data/sundials-4.1.0+dfsg/examples/ida/parallel/idaHeat2D_kry_bbd_p.c Examining data/sundials-4.1.0+dfsg/examples/ida/parallel/idaHeat2D_kry_p.c Examining data/sundials-4.1.0+dfsg/examples/ida/trilinos/idaHeat2D_kry_p_tpetra.cpp Examining data/sundials-4.1.0+dfsg/examples/ida/trilinos/idaHeat2D_kry_tpetra.cpp Examining data/sundials-4.1.0+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-4.1.0+dfsg/examples/idas/serial/idasAkzoNob_dns.c Examining data/sundials-4.1.0+dfsg/examples/idas/serial/idasFoodWeb_bnd.c Examining data/sundials-4.1.0+dfsg/examples/idas/serial/idasHeat2D_bnd.c Examining data/sundials-4.1.0+dfsg/examples/idas/serial/idasHeat2D_kry.c Examining data/sundials-4.1.0+dfsg/examples/idas/serial/idasHessian_ASA_FSA.c Examining data/sundials-4.1.0+dfsg/examples/idas/serial/idasKrylovDemo_ls.c Examining data/sundials-4.1.0+dfsg/examples/idas/serial/idasRoberts_ASAi_dns.c Examining data/sundials-4.1.0+dfsg/examples/idas/serial/idasRoberts_ASAi_klu.c Examining data/sundials-4.1.0+dfsg/examples/idas/serial/idasRoberts_ASAi_sps.c Examining data/sundials-4.1.0+dfsg/examples/idas/serial/idasRoberts_dns.c Examining data/sundials-4.1.0+dfsg/examples/idas/serial/idasRoberts_FSA_dns.c Examining data/sundials-4.1.0+dfsg/examples/idas/serial/idasRoberts_FSA_klu.c Examining data/sundials-4.1.0+dfsg/examples/idas/serial/idasRoberts_FSA_sps.c Examining data/sundials-4.1.0+dfsg/examples/idas/serial/idasRoberts_klu.c Examining data/sundials-4.1.0+dfsg/examples/idas/serial/idasRoberts_sps.c Examining data/sundials-4.1.0+dfsg/examples/idas/serial/idasSlCrank_dns.c Examining data/sundials-4.1.0+dfsg/examples/idas/serial/idasSlCrank_FSA_dns.c Examining data/sundials-4.1.0+dfsg/examples/idas/C_openmp/idasFoodWeb_bnd_omp.c Examining data/sundials-4.1.0+dfsg/examples/idas/C_openmp/idasFoodWeb_kry_omp.c Examining data/sundials-4.1.0+dfsg/examples/idas/parallel/idasBruss_ASAp_kry_bbd_p.c Examining data/sundials-4.1.0+dfsg/examples/idas/parallel/idasBruss_FSA_kry_bbd_p.c Examining data/sundials-4.1.0+dfsg/examples/idas/parallel/idasBruss_kry_bbd_p.c Examining data/sundials-4.1.0+dfsg/examples/idas/parallel/idasFoodWeb_kry_bbd_p.c Examining data/sundials-4.1.0+dfsg/examples/idas/parallel/idasFoodWeb_kry_p.c Examining data/sundials-4.1.0+dfsg/examples/idas/parallel/idasHeat2D_FSA_kry_bbd_p.c Examining data/sundials-4.1.0+dfsg/examples/idas/parallel/idasHeat2D_kry_bbd_p.c Examining data/sundials-4.1.0+dfsg/examples/idas/parallel/idasHeat2D_kry_p.c Examining data/sundials-4.1.0+dfsg/examples/kinsol/serial/kinFerTron_dns.c Examining data/sundials-4.1.0+dfsg/examples/kinsol/serial/kinFerTron_klu.c Examining data/sundials-4.1.0+dfsg/examples/kinsol/serial/kinFoodWeb_kry.c Examining data/sundials-4.1.0+dfsg/examples/kinsol/serial/kinKrylovDemo_ls.c Examining data/sundials-4.1.0+dfsg/examples/kinsol/serial/kinLaplace_bnd.c Examining data/sundials-4.1.0+dfsg/examples/kinsol/serial/kinLaplace_picard_bnd.c Examining data/sundials-4.1.0+dfsg/examples/kinsol/serial/kinRoboKin_dns.c Examining data/sundials-4.1.0+dfsg/examples/kinsol/serial/kinRoboKin_slu.c Examining data/sundials-4.1.0+dfsg/examples/kinsol/serial/kinRoberts_fp.c Examining data/sundials-4.1.0+dfsg/examples/kinsol/C_openmp/kinFoodWeb_kry_omp.c Examining data/sundials-4.1.0+dfsg/examples/kinsol/parallel/kinFoodWeb_kry_bbd_p.c Examining data/sundials-4.1.0+dfsg/examples/kinsol/parallel/kinFoodWeb_kry_p.c FINAL RESULTS: data/sundials-4.1.0+dfsg/examples/arkode/CXX_parallel/ark_heat2D.cpp:247: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-4.1.0+dfsg/examples/arkode/CXX_parhyp/ark_heat2D_hypre.cpp:355: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-4.1.0+dfsg/examples/arkode/C_openmp/ark_brusselator1D_omp.c:246: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-4.1.0+dfsg/examples/arkode/C_openmp/ark_brusselator1D_omp.c:247: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-4.1.0+dfsg/examples/arkode/C_openmp/ark_brusselator1D_omp.c:248: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-4.1.0+dfsg/examples/arkode/C_openmp/ark_brusselator1D_omp.c:280: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-4.1.0+dfsg/examples/arkode/C_openmp/ark_brusselator1D_omp.c:281: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-4.1.0+dfsg/examples/arkode/C_openmp/ark_brusselator1D_omp.c:282: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-4.1.0+dfsg/examples/arkode/C_openmpdev/ark_heat1D_adapt_ompdev.c:146: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_host[i]); data/sundials-4.1.0+dfsg/examples/arkode/C_openmpdev/ark_heat1D_adapt_ompdev.c:155: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-4.1.0+dfsg/examples/arkode/C_openmpdev/ark_heat1D_adapt_ompdev.c:232: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-4.1.0+dfsg/examples/arkode/C_openmpdev/ark_heat1D_adapt_ompdev.c:234: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_host[i]); data/sundials-4.1.0+dfsg/examples/arkode/C_serial/ark_brusselator1D_FEM_slu.c:313: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-4.1.0+dfsg/examples/arkode/C_serial/ark_brusselator1D_FEM_slu.c:314: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-4.1.0+dfsg/examples/arkode/C_serial/ark_brusselator1D_FEM_slu.c:315: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-4.1.0+dfsg/examples/arkode/C_serial/ark_brusselator1D_FEM_slu.c:347: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-4.1.0+dfsg/examples/arkode/C_serial/ark_brusselator1D_FEM_slu.c:348: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-4.1.0+dfsg/examples/arkode/C_serial/ark_brusselator1D_FEM_slu.c:349: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-4.1.0+dfsg/examples/arkode/C_serial/ark_heat1D_adapt.c:129: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-4.1.0+dfsg/examples/arkode/C_serial/ark_heat1D_adapt.c:137: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-4.1.0+dfsg/examples/arkode/C_serial/ark_heat1D_adapt.c:212: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-4.1.0+dfsg/examples/arkode/C_serial/ark_heat1D_adapt.c:214: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-4.1.0+dfsg/examples/nvector/test_nvector.c:58:48: [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(test, time) if (print_time) printf(FMT, test, time) data/sundials-4.1.0+dfsg/examples/sunlinsol/test_sunlinsol.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-4.1.0+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-4.1.0+dfsg/src/arkode/arkode.c:2534:3: [4] (format) vsprintf: Potential format string problem (CWE-134). Make format string constant. vsprintf(msg, msgfmt, ap); data/sundials-4.1.0+dfsg/src/cvode/cvode.c:4047:3: [4] (format) vsprintf: Potential format string problem (CWE-134). Make format string constant. vsprintf(msg, msgfmt, ap); data/sundials-4.1.0+dfsg/src/cvodes/cvodes.c:8767:3: [4] (format) vsprintf: Potential format string problem (CWE-134). Make format string constant. vsprintf(msg, msgfmt, ap); data/sundials-4.1.0+dfsg/src/ida/ida.c:3340:3: [4] (format) vsprintf: Potential format string problem (CWE-134). Make format string constant. vsprintf(msg, msgfmt, ap); data/sundials-4.1.0+dfsg/src/idas/idas.c:7372:3: [4] (format) vsprintf: Potential format string problem (CWE-134). Make format string constant. vsprintf(msg, msgfmt, ap); data/sundials-4.1.0+dfsg/src/kinsol/kinsol.c:1985:5: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(msg1, msgfmt, ret); data/sundials-4.1.0+dfsg/src/kinsol/kinsol.c:1986: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-4.1.0+dfsg/src/kinsol/kinsol.c:1993:5: [4] (format) vsprintf: Potential format string problem (CWE-134). Make format string constant. vsprintf(msg, msgfmt, ap); data/sundials-4.1.0+dfsg/src/kinsol/kinsol.c:2068:3: [4] (format) vsprintf: Potential format string problem (CWE-134). Make format string constant. vsprintf(msg, msgfmt, ap); data/sundials-4.1.0+dfsg/src/nvector/parallel/nvector_parallel.c:90: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-4.1.0+dfsg/src/nvector/petsc/nvector_petsc.c:132: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-4.1.0+dfsg/examples/arkode/CXX_parallel/ark_heat2D.cpp:180: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-4.1.0+dfsg/examples/arkode/CXX_parallel/ark_heat2D.cpp:219: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). flag = ARKStepSStolerances(arkode_mem, rtol, atol); // Specify tolerances data/sundials-4.1.0+dfsg/examples/arkode/CXX_parallel/ark_heat2D.cpp:233:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char outname[100]; data/sundials-4.1.0+dfsg/examples/arkode/CXX_parallel/ark_heat2D.cpp:234: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-4.1.0+dfsg/examples/arkode/CXX_parallel/ark_heat2D.cpp:235: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-4.1.0+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.%03i.txt", udata->myid); data/sundials-4.1.0+dfsg/examples/arkode/CXX_parallel/ark_heat2D.cpp:243: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-4.1.0+dfsg/examples/arkode/CXX_parhyp/ark_heat2D_hypre.cpp:281: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-4.1.0+dfsg/examples/arkode/CXX_parhyp/ark_heat2D_hypre.cpp:289: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("diags_ark_heat2D_hypre.txt","w"); data/sundials-4.1.0+dfsg/examples/arkode/CXX_parhyp/ark_heat2D_hypre.cpp:321: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). flag = ARKStepSStolerances(arkode_mem, rtol, atol); data/sundials-4.1.0+dfsg/examples/arkode/CXX_parhyp/ark_heat2D_hypre.cpp:341:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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-4.1.0+dfsg/examples/arkode/CXX_parhyp/ark_heat2D_hypre.cpp:342: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-4.1.0+dfsg/examples/arkode/CXX_parhyp/ark_heat2D_hypre.cpp:343: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-4.1.0+dfsg/examples/arkode/CXX_parhyp/ark_heat2D_hypre.cpp:350: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-4.1.0+dfsg/examples/arkode/CXX_parhyp/ark_heat2D_hypre.cpp:351: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-4.1.0+dfsg/examples/arkode/CXX_serial/ark_analytic_sys.cpp:139: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-4.1.0+dfsg/examples/arkode/C_openmp/ark_brusselator1D_omp.c:234: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-4.1.0+dfsg/examples/arkode/C_openmp/ark_brusselator1D_omp.c:239: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-4.1.0+dfsg/examples/arkode/C_openmp/ark_brusselator1D_omp.c:240: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-4.1.0+dfsg/examples/arkode/C_openmp/ark_brusselator1D_omp.c:241: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-4.1.0+dfsg/examples/arkode/C_openmp/ark_heat1D_omp.c:140: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). flag = ARKStepSStolerances(arkode_mem, rtol, atol); /* Specify tolerances */ data/sundials-4.1.0+dfsg/examples/arkode/C_openmp/ark_heat1D_omp.c:158: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-4.1.0+dfsg/examples/arkode/C_openmp/ark_heat1D_omp.c:163: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-4.1.0+dfsg/examples/arkode/C_openmpdev/ark_analytic_nonlin_ompdev.c:98: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-4.1.0+dfsg/examples/arkode/C_openmpdev/ark_heat1D_adapt_ompdev.c:143: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-4.1.0+dfsg/examples/arkode/C_openmpdev/ark_heat1D_adapt_ompdev.c:150: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-4.1.0+dfsg/examples/arkode/C_openmpdev/ark_heat1D_adapt_ompdev.c:167: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). flag = ARKStepSStolerances(arkode_mem, rtol, atol); /* Specify tolerances */ data/sundials-4.1.0+dfsg/examples/arkode/C_openmpdev/ark_heat1D_ompdev.c:135: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). flag = ARKStepSStolerances(arkode_mem, rtol, atol); /* Specify tolerances */ data/sundials-4.1.0+dfsg/examples/arkode/C_openmpdev/ark_heat1D_ompdev.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-4.1.0+dfsg/examples/arkode/C_openmpdev/ark_heat1D_ompdev.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-4.1.0+dfsg/examples/arkode/C_serial/ark_analytic.c:62: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-4.1.0+dfsg/examples/arkode/C_serial/ark_analytic.c:127: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-4.1.0+dfsg/examples/arkode/C_serial/ark_analytic.c:269: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-4.1.0+dfsg/examples/arkode/C_serial/ark_analytic.c:277: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-4.1.0+dfsg/examples/arkode/C_serial/ark_analytic_nonlin.c:92: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-4.1.0+dfsg/examples/arkode/C_serial/ark_brusselator.c:175: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-4.1.0+dfsg/examples/arkode/C_serial/ark_brusselator1D.c:216: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-4.1.0+dfsg/examples/arkode/C_serial/ark_brusselator1D.c:221: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-4.1.0+dfsg/examples/arkode/C_serial/ark_brusselator1D.c:222: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-4.1.0+dfsg/examples/arkode/C_serial/ark_brusselator1D.c:223: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-4.1.0+dfsg/examples/arkode/C_serial/ark_brusselator1D_FEM_slu.c:301: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-4.1.0+dfsg/examples/arkode/C_serial/ark_brusselator1D_FEM_slu.c:306: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-4.1.0+dfsg/examples/arkode/C_serial/ark_brusselator1D_FEM_slu.c:307: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-4.1.0+dfsg/examples/arkode/C_serial/ark_brusselator1D_FEM_slu.c:308: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-4.1.0+dfsg/examples/arkode/C_serial/ark_brusselator1D_klu.c:235: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-4.1.0+dfsg/examples/arkode/C_serial/ark_brusselator1D_klu.c:240: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-4.1.0+dfsg/examples/arkode/C_serial/ark_brusselator1D_klu.c:241: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-4.1.0+dfsg/examples/arkode/C_serial/ark_brusselator1D_klu.c:242: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-4.1.0+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-4.1.0+dfsg/examples/arkode/C_serial/ark_brusselator_mri.c:138: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("ark_brusselator_mri_solution.txt","w"); data/sundials-4.1.0+dfsg/examples/arkode/C_serial/ark_heat1D.c:128: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). flag = ARKStepSStolerances(arkode_mem, rtol, atol); /* Specify tolerances */ data/sundials-4.1.0+dfsg/examples/arkode/C_serial/ark_heat1D.c:146: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-4.1.0+dfsg/examples/arkode/C_serial/ark_heat1D.c:151: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-4.1.0+dfsg/examples/arkode/C_serial/ark_heat1D_adapt.c:126: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-4.1.0+dfsg/examples/arkode/C_serial/ark_heat1D_adapt.c:133: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-4.1.0+dfsg/examples/arkode/C_serial/ark_heat1D_adapt.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). flag = ARKStepSStolerances(arkode_mem, rtol, atol); /* Specify tolerances */ data/sundials-4.1.0+dfsg/examples/arkode/C_serial/ark_onewaycouple_mri.c:140: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("ark_onewaycouple_mri_solution.txt","w"); data/sundials-4.1.0+dfsg/examples/arkode/C_serial/ark_reaction_diffusion_mri.c:158: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-4.1.0+dfsg/examples/arkode/C_serial/ark_reaction_diffusion_mri.c:163: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-4.1.0+dfsg/examples/arkode/C_serial/ark_robertson.c:63: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-4.1.0+dfsg/examples/arkode/C_serial/ark_robertson.c:141: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-4.1.0+dfsg/examples/arkode/C_serial/ark_robertson.c:300: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-4.1.0+dfsg/examples/arkode/C_serial/ark_robertson.c:321: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-4.1.0+dfsg/examples/arkode/C_serial/ark_robertson_root.c:153: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-4.1.0+dfsg/examples/arkode/C_serial/ark_twowaycouple_mri.c:120: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("ark_twowaycouple_mri_solution.txt","w"); data/sundials-4.1.0+dfsg/examples/cvode/serial/cvRoberts_dns.c:104: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-4.1.0+dfsg/examples/cvode/serial/cvRoberts_dns.c:395: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-4.1.0+dfsg/examples/cvode/serial/cvRoberts_dns.c:414: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-4.1.0+dfsg/examples/cvode/serial/cvRoberts_dns_constraints.c:107: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-4.1.0+dfsg/examples/cvode/serial/cvRoberts_dns_constraints.c:408: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-4.1.0+dfsg/examples/cvode/serial/cvRoberts_dns_constraints.c:426: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-4.1.0+dfsg/examples/cvode/serial/cvRoberts_dns_uw.c:286: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-4.1.0+dfsg/examples/cvode/serial/cvRoberts_dns_uw.c:289: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-4.1.0+dfsg/examples/cvode/serial/cvRoberts_dns_uw.c:290: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-4.1.0+dfsg/examples/cvode/serial/cvRoberts_dns_uw.c:291: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-4.1.0+dfsg/examples/cvode/serial/cvRoberts_dns_uw.c:295: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-4.1.0+dfsg/examples/cvodes/parallel/cvsAtmDisp_ASAi_kry_bbd_p.c:1145:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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-4.1.0+dfsg/examples/cvodes/parallel/cvsAtmDisp_ASAi_kry_bbd_p.c:1150: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-4.1.0+dfsg/examples/cvodes/parallel/cvsAtmDisp_ASAi_kry_bbd_p.c:1151: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-4.1.0+dfsg/examples/cvodes/parallel/cvsAtmDisp_ASAi_kry_bbd_p.c:1246: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_ASAi_dns.c:569: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_ASAi_dns.c:572: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-4.1.0+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[1] = ATOL2; data/sundials-4.1.0+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[2] = ATOL3; data/sundials-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_ASAi_dns.c:578: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_ASAi_dns_constraints.c:594: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_ASAi_dns_constraints.c:597: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_ASAi_dns_constraints.c:598: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_ASAi_dns_constraints.c:599: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_ASAi_dns_constraints.c:603: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_ASAi_klu.c:600: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_ASAi_klu.c:603: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_ASAi_klu.c:604: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_ASAi_klu.c:605: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_ASAi_klu.c:609: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_ASAi_sps.c:601: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_ASAi_sps.c:604: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_ASAi_sps.c:605: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_ASAi_sps.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[2] = ATOL3; data/sundials-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_ASAi_sps.c:610: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_FSA_dns.c:402: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_FSA_dns.c:405: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_FSA_dns.c:406: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_FSA_dns.c:407: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_FSA_dns.c:411: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_FSA_dns_constraints.c:417: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_FSA_dns_constraints.c:420: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_FSA_dns_constraints.c:421: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_FSA_dns_constraints.c:422: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_FSA_dns_constraints.c:426: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_FSA_klu.c:436: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_FSA_klu.c:439: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_FSA_klu.c:440: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_FSA_klu.c:441: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_FSA_klu.c:445: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_FSA_sps.c:436: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_FSA_sps.c:439: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_FSA_sps.c:440: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_FSA_sps.c:441: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_FSA_sps.c:445: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_dns.c:104: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_dns.c:395: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_dns.c:414: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_dns_constraints.c:108: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_dns_constraints.c:411: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_dns_constraints.c:429: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_dns_uw.c:286: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_dns_uw.c:289: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_dns_uw.c:290: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_dns_uw.c:291: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-4.1.0+dfsg/examples/cvodes/serial/cvsRoberts_dns_uw.c:295: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-4.1.0+dfsg/examples/ida/C_openmp/idaFoodWeb_bnd_omp.c:183: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-4.1.0+dfsg/examples/ida/C_openmp/idaFoodWeb_bnd_omp.c:207: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-4.1.0+dfsg/examples/ida/C_openmp/idaFoodWeb_bnd_omp.c:266: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-4.1.0+dfsg/examples/ida/C_openmp/idaFoodWeb_bnd_omp.c:287: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-4.1.0+dfsg/examples/ida/C_openmp/idaFoodWeb_bnd_omp.c:496: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-4.1.0+dfsg/examples/ida/C_openmp/idaFoodWeb_bnd_omp.c:503: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-4.1.0+dfsg/examples/ida/C_openmp/idaFoodWeb_bnd_omp.c:505: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-4.1.0+dfsg/examples/ida/C_openmp/idaFoodWeb_bnd_omp.c:507: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-4.1.0+dfsg/examples/ida/C_openmp/idaFoodWeb_kry_omp.c:194: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-4.1.0+dfsg/examples/ida/C_openmp/idaFoodWeb_kry_omp.c:217: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-4.1.0+dfsg/examples/ida/C_openmp/idaFoodWeb_kry_omp.c:282: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-4.1.0+dfsg/examples/ida/C_openmp/idaFoodWeb_kry_omp.c:308: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-4.1.0+dfsg/examples/ida/C_openmp/idaFoodWeb_kry_omp.c:620: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-4.1.0+dfsg/examples/ida/C_openmp/idaFoodWeb_kry_omp.c:627: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-4.1.0+dfsg/examples/ida/C_openmp/idaFoodWeb_kry_omp.c:629: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-4.1.0+dfsg/examples/ida/C_openmp/idaFoodWeb_kry_omp.c:631: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-4.1.0+dfsg/examples/ida/parallel/idaFoodWeb_kry_bbd_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-4.1.0+dfsg/examples/ida/parallel/idaFoodWeb_kry_bbd_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-4.1.0+dfsg/examples/ida/parallel/idaFoodWeb_kry_bbd_p.c:318: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-4.1.0+dfsg/examples/ida/parallel/idaFoodWeb_kry_bbd_p.c:349: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-4.1.0+dfsg/examples/ida/parallel/idaFoodWeb_kry_bbd_p.c:521: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-4.1.0+dfsg/examples/ida/parallel/idaFoodWeb_kry_bbd_p.c:530: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-4.1.0+dfsg/examples/ida/parallel/idaFoodWeb_kry_bbd_p.c:532: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-4.1.0+dfsg/examples/ida/parallel/idaFoodWeb_kry_bbd_p.c:534: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-4.1.0+dfsg/examples/ida/parallel/idaFoodWeb_kry_p.c:229: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-4.1.0+dfsg/examples/ida/parallel/idaFoodWeb_kry_p.c:251: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-4.1.0+dfsg/examples/ida/parallel/idaFoodWeb_kry_p.c:328: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-4.1.0+dfsg/examples/ida/parallel/idaFoodWeb_kry_p.c:361: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-4.1.0+dfsg/examples/ida/parallel/idaFoodWeb_kry_p.c:571: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-4.1.0+dfsg/examples/ida/parallel/idaFoodWeb_kry_p.c:580: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-4.1.0+dfsg/examples/ida/parallel/idaFoodWeb_kry_p.c:582: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-4.1.0+dfsg/examples/ida/parallel/idaFoodWeb_kry_p.c:584: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-4.1.0+dfsg/examples/ida/parallel/idaHeat2D_kry_bbd_p.c:113: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-4.1.0+dfsg/examples/ida/parallel/idaHeat2D_kry_bbd_p.c:137: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-4.1.0+dfsg/examples/ida/parallel/idaHeat2D_kry_bbd_p.c:223: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-4.1.0+dfsg/examples/ida/parallel/idaHeat2D_kry_bbd_p.c:233: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-4.1.0+dfsg/examples/ida/parallel/idaHeat2D_kry_bbd_p.c:715: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-4.1.0+dfsg/examples/ida/parallel/idaHeat2D_kry_bbd_p.c:727: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-4.1.0+dfsg/examples/ida/parallel/idaHeat2D_kry_bbd_p.c:729: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-4.1.0+dfsg/examples/ida/parallel/idaHeat2D_kry_bbd_p.c:731: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-4.1.0+dfsg/examples/ida/parallel/idaHeat2D_kry_p.c:126: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, UserData data); data/sundials-4.1.0+dfsg/examples/ida/parallel/idaHeat2D_kry_p.c:148: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-4.1.0+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). retval = IDASStolerances(ida_mem, rtol, atol); data/sundials-4.1.0+dfsg/examples/ida/parallel/idaHeat2D_kry_p.c:261: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). if (thispe == 0) PrintHeader(rtol, atol, data); data/sundials-4.1.0+dfsg/examples/ida/parallel/idaHeat2D_kry_p.c:866: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, UserData data) data/sundials-4.1.0+dfsg/examples/ida/parallel/idaHeat2D_kry_p.c:877: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-4.1.0+dfsg/examples/ida/parallel/idaHeat2D_kry_p.c:879: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-4.1.0+dfsg/examples/ida/parallel/idaHeat2D_kry_p.c:881: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-4.1.0+dfsg/examples/ida/petsc/idaHeat2D_kry_petsc.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-4.1.0+dfsg/examples/ida/petsc/idaHeat2D_kry_petsc.c:125: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-4.1.0+dfsg/examples/ida/petsc/idaHeat2D_kry_petsc.c:249: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-4.1.0+dfsg/examples/ida/petsc/idaHeat2D_kry_petsc.c:265: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-4.1.0+dfsg/examples/ida/petsc/idaHeat2D_kry_petsc.c:603: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-4.1.0+dfsg/examples/ida/petsc/idaHeat2D_kry_petsc.c:614: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-4.1.0+dfsg/examples/ida/petsc/idaHeat2D_kry_petsc.c:616: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-4.1.0+dfsg/examples/ida/petsc/idaHeat2D_kry_petsc.c:618: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-4.1.0+dfsg/examples/ida/serial/idaFoodWeb_bnd.c:160: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-4.1.0+dfsg/examples/ida/serial/idaFoodWeb_bnd.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-4.1.0+dfsg/examples/ida/serial/idaFoodWeb_bnd.c:233: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-4.1.0+dfsg/examples/ida/serial/idaFoodWeb_bnd.c:257: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-4.1.0+dfsg/examples/ida/serial/idaFoodWeb_bnd.c:465: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-4.1.0+dfsg/examples/ida/serial/idaFoodWeb_bnd.c:472: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-4.1.0+dfsg/examples/ida/serial/idaFoodWeb_bnd.c:474: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-4.1.0+dfsg/examples/ida/serial/idaFoodWeb_bnd.c:476: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-4.1.0+dfsg/examples/ida/serial/idaFoodWeb_kry.c:174: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-4.1.0+dfsg/examples/ida/serial/idaFoodWeb_kry.c:196: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-4.1.0+dfsg/examples/ida/serial/idaFoodWeb_kry.c:252: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-4.1.0+dfsg/examples/ida/serial/idaFoodWeb_kry.c:283: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-4.1.0+dfsg/examples/ida/serial/idaFoodWeb_kry.c:596: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-4.1.0+dfsg/examples/ida/serial/idaFoodWeb_kry.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-4.1.0+dfsg/examples/ida/serial/idaFoodWeb_kry.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-4.1.0+dfsg/examples/ida/serial/idaFoodWeb_kry.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-4.1.0+dfsg/examples/ida/serial/idaHeat2D_bnd.c:73: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-4.1.0+dfsg/examples/ida/serial/idaHeat2D_bnd.c:94: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-4.1.0+dfsg/examples/ida/serial/idaHeat2D_bnd.c:153: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-4.1.0+dfsg/examples/ida/serial/idaHeat2D_bnd.c:175: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-4.1.0+dfsg/examples/ida/serial/idaHeat2D_bnd.c:319: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-4.1.0+dfsg/examples/ida/serial/idaHeat2D_bnd.c:328: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-4.1.0+dfsg/examples/ida/serial/idaHeat2D_bnd.c:330: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-4.1.0+dfsg/examples/ida/serial/idaHeat2D_bnd.c:332: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-4.1.0+dfsg/examples/ida/serial/idaHeat2D_klu.c:86: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-4.1.0+dfsg/examples/ida/serial/idaHeat2D_klu.c:106: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-4.1.0+dfsg/examples/ida/serial/idaHeat2D_klu.c:166: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-4.1.0+dfsg/examples/ida/serial/idaHeat2D_klu.c:200: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-4.1.0+dfsg/examples/ida/serial/idaHeat2D_klu.c:652: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-4.1.0+dfsg/examples/ida/serial/idaHeat2D_klu.c:661: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-4.1.0+dfsg/examples/ida/serial/idaHeat2D_klu.c:663: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-4.1.0+dfsg/examples/ida/serial/idaHeat2D_klu.c:665: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-4.1.0+dfsg/examples/ida/serial/idaHeat2D_kry.c:85: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-4.1.0+dfsg/examples/ida/serial/idaHeat2D_kry.c:101: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-4.1.0+dfsg/examples/ida/serial/idaHeat2D_kry.c:166: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-4.1.0+dfsg/examples/ida/serial/idaHeat2D_kry.c:187: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-4.1.0+dfsg/examples/ida/serial/idaHeat2D_kry.c:461: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-4.1.0+dfsg/examples/ida/serial/idaHeat2D_kry.c:470: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-4.1.0+dfsg/examples/ida/serial/idaHeat2D_kry.c:472: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-4.1.0+dfsg/examples/ida/serial/idaHeat2D_kry.c:474: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-4.1.0+dfsg/examples/ida/serial/idaKrylovDemo_ls.c:96: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-4.1.0+dfsg/examples/ida/serial/idaKrylovDemo_ls.c:112: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-4.1.0+dfsg/examples/ida/serial/idaKrylovDemo_ls.c:177: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-4.1.0+dfsg/examples/ida/serial/idaKrylovDemo_ls.c:263: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-4.1.0+dfsg/examples/ida/serial/idaKrylovDemo_ls.c:486: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-4.1.0+dfsg/examples/ida/serial/idaKrylovDemo_ls.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-4.1.0+dfsg/examples/ida/serial/idaKrylovDemo_ls.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-4.1.0+dfsg/examples/ida/serial/idaKrylovDemo_ls.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-4.1.0+dfsg/examples/ida/serial/idaRoberts_dns.c:77: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-4.1.0+dfsg/examples/ida/serial/idaRoberts_dns.c:446: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-4.1.0+dfsg/examples/ida/serial/idaRoberts_dns.c:464: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-4.1.0+dfsg/examples/ida/serial/idaSlCrank_dns.c:63: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-4.1.0+dfsg/examples/ida/serial/idaSlCrank_dns.c:80: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-4.1.0+dfsg/examples/ida/serial/idaSlCrank_dns.c:129: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-4.1.0+dfsg/examples/ida/serial/idaSlCrank_dns.c:146: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-4.1.0+dfsg/examples/ida/serial/idaSlCrank_dns.c:315: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-4.1.0+dfsg/examples/ida/serial/idaSlCrank_dns.c:321: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-4.1.0+dfsg/examples/ida/serial/idaSlCrank_dns.c:324: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-4.1.0+dfsg/examples/ida/serial/idaSlCrank_dns.c:327: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-4.1.0+dfsg/examples/ida/trilinos/idaHeat2D_kry_p_tpetra.cpp:155: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, UserData *data); data/sundials-4.1.0+dfsg/examples/ida/trilinos/idaHeat2D_kry_p_tpetra.cpp:174: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-4.1.0+dfsg/examples/ida/trilinos/idaHeat2D_kry_p_tpetra.cpp:290: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-4.1.0+dfsg/examples/ida/trilinos/idaHeat2D_kry_p_tpetra.cpp:310: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). if (thispe == 0) PrintHeader(rtol, atol, data); data/sundials-4.1.0+dfsg/examples/ida/trilinos/idaHeat2D_kry_p_tpetra.cpp:988: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, UserData *data) data/sundials-4.1.0+dfsg/examples/ida/trilinos/idaHeat2D_kry_p_tpetra.cpp:999: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-4.1.0+dfsg/examples/ida/trilinos/idaHeat2D_kry_p_tpetra.cpp:1001: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-4.1.0+dfsg/examples/ida/trilinos/idaHeat2D_kry_p_tpetra.cpp:1003: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-4.1.0+dfsg/examples/ida/trilinos/idaHeat2D_kry_tpetra.cpp:99: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-4.1.0+dfsg/examples/ida/trilinos/idaHeat2D_kry_tpetra.cpp:114: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-4.1.0+dfsg/examples/ida/trilinos/idaHeat2D_kry_tpetra.cpp:210: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-4.1.0+dfsg/examples/ida/trilinos/idaHeat2D_kry_tpetra.cpp:231: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-4.1.0+dfsg/examples/ida/trilinos/idaHeat2D_kry_tpetra.cpp:530: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-4.1.0+dfsg/examples/ida/trilinos/idaHeat2D_kry_tpetra.cpp:539: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-4.1.0+dfsg/examples/ida/trilinos/idaHeat2D_kry_tpetra.cpp:541: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-4.1.0+dfsg/examples/ida/trilinos/idaHeat2D_kry_tpetra.cpp:543: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-4.1.0+dfsg/examples/idas/C_openmp/idasFoodWeb_bnd_omp.c:183: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-4.1.0+dfsg/examples/idas/C_openmp/idasFoodWeb_bnd_omp.c:207: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-4.1.0+dfsg/examples/idas/C_openmp/idasFoodWeb_bnd_omp.c:266: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-4.1.0+dfsg/examples/idas/C_openmp/idasFoodWeb_bnd_omp.c:287: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-4.1.0+dfsg/examples/idas/C_openmp/idasFoodWeb_bnd_omp.c:496: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-4.1.0+dfsg/examples/idas/C_openmp/idasFoodWeb_bnd_omp.c:503: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-4.1.0+dfsg/examples/idas/C_openmp/idasFoodWeb_bnd_omp.c:505: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-4.1.0+dfsg/examples/idas/C_openmp/idasFoodWeb_bnd_omp.c:507: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-4.1.0+dfsg/examples/idas/C_openmp/idasFoodWeb_kry_omp.c:194: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-4.1.0+dfsg/examples/idas/C_openmp/idasFoodWeb_kry_omp.c:217: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-4.1.0+dfsg/examples/idas/C_openmp/idasFoodWeb_kry_omp.c:282: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-4.1.0+dfsg/examples/idas/C_openmp/idasFoodWeb_kry_omp.c:308: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-4.1.0+dfsg/examples/idas/C_openmp/idasFoodWeb_kry_omp.c:620: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-4.1.0+dfsg/examples/idas/C_openmp/idasFoodWeb_kry_omp.c:627: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-4.1.0+dfsg/examples/idas/C_openmp/idasFoodWeb_kry_omp.c:629: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-4.1.0+dfsg/examples/idas/C_openmp/idasFoodWeb_kry_omp.c:631: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-4.1.0+dfsg/examples/idas/parallel/idasBruss_ASAp_kry_bbd_p.c:193: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-4.1.0+dfsg/examples/idas/parallel/idasBruss_ASAp_kry_bbd_p.c:221: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-4.1.0+dfsg/examples/idas/parallel/idasBruss_ASAp_kry_bbd_p.c:294: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-4.1.0+dfsg/examples/idas/parallel/idasBruss_ASAp_kry_bbd_p.c:330: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-4.1.0+dfsg/examples/idas/parallel/idasBruss_ASAp_kry_bbd_p.c:369: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-4.1.0+dfsg/examples/idas/parallel/idasBruss_ASAp_kry_bbd_p.c:630: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-4.1.0+dfsg/examples/idas/parallel/idasBruss_ASAp_kry_bbd_p.c:639: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-4.1.0+dfsg/examples/idas/parallel/idasBruss_ASAp_kry_bbd_p.c:641: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-4.1.0+dfsg/examples/idas/parallel/idasBruss_ASAp_kry_bbd_p.c:643: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-4.1.0+dfsg/examples/idas/parallel/idasBruss_ASAp_kry_bbd_p.c:726:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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-4.1.0+dfsg/examples/idas/parallel/idasBruss_ASAp_kry_bbd_p.c:730: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-4.1.0+dfsg/examples/idas/parallel/idasBruss_ASAp_kry_bbd_p.c:732: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-4.1.0+dfsg/examples/idas/parallel/idasBruss_ASAp_kry_bbd_p.c:775:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char szFilename[128]; data/sundials-4.1.0+dfsg/examples/idas/parallel/idasBruss_ASAp_kry_bbd_p.c:779: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-4.1.0+dfsg/examples/idas/parallel/idasBruss_ASAp_kry_bbd_p.c:781: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-4.1.0+dfsg/examples/idas/parallel/idasBruss_FSA_kry_bbd_p.c:166: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-4.1.0+dfsg/examples/idas/parallel/idasBruss_FSA_kry_bbd_p.c:191: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-4.1.0+dfsg/examples/idas/parallel/idasBruss_FSA_kry_bbd_p.c:273: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-4.1.0+dfsg/examples/idas/parallel/idasBruss_FSA_kry_bbd_p.c:317: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-4.1.0+dfsg/examples/idas/parallel/idasBruss_FSA_kry_bbd_p.c:523: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-4.1.0+dfsg/examples/idas/parallel/idasBruss_FSA_kry_bbd_p.c:532: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-4.1.0+dfsg/examples/idas/parallel/idasBruss_FSA_kry_bbd_p.c:534: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-4.1.0+dfsg/examples/idas/parallel/idasBruss_FSA_kry_bbd_p.c:536: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-4.1.0+dfsg/examples/idas/parallel/idasBruss_FSA_kry_bbd_p.c:621:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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-4.1.0+dfsg/examples/idas/parallel/idasBruss_FSA_kry_bbd_p.c:624: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-4.1.0+dfsg/examples/idas/parallel/idasBruss_FSA_kry_bbd_p.c:626: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-4.1.0+dfsg/examples/idas/parallel/idasBruss_kry_bbd_p.c:152: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-4.1.0+dfsg/examples/idas/parallel/idasBruss_kry_bbd_p.c:177: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-4.1.0+dfsg/examples/idas/parallel/idasBruss_kry_bbd_p.c:246: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-4.1.0+dfsg/examples/idas/parallel/idasBruss_kry_bbd_p.c:278: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-4.1.0+dfsg/examples/idas/parallel/idasBruss_kry_bbd_p.c:455: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-4.1.0+dfsg/examples/idas/parallel/idasBruss_kry_bbd_p.c:464: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-4.1.0+dfsg/examples/idas/parallel/idasBruss_kry_bbd_p.c:466: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-4.1.0+dfsg/examples/idas/parallel/idasBruss_kry_bbd_p.c:468: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-4.1.0+dfsg/examples/idas/parallel/idasBruss_kry_bbd_p.c:553:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char szFilename[128]; data/sundials-4.1.0+dfsg/examples/idas/parallel/idasBruss_kry_bbd_p.c:556: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-4.1.0+dfsg/examples/idas/parallel/idasBruss_kry_bbd_p.c:558: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-4.1.0+dfsg/examples/idas/parallel/idasFoodWeb_kry_bbd_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-4.1.0+dfsg/examples/idas/parallel/idasFoodWeb_kry_bbd_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-4.1.0+dfsg/examples/idas/parallel/idasFoodWeb_kry_bbd_p.c:318: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-4.1.0+dfsg/examples/idas/parallel/idasFoodWeb_kry_bbd_p.c:349: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-4.1.0+dfsg/examples/idas/parallel/idasFoodWeb_kry_bbd_p.c:521: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-4.1.0+dfsg/examples/idas/parallel/idasFoodWeb_kry_bbd_p.c:530: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-4.1.0+dfsg/examples/idas/parallel/idasFoodWeb_kry_bbd_p.c:532: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-4.1.0+dfsg/examples/idas/parallel/idasFoodWeb_kry_bbd_p.c:534: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-4.1.0+dfsg/examples/idas/parallel/idasFoodWeb_kry_p.c:228: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-4.1.0+dfsg/examples/idas/parallel/idasFoodWeb_kry_p.c:250: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-4.1.0+dfsg/examples/idas/parallel/idasFoodWeb_kry_p.c:327: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-4.1.0+dfsg/examples/idas/parallel/idasFoodWeb_kry_p.c:360: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-4.1.0+dfsg/examples/idas/parallel/idasFoodWeb_kry_p.c:570: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-4.1.0+dfsg/examples/idas/parallel/idasFoodWeb_kry_p.c:579: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-4.1.0+dfsg/examples/idas/parallel/idasFoodWeb_kry_p.c:581: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-4.1.0+dfsg/examples/idas/parallel/idasFoodWeb_kry_p.c:583: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-4.1.0+dfsg/examples/idas/parallel/idasHeat2D_FSA_kry_bbd_p.c:112: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-4.1.0+dfsg/examples/idas/parallel/idasHeat2D_FSA_kry_bbd_p.c:139: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-4.1.0+dfsg/examples/idas/parallel/idasHeat2D_FSA_kry_bbd_p.c:242: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-4.1.0+dfsg/examples/idas/parallel/idasHeat2D_FSA_kry_bbd_p.c:330: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-4.1.0+dfsg/examples/idas/parallel/idasHeat2D_FSA_kry_bbd_p.c:766: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-4.1.0+dfsg/examples/idas/parallel/idasHeat2D_FSA_kry_bbd_p.c:779: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-4.1.0+dfsg/examples/idas/parallel/idasHeat2D_FSA_kry_bbd_p.c:781: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-4.1.0+dfsg/examples/idas/parallel/idasHeat2D_FSA_kry_bbd_p.c:783: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-4.1.0+dfsg/examples/idas/parallel/idasHeat2D_kry_bbd_p.c:113: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-4.1.0+dfsg/examples/idas/parallel/idasHeat2D_kry_bbd_p.c:137: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-4.1.0+dfsg/examples/idas/parallel/idasHeat2D_kry_bbd_p.c:223: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-4.1.0+dfsg/examples/idas/parallel/idasHeat2D_kry_bbd_p.c:233: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-4.1.0+dfsg/examples/idas/parallel/idasHeat2D_kry_bbd_p.c:715: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-4.1.0+dfsg/examples/idas/parallel/idasHeat2D_kry_bbd_p.c:727: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-4.1.0+dfsg/examples/idas/parallel/idasHeat2D_kry_bbd_p.c:729: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-4.1.0+dfsg/examples/idas/parallel/idasHeat2D_kry_bbd_p.c:731: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-4.1.0+dfsg/examples/idas/parallel/idasHeat2D_kry_p.c:117: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-4.1.0+dfsg/examples/idas/parallel/idasHeat2D_kry_p.c:139: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-4.1.0+dfsg/examples/idas/parallel/idasHeat2D_kry_p.c:238: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-4.1.0+dfsg/examples/idas/parallel/idasHeat2D_kry_p.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-4.1.0+dfsg/examples/idas/parallel/idasHeat2D_kry_p.c:765: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-4.1.0+dfsg/examples/idas/parallel/idasHeat2D_kry_p.c:776: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-4.1.0+dfsg/examples/idas/parallel/idasHeat2D_kry_p.c:778: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-4.1.0+dfsg/examples/idas/parallel/idasHeat2D_kry_p.c:780: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-4.1.0+dfsg/examples/idas/serial/idasFoodWeb_bnd.c:160: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-4.1.0+dfsg/examples/idas/serial/idasFoodWeb_bnd.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-4.1.0+dfsg/examples/idas/serial/idasFoodWeb_bnd.c:233: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-4.1.0+dfsg/examples/idas/serial/idasFoodWeb_bnd.c:257: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-4.1.0+dfsg/examples/idas/serial/idasFoodWeb_bnd.c:465: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-4.1.0+dfsg/examples/idas/serial/idasFoodWeb_bnd.c:472: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-4.1.0+dfsg/examples/idas/serial/idasFoodWeb_bnd.c:474: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-4.1.0+dfsg/examples/idas/serial/idasFoodWeb_bnd.c:476: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-4.1.0+dfsg/examples/idas/serial/idasHeat2D_bnd.c:73: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-4.1.0+dfsg/examples/idas/serial/idasHeat2D_bnd.c:94: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-4.1.0+dfsg/examples/idas/serial/idasHeat2D_bnd.c:153: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-4.1.0+dfsg/examples/idas/serial/idasHeat2D_bnd.c:175: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-4.1.0+dfsg/examples/idas/serial/idasHeat2D_bnd.c:319: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-4.1.0+dfsg/examples/idas/serial/idasHeat2D_bnd.c:328: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-4.1.0+dfsg/examples/idas/serial/idasHeat2D_bnd.c:330: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-4.1.0+dfsg/examples/idas/serial/idasHeat2D_bnd.c:332: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-4.1.0+dfsg/examples/idas/serial/idasHeat2D_kry.c:85: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-4.1.0+dfsg/examples/idas/serial/idasHeat2D_kry.c:101: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-4.1.0+dfsg/examples/idas/serial/idasHeat2D_kry.c:166: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-4.1.0+dfsg/examples/idas/serial/idasHeat2D_kry.c:187: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-4.1.0+dfsg/examples/idas/serial/idasHeat2D_kry.c:461: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-4.1.0+dfsg/examples/idas/serial/idasHeat2D_kry.c:470: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-4.1.0+dfsg/examples/idas/serial/idasHeat2D_kry.c:472: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-4.1.0+dfsg/examples/idas/serial/idasHeat2D_kry.c:474: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-4.1.0+dfsg/examples/idas/serial/idasKrylovDemo_ls.c:96: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-4.1.0+dfsg/examples/idas/serial/idasKrylovDemo_ls.c:112: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-4.1.0+dfsg/examples/idas/serial/idasKrylovDemo_ls.c:177: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-4.1.0+dfsg/examples/idas/serial/idasKrylovDemo_ls.c:263: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-4.1.0+dfsg/examples/idas/serial/idasKrylovDemo_ls.c:486: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-4.1.0+dfsg/examples/idas/serial/idasKrylovDemo_ls.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-4.1.0+dfsg/examples/idas/serial/idasKrylovDemo_ls.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-4.1.0+dfsg/examples/idas/serial/idasKrylovDemo_ls.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-4.1.0+dfsg/examples/idas/serial/idasRoberts_ASAi_dns.c:588: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-4.1.0+dfsg/examples/idas/serial/idasRoberts_ASAi_dns.c:591: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-4.1.0+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[1] = ATOL2; data/sundials-4.1.0+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[2] = ATOL3; data/sundials-4.1.0+dfsg/examples/idas/serial/idasRoberts_ASAi_dns.c:597: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-4.1.0+dfsg/examples/idas/serial/idasRoberts_ASAi_klu.c:612: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-4.1.0+dfsg/examples/idas/serial/idasRoberts_ASAi_klu.c:615: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-4.1.0+dfsg/examples/idas/serial/idasRoberts_ASAi_klu.c:616: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-4.1.0+dfsg/examples/idas/serial/idasRoberts_ASAi_klu.c:617: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-4.1.0+dfsg/examples/idas/serial/idasRoberts_ASAi_klu.c:621: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-4.1.0+dfsg/examples/idas/serial/idasRoberts_ASAi_sps.c:613: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-4.1.0+dfsg/examples/idas/serial/idasRoberts_ASAi_sps.c:616: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-4.1.0+dfsg/examples/idas/serial/idasRoberts_ASAi_sps.c:617: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-4.1.0+dfsg/examples/idas/serial/idasRoberts_ASAi_sps.c:618: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-4.1.0+dfsg/examples/idas/serial/idasRoberts_ASAi_sps.c:622: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-4.1.0+dfsg/examples/idas/serial/idasRoberts_dns.c:76: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-4.1.0+dfsg/examples/idas/serial/idasRoberts_dns.c:431: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-4.1.0+dfsg/examples/idas/serial/idasRoberts_dns.c:449: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-4.1.0+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-4.1.0+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-4.1.0+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-4.1.0+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). length = atol(argv[1]); data/sundials-4.1.0+dfsg/examples/nvector/C_openmp/test_nvector_openmp.c:50: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-4.1.0+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-4.1.0+dfsg/examples/nvector/openmpdev/test_nvector_openmpdev.c:48: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). length = atol(argv[1]); data/sundials-4.1.0+dfsg/examples/nvector/openmpdev/test_nvector_openmpdev.c:54: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-4.1.0+dfsg/examples/nvector/parallel/test_nvector_mpi.c:56: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). local_length = atol(argv[1]); data/sundials-4.1.0+dfsg/examples/nvector/parallel/test_nvector_mpi.c:63: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-4.1.0+dfsg/examples/nvector/parhyp/test_nvector_parhyp.c:59: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). local_length = atol(argv[1]); data/sundials-4.1.0+dfsg/examples/nvector/parhyp/test_nvector_parhyp.c:66: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-4.1.0+dfsg/examples/nvector/petsc/test_nvector_petsc.c:60: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). local_length = atol(argv[1]); data/sundials-4.1.0+dfsg/examples/nvector/petsc/test_nvector_petsc.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[2]); data/sundials-4.1.0+dfsg/examples/nvector/pthreads/test_nvector_pthreads.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). length = atol(argv[1]); data/sundials-4.1.0+dfsg/examples/nvector/pthreads/test_nvector_pthreads.c:50: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-4.1.0+dfsg/examples/nvector/pthreads/test_nvector_pthreads.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-4.1.0+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). length = atol(argv[1]); data/sundials-4.1.0+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-4.1.0+dfsg/examples/nvector/trilinos/test_nvector_trilinos.cpp:58: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). const sunindextype local_length = atol(argv[1]); data/sundials-4.1.0+dfsg/examples/nvector/trilinos/test_nvector_trilinos.cpp:65:22: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int print_timing = atoi(argv[2]); data/sundials-4.1.0+dfsg/examples/sunlinsol/band/test_sunlinsol_band.c:51: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-4.1.0+dfsg/examples/sunlinsol/band/test_sunlinsol_band.c:57: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-4.1.0+dfsg/examples/sunlinsol/band/test_sunlinsol_band.c:63: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-4.1.0+dfsg/examples/sunlinsol/band/test_sunlinsol_band.c:69: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-4.1.0+dfsg/examples/sunlinsol/dense/test_sunlinsol_dense.c:50: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-4.1.0+dfsg/examples/sunlinsol/dense/test_sunlinsol_dense.c:58: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-4.1.0+dfsg/examples/sunlinsol/klu/test_sunlinsol_klu.c:51: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-4.1.0+dfsg/examples/sunlinsol/klu/test_sunlinsol_klu.c:57: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-4.1.0+dfsg/examples/sunlinsol/klu/test_sunlinsol_klu.c:64: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-4.1.0+dfsg/examples/sunlinsol/lapackband/test_sunlinsol_lapackband.c:51: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-4.1.0+dfsg/examples/sunlinsol/lapackband/test_sunlinsol_lapackband.c:57: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-4.1.0+dfsg/examples/sunlinsol/lapackband/test_sunlinsol_lapackband.c:63: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-4.1.0+dfsg/examples/sunlinsol/lapackband/test_sunlinsol_lapackband.c:69: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-4.1.0+dfsg/examples/sunlinsol/lapackdense/test_sunlinsol_lapackdense.c:50: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-4.1.0+dfsg/examples/sunlinsol/lapackdense/test_sunlinsol_lapackdense.c:58: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-4.1.0+dfsg/examples/sunlinsol/pcg/serial/test_sunlinsol_pcg_serial.c:119: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-4.1.0+dfsg/examples/sunlinsol/pcg/serial/test_sunlinsol_pcg_serial.c:125: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-4.1.0+dfsg/examples/sunlinsol/pcg/serial/test_sunlinsol_pcg_serial.c:135: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-4.1.0+dfsg/examples/sunlinsol/spbcgs/parallel/test_sunlinsol_spbcgs_parallel.c:127: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-4.1.0+dfsg/examples/sunlinsol/spbcgs/parallel/test_sunlinsol_spbcgs_parallel.c:133: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-4.1.0+dfsg/examples/sunlinsol/spbcgs/parallel/test_sunlinsol_spbcgs_parallel.c:138: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-4.1.0+dfsg/examples/sunlinsol/spbcgs/parallel/test_sunlinsol_spbcgs_parallel.c:148: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-4.1.0+dfsg/examples/sunlinsol/spbcgs/serial/test_sunlinsol_spbcgs_serial.c:114: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-4.1.0+dfsg/examples/sunlinsol/spbcgs/serial/test_sunlinsol_spbcgs_serial.c:120: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-4.1.0+dfsg/examples/sunlinsol/spbcgs/serial/test_sunlinsol_spbcgs_serial.c:125: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-4.1.0+dfsg/examples/sunlinsol/spbcgs/serial/test_sunlinsol_spbcgs_serial.c:135: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-4.1.0+dfsg/examples/sunlinsol/spfgmr/parallel/test_sunlinsol_spfgmr_parallel.c:129: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-4.1.0+dfsg/examples/sunlinsol/spfgmr/parallel/test_sunlinsol_spfgmr_parallel.c:135: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-4.1.0+dfsg/examples/sunlinsol/spfgmr/parallel/test_sunlinsol_spfgmr_parallel.c:140: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-4.1.0+dfsg/examples/sunlinsol/spfgmr/parallel/test_sunlinsol_spfgmr_parallel.c:150: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-4.1.0+dfsg/examples/sunlinsol/spfgmr/serial/test_sunlinsol_spfgmr_serial.c:116: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-4.1.0+dfsg/examples/sunlinsol/spfgmr/serial/test_sunlinsol_spfgmr_serial.c:122: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-4.1.0+dfsg/examples/sunlinsol/spfgmr/serial/test_sunlinsol_spfgmr_serial.c:127: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-4.1.0+dfsg/examples/sunlinsol/spfgmr/serial/test_sunlinsol_spfgmr_serial.c:137: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-4.1.0+dfsg/examples/sunlinsol/spgmr/parallel/test_sunlinsol_spgmr_parallel.c:130: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-4.1.0+dfsg/examples/sunlinsol/spgmr/parallel/test_sunlinsol_spgmr_parallel.c:136: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-4.1.0+dfsg/examples/sunlinsol/spgmr/parallel/test_sunlinsol_spgmr_parallel.c:141: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-4.1.0+dfsg/examples/sunlinsol/spgmr/parallel/test_sunlinsol_spgmr_parallel.c:146: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-4.1.0+dfsg/examples/sunlinsol/spgmr/parallel/test_sunlinsol_spgmr_parallel.c:156: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-4.1.0+dfsg/examples/sunlinsol/spgmr/serial/test_sunlinsol_spgmr_serial.c:117: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-4.1.0+dfsg/examples/sunlinsol/spgmr/serial/test_sunlinsol_spgmr_serial.c:123: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-4.1.0+dfsg/examples/sunlinsol/spgmr/serial/test_sunlinsol_spgmr_serial.c:128: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-4.1.0+dfsg/examples/sunlinsol/spgmr/serial/test_sunlinsol_spgmr_serial.c:133: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-4.1.0+dfsg/examples/sunlinsol/spgmr/serial/test_sunlinsol_spgmr_serial.c:143: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-4.1.0+dfsg/examples/sunlinsol/sptfqmr/parallel/test_sunlinsol_sptfqmr_parallel.c:129: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-4.1.0+dfsg/examples/sunlinsol/sptfqmr/parallel/test_sunlinsol_sptfqmr_parallel.c:135: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-4.1.0+dfsg/examples/sunlinsol/sptfqmr/parallel/test_sunlinsol_sptfqmr_parallel.c:140: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-4.1.0+dfsg/examples/sunlinsol/sptfqmr/parallel/test_sunlinsol_sptfqmr_parallel.c:150: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-4.1.0+dfsg/examples/sunlinsol/sptfqmr/serial/test_sunlinsol_sptfqmr_serial.c:119: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-4.1.0+dfsg/examples/sunlinsol/sptfqmr/serial/test_sunlinsol_sptfqmr_serial.c:125: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-4.1.0+dfsg/examples/sunlinsol/sptfqmr/serial/test_sunlinsol_sptfqmr_serial.c:130: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-4.1.0+dfsg/examples/sunlinsol/sptfqmr/serial/test_sunlinsol_sptfqmr_serial.c:140: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-4.1.0+dfsg/examples/sunlinsol/superlumt/test_sunlinsol_superlumt.c:51: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-4.1.0+dfsg/examples/sunlinsol/superlumt/test_sunlinsol_superlumt.c:57: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-4.1.0+dfsg/examples/sunlinsol/superlumt/test_sunlinsol_superlumt.c:64: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-4.1.0+dfsg/examples/sunlinsol/superlumt/test_sunlinsol_superlumt.c:70: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-4.1.0+dfsg/examples/sunmatrix/band/test_sunmatrix_band.c:50: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-4.1.0+dfsg/examples/sunmatrix/band/test_sunmatrix_band.c:56: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-4.1.0+dfsg/examples/sunmatrix/band/test_sunmatrix_band.c:62: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-4.1.0+dfsg/examples/sunmatrix/band/test_sunmatrix_band.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[4]); data/sundials-4.1.0+dfsg/examples/sunmatrix/dense/test_sunmatrix_dense.c:51: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-4.1.0+dfsg/examples/sunmatrix/dense/test_sunmatrix_dense.c:57: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-4.1.0+dfsg/examples/sunmatrix/dense/test_sunmatrix_dense.c:63: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-4.1.0+dfsg/examples/sunmatrix/sparse/test_sunmatrix_sparse.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). matrows = atol(argv[1]); data/sundials-4.1.0+dfsg/examples/sunmatrix/sparse/test_sunmatrix_sparse.c:67: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-4.1.0+dfsg/examples/sunmatrix/sparse/test_sunmatrix_sparse.c:73: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-4.1.0+dfsg/examples/sunmatrix/sparse/test_sunmatrix_sparse.c:80: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-4.1.0+dfsg/src/arkode/arkode.c:1043:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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-4.1.0+dfsg/src/arkode/arkode.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(err_type,"WARNING"); data/sundials-4.1.0+dfsg/src/arkode/arkode.c:1051:5: [2] (buffer) sprintf: Does not 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-4.1.0+dfsg/src/arkode/arkode.c:2527:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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-4.1.0+dfsg/src/arkode/arkode_io.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,"ARK_SUCCESS"); data/sundials-4.1.0+dfsg/src/arkode/arkode_io.c:740:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/arkode/arkode_io.c:743:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/arkode/arkode_io.c:746:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/arkode/arkode_io.c:749:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/arkode/arkode_io.c:752:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/arkode/arkode_io.c:755:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/arkode/arkode_io.c:758:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/arkode/arkode_io.c:761:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/arkode/arkode_io.c:764:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/arkode/arkode_io.c:767:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/arkode/arkode_io.c:770:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/arkode/arkode_io.c:773:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/arkode/arkode_io.c:776:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/arkode/arkode_io.c:779:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/arkode/arkode_io.c:782:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/arkode/arkode_io.c:785:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/arkode/arkode_io.c:788:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/arkode/arkode_io.c:791:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/arkode/arkode_io.c:794:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/arkode/arkode_io.c:797:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/arkode/arkode_io.c:800:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/arkode/arkode_io.c:803:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/arkode/arkode_io.c:806:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/arkode/arkode_io.c:809:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/arkode/arkode_io.c:812:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/arkode/arkode_io.c:815:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/arkode/arkode_io.c:818:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/arkode/arkode_io.c:821:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/arkode/arkode_io.c:824:5: [2] (buffer) sprintf: Does not check 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_POSTPROCESS_FAIL"); data/sundials-4.1.0+dfsg/src/arkode/arkode_io.c:827:5: [2] (buffer) sprintf: Does not check 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_VECTOROP_ERR"); data/sundials-4.1.0+dfsg/src/arkode/arkode_io.c:830:5: [2] (buffer) sprintf: Does not check 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_NLS_INIT_FAIL"); data/sundials-4.1.0+dfsg/src/arkode/arkode_io.c:833:5: [2] (buffer) sprintf: Does not check 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_NLS_SETUP_FAIL"); data/sundials-4.1.0+dfsg/src/arkode/arkode_io.c:836:5: [2] (buffer) sprintf: Does not check 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_NLS_OP_ERR"); data/sundials-4.1.0+dfsg/src/arkode/arkode_io.c:839:5: [2] (buffer) sprintf: Does not check 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_INNERSTEP_FAIL"); data/sundials-4.1.0+dfsg/src/arkode/arkode_io.c:842:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/arkode/arkode_ls.c:865:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARKLS_SUCCESS"); data/sundials-4.1.0+dfsg/src/arkode/arkode_ls.c:868:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARKLS_MEM_NULL"); data/sundials-4.1.0+dfsg/src/arkode/arkode_ls.c:871:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARKLS_LMEM_NULL"); data/sundials-4.1.0+dfsg/src/arkode/arkode_ls.c:874:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARKLS_ILL_INPUT"); data/sundials-4.1.0+dfsg/src/arkode/arkode_ls.c:877:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARKLS_MEM_FAIL"); data/sundials-4.1.0+dfsg/src/arkode/arkode_ls.c:880:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARKLS_MASSMEM_NULL"); data/sundials-4.1.0+dfsg/src/arkode/arkode_ls.c:883:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARKLS_JACFUNC_UNRECVR"); data/sundials-4.1.0+dfsg/src/arkode/arkode_ls.c:886:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARKLS_JACFUNC_RECVR"); data/sundials-4.1.0+dfsg/src/arkode/arkode_ls.c:889:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARKLS_MASSFUNC_UNRECVR"); data/sundials-4.1.0+dfsg/src/arkode/arkode_ls.c:892:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARKLS_MASSFUNC_RECVR"); data/sundials-4.1.0+dfsg/src/arkode/arkode_ls.c:895:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARKLS_SUNMAT_FAIL"); data/sundials-4.1.0+dfsg/src/arkode/arkode_ls.c:898:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"ARKLS_SUNLS_FAIL"); data/sundials-4.1.0+dfsg/src/arkode/arkode_ls.c:901:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/arkode/fcmix/farkode.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-4.1.0+dfsg/src/arkode/fcmix/farkode.c:157: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-4.1.0+dfsg/src/arkode/fcmix/farkode.c:157: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-4.1.0+dfsg/src/arkode/fcmix/farkode.c:168: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-4.1.0+dfsg/src/arkode/fcmix/farkode.c:200: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). realtype *rtol, realtype *atol, int *ier) { data/sundials-4.1.0+dfsg/src/arkode/fcmix/farkode.c:243: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-4.1.0+dfsg/src/arkode/fcmix/farkode.c:243: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-4.1.0+dfsg/src/arkode/fcmix/farkode.c:252: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-4.1.0+dfsg/src/arkode/fcmix/farkode.c:276: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 *itol, realtype *rtol, realtype *atol, int *ier) { data/sundials-4.1.0+dfsg/src/arkode/fcmix/farkode.c:305: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-4.1.0+dfsg/src/arkode/fcmix/farkode.c:477: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-4.1.0+dfsg/src/arkode/fcmix/farkode.c:488: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-4.1.0+dfsg/src/arkode/fcmix/farkode.c:488: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-4.1.0+dfsg/src/arkode/fcmix/farkode.c:498: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-4.1.0+dfsg/src/arkode/fcmix/farkode.c:522: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-4.1.0+dfsg/src/arkode/fcmix/farkode.h:236: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). int *iatol, realtype *rtol, realtype *atol, data/sundials-4.1.0+dfsg/src/arkode/fcmix/farkode.h:241: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). int *iatol, realtype *rtol, realtype *atol, data/sundials-4.1.0+dfsg/src/arkode/fcmix/farkode.h:245: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 *itol, realtype *rtol, realtype *atol, int *ier); data/sundials-4.1.0+dfsg/src/arkode/fcmix/farkode.h:263: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-4.1.0+dfsg/src/cvode/cvode.c:4038:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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-4.1.0+dfsg/src/cvode/cvode.c:4074:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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-4.1.0+dfsg/src/cvode/cvode.c:4081:5: [2] (buffer) sprintf: Does not 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-4.1.0+dfsg/src/cvode/cvode.c:4083:5: [2] (buffer) sprintf: Does not 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-4.1.0+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-4.1.0+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-4.1.0+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-4.1.0+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-4.1.0+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-4.1.0+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-4.1.0+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-4.1.0+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-4.1.0+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-4.1.0+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_SUCCESS"); data/sundials-4.1.0+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_TSTOP_RETURN"); data/sundials-4.1.0+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_ROOT_RETURN"); data/sundials-4.1.0+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_TOO_MUCH_WORK"); data/sundials-4.1.0+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_TOO_MUCH_ACC"); data/sundials-4.1.0+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_ERR_FAILURE"); data/sundials-4.1.0+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_CONV_FAILURE"); data/sundials-4.1.0+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,"CV_LINIT_FAIL"); data/sundials-4.1.0+dfsg/src/cvode/cvode_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,"CV_LSETUP_FAIL"); data/sundials-4.1.0+dfsg/src/cvode/cvode_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,"CV_LSOLVE_FAIL"); data/sundials-4.1.0+dfsg/src/cvode/cvode_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,"CV_RHSFUNC_FAIL"); data/sundials-4.1.0+dfsg/src/cvode/cvode_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,"CV_FIRST_RHSFUNC_ERR"); data/sundials-4.1.0+dfsg/src/cvode/cvode_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,"CV_REPTD_RHSFUNC_ERR"); data/sundials-4.1.0+dfsg/src/cvode/cvode_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,"CV_UNREC_RHSFUNC_ERR"); data/sundials-4.1.0+dfsg/src/cvode/cvode_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,"CV_RTFUNC_FAIL"); data/sundials-4.1.0+dfsg/src/cvode/cvode_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,"CV_MEM_FAIL"); data/sundials-4.1.0+dfsg/src/cvode/cvode_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,"CV_MEM_NULL"); data/sundials-4.1.0+dfsg/src/cvode/cvode_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,"CV_ILL_INPUT"); data/sundials-4.1.0+dfsg/src/cvode/cvode_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,"CV_NO_MALLOC"); data/sundials-4.1.0+dfsg/src/cvode/cvode_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,"CV_BAD_K"); data/sundials-4.1.0+dfsg/src/cvode/cvode_io.c:1136:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvode/cvode_io.c:1139:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvode/cvode_io.c:1142:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvode/cvode_io.c:1145:5: [2] (buffer) sprintf: Does not check 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_NLS_INIT_FAIL"); data/sundials-4.1.0+dfsg/src/cvode/cvode_io.c:1148:5: [2] (buffer) sprintf: Does not check 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_NLS_SETUPT_FAIL"); data/sundials-4.1.0+dfsg/src/cvode/cvode_io.c:1151:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvode/cvode_ls.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,"CVLS_SUCCESS"); data/sundials-4.1.0+dfsg/src/cvode/cvode_ls.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,"CVLS_MEM_NULL"); data/sundials-4.1.0+dfsg/src/cvode/cvode_ls.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,"CVLS_LMEM_NULL"); data/sundials-4.1.0+dfsg/src/cvode/cvode_ls.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,"CVLS_ILL_INPUT"); data/sundials-4.1.0+dfsg/src/cvode/cvode_ls.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,"CVLS_MEM_FAIL"); data/sundials-4.1.0+dfsg/src/cvode/cvode_ls.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,"CVLS_PMEM_NULL"); data/sundials-4.1.0+dfsg/src/cvode/cvode_ls.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,"CVLS_JACFUNC_UNRECVR"); data/sundials-4.1.0+dfsg/src/cvode/cvode_ls.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,"CVLS_JACFUNC_RECVR"); data/sundials-4.1.0+dfsg/src/cvode/cvode_ls.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,"CVLS_SUNMAT_FAIL"); data/sundials-4.1.0+dfsg/src/cvode/cvode_ls.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,"CVLS_SUNLS_FAIL"); data/sundials-4.1.0+dfsg/src/cvode/cvode_ls.c:635:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvode/fcmix/fcvode.c:71: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-4.1.0+dfsg/src/cvode/fcmix/fcvode.c:143: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-4.1.0+dfsg/src/cvode/fcmix/fcvode.c:153: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-4.1.0+dfsg/src/cvode/fcmix/fcvode.c:179: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-4.1.0+dfsg/src/cvode/fcmix/fcvode.c:207: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-4.1.0+dfsg/src/cvode/fcmix/fcvode.c:216: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-4.1.0+dfsg/src/cvode/fcmix/fcvode.h:981: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-4.1.0+dfsg/src/cvode/fcmix/fcvode.h:987: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-4.1.0+dfsg/src/cvodes/cvodes.c:8758:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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-4.1.0+dfsg/src/cvodes/cvodes.c:8794:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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-4.1.0+dfsg/src/cvodes/cvodes.c:8801:5: [2] (buffer) sprintf: Does not 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-4.1.0+dfsg/src/cvodes/cvodes.c:8803:5: [2] (buffer) sprintf: Does not 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-4.1.0+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-4.1.0+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-4.1.0+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-4.1.0+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-4.1.0+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-4.1.0+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-4.1.0+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-4.1.0+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-4.1.0+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-4.1.0+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-4.1.0+dfsg/src/cvodes/cvodes_io.c:1889:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvodes/cvodes_io.c:1892:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvodes/cvodes_io.c:1895:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvodes/cvodes_io.c:1898:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvodes/cvodes_io.c:1901:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvodes/cvodes_io.c:1904:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvodes/cvodes_io.c:1907:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvodes/cvodes_io.c:1910:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvodes/cvodes_io.c:1913:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvodes/cvodes_io.c:1916:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvodes/cvodes_io.c:1919:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvodes/cvodes_io.c:1922:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvodes/cvodes_io.c:1925:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvodes/cvodes_io.c:1928:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvodes/cvodes_io.c:1931:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvodes/cvodes_io.c:1934:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvodes/cvodes_io.c:1937:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvodes/cvodes_io.c:1940:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvodes/cvodes_io.c:1943:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvodes/cvodes_io.c:1946:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvodes/cvodes_io.c:1949:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvodes/cvodes_io.c:1952:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvodes/cvodes_io.c:1955:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvodes/cvodes_io.c:1958:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvodes/cvodes_io.c:1961:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvodes/cvodes_io.c:1964:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvodes/cvodes_io.c:1967:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvodes/cvodes_io.c:1970:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvodes/cvodes_io.c:1973:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvodes/cvodes_io.c:1976:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvodes/cvodes_io.c:1979:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvodes/cvodes_io.c:1982:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvodes/cvodes_io.c:1985:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvodes/cvodes_io.c:1988:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvodes/cvodes_io.c:1991:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvodes/cvodes_io.c:1994:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvodes/cvodes_io.c:1997:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvodes/cvodes_io.c:2000:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvodes/cvodes_io.c:2003:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvodes/cvodes_io.c:2006:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvodes/cvodes_io.c:2009:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvodes/cvodes_io.c:2012:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/cvodes/cvodes_ls.c:671:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVLS_SUCCESS"); data/sundials-4.1.0+dfsg/src/cvodes/cvodes_ls.c:674:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVLS_MEM_NULL"); data/sundials-4.1.0+dfsg/src/cvodes/cvodes_ls.c:677:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVLS_LMEM_NULL"); data/sundials-4.1.0+dfsg/src/cvodes/cvodes_ls.c:680:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVLS_ILL_INPUT"); data/sundials-4.1.0+dfsg/src/cvodes/cvodes_ls.c:683:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVLS_MEM_FAIL"); data/sundials-4.1.0+dfsg/src/cvodes/cvodes_ls.c:686:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVLS_PMEM_NULL"); data/sundials-4.1.0+dfsg/src/cvodes/cvodes_ls.c:689:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVLS_JACFUNC_UNRECVR"); data/sundials-4.1.0+dfsg/src/cvodes/cvodes_ls.c:692:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVLS_JACFUNC_RECVR"); data/sundials-4.1.0+dfsg/src/cvodes/cvodes_ls.c:695:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVLS_SUNMAT_FAIL"); data/sundials-4.1.0+dfsg/src/cvodes/cvodes_ls.c:698:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVLS_SUNLS_FAIL"); data/sundials-4.1.0+dfsg/src/cvodes/cvodes_ls.c:701:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVLS_NO_ADJ"); data/sundials-4.1.0+dfsg/src/cvodes/cvodes_ls.c:704:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"CVLS_LMEMB_NULL"); data/sundials-4.1.0+dfsg/src/cvodes/cvodes_ls.c:707:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/ida/fcmix/fida.c:67: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-4.1.0+dfsg/src/ida/fcmix/fida.c:144: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-4.1.0+dfsg/src/ida/fcmix/fida.c:154: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-4.1.0+dfsg/src/ida/fcmix/fida.c:183: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-4.1.0+dfsg/src/ida/fcmix/fida.c:215: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-4.1.0+dfsg/src/ida/fcmix/fida.c:224: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-4.1.0+dfsg/src/ida/fcmix/fida.c:331: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-4.1.0+dfsg/src/ida/fcmix/fida.c:338: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-4.1.0+dfsg/src/ida/fcmix/fida.c:346: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-4.1.0+dfsg/src/ida/fcmix/fida.h:1012: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-4.1.0+dfsg/src/ida/fcmix/fida.h:1016: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-4.1.0+dfsg/src/ida/fcmix/fida.h:1023: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-4.1.0+dfsg/src/ida/ida.c:3331:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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-4.1.0+dfsg/src/ida/ida.c:3365:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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-4.1.0+dfsg/src/ida/ida.c:3372:5: [2] (buffer) sprintf: Does not 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-4.1.0+dfsg/src/ida/ida.c:3374:5: [2] (buffer) sprintf: Does not 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-4.1.0+dfsg/src/ida/ida_io.c:1108:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/ida/ida_io.c:1111:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/ida/ida_io.c:1114:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/ida/ida_io.c:1117:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/ida/ida_io.c:1120:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/ida/ida_io.c:1123:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/ida/ida_io.c:1126:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/ida/ida_io.c:1129:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/ida/ida_io.c:1132:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/ida/ida_io.c:1135:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/ida/ida_io.c:1138:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/ida/ida_io.c:1141:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/ida/ida_io.c:1144:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/ida/ida_io.c:1147:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/ida/ida_io.c:1150:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/ida/ida_io.c:1153:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/ida/ida_io.c:1156:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/ida/ida_io.c:1159:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/ida/ida_io.c:1162:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/ida/ida_io.c:1165:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/ida/ida_io.c:1168:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/ida/ida_io.c:1171:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/ida/ida_io.c:1174:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/ida/ida_io.c:1178:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/ida/ida_ls.c:604:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDALS_SUCCESS"); data/sundials-4.1.0+dfsg/src/ida/ida_ls.c:607:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDALS_MEM_NULL"); data/sundials-4.1.0+dfsg/src/ida/ida_ls.c:610:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDALS_LMEM_NULL"); data/sundials-4.1.0+dfsg/src/ida/ida_ls.c:613:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDALS_ILL_INPUT"); data/sundials-4.1.0+dfsg/src/ida/ida_ls.c:616:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDALS_MEM_FAIL"); data/sundials-4.1.0+dfsg/src/ida/ida_ls.c:619:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDALS_PMEM_NULL"); data/sundials-4.1.0+dfsg/src/ida/ida_ls.c:622:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDALS_JACFUNC_UNRECVR"); data/sundials-4.1.0+dfsg/src/ida/ida_ls.c:625:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDALS_JACFUNC_RECVR"); data/sundials-4.1.0+dfsg/src/ida/ida_ls.c:628:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDALS_SUNMAT_FAIL"); data/sundials-4.1.0+dfsg/src/ida/ida_ls.c:631:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDALS_SUNLS_FAIL"); data/sundials-4.1.0+dfsg/src/ida/ida_ls.c:634:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/idas/idas.c:7363:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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-4.1.0+dfsg/src/idas/idas.c:7397:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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-4.1.0+dfsg/src/idas/idas.c:7404:5: [2] (buffer) sprintf: Does not 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-4.1.0+dfsg/src/idas/idas.c:7406:5: [2] (buffer) sprintf: Does not 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-4.1.0+dfsg/src/idas/idas_io.c:1862:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/idas/idas_io.c:1865:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/idas/idas_io.c:1868:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/idas/idas_io.c:1871:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/idas/idas_io.c:1874:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/idas/idas_io.c:1877:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/idas/idas_io.c:1880:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/idas/idas_io.c:1883:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/idas/idas_io.c:1886:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/idas/idas_io.c:1889:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/idas/idas_io.c:1892:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/idas/idas_io.c:1895:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/idas/idas_io.c:1898:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/idas/idas_io.c:1901:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/idas/idas_io.c:1904:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/idas/idas_io.c:1907:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/idas/idas_io.c:1910:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/idas/idas_io.c:1913:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/idas/idas_io.c:1916:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/idas/idas_io.c:1919:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/idas/idas_io.c:1922:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/idas/idas_io.c:1925:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/idas/idas_io.c:1928:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/idas/idas_io.c:1931:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/idas/idas_io.c:1934:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/idas/idas_io.c:1937:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/idas/idas_io.c:1940:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/idas/idas_io.c:1943:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/idas/idas_io.c:1946:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/idas/idas_io.c:1949:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/idas/idas_io.c:1952:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/idas/idas_io.c:1955:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/idas/idas_io.c:1960:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/idas/idas_io.c:1963:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/idas/idas_io.c:1966:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/idas/idas_io.c:1969:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/idas/idas_io.c:1972:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/idas/idas_io.c:1975:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/idas/idas_io.c:1978:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/idas/idas_io.c:1981:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/idas/idas_ls.c:655:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDALS_SUCCESS"); data/sundials-4.1.0+dfsg/src/idas/idas_ls.c:658:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"IDALS_MEM_NULL"); data/sundials-4.1.0+dfsg/src/idas/idas_ls.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,"IDALS_LMEM_NULL"); data/sundials-4.1.0+dfsg/src/idas/idas_ls.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,"IDALS_ILL_INPUT"); data/sundials-4.1.0+dfsg/src/idas/idas_ls.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,"IDALS_MEM_FAIL"); data/sundials-4.1.0+dfsg/src/idas/idas_ls.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,"IDALS_PMEM_NULL"); data/sundials-4.1.0+dfsg/src/idas/idas_ls.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,"IDALS_JACFUNC_UNRECVR"); data/sundials-4.1.0+dfsg/src/idas/idas_ls.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,"IDALS_JACFUNC_RECVR"); data/sundials-4.1.0+dfsg/src/idas/idas_ls.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,"IDALS_SUNMAT_FAIL"); data/sundials-4.1.0+dfsg/src/idas/idas_ls.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,"IDALS_SUNLS_FAIL"); data/sundials-4.1.0+dfsg/src/idas/idas_ls.c:685:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/src/kinsol/kinsol.c:1932:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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-4.1.0+dfsg/src/kinsol/kinsol.c:1933:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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-4.1.0+dfsg/src/kinsol/kinsol.c:1949: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-4.1.0+dfsg/src/kinsol/kinsol.c:1952: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-4.1.0+dfsg/src/kinsol/kinsol.c:1955: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-4.1.0+dfsg/src/kinsol/kinsol.c:1958: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-4.1.0+dfsg/src/kinsol/kinsol.c:1961: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-4.1.0+dfsg/src/kinsol/kinsol.c:1964: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-4.1.0+dfsg/src/kinsol/kinsol.c:1967: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-4.1.0+dfsg/src/kinsol/kinsol.c:1970: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-4.1.0+dfsg/src/kinsol/kinsol.c:1973: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-4.1.0+dfsg/src/kinsol/kinsol.c:1976: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-4.1.0+dfsg/src/kinsol/kinsol.c:1979: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-4.1.0+dfsg/src/kinsol/kinsol.c:2059:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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-4.1.0+dfsg/src/kinsol/kinsol.c:2097:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-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-4.1.0+dfsg/src/kinsol/kinsol.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,"WARNING"); data/sundials-4.1.0+dfsg/src/kinsol/kinsol.c:2106:5: [2] (buffer) sprintf: Does not 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-4.1.0+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-4.1.0+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-4.1.0+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-4.1.0+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-4.1.0+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-4.1.0+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-4.1.0+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-4.1.0+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-4.1.0+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-4.1.0+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-4.1.0+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-4.1.0+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-4.1.0+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-4.1.0+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-4.1.0+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-4.1.0+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-4.1.0+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-4.1.0+dfsg/src/kinsol/kinsol_ls.c:505:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "KINLS_SUCCESS"); data/sundials-4.1.0+dfsg/src/kinsol/kinsol_ls.c:508:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "KINLS_MEM_NULL"); data/sundials-4.1.0+dfsg/src/kinsol/kinsol_ls.c:511:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "KINLS_LMEM_NULL"); data/sundials-4.1.0+dfsg/src/kinsol/kinsol_ls.c:514:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "KINLS_ILL_INPUT"); data/sundials-4.1.0+dfsg/src/kinsol/kinsol_ls.c:517:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "KINLS_MEM_FAIL"); data/sundials-4.1.0+dfsg/src/kinsol/kinsol_ls.c:520:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "KINLS_PMEM_NULL"); data/sundials-4.1.0+dfsg/src/kinsol/kinsol_ls.c:523:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"KINLS_JACFUNC_ERR"); data/sundials-4.1.0+dfsg/src/kinsol/kinsol_ls.c:526:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"KINLS_SUNMAT_FAIL"); data/sundials-4.1.0+dfsg/src/kinsol/kinsol_ls.c:529:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name,"KINLS_SUNLS_FAIL"); data/sundials-4.1.0+dfsg/src/kinsol/kinsol_ls.c:532:5: [2] (buffer) sprintf: Does not check 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-4.1.0+dfsg/examples/arkode/C_openmp/ark_brusselator1D_omp.c:178: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-4.1.0+dfsg/examples/arkode/C_openmp/ark_brusselator1D_omp.c:193: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-4.1.0+dfsg/examples/arkode/C_openmp/ark_brusselator1D_omp.c:194: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-4.1.0+dfsg/examples/arkode/C_openmp/ark_brusselator1D_omp.c:264: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-4.1.0+dfsg/examples/arkode/C_openmp/ark_brusselator1D_omp.c:328: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-4.1.0+dfsg/examples/arkode/C_serial/ark_brusselator1D.c:160: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-4.1.0+dfsg/examples/arkode/C_serial/ark_brusselator1D.c:175: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-4.1.0+dfsg/examples/arkode/C_serial/ark_brusselator1D.c:176: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-4.1.0+dfsg/examples/arkode/C_serial/ark_brusselator1D.c:246: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-4.1.0+dfsg/examples/arkode/C_serial/ark_brusselator1D.c:306: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-4.1.0+dfsg/examples/arkode/C_serial/ark_brusselator1D_FEM_slu.c:218: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-4.1.0+dfsg/examples/arkode/C_serial/ark_brusselator1D_FEM_slu.c:245: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-4.1.0+dfsg/examples/arkode/C_serial/ark_brusselator1D_FEM_slu.c:246: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-4.1.0+dfsg/examples/arkode/C_serial/ark_brusselator1D_FEM_slu.c:331: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-4.1.0+dfsg/examples/arkode/C_serial/ark_brusselator1D_FEM_slu.c:397: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-4.1.0+dfsg/examples/arkode/C_serial/ark_brusselator1D_klu.c:177: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-4.1.0+dfsg/examples/arkode/C_serial/ark_brusselator1D_klu.c:192: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-4.1.0+dfsg/examples/arkode/C_serial/ark_brusselator1D_klu.c:193: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-4.1.0+dfsg/examples/arkode/C_serial/ark_brusselator1D_klu.c:264: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-4.1.0+dfsg/examples/arkode/C_serial/ark_brusselator1D_klu.c:322: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-4.1.0+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-4.1.0+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-4.1.0+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-4.1.0+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 = 902 Lines analyzed = 272697 in approximately 7.68 seconds (35519 lines/second) Physical Source Lines of Code (SLOC) = 158537 Hits@level = [0] 6166 [1] 24 [2] 842 [3] 0 [4] 36 [5] 0 Hits@level+ = [0+] 7068 [1+] 902 [2+] 878 [3+] 36 [4+] 36 [5+] 0 Hits/KSLOC@level+ = [0+] 44.5827 [1+] 5.68952 [2+] 5.53814 [3+] 0.227076 [4+] 0.227076 [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.