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/superlu-5.2.2+dfsg1/CBLAS/caxpy.c Examining data/superlu-5.2.2+dfsg1/CBLAS/ccopy.c Examining data/superlu-5.2.2+dfsg1/CBLAS/cdotc.c Examining data/superlu-5.2.2+dfsg1/CBLAS/cgemv.c Examining data/superlu-5.2.2+dfsg1/CBLAS/cgerc.c Examining data/superlu-5.2.2+dfsg1/CBLAS/chemv.c Examining data/superlu-5.2.2+dfsg1/CBLAS/cher2.c Examining data/superlu-5.2.2+dfsg1/CBLAS/cscal.c Examining data/superlu-5.2.2+dfsg1/CBLAS/cswap.c Examining data/superlu-5.2.2+dfsg1/CBLAS/ctrsv.c Examining data/superlu-5.2.2+dfsg1/CBLAS/dasum.c Examining data/superlu-5.2.2+dfsg1/CBLAS/daxpy.c Examining data/superlu-5.2.2+dfsg1/CBLAS/dcabs1.c Examining data/superlu-5.2.2+dfsg1/CBLAS/dcopy.c Examining data/superlu-5.2.2+dfsg1/CBLAS/ddot.c Examining data/superlu-5.2.2+dfsg1/CBLAS/dgemv.c Examining data/superlu-5.2.2+dfsg1/CBLAS/dger.c Examining data/superlu-5.2.2+dfsg1/CBLAS/dnrm2.c Examining data/superlu-5.2.2+dfsg1/CBLAS/drot.c Examining data/superlu-5.2.2+dfsg1/CBLAS/dscal.c Examining data/superlu-5.2.2+dfsg1/CBLAS/dswap.c Examining data/superlu-5.2.2+dfsg1/CBLAS/dsymv.c Examining data/superlu-5.2.2+dfsg1/CBLAS/dsyr2.c Examining data/superlu-5.2.2+dfsg1/CBLAS/dtrsv.c Examining data/superlu-5.2.2+dfsg1/CBLAS/dzasum.c Examining data/superlu-5.2.2+dfsg1/CBLAS/dznrm2.c Examining data/superlu-5.2.2+dfsg1/CBLAS/f2c.h Examining data/superlu-5.2.2+dfsg1/CBLAS/icamax.c Examining data/superlu-5.2.2+dfsg1/CBLAS/idamax.c Examining data/superlu-5.2.2+dfsg1/CBLAS/isamax.c Examining data/superlu-5.2.2+dfsg1/CBLAS/izamax.c Examining data/superlu-5.2.2+dfsg1/CBLAS/sasum.c Examining data/superlu-5.2.2+dfsg1/CBLAS/saxpy.c Examining data/superlu-5.2.2+dfsg1/CBLAS/scasum.c Examining data/superlu-5.2.2+dfsg1/CBLAS/scnrm2.c Examining data/superlu-5.2.2+dfsg1/CBLAS/scopy.c Examining data/superlu-5.2.2+dfsg1/CBLAS/sdot.c Examining data/superlu-5.2.2+dfsg1/CBLAS/sgemv.c Examining data/superlu-5.2.2+dfsg1/CBLAS/sger.c Examining data/superlu-5.2.2+dfsg1/CBLAS/slu_Cnames.h Examining data/superlu-5.2.2+dfsg1/CBLAS/snrm2.c Examining data/superlu-5.2.2+dfsg1/CBLAS/srot.c Examining data/superlu-5.2.2+dfsg1/CBLAS/sscal.c Examining data/superlu-5.2.2+dfsg1/CBLAS/sswap.c Examining data/superlu-5.2.2+dfsg1/CBLAS/ssymv.c Examining data/superlu-5.2.2+dfsg1/CBLAS/ssyr2.c Examining data/superlu-5.2.2+dfsg1/CBLAS/strsv.c Examining data/superlu-5.2.2+dfsg1/CBLAS/superlu_f2c.h Examining data/superlu-5.2.2+dfsg1/CBLAS/zaxpy.c Examining data/superlu-5.2.2+dfsg1/CBLAS/zcopy.c Examining data/superlu-5.2.2+dfsg1/CBLAS/zdotc.c Examining data/superlu-5.2.2+dfsg1/CBLAS/zgemv.c Examining data/superlu-5.2.2+dfsg1/CBLAS/zgerc.c Examining data/superlu-5.2.2+dfsg1/CBLAS/zhemv.c Examining data/superlu-5.2.2+dfsg1/CBLAS/zher2.c Examining data/superlu-5.2.2+dfsg1/CBLAS/zscal.c Examining data/superlu-5.2.2+dfsg1/CBLAS/zswap.c Examining data/superlu-5.2.2+dfsg1/CBLAS/ztrsv.c Examining data/superlu-5.2.2+dfsg1/EXAMPLE/cfgmr.c Examining data/superlu-5.2.2+dfsg1/EXAMPLE/citersol.c Examining data/superlu-5.2.2+dfsg1/EXAMPLE/citersol1.c Examining data/superlu-5.2.2+dfsg1/EXAMPLE/clinsol.c Examining data/superlu-5.2.2+dfsg1/EXAMPLE/clinsol1.c Examining data/superlu-5.2.2+dfsg1/EXAMPLE/clinsolx.c Examining data/superlu-5.2.2+dfsg1/EXAMPLE/clinsolx1.c Examining data/superlu-5.2.2+dfsg1/EXAMPLE/clinsolx2.c Examining data/superlu-5.2.2+dfsg1/EXAMPLE/clinsolx3.c Examining data/superlu-5.2.2+dfsg1/EXAMPLE/dfgmr.c Examining data/superlu-5.2.2+dfsg1/EXAMPLE/ditersol.c Examining data/superlu-5.2.2+dfsg1/EXAMPLE/ditersol1.c Examining data/superlu-5.2.2+dfsg1/EXAMPLE/dlinsol.c Examining data/superlu-5.2.2+dfsg1/EXAMPLE/dlinsol1.c Examining data/superlu-5.2.2+dfsg1/EXAMPLE/dlinsolx.c Examining data/superlu-5.2.2+dfsg1/EXAMPLE/dlinsolx1.c Examining data/superlu-5.2.2+dfsg1/EXAMPLE/dlinsolx2.c Examining data/superlu-5.2.2+dfsg1/EXAMPLE/dlinsolx3.c Examining data/superlu-5.2.2+dfsg1/EXAMPLE/fgmr.c Examining data/superlu-5.2.2+dfsg1/EXAMPLE/sfgmr.c Examining data/superlu-5.2.2+dfsg1/EXAMPLE/sitersol.c Examining data/superlu-5.2.2+dfsg1/EXAMPLE/sitersol1.c Examining data/superlu-5.2.2+dfsg1/EXAMPLE/slinsol.c Examining data/superlu-5.2.2+dfsg1/EXAMPLE/slinsol1.c Examining data/superlu-5.2.2+dfsg1/EXAMPLE/slinsolx.c Examining data/superlu-5.2.2+dfsg1/EXAMPLE/slinsolx1.c Examining data/superlu-5.2.2+dfsg1/EXAMPLE/slinsolx2.c Examining data/superlu-5.2.2+dfsg1/EXAMPLE/slinsolx3.c Examining data/superlu-5.2.2+dfsg1/EXAMPLE/sp_ienv.c Examining data/superlu-5.2.2+dfsg1/EXAMPLE/superlu.c Examining data/superlu-5.2.2+dfsg1/EXAMPLE/zfgmr.c Examining data/superlu-5.2.2+dfsg1/EXAMPLE/zitersol.c Examining data/superlu-5.2.2+dfsg1/EXAMPLE/zitersol1.c Examining data/superlu-5.2.2+dfsg1/EXAMPLE/zlinsol.c Examining data/superlu-5.2.2+dfsg1/EXAMPLE/zlinsol1.c Examining data/superlu-5.2.2+dfsg1/EXAMPLE/zlinsolx.c Examining data/superlu-5.2.2+dfsg1/EXAMPLE/zlinsolx1.c Examining data/superlu-5.2.2+dfsg1/EXAMPLE/zlinsolx2.c Examining data/superlu-5.2.2+dfsg1/EXAMPLE/zlinsolx3.c Examining data/superlu-5.2.2+dfsg1/FORTRAN/c_fortran_cgssv.c Examining data/superlu-5.2.2+dfsg1/FORTRAN/c_fortran_dgssv.c Examining data/superlu-5.2.2+dfsg1/FORTRAN/c_fortran_sgssv.c Examining data/superlu-5.2.2+dfsg1/FORTRAN/c_fortran_zgssv.c Examining data/superlu-5.2.2+dfsg1/INSTALL/dlamch.c Examining data/superlu-5.2.2+dfsg1/INSTALL/dlamchtst.c Examining data/superlu-5.2.2+dfsg1/INSTALL/dmach.c Examining data/superlu-5.2.2+dfsg1/INSTALL/dmachtst.c Examining data/superlu-5.2.2+dfsg1/INSTALL/lsame.c Examining data/superlu-5.2.2+dfsg1/INSTALL/slamch.c Examining data/superlu-5.2.2+dfsg1/INSTALL/slamchtst.c Examining data/superlu-5.2.2+dfsg1/INSTALL/smach.c Examining data/superlu-5.2.2+dfsg1/INSTALL/smachtst.c Examining data/superlu-5.2.2+dfsg1/INSTALL/superlu_timer.c Examining data/superlu-5.2.2+dfsg1/INSTALL/timertst.c Examining data/superlu-5.2.2+dfsg1/MATLAB/mexlusolve.c Examining data/superlu-5.2.2+dfsg1/MATLAB/mexsuperlu.c Examining data/superlu-5.2.2+dfsg1/SRC/ccolumn_bmod.c Examining data/superlu-5.2.2+dfsg1/SRC/ccolumn_dfs.c Examining data/superlu-5.2.2+dfsg1/SRC/ccopy_to_ucol.c Examining data/superlu-5.2.2+dfsg1/SRC/cdiagonal.c Examining data/superlu-5.2.2+dfsg1/SRC/cgscon.c Examining data/superlu-5.2.2+dfsg1/SRC/cgsequ.c Examining data/superlu-5.2.2+dfsg1/SRC/cgsisx.c Examining data/superlu-5.2.2+dfsg1/SRC/cgsitrf.c Examining data/superlu-5.2.2+dfsg1/SRC/cgsrfs.c Examining data/superlu-5.2.2+dfsg1/SRC/cgssv.c Examining data/superlu-5.2.2+dfsg1/SRC/cgssvx.c Examining data/superlu-5.2.2+dfsg1/SRC/cgstrf.c Examining data/superlu-5.2.2+dfsg1/SRC/cgstrs.c Examining data/superlu-5.2.2+dfsg1/SRC/clacon2.c Examining data/superlu-5.2.2+dfsg1/SRC/clangs.c Examining data/superlu-5.2.2+dfsg1/SRC/claqgs.c Examining data/superlu-5.2.2+dfsg1/SRC/cldperm.c Examining data/superlu-5.2.2+dfsg1/SRC/cmemory.c Examining data/superlu-5.2.2+dfsg1/SRC/cmyblas2.c Examining data/superlu-5.2.2+dfsg1/SRC/colamd.c Examining data/superlu-5.2.2+dfsg1/SRC/colamd.h Examining data/superlu-5.2.2+dfsg1/SRC/cpanel_bmod.c Examining data/superlu-5.2.2+dfsg1/SRC/cpanel_dfs.c Examining data/superlu-5.2.2+dfsg1/SRC/cpivotL.c Examining data/superlu-5.2.2+dfsg1/SRC/cpivotgrowth.c Examining data/superlu-5.2.2+dfsg1/SRC/cpruneL.c Examining data/superlu-5.2.2+dfsg1/SRC/creadMM.c Examining data/superlu-5.2.2+dfsg1/SRC/creadhb.c Examining data/superlu-5.2.2+dfsg1/SRC/creadrb.c Examining data/superlu-5.2.2+dfsg1/SRC/creadtriple.c Examining data/superlu-5.2.2+dfsg1/SRC/csnode_bmod.c Examining data/superlu-5.2.2+dfsg1/SRC/csnode_dfs.c Examining data/superlu-5.2.2+dfsg1/SRC/csp_blas2.c Examining data/superlu-5.2.2+dfsg1/SRC/csp_blas3.c Examining data/superlu-5.2.2+dfsg1/SRC/cutil.c Examining data/superlu-5.2.2+dfsg1/SRC/dGetDiagU.c Examining data/superlu-5.2.2+dfsg1/SRC/dcolumn_bmod.c Examining data/superlu-5.2.2+dfsg1/SRC/dcolumn_dfs.c Examining data/superlu-5.2.2+dfsg1/SRC/dcomplex.c Examining data/superlu-5.2.2+dfsg1/SRC/dcopy_to_ucol.c Examining data/superlu-5.2.2+dfsg1/SRC/ddiagonal.c Examining data/superlu-5.2.2+dfsg1/SRC/dgscon.c Examining data/superlu-5.2.2+dfsg1/SRC/dgsequ.c Examining data/superlu-5.2.2+dfsg1/SRC/dgsisx.c Examining data/superlu-5.2.2+dfsg1/SRC/dgsitrf.c Examining data/superlu-5.2.2+dfsg1/SRC/dgsrfs.c Examining data/superlu-5.2.2+dfsg1/SRC/dgssv.c Examining data/superlu-5.2.2+dfsg1/SRC/dgssvx.c Examining data/superlu-5.2.2+dfsg1/SRC/dgstrf.c Examining data/superlu-5.2.2+dfsg1/SRC/dgstrs.c Examining data/superlu-5.2.2+dfsg1/SRC/dlacon2.c Examining data/superlu-5.2.2+dfsg1/SRC/dlangs.c Examining data/superlu-5.2.2+dfsg1/SRC/dlaqgs.c Examining data/superlu-5.2.2+dfsg1/SRC/dldperm.c Examining data/superlu-5.2.2+dfsg1/SRC/dmach.c Examining data/superlu-5.2.2+dfsg1/SRC/dmemory.c Examining data/superlu-5.2.2+dfsg1/SRC/dmyblas2.c Examining data/superlu-5.2.2+dfsg1/SRC/dpanel_bmod.c Examining data/superlu-5.2.2+dfsg1/SRC/dpanel_dfs.c Examining data/superlu-5.2.2+dfsg1/SRC/dpivotL.c Examining data/superlu-5.2.2+dfsg1/SRC/dpivotgrowth.c Examining data/superlu-5.2.2+dfsg1/SRC/dpruneL.c Examining data/superlu-5.2.2+dfsg1/SRC/dreadMM.c Examining data/superlu-5.2.2+dfsg1/SRC/dreadhb.c Examining data/superlu-5.2.2+dfsg1/SRC/dreadrb.c Examining data/superlu-5.2.2+dfsg1/SRC/dreadtriple.c Examining data/superlu-5.2.2+dfsg1/SRC/dsnode_bmod.c Examining data/superlu-5.2.2+dfsg1/SRC/dsnode_dfs.c Examining data/superlu-5.2.2+dfsg1/SRC/dsp_blas2.c Examining data/superlu-5.2.2+dfsg1/SRC/dsp_blas3.c Examining data/superlu-5.2.2+dfsg1/SRC/dutil.c Examining data/superlu-5.2.2+dfsg1/SRC/dzsum1.c Examining data/superlu-5.2.2+dfsg1/SRC/get_perm_c.c Examining data/superlu-5.2.2+dfsg1/SRC/heap_relax_snode.c Examining data/superlu-5.2.2+dfsg1/SRC/html_mainpage.h Examining data/superlu-5.2.2+dfsg1/SRC/icmax1.c Examining data/superlu-5.2.2+dfsg1/SRC/ilu_ccolumn_dfs.c Examining data/superlu-5.2.2+dfsg1/SRC/ilu_ccopy_to_ucol.c Examining data/superlu-5.2.2+dfsg1/SRC/ilu_cdrop_row.c Examining data/superlu-5.2.2+dfsg1/SRC/ilu_cpanel_dfs.c Examining data/superlu-5.2.2+dfsg1/SRC/ilu_cpivotL.c Examining data/superlu-5.2.2+dfsg1/SRC/ilu_csnode_dfs.c Examining data/superlu-5.2.2+dfsg1/SRC/ilu_dcolumn_dfs.c Examining data/superlu-5.2.2+dfsg1/SRC/ilu_dcopy_to_ucol.c Examining data/superlu-5.2.2+dfsg1/SRC/ilu_ddrop_row.c Examining data/superlu-5.2.2+dfsg1/SRC/ilu_dpanel_dfs.c Examining data/superlu-5.2.2+dfsg1/SRC/ilu_dpivotL.c Examining data/superlu-5.2.2+dfsg1/SRC/ilu_dsnode_dfs.c Examining data/superlu-5.2.2+dfsg1/SRC/ilu_heap_relax_snode.c Examining data/superlu-5.2.2+dfsg1/SRC/ilu_relax_snode.c Examining data/superlu-5.2.2+dfsg1/SRC/ilu_scolumn_dfs.c Examining data/superlu-5.2.2+dfsg1/SRC/ilu_scopy_to_ucol.c Examining data/superlu-5.2.2+dfsg1/SRC/ilu_sdrop_row.c Examining data/superlu-5.2.2+dfsg1/SRC/ilu_spanel_dfs.c Examining data/superlu-5.2.2+dfsg1/SRC/ilu_spivotL.c Examining data/superlu-5.2.2+dfsg1/SRC/ilu_ssnode_dfs.c Examining data/superlu-5.2.2+dfsg1/SRC/ilu_zcolumn_dfs.c Examining data/superlu-5.2.2+dfsg1/SRC/ilu_zcopy_to_ucol.c Examining data/superlu-5.2.2+dfsg1/SRC/ilu_zdrop_row.c Examining data/superlu-5.2.2+dfsg1/SRC/ilu_zpanel_dfs.c Examining data/superlu-5.2.2+dfsg1/SRC/ilu_zpivotL.c Examining data/superlu-5.2.2+dfsg1/SRC/ilu_zsnode_dfs.c Examining data/superlu-5.2.2+dfsg1/SRC/input_error.c Examining data/superlu-5.2.2+dfsg1/SRC/izmax1.c Examining data/superlu-5.2.2+dfsg1/SRC/mark_relax.c Examining data/superlu-5.2.2+dfsg1/SRC/memory.c Examining data/superlu-5.2.2+dfsg1/SRC/mmd.c Examining data/superlu-5.2.2+dfsg1/SRC/qselect.c Examining data/superlu-5.2.2+dfsg1/SRC/relax_snode.c Examining data/superlu-5.2.2+dfsg1/SRC/scolumn_bmod.c Examining data/superlu-5.2.2+dfsg1/SRC/scolumn_dfs.c Examining data/superlu-5.2.2+dfsg1/SRC/scomplex.c Examining data/superlu-5.2.2+dfsg1/SRC/scopy_to_ucol.c Examining data/superlu-5.2.2+dfsg1/SRC/scsum1.c Examining data/superlu-5.2.2+dfsg1/SRC/sdiagonal.c Examining data/superlu-5.2.2+dfsg1/SRC/sgscon.c Examining data/superlu-5.2.2+dfsg1/SRC/sgsequ.c Examining data/superlu-5.2.2+dfsg1/SRC/sgsisx.c Examining data/superlu-5.2.2+dfsg1/SRC/sgsitrf.c Examining data/superlu-5.2.2+dfsg1/SRC/sgsrfs.c Examining data/superlu-5.2.2+dfsg1/SRC/sgssv.c Examining data/superlu-5.2.2+dfsg1/SRC/sgssvx.c Examining data/superlu-5.2.2+dfsg1/SRC/sgstrf.c Examining data/superlu-5.2.2+dfsg1/SRC/sgstrs.c Examining data/superlu-5.2.2+dfsg1/SRC/slacon2.c Examining data/superlu-5.2.2+dfsg1/SRC/slangs.c Examining data/superlu-5.2.2+dfsg1/SRC/slaqgs.c Examining data/superlu-5.2.2+dfsg1/SRC/sldperm.c Examining data/superlu-5.2.2+dfsg1/SRC/slu_Cnames.h Examining data/superlu-5.2.2+dfsg1/SRC/slu_cdefs.h Examining data/superlu-5.2.2+dfsg1/SRC/slu_dcomplex.h Examining data/superlu-5.2.2+dfsg1/SRC/slu_ddefs.h Examining data/superlu-5.2.2+dfsg1/SRC/slu_scomplex.h Examining data/superlu-5.2.2+dfsg1/SRC/slu_sdefs.h Examining data/superlu-5.2.2+dfsg1/SRC/slu_util.h Examining data/superlu-5.2.2+dfsg1/SRC/slu_zdefs.h Examining data/superlu-5.2.2+dfsg1/SRC/smach.c Examining data/superlu-5.2.2+dfsg1/SRC/smemory.c Examining data/superlu-5.2.2+dfsg1/SRC/smyblas2.c Examining data/superlu-5.2.2+dfsg1/SRC/sp_coletree.c Examining data/superlu-5.2.2+dfsg1/SRC/sp_ienv.c Examining data/superlu-5.2.2+dfsg1/SRC/sp_preorder.c Examining data/superlu-5.2.2+dfsg1/SRC/spanel_bmod.c Examining data/superlu-5.2.2+dfsg1/SRC/spanel_dfs.c Examining data/superlu-5.2.2+dfsg1/SRC/spivotL.c Examining data/superlu-5.2.2+dfsg1/SRC/spivotgrowth.c Examining data/superlu-5.2.2+dfsg1/SRC/spruneL.c Examining data/superlu-5.2.2+dfsg1/SRC/sreadMM.c Examining data/superlu-5.2.2+dfsg1/SRC/sreadhb.c Examining data/superlu-5.2.2+dfsg1/SRC/sreadrb.c Examining data/superlu-5.2.2+dfsg1/SRC/sreadtriple.c Examining data/superlu-5.2.2+dfsg1/SRC/ssnode_bmod.c Examining data/superlu-5.2.2+dfsg1/SRC/ssnode_dfs.c Examining data/superlu-5.2.2+dfsg1/SRC/ssp_blas2.c Examining data/superlu-5.2.2+dfsg1/SRC/ssp_blas3.c Examining data/superlu-5.2.2+dfsg1/SRC/superlu_enum_consts.h Examining data/superlu-5.2.2+dfsg1/SRC/superlu_timer.c Examining data/superlu-5.2.2+dfsg1/SRC/supermatrix.h Examining data/superlu-5.2.2+dfsg1/SRC/sutil.c Examining data/superlu-5.2.2+dfsg1/SRC/util.c Examining data/superlu-5.2.2+dfsg1/SRC/zcolumn_bmod.c Examining data/superlu-5.2.2+dfsg1/SRC/zcolumn_dfs.c Examining data/superlu-5.2.2+dfsg1/SRC/zcopy_to_ucol.c Examining data/superlu-5.2.2+dfsg1/SRC/zdiagonal.c Examining data/superlu-5.2.2+dfsg1/SRC/zgscon.c Examining data/superlu-5.2.2+dfsg1/SRC/zgsequ.c Examining data/superlu-5.2.2+dfsg1/SRC/zgsisx.c Examining data/superlu-5.2.2+dfsg1/SRC/zgsitrf.c Examining data/superlu-5.2.2+dfsg1/SRC/zgsrfs.c Examining data/superlu-5.2.2+dfsg1/SRC/zgssv.c Examining data/superlu-5.2.2+dfsg1/SRC/zgssvx.c Examining data/superlu-5.2.2+dfsg1/SRC/zgstrf.c Examining data/superlu-5.2.2+dfsg1/SRC/zgstrs.c Examining data/superlu-5.2.2+dfsg1/SRC/zlacon2.c Examining data/superlu-5.2.2+dfsg1/SRC/zlangs.c Examining data/superlu-5.2.2+dfsg1/SRC/zlaqgs.c Examining data/superlu-5.2.2+dfsg1/SRC/zldperm.c Examining data/superlu-5.2.2+dfsg1/SRC/zmemory.c Examining data/superlu-5.2.2+dfsg1/SRC/zmyblas2.c Examining data/superlu-5.2.2+dfsg1/SRC/zpanel_bmod.c Examining data/superlu-5.2.2+dfsg1/SRC/zpanel_dfs.c Examining data/superlu-5.2.2+dfsg1/SRC/zpivotL.c Examining data/superlu-5.2.2+dfsg1/SRC/zpivotgrowth.c Examining data/superlu-5.2.2+dfsg1/SRC/zpruneL.c Examining data/superlu-5.2.2+dfsg1/SRC/zreadMM.c Examining data/superlu-5.2.2+dfsg1/SRC/zreadhb.c Examining data/superlu-5.2.2+dfsg1/SRC/zreadrb.c Examining data/superlu-5.2.2+dfsg1/SRC/zreadtriple.c Examining data/superlu-5.2.2+dfsg1/SRC/zsnode_bmod.c Examining data/superlu-5.2.2+dfsg1/SRC/zsnode_dfs.c Examining data/superlu-5.2.2+dfsg1/SRC/zsp_blas2.c Examining data/superlu-5.2.2+dfsg1/SRC/zsp_blas3.c Examining data/superlu-5.2.2+dfsg1/SRC/zutil.c Examining data/superlu-5.2.2+dfsg1/SRC/mc64ad.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/cdotc.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/clacgv.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/clagge.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/claghe.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/clagsy.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/clarge.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/clarnd.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/clarnv.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/claror.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/clarot.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/clartg.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/claset.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/clatb4.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/clatm2.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/clatm3.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/clatme.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/clatms.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/csymv.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/d_lg10.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/d_sign.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/dlabad.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/dlagge.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/dlagsy.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/dlaran.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/dlarge.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/dlarnd.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/dlarnv.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/dlaror.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/dlarot.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/dlartg.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/dlaruv.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/dlaset.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/dlatb4.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/dlatm1.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/dlatm2.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/dlatm3.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/dlatms.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/f2c.h Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/pow_dd.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/pow_di.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/pow_ri.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/r_lg10.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/r_sign.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/slabad.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/slagge.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/slagsy.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/slaran.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/slarge.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/slarnd.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/slarnv.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/slaror.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/slarot.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/slartg.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/slaruv.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/slaset.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/slatb4.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/slatm1.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/slatm2.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/slatm3.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/slatms.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/slu_Cnames.h Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/zdotc.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/zlacgv.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/zlagge.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/zlaghe.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/zlagsy.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/zlarge.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/zlarnd.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/zlarnv.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/zlaror.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/zlarot.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/zlartg.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/zlaset.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/zlatb4.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/zlatm2.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/zlatm3.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/zlatms.c Examining data/superlu-5.2.2+dfsg1/TESTING/MATGEN/zsymv.c Examining data/superlu-5.2.2+dfsg1/TESTING/cdrive.c Examining data/superlu-5.2.2+dfsg1/TESTING/cgst01.c Examining data/superlu-5.2.2+dfsg1/TESTING/cgst02.c Examining data/superlu-5.2.2+dfsg1/TESTING/cgst04.c Examining data/superlu-5.2.2+dfsg1/TESTING/cgst07.c Examining data/superlu-5.2.2+dfsg1/TESTING/ddrive.c Examining data/superlu-5.2.2+dfsg1/TESTING/dgst01.c Examining data/superlu-5.2.2+dfsg1/TESTING/dgst02.c Examining data/superlu-5.2.2+dfsg1/TESTING/dgst04.c Examining data/superlu-5.2.2+dfsg1/TESTING/dgst07.c Examining data/superlu-5.2.2+dfsg1/TESTING/sdrive.c Examining data/superlu-5.2.2+dfsg1/TESTING/sgst01.c Examining data/superlu-5.2.2+dfsg1/TESTING/sgst02.c Examining data/superlu-5.2.2+dfsg1/TESTING/sgst04.c Examining data/superlu-5.2.2+dfsg1/TESTING/sgst07.c Examining data/superlu-5.2.2+dfsg1/TESTING/sp_cconvert.c Examining data/superlu-5.2.2+dfsg1/TESTING/sp_dconvert.c Examining data/superlu-5.2.2+dfsg1/TESTING/sp_ienv.c Examining data/superlu-5.2.2+dfsg1/TESTING/sp_sconvert.c Examining data/superlu-5.2.2+dfsg1/TESTING/sp_zconvert.c Examining data/superlu-5.2.2+dfsg1/TESTING/zdrive.c Examining data/superlu-5.2.2+dfsg1/TESTING/zgst01.c Examining data/superlu-5.2.2+dfsg1/TESTING/zgst02.c Examining data/superlu-5.2.2+dfsg1/TESTING/zgst04.c Examining data/superlu-5.2.2+dfsg1/TESTING/zgst07.c FINAL RESULTS: data/superlu-5.2.2+dfsg1/SRC/colamd.c:712:16: [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 PRINTF printf data/superlu-5.2.2+dfsg1/SRC/creadMM.c:58:10: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. if (sscanf(line, "%s %s %s %s %s", banner, mtx, crd, arith, sym) != 5) { data/superlu-5.2.2+dfsg1/SRC/creadMM.c:101:8: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. sscanf(line,"%s",banner); data/superlu-5.2.2+dfsg1/SRC/dreadMM.c:58:10: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. if (sscanf(line, "%s %s %s %s %s", banner, mtx, crd, arith, sym) != 5) { data/superlu-5.2.2+dfsg1/SRC/dreadMM.c:101:8: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. sscanf(line,"%s",banner); data/superlu-5.2.2+dfsg1/SRC/slu_util.h:66:4: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(msg,"%s at line %d in file %s\n",err_msg,__LINE__, __FILE__);\ data/superlu-5.2.2+dfsg1/SRC/sreadMM.c:58:10: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. if (sscanf(line, "%s %s %s %s %s", banner, mtx, crd, arith, sym) != 5) { data/superlu-5.2.2+dfsg1/SRC/sreadMM.c:101:8: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. sscanf(line,"%s",banner); data/superlu-5.2.2+dfsg1/SRC/zreadMM.c:58:10: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. if (sscanf(line, "%s %s %s %s %s", banner, mtx, crd, arith, sym) != 5) { data/superlu-5.2.2+dfsg1/SRC/zreadMM.c:101:8: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. sscanf(line,"%s",banner); data/superlu-5.2.2+dfsg1/TESTING/cdrive.c:220:3: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FMT3, "CLATMS", info, izero, n, nrhs, imat, nfail); data/superlu-5.2.2+dfsg1/TESTING/cdrive.c:360:33: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FMT3, "cgssv", data/superlu-5.2.2+dfsg1/TESTING/cdrive.c:382:6: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FMT1, "cgssv", n, i, data/superlu-5.2.2+dfsg1/TESTING/cdrive.c:418:8: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FMT3, "cgssvx", data/superlu-5.2.2+dfsg1/TESTING/cdrive.c:458:6: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FMT2, "cgssvx", data/superlu-5.2.2+dfsg1/TESTING/cdrive.c:544:14: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). case 't': strcpy(matrix_type, optarg); data/superlu-5.2.2+dfsg1/TESTING/ddrive.c:220:3: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FMT3, "DLATMS", info, izero, n, nrhs, imat, nfail); data/superlu-5.2.2+dfsg1/TESTING/ddrive.c:360:33: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FMT3, "dgssv", data/superlu-5.2.2+dfsg1/TESTING/ddrive.c:382:6: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FMT1, "dgssv", n, i, data/superlu-5.2.2+dfsg1/TESTING/ddrive.c:418:8: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FMT3, "dgssvx", data/superlu-5.2.2+dfsg1/TESTING/ddrive.c:458:6: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FMT2, "dgssvx", data/superlu-5.2.2+dfsg1/TESTING/ddrive.c:544:14: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). case 't': strcpy(matrix_type, optarg); data/superlu-5.2.2+dfsg1/TESTING/sdrive.c:220:3: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FMT3, "SLATMS", info, izero, n, nrhs, imat, nfail); data/superlu-5.2.2+dfsg1/TESTING/sdrive.c:360:33: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FMT3, "sgssv", data/superlu-5.2.2+dfsg1/TESTING/sdrive.c:382:6: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FMT1, "sgssv", n, i, data/superlu-5.2.2+dfsg1/TESTING/sdrive.c:418:8: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FMT3, "sgssvx", data/superlu-5.2.2+dfsg1/TESTING/sdrive.c:458:6: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FMT2, "sgssvx", data/superlu-5.2.2+dfsg1/TESTING/sdrive.c:544:14: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). case 't': strcpy(matrix_type, optarg); data/superlu-5.2.2+dfsg1/TESTING/zdrive.c:220:3: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FMT3, "ZLATMS", info, izero, n, nrhs, imat, nfail); data/superlu-5.2.2+dfsg1/TESTING/zdrive.c:360:33: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FMT3, "zgssv", data/superlu-5.2.2+dfsg1/TESTING/zdrive.c:382:6: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FMT1, "zgssv", n, i, data/superlu-5.2.2+dfsg1/TESTING/zdrive.c:418:8: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FMT3, "zgssvx", data/superlu-5.2.2+dfsg1/TESTING/zdrive.c:458:6: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(FMT2, "zgssvx", data/superlu-5.2.2+dfsg1/TESTING/zdrive.c:544:14: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). case 't': strcpy(matrix_type, optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/clinsolx.c:206:18: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while ( (c = getopt(argc, argv, "hl:w:r:u:f:t:p:e:")) != EOF ) { data/superlu-5.2.2+dfsg1/EXAMPLE/clinsolx1.c:237:18: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while ( (c = getopt(argc, argv, "hl:u:e:t:")) != EOF ) { data/superlu-5.2.2+dfsg1/EXAMPLE/clinsolx2.c:273:18: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while ( (c = getopt(argc, argv, "hl:u:e:t:")) != EOF ) { data/superlu-5.2.2+dfsg1/EXAMPLE/clinsolx3.c:268:18: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while ( (c = getopt(argc, argv, "hl:u:e:t:")) != EOF ) { data/superlu-5.2.2+dfsg1/EXAMPLE/dlinsolx.c:211:18: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while ( (c = getopt(argc, argv, "hl:w:r:u:f:t:p:e:")) != EOF ) { data/superlu-5.2.2+dfsg1/EXAMPLE/dlinsolx1.c:237:18: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while ( (c = getopt(argc, argv, "hl:u:e:t:")) != EOF ) { data/superlu-5.2.2+dfsg1/EXAMPLE/dlinsolx2.c:273:18: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while ( (c = getopt(argc, argv, "hl:u:e:t:")) != EOF ) { data/superlu-5.2.2+dfsg1/EXAMPLE/dlinsolx3.c:268:18: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while ( (c = getopt(argc, argv, "hl:u:e:t:")) != EOF ) { data/superlu-5.2.2+dfsg1/EXAMPLE/slinsolx.c:206:18: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while ( (c = getopt(argc, argv, "hl:w:r:u:f:t:p:e:")) != EOF ) { data/superlu-5.2.2+dfsg1/EXAMPLE/slinsolx1.c:237:18: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while ( (c = getopt(argc, argv, "hl:u:e:t:")) != EOF ) { data/superlu-5.2.2+dfsg1/EXAMPLE/slinsolx2.c:273:18: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while ( (c = getopt(argc, argv, "hl:u:e:t:")) != EOF ) { data/superlu-5.2.2+dfsg1/EXAMPLE/slinsolx3.c:268:18: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while ( (c = getopt(argc, argv, "hl:u:e:t:")) != EOF ) { data/superlu-5.2.2+dfsg1/EXAMPLE/zlinsolx.c:206:18: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while ( (c = getopt(argc, argv, "hl:w:r:u:f:t:p:e:")) != EOF ) { data/superlu-5.2.2+dfsg1/EXAMPLE/zlinsolx1.c:237:18: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while ( (c = getopt(argc, argv, "hl:u:e:t:")) != EOF ) { data/superlu-5.2.2+dfsg1/EXAMPLE/zlinsolx2.c:273:18: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while ( (c = getopt(argc, argv, "hl:u:e:t:")) != EOF ) { data/superlu-5.2.2+dfsg1/EXAMPLE/zlinsolx3.c:268:18: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while ( (c = getopt(argc, argv, "hl:u:e:t:")) != EOF ) { data/superlu-5.2.2+dfsg1/SRC/colamd.c:3414:9: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (getenv ("D")) data/superlu-5.2.2+dfsg1/SRC/colamd.c:3416:27: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. colamd_debug = atoi (getenv ("D")) ; data/superlu-5.2.2+dfsg1/TESTING/cdrive.c:536:18: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while ( (c = getopt(argc, argv, "ht:n:w:r:s:m:b:c:l:u:f:")) != EOF ) { data/superlu-5.2.2+dfsg1/TESTING/ddrive.c:536:18: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while ( (c = getopt(argc, argv, "ht:n:w:r:s:m:b:c:l:u:f:")) != EOF ) { data/superlu-5.2.2+dfsg1/TESTING/sdrive.c:536:18: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while ( (c = getopt(argc, argv, "ht:n:w:r:s:m:b:c:l:u:f:")) != EOF ) { data/superlu-5.2.2+dfsg1/TESTING/zdrive.c:536:18: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while ( (c = getopt(argc, argv, "ht:n:w:r:s:m:b:c:l:u:f:")) != EOF ) { data/superlu-5.2.2+dfsg1/EXAMPLE/citersol.c:57:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char equed[1] = {'N'}; data/superlu-5.2.2+dfsg1/EXAMPLE/citersol.c:100:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char equed[1] = {'B'}; data/superlu-5.2.2+dfsg1/EXAMPLE/citersol1.c:101:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char equed[1] = {'B'}; data/superlu-5.2.2+dfsg1/EXAMPLE/clinsolx.c:23:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char equed[1]; data/superlu-5.2.2+dfsg1/EXAMPLE/clinsolx.c:216:23: [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). case 'l': *lwork = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/clinsolx.c:220:23: [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). case 'e': *equil = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/clinsolx.c:222:23: [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). case 't': *trans = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/clinsolx1.c:38:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char equed[1]; data/superlu-5.2.2+dfsg1/EXAMPLE/clinsolx1.c:247:23: [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). case 'l': *lwork = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/clinsolx1.c:251:23: [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). case 'e': *equil = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/clinsolx1.c:253:23: [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). case 't': *trans = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/clinsolx2.c:38:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char equed[1]; data/superlu-5.2.2+dfsg1/EXAMPLE/clinsolx2.c:283:23: [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). case 'l': *lwork = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/clinsolx2.c:287:23: [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). case 'e': *equil = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/clinsolx2.c:289:23: [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). case 't': *trans = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/clinsolx3.c:38:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char equed[1]; data/superlu-5.2.2+dfsg1/EXAMPLE/clinsolx3.c:278:23: [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). case 'l': *lwork = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/clinsolx3.c:282:23: [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). case 'e': *equil = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/clinsolx3.c:284:23: [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). case 't': *trans = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/ditersol.c:57:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char equed[1] = {'N'}; data/superlu-5.2.2+dfsg1/EXAMPLE/ditersol.c:100:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char equed[1] = {'B'}; data/superlu-5.2.2+dfsg1/EXAMPLE/ditersol1.c:101:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char equed[1] = {'B'}; data/superlu-5.2.2+dfsg1/EXAMPLE/dlinsolx.c:23:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char equed[1]; data/superlu-5.2.2+dfsg1/EXAMPLE/dlinsolx.c:221:23: [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). case 'l': *lwork = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/dlinsolx.c:225:23: [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). case 'e': *equil = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/dlinsolx.c:227:23: [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). case 't': *trans = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/dlinsolx1.c:38:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char equed[1]; data/superlu-5.2.2+dfsg1/EXAMPLE/dlinsolx1.c:247:23: [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). case 'l': *lwork = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/dlinsolx1.c:251:23: [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). case 'e': *equil = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/dlinsolx1.c:253:23: [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). case 't': *trans = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/dlinsolx2.c:38:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char equed[1]; data/superlu-5.2.2+dfsg1/EXAMPLE/dlinsolx2.c:283:23: [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). case 'l': *lwork = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/dlinsolx2.c:287:23: [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). case 'e': *equil = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/dlinsolx2.c:289:23: [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). case 't': *trans = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/dlinsolx3.c:38:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char equed[1]; data/superlu-5.2.2+dfsg1/EXAMPLE/dlinsolx3.c:278:23: [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). case 'l': *lwork = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/dlinsolx3.c:282:23: [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). case 'e': *equil = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/dlinsolx3.c:284:23: [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). case 't': *trans = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/sitersol.c:57:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char equed[1] = {'N'}; data/superlu-5.2.2+dfsg1/EXAMPLE/sitersol.c:100:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char equed[1] = {'B'}; data/superlu-5.2.2+dfsg1/EXAMPLE/sitersol1.c:101:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char equed[1] = {'B'}; data/superlu-5.2.2+dfsg1/EXAMPLE/slinsolx.c:23:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char equed[1]; data/superlu-5.2.2+dfsg1/EXAMPLE/slinsolx.c:216:23: [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). case 'l': *lwork = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/slinsolx.c:220:23: [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). case 'e': *equil = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/slinsolx.c:222:23: [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). case 't': *trans = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/slinsolx1.c:38:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char equed[1]; data/superlu-5.2.2+dfsg1/EXAMPLE/slinsolx1.c:247:23: [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). case 'l': *lwork = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/slinsolx1.c:251:23: [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). case 'e': *equil = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/slinsolx1.c:253:23: [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). case 't': *trans = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/slinsolx2.c:38:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char equed[1]; data/superlu-5.2.2+dfsg1/EXAMPLE/slinsolx2.c:283:23: [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). case 'l': *lwork = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/slinsolx2.c:287:23: [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). case 'e': *equil = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/slinsolx2.c:289:23: [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). case 't': *trans = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/slinsolx3.c:38:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char equed[1]; data/superlu-5.2.2+dfsg1/EXAMPLE/slinsolx3.c:278:23: [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). case 'l': *lwork = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/slinsolx3.c:282:23: [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). case 'e': *equil = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/slinsolx3.c:284:23: [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). case 't': *trans = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/zitersol.c:57:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char equed[1] = {'N'}; data/superlu-5.2.2+dfsg1/EXAMPLE/zitersol.c:100:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char equed[1] = {'B'}; data/superlu-5.2.2+dfsg1/EXAMPLE/zitersol1.c:101:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char equed[1] = {'B'}; data/superlu-5.2.2+dfsg1/EXAMPLE/zlinsolx.c:23:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char equed[1]; data/superlu-5.2.2+dfsg1/EXAMPLE/zlinsolx.c:216:23: [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). case 'l': *lwork = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/zlinsolx.c:220:23: [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). case 'e': *equil = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/zlinsolx.c:222:23: [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). case 't': *trans = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/zlinsolx1.c:38:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char equed[1]; data/superlu-5.2.2+dfsg1/EXAMPLE/zlinsolx1.c:247:23: [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). case 'l': *lwork = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/zlinsolx1.c:251:23: [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). case 'e': *equil = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/zlinsolx1.c:253:23: [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). case 't': *trans = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/zlinsolx2.c:38:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char equed[1]; data/superlu-5.2.2+dfsg1/EXAMPLE/zlinsolx2.c:283:23: [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). case 'l': *lwork = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/zlinsolx2.c:287:23: [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). case 'e': *equil = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/zlinsolx2.c:289:23: [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). case 't': *trans = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/zlinsolx3.c:38:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char equed[1]; data/superlu-5.2.2+dfsg1/EXAMPLE/zlinsolx3.c:278:23: [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). case 'l': *lwork = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/zlinsolx3.c:282:23: [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). case 'e': *equil = atoi(optarg); data/superlu-5.2.2+dfsg1/EXAMPLE/zlinsolx3.c:284:23: [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). case 't': *trans = atoi(optarg); data/superlu-5.2.2+dfsg1/SRC/cgsisx.c:419:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char norm[1]; data/superlu-5.2.2+dfsg1/SRC/cgsrfs.c:166:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char transc[1]; data/superlu-5.2.2+dfsg1/SRC/cgssvx.c:373:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char norm[1]; data/superlu-5.2.2+dfsg1/SRC/colamd.c:802:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char *method, data/superlu-5.2.2+dfsg1/SRC/colamd.c:2998:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char *method, data/superlu-5.2.2+dfsg1/SRC/colamd.c:3416:21: [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). colamd_debug = atoi (getenv ("D")) ; data/superlu-5.2.2+dfsg1/SRC/creadMM.c:42:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char *p, line[512], banner[64], mtx[64], crd[64], arith[64], sym[64]; data/superlu-5.2.2+dfsg1/SRC/creadMM.c:220: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 *fp, *fopen(); data/superlu-5.2.2+dfsg1/SRC/creadMM.c:223:17: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( !(fp = fopen("b.dat", "r")) ) { data/superlu-5.2.2+dfsg1/SRC/creadhb.c:119: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). *num = atoi(tmp); /*sscanf(tmp, "%d", num);*/ data/superlu-5.2.2+dfsg1/SRC/creadhb.c:126:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). *num = atoi(tmp); /*sscanf(tmp, "%d", num);*/ data/superlu-5.2.2+dfsg1/SRC/creadhb.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). *size = atoi(tmp); /*sscanf(tmp, "%2d", size);*/ data/superlu-5.2.2+dfsg1/SRC/creadhb.c:143:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp, buf[100]; data/superlu-5.2.2+dfsg1/SRC/creadhb.c:151: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). item = atoi(&buf[j*persize]); data/superlu-5.2.2+dfsg1/SRC/creadhb.c:165:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp, buf[100]; data/superlu-5.2.2+dfsg1/SRC/creadhb.c:301:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[100], type[4], key[10]; data/superlu-5.2.2+dfsg1/SRC/creadrb.c:114: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). *num = atoi(tmp); /*sscanf(tmp, "%d", num);*/ data/superlu-5.2.2+dfsg1/SRC/creadrb.c:121:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). *num = atoi(tmp); /*sscanf(tmp, "%d", num);*/ data/superlu-5.2.2+dfsg1/SRC/creadrb.c:130: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). *size = atoi(tmp); /*sscanf(tmp, "%2d", size);*/ data/superlu-5.2.2+dfsg1/SRC/creadrb.c:138:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp, buf[100]; data/superlu-5.2.2+dfsg1/SRC/creadrb.c:146:20: [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). item = atoi(&buf[j*persize]); data/superlu-5.2.2+dfsg1/SRC/creadrb.c:160:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp, buf[100]; data/superlu-5.2.2+dfsg1/SRC/creadrb.c:297:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[100], type[4]; data/superlu-5.2.2+dfsg1/SRC/creadtriple.c:137: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 *fp, *fopen(); data/superlu-5.2.2+dfsg1/SRC/creadtriple.c:141:17: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( !(fp = fopen("b.dat", "r")) ) { data/superlu-5.2.2+dfsg1/SRC/cutil.c:376:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char transc[1]; data/superlu-5.2.2+dfsg1/SRC/dgsisx.c:419:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char norm[1]; data/superlu-5.2.2+dfsg1/SRC/dgsrfs.c:166:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char transc[1]; data/superlu-5.2.2+dfsg1/SRC/dgssvx.c:373:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char norm[1]; data/superlu-5.2.2+dfsg1/SRC/dreadMM.c:42:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char *p, line[512], banner[64], mtx[64], crd[64], arith[64], sym[64]; data/superlu-5.2.2+dfsg1/SRC/dreadMM.c:227: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 *fp, *fopen(); data/superlu-5.2.2+dfsg1/SRC/dreadMM.c:230:17: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( !(fp = fopen("b.dat", "r")) ) { data/superlu-5.2.2+dfsg1/SRC/dreadhb.c:119: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). *num = atoi(tmp); /*sscanf(tmp, "%d", num);*/ data/superlu-5.2.2+dfsg1/SRC/dreadhb.c:126:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). *num = atoi(tmp); /*sscanf(tmp, "%d", num);*/ data/superlu-5.2.2+dfsg1/SRC/dreadhb.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). *size = atoi(tmp); /*sscanf(tmp, "%2d", size);*/ data/superlu-5.2.2+dfsg1/SRC/dreadhb.c:143:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp, buf[100]; data/superlu-5.2.2+dfsg1/SRC/dreadhb.c:151: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). item = atoi(&buf[j*persize]); data/superlu-5.2.2+dfsg1/SRC/dreadhb.c:163:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp, buf[100]; data/superlu-5.2.2+dfsg1/SRC/dreadhb.c:291:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[100], type[4], key[10]; data/superlu-5.2.2+dfsg1/SRC/dreadrb.c:114: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). *num = atoi(tmp); /*sscanf(tmp, "%d", num);*/ data/superlu-5.2.2+dfsg1/SRC/dreadrb.c:121:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). *num = atoi(tmp); /*sscanf(tmp, "%d", num);*/ data/superlu-5.2.2+dfsg1/SRC/dreadrb.c:130: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). *size = atoi(tmp); /*sscanf(tmp, "%2d", size);*/ data/superlu-5.2.2+dfsg1/SRC/dreadrb.c:138:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp, buf[100]; data/superlu-5.2.2+dfsg1/SRC/dreadrb.c:146:20: [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). item = atoi(&buf[j*persize]); data/superlu-5.2.2+dfsg1/SRC/dreadrb.c:159:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp, buf[100]; data/superlu-5.2.2+dfsg1/SRC/dreadrb.c:288:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[100], type[4]; data/superlu-5.2.2+dfsg1/SRC/dreadtriple.c:137: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 *fp, *fopen(); data/superlu-5.2.2+dfsg1/SRC/dreadtriple.c:141:17: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( !(fp = fopen("b.dat", "r")) ) { data/superlu-5.2.2+dfsg1/SRC/dutil.c:374:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char transc[1]; data/superlu-5.2.2+dfsg1/SRC/sgsisx.c:419:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char norm[1]; data/superlu-5.2.2+dfsg1/SRC/sgsrfs.c:166:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char transc[1]; data/superlu-5.2.2+dfsg1/SRC/sgssvx.c:373:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char norm[1]; data/superlu-5.2.2+dfsg1/SRC/slu_util.h:65:4: [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/superlu-5.2.2+dfsg1/SRC/sreadMM.c:42:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char *p, line[512], banner[64], mtx[64], crd[64], arith[64], sym[64]; data/superlu-5.2.2+dfsg1/SRC/sreadMM.c:220: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 *fp, *fopen(); data/superlu-5.2.2+dfsg1/SRC/sreadMM.c:223:17: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( !(fp = fopen("b.dat", "r")) ) { data/superlu-5.2.2+dfsg1/SRC/sreadhb.c:119: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). *num = atoi(tmp); /*sscanf(tmp, "%d", num);*/ data/superlu-5.2.2+dfsg1/SRC/sreadhb.c:126:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). *num = atoi(tmp); /*sscanf(tmp, "%d", num);*/ data/superlu-5.2.2+dfsg1/SRC/sreadhb.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). *size = atoi(tmp); /*sscanf(tmp, "%2d", size);*/ data/superlu-5.2.2+dfsg1/SRC/sreadhb.c:143:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp, buf[100]; data/superlu-5.2.2+dfsg1/SRC/sreadhb.c:151: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). item = atoi(&buf[j*persize]); data/superlu-5.2.2+dfsg1/SRC/sreadhb.c:163:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp, buf[100]; data/superlu-5.2.2+dfsg1/SRC/sreadhb.c:291:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[100], type[4], key[10]; data/superlu-5.2.2+dfsg1/SRC/sreadrb.c:114: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). *num = atoi(tmp); /*sscanf(tmp, "%d", num);*/ data/superlu-5.2.2+dfsg1/SRC/sreadrb.c:121:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). *num = atoi(tmp); /*sscanf(tmp, "%d", num);*/ data/superlu-5.2.2+dfsg1/SRC/sreadrb.c:130: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). *size = atoi(tmp); /*sscanf(tmp, "%2d", size);*/ data/superlu-5.2.2+dfsg1/SRC/sreadrb.c:138:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp, buf[100]; data/superlu-5.2.2+dfsg1/SRC/sreadrb.c:146:20: [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). item = atoi(&buf[j*persize]); data/superlu-5.2.2+dfsg1/SRC/sreadrb.c:159:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp, buf[100]; data/superlu-5.2.2+dfsg1/SRC/sreadrb.c:288:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[100], type[4]; data/superlu-5.2.2+dfsg1/SRC/sreadtriple.c:137: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 *fp, *fopen(); data/superlu-5.2.2+dfsg1/SRC/sreadtriple.c:141:17: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( !(fp = fopen("b.dat", "r")) ) { data/superlu-5.2.2+dfsg1/SRC/sutil.c:374:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char transc[1]; data/superlu-5.2.2+dfsg1/SRC/zgsisx.c:419:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char norm[1]; data/superlu-5.2.2+dfsg1/SRC/zgsrfs.c:166:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char transc[1]; data/superlu-5.2.2+dfsg1/SRC/zgssvx.c:373:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char norm[1]; data/superlu-5.2.2+dfsg1/SRC/zreadMM.c:42:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char *p, line[512], banner[64], mtx[64], crd[64], arith[64], sym[64]; data/superlu-5.2.2+dfsg1/SRC/zreadMM.c:227: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 *fp, *fopen(); data/superlu-5.2.2+dfsg1/SRC/zreadMM.c:230:17: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( !(fp = fopen("b.dat", "r")) ) { data/superlu-5.2.2+dfsg1/SRC/zreadhb.c:119: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). *num = atoi(tmp); /*sscanf(tmp, "%d", num);*/ data/superlu-5.2.2+dfsg1/SRC/zreadhb.c:126:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). *num = atoi(tmp); /*sscanf(tmp, "%d", num);*/ data/superlu-5.2.2+dfsg1/SRC/zreadhb.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). *size = atoi(tmp); /*sscanf(tmp, "%2d", size);*/ data/superlu-5.2.2+dfsg1/SRC/zreadhb.c:143:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp, buf[100]; data/superlu-5.2.2+dfsg1/SRC/zreadhb.c:151: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). item = atoi(&buf[j*persize]); data/superlu-5.2.2+dfsg1/SRC/zreadhb.c:165:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp, buf[100]; data/superlu-5.2.2+dfsg1/SRC/zreadhb.c:301:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[100], type[4], key[10]; data/superlu-5.2.2+dfsg1/SRC/zreadrb.c:114: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). *num = atoi(tmp); /*sscanf(tmp, "%d", num);*/ data/superlu-5.2.2+dfsg1/SRC/zreadrb.c:121:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). *num = atoi(tmp); /*sscanf(tmp, "%d", num);*/ data/superlu-5.2.2+dfsg1/SRC/zreadrb.c:130: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). *size = atoi(tmp); /*sscanf(tmp, "%2d", size);*/ data/superlu-5.2.2+dfsg1/SRC/zreadrb.c:138:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp, buf[100]; data/superlu-5.2.2+dfsg1/SRC/zreadrb.c:146:20: [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). item = atoi(&buf[j*persize]); data/superlu-5.2.2+dfsg1/SRC/zreadrb.c:160:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp, buf[100]; data/superlu-5.2.2+dfsg1/SRC/zreadrb.c:297:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[100], type[4]; data/superlu-5.2.2+dfsg1/SRC/zreadtriple.c:137: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 *fp, *fopen(); data/superlu-5.2.2+dfsg1/SRC/zreadtriple.c:141:17: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( !(fp = fopen("b.dat", "r")) ) { data/superlu-5.2.2+dfsg1/SRC/zutil.c:376:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char transc[1]; data/superlu-5.2.2+dfsg1/TESTING/MATGEN/clatb4.c:29:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char c2[2]; data/superlu-5.2.2+dfsg1/TESTING/MATGEN/dlatb4.c:29:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char c2[2]; data/superlu-5.2.2+dfsg1/TESTING/MATGEN/slatb4.c:29:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char c2[2]; data/superlu-5.2.2+dfsg1/TESTING/MATGEN/zlatb4.c:30:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char c2[2]; data/superlu-5.2.2+dfsg1/TESTING/cdrive.c:92:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char matrix_type[8]; data/superlu-5.2.2+dfsg1/TESTING/cdrive.c:93:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char equed[1], path[4], sym[1], dist[1]; data/superlu-5.2.2+dfsg1/TESTING/cdrive.c:124:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(path, "CGE"); data/superlu-5.2.2+dfsg1/TESTING/cdrive.c:136:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(matrix_type, "LA"); data/superlu-5.2.2+dfsg1/TESTING/cdrive.c:546:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). case 'n': *n = atoi(optarg); data/superlu-5.2.2+dfsg1/TESTING/cdrive.c:548:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). case 'w': *w = atoi(optarg); data/superlu-5.2.2+dfsg1/TESTING/cdrive.c:550:23: [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). case 'r': *relax = atoi(optarg); data/superlu-5.2.2+dfsg1/TESTING/cdrive.c:552: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). case 's': *nrhs = atoi(optarg); data/superlu-5.2.2+dfsg1/TESTING/cdrive.c:554:26: [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). case 'm': *maxsuper = atoi(optarg); data/superlu-5.2.2+dfsg1/TESTING/cdrive.c:556:24: [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). case 'b': *rowblk = atoi(optarg); data/superlu-5.2.2+dfsg1/TESTING/cdrive.c:558:24: [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). case 'c': *colblk = atoi(optarg); data/superlu-5.2.2+dfsg1/TESTING/cdrive.c:560:23: [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). case 'l': *lwork = atoi(optarg); data/superlu-5.2.2+dfsg1/TESTING/cdrive.c:565:34: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( !(*fp = fopen(optarg, "r")) ) { data/superlu-5.2.2+dfsg1/TESTING/cgst02.c:93:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char transc[1]; data/superlu-5.2.2+dfsg1/TESTING/ddrive.c:92:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char matrix_type[8]; data/superlu-5.2.2+dfsg1/TESTING/ddrive.c:93:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char equed[1], path[4], sym[1], dist[1]; data/superlu-5.2.2+dfsg1/TESTING/ddrive.c:124:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(path, "DGE"); data/superlu-5.2.2+dfsg1/TESTING/ddrive.c:136:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(matrix_type, "LA"); data/superlu-5.2.2+dfsg1/TESTING/ddrive.c:546:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). case 'n': *n = atoi(optarg); data/superlu-5.2.2+dfsg1/TESTING/ddrive.c:548:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). case 'w': *w = atoi(optarg); data/superlu-5.2.2+dfsg1/TESTING/ddrive.c:550:23: [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). case 'r': *relax = atoi(optarg); data/superlu-5.2.2+dfsg1/TESTING/ddrive.c:552: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). case 's': *nrhs = atoi(optarg); data/superlu-5.2.2+dfsg1/TESTING/ddrive.c:554:26: [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). case 'm': *maxsuper = atoi(optarg); data/superlu-5.2.2+dfsg1/TESTING/ddrive.c:556:24: [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). case 'b': *rowblk = atoi(optarg); data/superlu-5.2.2+dfsg1/TESTING/ddrive.c:558:24: [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). case 'c': *colblk = atoi(optarg); data/superlu-5.2.2+dfsg1/TESTING/ddrive.c:560:23: [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). case 'l': *lwork = atoi(optarg); data/superlu-5.2.2+dfsg1/TESTING/ddrive.c:565:34: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( !(*fp = fopen(optarg, "r")) ) { data/superlu-5.2.2+dfsg1/TESTING/dgst02.c:93:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char transc[1]; data/superlu-5.2.2+dfsg1/TESTING/sdrive.c:92:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char matrix_type[8]; data/superlu-5.2.2+dfsg1/TESTING/sdrive.c:93:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char equed[1], path[4], sym[1], dist[1]; data/superlu-5.2.2+dfsg1/TESTING/sdrive.c:124:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(path, "SGE"); data/superlu-5.2.2+dfsg1/TESTING/sdrive.c:136:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(matrix_type, "LA"); data/superlu-5.2.2+dfsg1/TESTING/sdrive.c:546:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). case 'n': *n = atoi(optarg); data/superlu-5.2.2+dfsg1/TESTING/sdrive.c:548:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). case 'w': *w = atoi(optarg); data/superlu-5.2.2+dfsg1/TESTING/sdrive.c:550:23: [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). case 'r': *relax = atoi(optarg); data/superlu-5.2.2+dfsg1/TESTING/sdrive.c:552: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). case 's': *nrhs = atoi(optarg); data/superlu-5.2.2+dfsg1/TESTING/sdrive.c:554:26: [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). case 'm': *maxsuper = atoi(optarg); data/superlu-5.2.2+dfsg1/TESTING/sdrive.c:556:24: [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). case 'b': *rowblk = atoi(optarg); data/superlu-5.2.2+dfsg1/TESTING/sdrive.c:558:24: [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). case 'c': *colblk = atoi(optarg); data/superlu-5.2.2+dfsg1/TESTING/sdrive.c:560:23: [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). case 'l': *lwork = atoi(optarg); data/superlu-5.2.2+dfsg1/TESTING/sdrive.c:565:34: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( !(*fp = fopen(optarg, "r")) ) { data/superlu-5.2.2+dfsg1/TESTING/sgst02.c:93:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char transc[1]; data/superlu-5.2.2+dfsg1/TESTING/zdrive.c:92:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char matrix_type[8]; data/superlu-5.2.2+dfsg1/TESTING/zdrive.c:93:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char equed[1], path[4], sym[1], dist[1]; data/superlu-5.2.2+dfsg1/TESTING/zdrive.c:124:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(path, "ZGE"); data/superlu-5.2.2+dfsg1/TESTING/zdrive.c:136:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(matrix_type, "LA"); data/superlu-5.2.2+dfsg1/TESTING/zdrive.c:546:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). case 'n': *n = atoi(optarg); data/superlu-5.2.2+dfsg1/TESTING/zdrive.c:548:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). case 'w': *w = atoi(optarg); data/superlu-5.2.2+dfsg1/TESTING/zdrive.c:550:23: [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). case 'r': *relax = atoi(optarg); data/superlu-5.2.2+dfsg1/TESTING/zdrive.c:552: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). case 's': *nrhs = atoi(optarg); data/superlu-5.2.2+dfsg1/TESTING/zdrive.c:554:26: [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). case 'm': *maxsuper = atoi(optarg); data/superlu-5.2.2+dfsg1/TESTING/zdrive.c:556:24: [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). case 'b': *rowblk = atoi(optarg); data/superlu-5.2.2+dfsg1/TESTING/zdrive.c:558:24: [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). case 'c': *colblk = atoi(optarg); data/superlu-5.2.2+dfsg1/TESTING/zdrive.c:560:23: [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). case 'l': *lwork = atoi(optarg); data/superlu-5.2.2+dfsg1/TESTING/zdrive.c:565:34: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( !(*fp = fopen(optarg, "r")) ) { data/superlu-5.2.2+dfsg1/TESTING/zgst02.c:93:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char transc[1]; data/superlu-5.2.2+dfsg1/SRC/ccolumn_bmod.c:74:32: [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). _fcd ftcs1 = _cptofcd("L", strlen("L")), data/superlu-5.2.2+dfsg1/SRC/ccolumn_bmod.c:75:32: [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). ftcs2 = _cptofcd("N", strlen("N")), data/superlu-5.2.2+dfsg1/SRC/ccolumn_bmod.c:76:32: [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). ftcs3 = _cptofcd("U", strlen("U")); data/superlu-5.2.2+dfsg1/SRC/cgstrs.c:193:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ftcs1 = _cptofcd("L", strlen("L")); data/superlu-5.2.2+dfsg1/SRC/cgstrs.c:194:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ftcs2 = _cptofcd("N", strlen("N")); data/superlu-5.2.2+dfsg1/SRC/cgstrs.c:195:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ftcs3 = _cptofcd("U", strlen("U")); data/superlu-5.2.2+dfsg1/SRC/cgstrs.c:268:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ftcs1 = _cptofcd("L", strlen("L")); data/superlu-5.2.2+dfsg1/SRC/cgstrs.c:269:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ftcs2 = _cptofcd("U", strlen("U")); data/superlu-5.2.2+dfsg1/SRC/cgstrs.c:270:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ftcs3 = _cptofcd("N", strlen("N")); data/superlu-5.2.2+dfsg1/SRC/cpanel_bmod.c:85:32: [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). _fcd ftcs1 = _cptofcd("L", strlen("L")), data/superlu-5.2.2+dfsg1/SRC/cpanel_bmod.c:86:32: [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). ftcs2 = _cptofcd("N", strlen("N")), data/superlu-5.2.2+dfsg1/SRC/cpanel_bmod.c:87:32: [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). ftcs3 = _cptofcd("U", strlen("U")); data/superlu-5.2.2+dfsg1/SRC/creadhb.c:96:17: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while ((c = fgetc(fp)) != '\n') ; data/superlu-5.2.2+dfsg1/SRC/creadrb.c:91:17: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while ((c = fgetc(fp)) != '\n') ; data/superlu-5.2.2+dfsg1/SRC/csnode_bmod.c:53:32: [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). _fcd ftcs1 = _cptofcd("L", strlen("L")), data/superlu-5.2.2+dfsg1/SRC/csnode_bmod.c:54:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ftcs2 = _cptofcd("N", strlen("N")), data/superlu-5.2.2+dfsg1/SRC/csnode_bmod.c:55:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ftcs3 = _cptofcd("U", strlen("U")); data/superlu-5.2.2+dfsg1/SRC/csp_blas2.c:97:32: [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). _fcd ftcs1 = _cptofcd("L", strlen("L")), data/superlu-5.2.2+dfsg1/SRC/csp_blas2.c:98:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ftcs2 = _cptofcd("N", strlen("N")), data/superlu-5.2.2+dfsg1/SRC/csp_blas2.c:99:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ftcs3 = _cptofcd("U", strlen("U")); data/superlu-5.2.2+dfsg1/SRC/csp_blas2.c:271:43: [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). ftcs1 = _cptofcd("L", strlen("L")); data/superlu-5.2.2+dfsg1/SRC/csp_blas2.c:272:43: [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). ftcs2 = _cptofcd("T", strlen("T")); data/superlu-5.2.2+dfsg1/SRC/csp_blas2.c:273:43: [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). ftcs3 = _cptofcd("U", strlen("U")); data/superlu-5.2.2+dfsg1/SRC/csp_blas2.c:308:43: [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). ftcs1 = _cptofcd("U", strlen("U")); data/superlu-5.2.2+dfsg1/SRC/csp_blas2.c:309:43: [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). ftcs2 = _cptofcd("T", strlen("T")); data/superlu-5.2.2+dfsg1/SRC/csp_blas2.c:310:43: [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). ftcs3 = _cptofcd("N", strlen("N")); data/superlu-5.2.2+dfsg1/SRC/csp_blas2.c:350:43: [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). ftcs1 = _cptofcd("L", strlen("L")); data/superlu-5.2.2+dfsg1/SRC/csp_blas2.c:351:45: [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). ftcs2 = _cptofcd(trans, strlen("T")); data/superlu-5.2.2+dfsg1/SRC/csp_blas2.c:352:43: [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). ftcs3 = _cptofcd("U", strlen("U")); data/superlu-5.2.2+dfsg1/SRC/csp_blas2.c:389:43: [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). ftcs1 = _cptofcd("U", strlen("U")); data/superlu-5.2.2+dfsg1/SRC/csp_blas2.c:390:45: [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). ftcs2 = _cptofcd(trans, strlen("T")); data/superlu-5.2.2+dfsg1/SRC/csp_blas2.c:391:43: [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). ftcs3 = _cptofcd("N", strlen("N")); data/superlu-5.2.2+dfsg1/SRC/dcolumn_bmod.c:74:32: [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). _fcd ftcs1 = _cptofcd("L", strlen("L")), data/superlu-5.2.2+dfsg1/SRC/dcolumn_bmod.c:75:32: [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). ftcs2 = _cptofcd("N", strlen("N")), data/superlu-5.2.2+dfsg1/SRC/dcolumn_bmod.c:76:32: [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). ftcs3 = _cptofcd("U", strlen("U")); data/superlu-5.2.2+dfsg1/SRC/dgstrs.c:191:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ftcs1 = _cptofcd("L", strlen("L")); data/superlu-5.2.2+dfsg1/SRC/dgstrs.c:192:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ftcs2 = _cptofcd("N", strlen("N")); data/superlu-5.2.2+dfsg1/SRC/dgstrs.c:193:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ftcs3 = _cptofcd("U", strlen("U")); data/superlu-5.2.2+dfsg1/SRC/dgstrs.c:264:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ftcs1 = _cptofcd("L", strlen("L")); data/superlu-5.2.2+dfsg1/SRC/dgstrs.c:265:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ftcs2 = _cptofcd("U", strlen("U")); data/superlu-5.2.2+dfsg1/SRC/dgstrs.c:266:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ftcs3 = _cptofcd("N", strlen("N")); data/superlu-5.2.2+dfsg1/SRC/dpanel_bmod.c:85:32: [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). _fcd ftcs1 = _cptofcd("L", strlen("L")), data/superlu-5.2.2+dfsg1/SRC/dpanel_bmod.c:86:32: [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). ftcs2 = _cptofcd("N", strlen("N")), data/superlu-5.2.2+dfsg1/SRC/dpanel_bmod.c:87:32: [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). ftcs3 = _cptofcd("U", strlen("U")); data/superlu-5.2.2+dfsg1/SRC/dreadhb.c:96:17: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while ((c = fgetc(fp)) != '\n') ; data/superlu-5.2.2+dfsg1/SRC/dreadrb.c:91:17: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while ((c = fgetc(fp)) != '\n') ; data/superlu-5.2.2+dfsg1/SRC/dsnode_bmod.c:53:32: [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). _fcd ftcs1 = _cptofcd("L", strlen("L")), data/superlu-5.2.2+dfsg1/SRC/dsnode_bmod.c:54:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ftcs2 = _cptofcd("N", strlen("N")), data/superlu-5.2.2+dfsg1/SRC/dsnode_bmod.c:55:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ftcs3 = _cptofcd("U", strlen("U")); data/superlu-5.2.2+dfsg1/SRC/dsp_blas2.c:97:32: [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). _fcd ftcs1 = _cptofcd("L", strlen("L")), data/superlu-5.2.2+dfsg1/SRC/dsp_blas2.c:98:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ftcs2 = _cptofcd("N", strlen("N")), data/superlu-5.2.2+dfsg1/SRC/dsp_blas2.c:99:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ftcs3 = _cptofcd("U", strlen("U")); data/superlu-5.2.2+dfsg1/SRC/dsp_blas2.c:263:43: [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). ftcs1 = _cptofcd("L", strlen("L")); data/superlu-5.2.2+dfsg1/SRC/dsp_blas2.c:264:43: [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). ftcs2 = _cptofcd("T", strlen("T")); data/superlu-5.2.2+dfsg1/SRC/dsp_blas2.c:265:43: [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). ftcs3 = _cptofcd("U", strlen("U")); data/superlu-5.2.2+dfsg1/SRC/dsp_blas2.c:298:43: [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). ftcs1 = _cptofcd("U", strlen("U")); data/superlu-5.2.2+dfsg1/SRC/dsp_blas2.c:299:43: [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). ftcs2 = _cptofcd("T", strlen("T")); data/superlu-5.2.2+dfsg1/SRC/dsp_blas2.c:300:43: [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). ftcs3 = _cptofcd("N", strlen("N")); data/superlu-5.2.2+dfsg1/SRC/scolumn_bmod.c:74:32: [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). _fcd ftcs1 = _cptofcd("L", strlen("L")), data/superlu-5.2.2+dfsg1/SRC/scolumn_bmod.c:75:32: [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). ftcs2 = _cptofcd("N", strlen("N")), data/superlu-5.2.2+dfsg1/SRC/scolumn_bmod.c:76:32: [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). ftcs3 = _cptofcd("U", strlen("U")); data/superlu-5.2.2+dfsg1/SRC/sgstrs.c:191:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ftcs1 = _cptofcd("L", strlen("L")); data/superlu-5.2.2+dfsg1/SRC/sgstrs.c:192:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ftcs2 = _cptofcd("N", strlen("N")); data/superlu-5.2.2+dfsg1/SRC/sgstrs.c:193:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ftcs3 = _cptofcd("U", strlen("U")); data/superlu-5.2.2+dfsg1/SRC/sgstrs.c:264:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ftcs1 = _cptofcd("L", strlen("L")); data/superlu-5.2.2+dfsg1/SRC/sgstrs.c:265:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ftcs2 = _cptofcd("U", strlen("U")); data/superlu-5.2.2+dfsg1/SRC/sgstrs.c:266:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ftcs3 = _cptofcd("N", strlen("N")); data/superlu-5.2.2+dfsg1/SRC/spanel_bmod.c:85:32: [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). _fcd ftcs1 = _cptofcd("L", strlen("L")), data/superlu-5.2.2+dfsg1/SRC/spanel_bmod.c:86:32: [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). ftcs2 = _cptofcd("N", strlen("N")), data/superlu-5.2.2+dfsg1/SRC/spanel_bmod.c:87:32: [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). ftcs3 = _cptofcd("U", strlen("U")); data/superlu-5.2.2+dfsg1/SRC/sreadhb.c:96:17: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while ((c = fgetc(fp)) != '\n') ; data/superlu-5.2.2+dfsg1/SRC/sreadrb.c:91:17: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while ((c = fgetc(fp)) != '\n') ; data/superlu-5.2.2+dfsg1/SRC/ssnode_bmod.c:53:32: [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). _fcd ftcs1 = _cptofcd("L", strlen("L")), data/superlu-5.2.2+dfsg1/SRC/ssnode_bmod.c:54:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ftcs2 = _cptofcd("N", strlen("N")), data/superlu-5.2.2+dfsg1/SRC/ssnode_bmod.c:55:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ftcs3 = _cptofcd("U", strlen("U")); data/superlu-5.2.2+dfsg1/SRC/ssp_blas2.c:97:32: [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). _fcd ftcs1 = _cptofcd("L", strlen("L")), data/superlu-5.2.2+dfsg1/SRC/ssp_blas2.c:98:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ftcs2 = _cptofcd("N", strlen("N")), data/superlu-5.2.2+dfsg1/SRC/ssp_blas2.c:99:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ftcs3 = _cptofcd("U", strlen("U")); data/superlu-5.2.2+dfsg1/SRC/ssp_blas2.c:263:43: [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). ftcs1 = _cptofcd("L", strlen("L")); data/superlu-5.2.2+dfsg1/SRC/ssp_blas2.c:264:43: [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). ftcs2 = _cptofcd("T", strlen("T")); data/superlu-5.2.2+dfsg1/SRC/ssp_blas2.c:265:43: [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). ftcs3 = _cptofcd("U", strlen("U")); data/superlu-5.2.2+dfsg1/SRC/ssp_blas2.c:298:43: [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). ftcs1 = _cptofcd("U", strlen("U")); data/superlu-5.2.2+dfsg1/SRC/ssp_blas2.c:299:43: [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). ftcs2 = _cptofcd("T", strlen("T")); data/superlu-5.2.2+dfsg1/SRC/ssp_blas2.c:300:43: [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). ftcs3 = _cptofcd("N", strlen("N")); data/superlu-5.2.2+dfsg1/SRC/zcolumn_bmod.c:74:32: [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). _fcd ftcs1 = _cptofcd("L", strlen("L")), data/superlu-5.2.2+dfsg1/SRC/zcolumn_bmod.c:75:32: [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). ftcs2 = _cptofcd("N", strlen("N")), data/superlu-5.2.2+dfsg1/SRC/zcolumn_bmod.c:76:32: [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). ftcs3 = _cptofcd("U", strlen("U")); data/superlu-5.2.2+dfsg1/SRC/zgstrs.c:193:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ftcs1 = _cptofcd("L", strlen("L")); data/superlu-5.2.2+dfsg1/SRC/zgstrs.c:194:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ftcs2 = _cptofcd("N", strlen("N")); data/superlu-5.2.2+dfsg1/SRC/zgstrs.c:195:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ftcs3 = _cptofcd("U", strlen("U")); data/superlu-5.2.2+dfsg1/SRC/zgstrs.c:268:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ftcs1 = _cptofcd("L", strlen("L")); data/superlu-5.2.2+dfsg1/SRC/zgstrs.c:269:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ftcs2 = _cptofcd("U", strlen("U")); data/superlu-5.2.2+dfsg1/SRC/zgstrs.c:270:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ftcs3 = _cptofcd("N", strlen("N")); data/superlu-5.2.2+dfsg1/SRC/zpanel_bmod.c:85:32: [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). _fcd ftcs1 = _cptofcd("L", strlen("L")), data/superlu-5.2.2+dfsg1/SRC/zpanel_bmod.c:86:32: [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). ftcs2 = _cptofcd("N", strlen("N")), data/superlu-5.2.2+dfsg1/SRC/zpanel_bmod.c:87:32: [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). ftcs3 = _cptofcd("U", strlen("U")); data/superlu-5.2.2+dfsg1/SRC/zreadhb.c:96:17: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while ((c = fgetc(fp)) != '\n') ; data/superlu-5.2.2+dfsg1/SRC/zreadrb.c:91:17: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while ((c = fgetc(fp)) != '\n') ; data/superlu-5.2.2+dfsg1/SRC/zsnode_bmod.c:53:32: [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). _fcd ftcs1 = _cptofcd("L", strlen("L")), data/superlu-5.2.2+dfsg1/SRC/zsnode_bmod.c:54:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ftcs2 = _cptofcd("N", strlen("N")), data/superlu-5.2.2+dfsg1/SRC/zsnode_bmod.c:55:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ftcs3 = _cptofcd("U", strlen("U")); data/superlu-5.2.2+dfsg1/SRC/zsp_blas2.c:97:32: [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). _fcd ftcs1 = _cptofcd("L", strlen("L")), data/superlu-5.2.2+dfsg1/SRC/zsp_blas2.c:98:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ftcs2 = _cptofcd("N", strlen("N")), data/superlu-5.2.2+dfsg1/SRC/zsp_blas2.c:99:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ftcs3 = _cptofcd("U", strlen("U")); data/superlu-5.2.2+dfsg1/SRC/zsp_blas2.c:271:43: [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). ftcs1 = _cptofcd("L", strlen("L")); data/superlu-5.2.2+dfsg1/SRC/zsp_blas2.c:272:43: [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). ftcs2 = _cptofcd("T", strlen("T")); data/superlu-5.2.2+dfsg1/SRC/zsp_blas2.c:273:43: [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). ftcs3 = _cptofcd("U", strlen("U")); data/superlu-5.2.2+dfsg1/SRC/zsp_blas2.c:308:43: [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). ftcs1 = _cptofcd("U", strlen("U")); data/superlu-5.2.2+dfsg1/SRC/zsp_blas2.c:309:43: [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). ftcs2 = _cptofcd("T", strlen("T")); data/superlu-5.2.2+dfsg1/SRC/zsp_blas2.c:310:43: [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). ftcs3 = _cptofcd("N", strlen("N")); data/superlu-5.2.2+dfsg1/SRC/zsp_blas2.c:350:43: [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). ftcs1 = _cptofcd("L", strlen("L")); data/superlu-5.2.2+dfsg1/SRC/zsp_blas2.c:351:45: [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). ftcs2 = _cptofcd(trans, strlen("T")); data/superlu-5.2.2+dfsg1/SRC/zsp_blas2.c:352:43: [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). ftcs3 = _cptofcd("U", strlen("U")); data/superlu-5.2.2+dfsg1/SRC/zsp_blas2.c:389:43: [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). ftcs1 = _cptofcd("U", strlen("U")); data/superlu-5.2.2+dfsg1/SRC/zsp_blas2.c:390:45: [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). ftcs2 = _cptofcd(trans, strlen("T")); data/superlu-5.2.2+dfsg1/SRC/zsp_blas2.c:391:43: [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). ftcs3 = _cptofcd("N", strlen("N")); data/superlu-5.2.2+dfsg1/TESTING/MATGEN/clatb4.c:116:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(c2, path + 1, 2); data/superlu-5.2.2+dfsg1/TESTING/MATGEN/dlatb4.c:113:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(c2, path + 1, 2); data/superlu-5.2.2+dfsg1/TESTING/MATGEN/slatb4.c:115:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(c2, path + 1, 2); data/superlu-5.2.2+dfsg1/TESTING/MATGEN/zlatb4.c:117:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(c2, path + 1, 2); ANALYSIS SUMMARY: Hits = 408 Lines analyzed = 109537 in approximately 3.17 seconds (34557 lines/second) Physical Source Lines of Code (SLOC) = 60401 Hits@level = [0] 1609 [1] 120 [2] 232 [3] 22 [4] 34 [5] 0 Hits@level+ = [0+] 2017 [1+] 408 [2+] 288 [3+] 56 [4+] 34 [5+] 0 Hits/KSLOC@level+ = [0+] 33.3935 [1+] 6.75486 [2+] 4.76813 [3+] 0.927137 [4+] 0.562905 [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.