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-dist-6.2.0+dfsg1/CBLAS/caxpy.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/ccopy.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/cdotc.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/cgemv.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/cgerc.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/cgeru.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/chemv.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/cher2.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/cscal.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/ctrsv.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/dasum.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/daxpy.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/dcabs1.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/dcopy.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/ddot.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/dgemm.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/dgemv.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/dger.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/dnrm2.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/drot.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/dscal.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/dsymv.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/dsyr2.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/dtrsm.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/dtrsv.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/dzasum.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/dznrm2.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/f2c.h
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/icamax.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/idamax.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/input_error_dist.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/isamax.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/izamax.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/sasum.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/saxpy.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/scasum.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/scnrm2.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/scopy.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/sdot.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/sgemv.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/sger.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/snrm2.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/srot.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/sscal.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/ssymv.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/ssyr2.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/strsv.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/superlu_f2c.h
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/z_internal.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/zaxpy.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/zcopy.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/zdotc.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/zgemm.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/zgemv.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/zgerc.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/zgeru.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/zhemv.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/zher2.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/zscal.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/ztrsm.c
Examining data/superlu-dist-6.2.0+dfsg1/CBLAS/ztrsv.c
Examining data/superlu-dist-6.2.0+dfsg1/EXAMPLE/dcreate_matrix.c
Examining data/superlu-dist-6.2.0+dfsg1/EXAMPLE/dcreate_matrix_perturbed.c
Examining data/superlu-dist-6.2.0+dfsg1/EXAMPLE/dreadhb.c
Examining data/superlu-dist-6.2.0+dfsg1/EXAMPLE/dreadtriple.c
Examining data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive.c
Examining data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive1.c
Examining data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive1_ABglobal.c
Examining data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive2.c
Examining data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive2_ABglobal.c
Examining data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive3.c
Examining data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive3_ABglobal.c
Examining data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive4.c
Examining data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive4_ABglobal.c
Examining data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive_ABglobal.c
Examining data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive.c
Examining data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive1.c
Examining data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive1_ABglobal.c
Examining data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive2.c
Examining data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive2_ABglobal.c
Examining data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive3.c
Examining data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive3_ABglobal.c
Examining data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive4.c
Examining data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive4_ABglobal.c
Examining data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive_ABglobal.c
Examining data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzgsmv.c
Examining data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzgstrs_Bglobal_Bsend.c
Examining data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzgstrs_lsum_Bsend.c
Examining data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzutil.c
Examining data/superlu-dist-6.2.0+dfsg1/EXAMPLE/sp_ienv.c
Examining data/superlu-dist-6.2.0+dfsg1/EXAMPLE/zcreate_matrix.c
Examining data/superlu-dist-6.2.0+dfsg1/EXAMPLE/zcreate_matrix_perturbed.c
Examining data/superlu-dist-6.2.0+dfsg1/EXAMPLE/zlook_ahead_update.c
Examining data/superlu-dist-6.2.0+dfsg1/EXAMPLE/zreadhb.c
Examining data/superlu-dist-6.2.0+dfsg1/EXAMPLE/zreadtriple.c
Examining data/superlu-dist-6.2.0+dfsg1/FORTRAN/c_fortran_pdgssvx_ABglobal.c
Examining data/superlu-dist-6.2.0+dfsg1/FORTRAN/c_fortran_slugrid.c
Examining data/superlu-dist-6.2.0+dfsg1/FORTRAN/dcreate_dist_matrix.c
Examining data/superlu-dist-6.2.0+dfsg1/FORTRAN/sp_ienv.c
Examining data/superlu-dist-6.2.0+dfsg1/FORTRAN/superlu_c2f_dwrap.c
Examining data/superlu-dist-6.2.0+dfsg1/FORTRAN/superlu_c2f_zwrap.c
Examining data/superlu-dist-6.2.0+dfsg1/FORTRAN/zcreate_dist_matrix.c
Examining data/superlu-dist-6.2.0+dfsg1/INSTALL/dmachtst.c
Examining data/superlu-dist-6.2.0+dfsg1/INSTALL/smachtst.c
Examining data/superlu-dist-6.2.0+dfsg1/INSTALL/timertst.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/Cnames.h
Examining data/superlu-dist-6.2.0+dfsg1/SRC/TreeBcast_slu.hpp
Examining data/superlu-dist-6.2.0+dfsg1/SRC/TreeBcast_slu_impl.hpp
Examining data/superlu-dist-6.2.0+dfsg1/SRC/TreeInterface.cpp
Examining data/superlu-dist-6.2.0+dfsg1/SRC/TreeReduce_slu.hpp
Examining data/superlu-dist-6.2.0+dfsg1/SRC/TreeReduce_slu_impl.hpp
Examining data/superlu-dist-6.2.0+dfsg1/SRC/c2cpp_GetAWPM.cpp
Examining data/superlu-dist-6.2.0+dfsg1/SRC/colamd.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/colamd.h
Examining data/superlu-dist-6.2.0+dfsg1/SRC/comm.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/cublas_utils.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/cublas_utils.h
Examining data/superlu-dist-6.2.0+dfsg1/SRC/dSchCompUdt-2Ddynamic.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/dSchCompUdt-cuda.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/dbinary_io.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/dcomplex.h
Examining data/superlu-dist-6.2.0+dfsg1/SRC/dcomplex_dist.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/ddistribute.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/dgsequ_dist.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/dlangs_dist.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/dlaqgs_dist.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/dldperm_dist.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/dlook_ahead_update.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/dmach_dist.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/dmemory_dist.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/dmyblas2_dist.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/dreadMM.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/dreadhb.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/dreadrb.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/dreadtriple.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/dreadtriple_noheader.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/dscatter.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/dsp_blas2_dist.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/dsp_blas3_dist.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/dutil_dist.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/etree.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/get_perm_c.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/get_perm_c_parmetis.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/html_mainpage.h
Examining data/superlu-dist-6.2.0+dfsg1/SRC/machines.h
Examining data/superlu-dist-6.2.0+dfsg1/SRC/memory.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/mmd.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/old_colamd.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/old_colamd.h
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pdGetDiagU.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pddistribute.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pdgsequ.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pdgsmv.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pdgsmv_AXglobal.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pdgsrfs.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pdgsrfs_ABXglobal.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pdgssvx.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pdgssvx_ABglobal.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pdgstrf.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pdgstrf2.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pdgstrf_X1.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pdgstrf_irecv.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pdgstrf_sherry.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pdgstrs.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pdgstrs1.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pdgstrsL.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pdgstrs_Bglobal.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pdgstrs_Bglobal_Bsend.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pdgstrs_lsum.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pdlangs.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pdlaqgs.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pdsymbfact_distdata.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pdutil.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/psymbfact.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/psymbfact.h
Examining data/superlu-dist-6.2.0+dfsg1/SRC/psymbfact_util.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pxerr_dist.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pzGetDiagU.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pzdistribute.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pzgsequ.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pzgsmv.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pzgsmv_AXglobal.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pzgsrfs.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pzgsrfs_ABXglobal.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pzgssvx.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pzgssvx_ABglobal.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pzgstrf.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pzgstrf2.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pzgstrf_irecv.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pzgstrs.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pzgstrs1.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pzgstrs_Bglobal.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pzgstrs_lsum.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pzlangs.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pzlaqgs.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pzsymbfact_distdata.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/pzutil.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/smach_dist.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/sp_colorder.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/sp_ienv.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/static_schedule.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/superlu_FCnames.h
Examining data/superlu-dist-6.2.0+dfsg1/SRC/superlu_ddefs.h
Examining data/superlu-dist-6.2.0+dfsg1/SRC/superlu_defs.h
Examining data/superlu-dist-6.2.0+dfsg1/SRC/superlu_dist_config.h
Examining data/superlu-dist-6.2.0+dfsg1/SRC/superlu_dist_version.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/superlu_enum_consts.h
Examining data/superlu-dist-6.2.0+dfsg1/SRC/superlu_grid.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/superlu_timer.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/superlu_zdefs.h
Examining data/superlu-dist-6.2.0+dfsg1/SRC/supermatrix.h
Examining data/superlu-dist-6.2.0+dfsg1/SRC/symbfact.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/util_dist.h
Examining data/superlu-dist-6.2.0+dfsg1/SRC/wingetopt.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/wingetopt.h
Examining data/superlu-dist-6.2.0+dfsg1/SRC/xerr_dist.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/zSchCompUdt-2Ddynamic.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/zSchCompUdt-cuda.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/zbinary_io.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/zdistribute.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/zdistribute_mark.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/zgsequ_dist.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/zlangs_dist.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/zlaqgs_dist.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/zldperm_dist.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/zlook_ahead_update.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/zmemory_dist.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/zmyblas2_dist.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/zreadMM.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/zreadhb.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/zreadrb.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/zreadtriple.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/zreadtriple_noheader.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/zscatter.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/zsp_blas2_dist.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/zsp_blas3_dist.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/zutil_dist.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/mc64ad_dist.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/util.c
Examining data/superlu-dist-6.2.0+dfsg1/SRC/AWPM_CombBLAS.hpp
Examining data/superlu-dist-6.2.0+dfsg1/TEST/dcreate_matrix.c
Examining data/superlu-dist-6.2.0+dfsg1/TEST/pdcompute_resid.c
Examining data/superlu-dist-6.2.0+dfsg1/TEST/pdtest.c
Examining data/superlu-dist-6.2.0+dfsg1/TEST/pzcompute_resid.c
Examining data/superlu-dist-6.2.0+dfsg1/TEST/pztest.c
Examining data/superlu-dist-6.2.0+dfsg1/TEST/zcreate_matrix.c

FINAL RESULTS:

data/superlu-dist-6.2.0+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-dist-6.2.0+dfsg1/SRC/dreadMM.c:62: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-dist-6.2.0+dfsg1/SRC/dreadMM.c:106: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-dist-6.2.0+dfsg1/SRC/dreadMM.c:146:6:  [4] (buffer) fscanf:
  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 the scanf format is influenceable by an
  attacker, it's exploitable.
	j = fscanf(fp, IFMT IFMT "%lf\n", &row[nz], &col[nz], &val[nz]);
data/superlu-dist-6.2.0+dfsg1/SRC/dreadhb.c:169:2:  [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(IFMT " rows, " IFMT " nonzeros\n", *nrow, *nonz);
data/superlu-dist-6.2.0+dfsg1/SRC/dreadrb.c:328:9:  [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(IFMT " rows, " IFMT " nonzeros\n", *nrow, *nonz);
data/superlu-dist-6.2.0+dfsg1/SRC/dutil_dist.c:645:4:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
			fprintf(fp, IFMT IFMT " %e\n", index[k+LB_DESCRIPTOR+i]+1, xsup[gb]+j+1, (double)iam);
data/superlu-dist-6.2.0+dfsg1/SRC/dutil_dist.c:647:4:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
			fprintf(fp, IFMT IFMT " %e\n", index[k+LB_DESCRIPTOR+i]+1, xsup[gb]+j+1, nzval[r +i+ j*nsupr]);
data/superlu-dist-6.2.0+dfsg1/SRC/old_colamd.c:524: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.
#define DEBUG0(params) { (void) printf params ; }
data/superlu-dist-6.2.0+dfsg1/SRC/old_colamd.c:525:56:  [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 DEBUG1(params) { if (debug_colamd >= 1) (void) printf params ; }
data/superlu-dist-6.2.0+dfsg1/SRC/old_colamd.c:526:56:  [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 DEBUG2(params) { if (debug_colamd >= 2) (void) printf params ; }
data/superlu-dist-6.2.0+dfsg1/SRC/old_colamd.c:527:56:  [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 DEBUG3(params) { if (debug_colamd >= 3) (void) printf params ; }
data/superlu-dist-6.2.0+dfsg1/SRC/old_colamd.c:528:56:  [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 DEBUG4(params) { if (debug_colamd >= 4) (void) printf params ; }
data/superlu-dist-6.2.0+dfsg1/SRC/pdsymbfact_distdata.c:1804:4:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	  fprintf(stderr, "Malloc fails for Lnzval_bc_ptr[*][] col block " IFMT, jb);
data/superlu-dist-6.2.0+dfsg1/SRC/pzsymbfact_distdata.c:1803:4:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	  fprintf(stderr, "Malloc fails for Lnzval_bc_ptr[*][] col block " IFMT, jb);
data/superlu-dist-6.2.0+dfsg1/SRC/util.c:952:2:  [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(IFMT, x[i]);
data/superlu-dist-6.2.0+dfsg1/SRC/util.c:976:2:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	fprintf(fp, IFMT, x[i]);
data/superlu-dist-6.2.0+dfsg1/SRC/util_dist.h:33: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-dist-6.2.0+dfsg1/SRC/zreadMM.c:61: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-dist-6.2.0+dfsg1/SRC/zreadMM.c:105: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-dist-6.2.0+dfsg1/SRC/zreadMM.c:145:6:  [4] (buffer) fscanf:
  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 the scanf format is influenceable by an
  attacker, it's exploitable.
	j = fscanf(fp, IFMT IFMT "%lf%lf\n", &row[nz], &col[nz], &val[nz].r, &val[nz].i);
data/superlu-dist-6.2.0+dfsg1/SRC/zreadhb.c:166:2:  [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(IFMT " rows, " IFMT " nonzeros\n", *nrow, *nonz);
data/superlu-dist-6.2.0+dfsg1/SRC/zreadrb.c:336:9:  [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(IFMT " rows, " IFMT " nonzeros\n", *nrow, *nonz);
data/superlu-dist-6.2.0+dfsg1/SRC/zutil_dist.c:643:4:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
			fprintf(fp, IFMT IFMT " %e\n", index[k+LB_DESCRIPTOR+i]+1, xsup[gb]+j+1, (double)iam);
data/superlu-dist-6.2.0+dfsg1/SRC/zutil_dist.c:645:4:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
			fprintf(fp, IFMT IFMT " %e %e\n", index[k+LB_DESCRIPTOR+i]+1, xsup[gb]+j+1, nzval[r +i+ j*nsupr].r,nzval[r +i+ j*nsupr].i);
data/superlu-dist-6.2.0+dfsg1/TEST/pdtest.c:363: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, "pdgssvx",info,izero,n,nrhs,imat,nfail);
data/superlu-dist-6.2.0+dfsg1/TEST/pdtest.c:386:9:  [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, "pdgssvx", options.Fact, 
data/superlu-dist-6.2.0+dfsg1/TEST/pdtest.c:498:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		    strcat(xenvstr, optarg);
data/superlu-dist-6.2.0+dfsg1/TEST/pdtest.c:507:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		    strcat(menvstr, optarg);
data/superlu-dist-6.2.0+dfsg1/TEST/pdtest.c:516:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		    strcat(benvstr, optarg);
data/superlu-dist-6.2.0+dfsg1/TEST/pdtest.c:525:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		    strcat(genvstr, optarg);
data/superlu-dist-6.2.0+dfsg1/TEST/pztest.c:363: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, "pzgssvx",info,izero,n,nrhs,imat,nfail);
data/superlu-dist-6.2.0+dfsg1/TEST/pztest.c:386:9:  [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, "pzgssvx", options.Fact, 
data/superlu-dist-6.2.0+dfsg1/TEST/pztest.c:498:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		    strcat(xenvstr, optarg);
data/superlu-dist-6.2.0+dfsg1/TEST/pztest.c:507:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		    strcat(menvstr, optarg);
data/superlu-dist-6.2.0+dfsg1/TEST/pztest.c:516:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		    strcat(benvstr, optarg);
data/superlu-dist-6.2.0+dfsg1/TEST/pztest.c:525:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		    strcat(genvstr, optarg);
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/sp_ienv.c:88:21:  [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.
            ttemp = getenv("NREL");
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/sp_ienv.c:97:21:  [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.
            ttemp = getenv("NSUP");
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/sp_ienv.c:107:21:  [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.
            ttemp = getenv("FILL");
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/sp_ienv.c:111:14:  [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.
	    ttemp = getenv ("N_GEMM");
data/superlu-dist-6.2.0+dfsg1/FORTRAN/sp_ienv.c:88:21:  [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.
            ttemp = getenv("NREL");
data/superlu-dist-6.2.0+dfsg1/FORTRAN/sp_ienv.c:97:21:  [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.
            ttemp = getenv("NSUP");
data/superlu-dist-6.2.0+dfsg1/FORTRAN/sp_ienv.c:108:14:  [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.
	    ttemp = getenv ("N_GEMM");
data/superlu-dist-6.2.0+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-dist-6.2.0+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-dist-6.2.0+dfsg1/SRC/old_colamd.c:752: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")) debug_colamd = atoi (getenv ("D")) ;
data/superlu-dist-6.2.0+dfsg1/SRC/old_colamd.c:752:44:  [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")) debug_colamd = atoi (getenv ("D")) ;
data/superlu-dist-6.2.0+dfsg1/SRC/sp_ienv.c:88:21:  [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.
            ttemp = getenv("NREL");
data/superlu-dist-6.2.0+dfsg1/SRC/sp_ienv.c:97:21:  [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.
            ttemp = getenv("NSUP");
data/superlu-dist-6.2.0+dfsg1/SRC/sp_ienv.c:107:21:  [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.
            ttemp = getenv("FILL");
data/superlu-dist-6.2.0+dfsg1/SRC/sp_ienv.c:111:14:  [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.
	    ttemp = getenv ("N_GEMM");
data/superlu-dist-6.2.0+dfsg1/SRC/util.c:1125:13:  [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.
    ttemp = getenv("THREAD_PER_PROCESS");
data/superlu-dist-6.2.0+dfsg1/SRC/util.c:1135:13:  [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.
    ttemp = getenv ("MAX_BUFFER_SIZE");
data/superlu-dist-6.2.0+dfsg1/SRC/util.c:1146:13:  [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.
    ttemp = getenv ("CUBLAS_NB");
data/superlu-dist-6.2.0+dfsg1/SRC/util.c:1157:13:  [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.
    ttemp = getenv ("NUM_CUDA_STREAMS");
data/superlu-dist-6.2.0+dfsg1/SRC/wingetopt.c:28:5:  [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.
int getopt(int argc, char *const argv[], const char *optstring)
data/superlu-dist-6.2.0+dfsg1/SRC/wingetopt.h:32:5:  [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.
int getopt(int argc, char *const argv[], const char *optstring);
data/superlu-dist-6.2.0+dfsg1/TEST/pdtest.c:468: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, "hr:c:t:n:x:m:b:g:s:f:")) != EOF ) {
data/superlu-dist-6.2.0+dfsg1/TEST/pztest.c:468: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, "hr:c:t:n:x:m:b:g:s:f:")) != EOF ) {
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/dcreate_matrix.c:82: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     trans[1];
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/dcreate_matrix.c:255: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     trans[1];
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/dcreate_matrix_perturbed.c:81: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     trans[1];
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/dcreate_matrix_perturbed.c:250: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     trans[1];
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/dreadhb.c:113: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-dist-6.2.0+dfsg1/EXAMPLE/dreadhb.c:126:8:  [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).
	tmp = atoi(buf); /*sscanf(buf, "%d", &tmp);*/
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/dreadhb.c:140:38:  [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).
    fscanf(fp, "%14c", buf); *nrow = atoi(buf); 
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/dreadhb.c:141:38:  [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).
    fscanf(fp, "%14c", buf); *ncol = atoi(buf); 
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/dreadhb.c:142:38:  [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).
    fscanf(fp, "%14c", buf); *nonz = atoi(buf); 
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/dreadhb.c:143:36:  [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).
    fscanf(fp, "%14c", buf); tmp = atoi(buf);   
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/dreadhb.c:215: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); 
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/dreadhb.c:218: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); 
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/dreadhb.c:228: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); 
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/dreadhb.c:235: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-dist-6.2.0+dfsg1/EXAMPLE/dreadhb.c:244: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); 
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/dreadhb.c:253: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-dist-6.2.0+dfsg1/EXAMPLE/dreadhb.c:261: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-dist-6.2.0+dfsg1/EXAMPLE/dreadhb.c:273: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-dist-6.2.0+dfsg1/EXAMPLE/dreadtriple.c:165: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-dist-6.2.0+dfsg1/EXAMPLE/dreadtriple.c:168: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-dist-6.2.0+dfsg1/EXAMPLE/pddrive.c:65: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-dist-6.2.0+dfsg1/EXAMPLE/pddrive.c:100: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 'r': nprow = atoi(*cpp);
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive.c:102: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 'c': npcol = atoi(*cpp);
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive.c:106:18:  [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(*cpp, "r")) ) {
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive1.c:63: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-dist-6.2.0+dfsg1/EXAMPLE/pddrive1.c:87: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 'r': nprow = atoi(*cpp);
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive1.c:89: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 'c': npcol = atoi(*cpp);
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive1.c:93:18:  [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(*cpp, "r")) ) {
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive1_ABglobal.c:62: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     trans[1];
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive1_ABglobal.c:64: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-dist-6.2.0+dfsg1/EXAMPLE/pddrive1_ABglobal.c:93: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 'r': nprow = atoi(*cpp);
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive1_ABglobal.c:95: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 'c': npcol = atoi(*cpp);
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive1_ABglobal.c:99:18:  [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(*cpp, "r")) ) {
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive2.c:67: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-dist-6.2.0+dfsg1/EXAMPLE/pddrive2.c:99: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 'r': nprow = atoi(*cpp);
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive2.c:101: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 'c': npcol = atoi(*cpp);
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive2.c:105:18:  [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(*cpp, "r")) ) {
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive2.c:220: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(*cpp, "r")) ) ABORT("File does not exist");
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive2_ABglobal.c:62: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     trans[1];
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive2_ABglobal.c:64: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-dist-6.2.0+dfsg1/EXAMPLE/pddrive2_ABglobal.c:93: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 'r': nprow = atoi(*cpp);
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive2_ABglobal.c:95: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 'c': npcol = atoi(*cpp);
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive2_ABglobal.c:99:18:  [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(*cpp, "r")) ) {
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive3.c:72: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-dist-6.2.0+dfsg1/EXAMPLE/pddrive3.c:96: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 'r': nprow = atoi(*cpp);
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive3.c:98: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 'c': npcol = atoi(*cpp);
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive3.c:102:18:  [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(*cpp, "r")) ) {
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive3_ABglobal.c:68: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     trans[1];
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive3_ABglobal.c:70: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-dist-6.2.0+dfsg1/EXAMPLE/pddrive3_ABglobal.c:99: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 'r': nprow = atoi(*cpp);
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive3_ABglobal.c:101: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 'c': npcol = atoi(*cpp);
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive3_ABglobal.c:105:18:  [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(*cpp, "r")) ) {
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive4.c:69: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-dist-6.2.0+dfsg1/EXAMPLE/pddrive4.c:96: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 'r': nprow = atoi(*cpp);
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive4.c:98: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 'c': npcol = atoi(*cpp);
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive4.c:102:18:  [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(*cpp, "r")) ) {
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive4_ABglobal.c:66: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     trans[1];
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive4_ABglobal.c:68: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-dist-6.2.0+dfsg1/EXAMPLE/pddrive4_ABglobal.c:97: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 'r': nprow = atoi(*cpp);
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive4_ABglobal.c:99: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 'c': npcol = atoi(*cpp);
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive4_ABglobal.c:103:18:  [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(*cpp, "r")) ) {
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive_ABglobal.c:63: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     trans[1];
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive_ABglobal.c:65: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-dist-6.2.0+dfsg1/EXAMPLE/pddrive_ABglobal.c:94: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 'r': nprow = atoi(*cpp);
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive_ABglobal.c:96: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 'c': npcol = atoi(*cpp);
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive_ABglobal.c:100:18:  [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(*cpp, "r")) ) {
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive.c:64: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-dist-6.2.0+dfsg1/EXAMPLE/pzdrive.c:99: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 'r': nprow = atoi(*cpp);
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive.c:101: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 'c': npcol = atoi(*cpp);
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive.c:105:18:  [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(*cpp, "r")) ) {
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive1.c:62: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-dist-6.2.0+dfsg1/EXAMPLE/pzdrive1.c:86: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 'r': nprow = atoi(*cpp);
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive1.c:88: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 'c': npcol = atoi(*cpp);
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive1.c:92:18:  [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(*cpp, "r")) ) {
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive1_ABglobal.c:61: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     trans[1];
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive1_ABglobal.c:63: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-dist-6.2.0+dfsg1/EXAMPLE/pzdrive1_ABglobal.c:92: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 'r': nprow = atoi(*cpp);
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive1_ABglobal.c:94: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 'c': npcol = atoi(*cpp);
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive1_ABglobal.c:98:18:  [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(*cpp, "r")) ) {
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive2.c:66: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-dist-6.2.0+dfsg1/EXAMPLE/pzdrive2.c:98: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 'r': nprow = atoi(*cpp);
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive2.c:100: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 'c': npcol = atoi(*cpp);
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive2.c:104:18:  [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(*cpp, "r")) ) {
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive2.c:219: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(*cpp, "r")) ) ABORT("File does not exist");
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive2_ABglobal.c:61: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     trans[1];
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive2_ABglobal.c:63: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-dist-6.2.0+dfsg1/EXAMPLE/pzdrive2_ABglobal.c:92: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 'r': nprow = atoi(*cpp);
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive2_ABglobal.c:94: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 'c': npcol = atoi(*cpp);
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive2_ABglobal.c:98:18:  [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(*cpp, "r")) ) {
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive3.c:71: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-dist-6.2.0+dfsg1/EXAMPLE/pzdrive3.c:95: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 'r': nprow = atoi(*cpp);
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive3.c:97: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 'c': npcol = atoi(*cpp);
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive3.c:101:18:  [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(*cpp, "r")) ) {
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive3_ABglobal.c:67: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     trans[1];
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive3_ABglobal.c:69: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-dist-6.2.0+dfsg1/EXAMPLE/pzdrive3_ABglobal.c:98: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 'r': nprow = atoi(*cpp);
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive3_ABglobal.c:100: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 'c': npcol = atoi(*cpp);
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive3_ABglobal.c:104:18:  [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(*cpp, "r")) ) {
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive4.c:68: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-dist-6.2.0+dfsg1/EXAMPLE/pzdrive4.c:95: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 'r': nprow = atoi(*cpp);
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive4.c:97: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 'c': npcol = atoi(*cpp);
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive4.c:101:18:  [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(*cpp, "r")) ) {
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive4_ABglobal.c:65: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     trans[1];
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive4_ABglobal.c:67: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-dist-6.2.0+dfsg1/EXAMPLE/pzdrive4_ABglobal.c:96: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 'r': nprow = atoi(*cpp);
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive4_ABglobal.c:98: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 'c': npcol = atoi(*cpp);
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive4_ABglobal.c:102:18:  [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(*cpp, "r")) ) {
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive_ABglobal.c:62: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     trans[1];
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive_ABglobal.c:64: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-dist-6.2.0+dfsg1/EXAMPLE/pzdrive_ABglobal.c:93: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 'r': nprow = atoi(*cpp);
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive_ABglobal.c:95: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 'c': npcol = atoi(*cpp);
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive_ABglobal.c:99:18:  [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(*cpp, "r")) ) {
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/sp_ienv.c:91: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).
                return(atoi(ttemp));
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/sp_ienv.c:100: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).
                return(atoi(ttemp));
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/sp_ienv.c:108:33:  [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).
            if ( ttemp ) return(atoi(ttemp));
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/sp_ienv.c:112: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).
	    if (ttemp) return atoi (ttemp);
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/zcreate_matrix.c:81: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     trans[1];
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/zcreate_matrix.c:254: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     trans[1];
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/zcreate_matrix_perturbed.c:80: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     trans[1];
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/zcreate_matrix_perturbed.c:249: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     trans[1];
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/zreadhb.c:111: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-dist-6.2.0+dfsg1/EXAMPLE/zreadhb.c:123:8:  [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).
	tmp = atoi(buf); /*sscanf(buf, "%d", &tmp);*/
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/zreadhb.c:137:38:  [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).
    fscanf(fp, "%14c", buf); *nrow = atoi(buf); 
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/zreadhb.c:138:38:  [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).
    fscanf(fp, "%14c", buf); *ncol = atoi(buf); 
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/zreadhb.c:139:38:  [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).
    fscanf(fp, "%14c", buf); *nonz = atoi(buf); 
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/zreadhb.c:140:36:  [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).
    fscanf(fp, "%14c", buf); tmp = atoi(buf);   
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/zreadhb.c:205: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); 
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/zreadhb.c:208: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); 
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/zreadhb.c:218: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); 
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/zreadhb.c:225: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-dist-6.2.0+dfsg1/EXAMPLE/zreadhb.c:234: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); 
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/zreadhb.c:243: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-dist-6.2.0+dfsg1/EXAMPLE/zreadhb.c:251: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-dist-6.2.0+dfsg1/EXAMPLE/zreadhb.c:266: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-dist-6.2.0+dfsg1/EXAMPLE/zreadtriple.c:164: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-dist-6.2.0+dfsg1/EXAMPLE/zreadtriple.c:167: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-dist-6.2.0+dfsg1/FORTRAN/dcreate_dist_matrix.c:73: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     trans[1];
data/superlu-dist-6.2.0+dfsg1/FORTRAN/sp_ienv.c:91: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).
                return(atoi(ttemp));
data/superlu-dist-6.2.0+dfsg1/FORTRAN/sp_ienv.c:100: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).
                return(atoi(ttemp));
data/superlu-dist-6.2.0+dfsg1/FORTRAN/sp_ienv.c:109: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).
	    if (ttemp) return atoi (ttemp);
data/superlu-dist-6.2.0+dfsg1/FORTRAN/zcreate_dist_matrix.c:72:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     trans[1];
data/superlu-dist-6.2.0+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-dist-6.2.0+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-dist-6.2.0+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-dist-6.2.0+dfsg1/SRC/dSchCompUdt-2Ddynamic.c:334:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	     memcpy(&lookAhead_L_buff[StRowDest + (j - (knsupc-ldu)) * Lnbrow],
data/superlu-dist-6.2.0+dfsg1/SRC/dSchCompUdt-2Ddynamic.c:375:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	     memcpy(&Remain_L_buff[StRowDest + (j - (knsupc-ldu)) * gemm_m_pad],
data/superlu-dist-6.2.0+dfsg1/SRC/dbinary_io.c:30:13:  [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).
      fp1 = fopen("/scratch/scratchdirs/xiaoye/temp.bin", "wb");
data/superlu-dist-6.2.0+dfsg1/SRC/dreadMM.c:45: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-dist-6.2.0+dfsg1/SRC/dreadMM.c:235:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *fp, *fopen();
data/superlu-dist-6.2.0+dfsg1/SRC/dreadMM.c:238: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-dist-6.2.0+dfsg1/SRC/dreadhb.c:113: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-dist-6.2.0+dfsg1/SRC/dreadhb.c:126:8:  [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).
	tmp = atoi(buf); /*sscanf(buf, "%d", &tmp);*/
data/superlu-dist-6.2.0+dfsg1/SRC/dreadhb.c:140:38:  [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).
    fscanf(fp, "%14c", buf); *nrow = atoi(buf);
data/superlu-dist-6.2.0+dfsg1/SRC/dreadhb.c:141:38:  [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).
    fscanf(fp, "%14c", buf); *ncol = atoi(buf);
data/superlu-dist-6.2.0+dfsg1/SRC/dreadhb.c:142:38:  [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).
    fscanf(fp, "%14c", buf); *nonz = atoi(buf);
data/superlu-dist-6.2.0+dfsg1/SRC/dreadhb.c:143:36:  [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).
    fscanf(fp, "%14c", buf); tmp = atoi(buf);
data/superlu-dist-6.2.0+dfsg1/SRC/dreadhb.c:215: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);
data/superlu-dist-6.2.0+dfsg1/SRC/dreadhb.c:218: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);
data/superlu-dist-6.2.0+dfsg1/SRC/dreadhb.c:228: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);
data/superlu-dist-6.2.0+dfsg1/SRC/dreadhb.c:235: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-dist-6.2.0+dfsg1/SRC/dreadhb.c:244: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);
data/superlu-dist-6.2.0+dfsg1/SRC/dreadhb.c:253: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-dist-6.2.0+dfsg1/SRC/dreadhb.c:261: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-dist-6.2.0+dfsg1/SRC/dreadhb.c:273: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-dist-6.2.0+dfsg1/SRC/dreadrb.c:102: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);
data/superlu-dist-6.2.0+dfsg1/SRC/dreadrb.c:105: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);
data/superlu-dist-6.2.0+dfsg1/SRC/dreadrb.c:115: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-dist-6.2.0+dfsg1/SRC/dreadrb.c:122: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-dist-6.2.0+dfsg1/SRC/dreadrb.c:131: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-dist-6.2.0+dfsg1/SRC/dreadrb.c:139: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-dist-6.2.0+dfsg1/SRC/dreadrb.c:147: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-dist-6.2.0+dfsg1/SRC/dreadrb.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-dist-6.2.0+dfsg1/SRC/dreadrb.c:280: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-dist-6.2.0+dfsg1/SRC/dreadrb.c:290:15:  [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).
        tmp = atoi(buf); /*sscanf(buf, "%d", &tmp);*/
data/superlu-dist-6.2.0+dfsg1/SRC/dreadrb.c:303:38:  [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).
    fscanf(fp, "%14c", buf); *nrow = atoi(buf);
data/superlu-dist-6.2.0+dfsg1/SRC/dreadrb.c:304:38:  [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).
    fscanf(fp, "%14c", buf); *ncol = atoi(buf);
data/superlu-dist-6.2.0+dfsg1/SRC/dreadrb.c:305:38:  [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).
    fscanf(fp, "%14c", buf); *nonz = atoi(buf);
data/superlu-dist-6.2.0+dfsg1/SRC/dreadrb.c:306:36:  [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).
    fscanf(fp, "%14c", buf); tmp = atoi(buf);
data/superlu-dist-6.2.0+dfsg1/SRC/dreadtriple.c:165: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-dist-6.2.0+dfsg1/SRC/dreadtriple.c:168: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-dist-6.2.0+dfsg1/SRC/dreadtriple_noheader.c:186: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-dist-6.2.0+dfsg1/SRC/dreadtriple_noheader.c:189: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-dist-6.2.0+dfsg1/SRC/dutil_dist.c:331:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(Bstore->nzval, Astore->nzval, Astore->nnz_loc * sizeof(double));
data/superlu-dist-6.2.0+dfsg1/SRC/dutil_dist.c:332:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(Bstore->colind, Astore->colind, Astore->nnz_loc * sizeof(int_t));
data/superlu-dist-6.2.0+dfsg1/SRC/dutil_dist.c:333:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(Bstore->rowptr, Astore->rowptr, (Astore->m_loc+1) * sizeof(int_t));
data/superlu-dist-6.2.0+dfsg1/SRC/dutil_dist.c:576:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[256];
data/superlu-dist-6.2.0+dfsg1/SRC/dutil_dist.c:577:13:  [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-dist-6.2.0+dfsg1/SRC/dutil_dist.c:620:15:  [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(filename, "w")) ) {
data/superlu-dist-6.2.0+dfsg1/SRC/old_colamd.c:752:38:  [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).
    if (getenv ("D")) debug_colamd = atoi (getenv ("D")) ;
data/superlu-dist-6.2.0+dfsg1/SRC/pdgssvx.c:542: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], norm[1];
data/superlu-dist-6.2.0+dfsg1/SRC/pdgssvx.c:1390:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(x_col, b_col, m_loc * sizeof(double));
data/superlu-dist-6.2.0+dfsg1/SRC/pdgssvx_ABglobal.c:504: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], norm[1];
data/superlu-dist-6.2.0+dfsg1/SRC/pdgstrf.c:392:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *fopen(), *fgemm;
data/superlu-dist-6.2.0+dfsg1/SRC/pdgstrf.c:450:27:  [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 (iam == 0) fgemm = fopen("dgemm_mnk.dat", "w");
data/superlu-dist-6.2.0+dfsg1/SRC/pzgssvx.c:541: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], norm[1];
data/superlu-dist-6.2.0+dfsg1/SRC/pzgssvx.c:1395:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(x_col, b_col, m_loc * sizeof(doublecomplex));
data/superlu-dist-6.2.0+dfsg1/SRC/pzgssvx_ABglobal.c:503: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], norm[1];
data/superlu-dist-6.2.0+dfsg1/SRC/pzgstrf.c:392:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *fopen(), *fgemm;
data/superlu-dist-6.2.0+dfsg1/SRC/pzgstrf.c:450:27:  [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 (iam == 0) fgemm = fopen("dgemm_mnk.dat", "w");
data/superlu-dist-6.2.0+dfsg1/SRC/sp_ienv.c:91: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).
                return(atoi(ttemp));
data/superlu-dist-6.2.0+dfsg1/SRC/sp_ienv.c:100: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).
                return(atoi(ttemp));
data/superlu-dist-6.2.0+dfsg1/SRC/sp_ienv.c:108:33:  [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).
            if ( ttemp ) return(atoi(ttemp));
data/superlu-dist-6.2.0+dfsg1/SRC/sp_ienv.c:112: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).
	    if (ttemp) return atoi (ttemp);
data/superlu-dist-6.2.0+dfsg1/SRC/util.c:1127: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).
    if(ttemp) return atoi(ttemp);
data/superlu-dist-6.2.0+dfsg1/SRC/util.c:1137:16:  [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).
        return atoi (ttemp);
data/superlu-dist-6.2.0+dfsg1/SRC/util.c:1148:16:  [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).
        return atoi (ttemp);
data/superlu-dist-6.2.0+dfsg1/SRC/util.c:1159:16:  [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).
        return atoi (ttemp);
data/superlu-dist-6.2.0+dfsg1/SRC/util_dist.h:32: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-dist-6.2.0+dfsg1/SRC/zSchCompUdt-2Ddynamic.c:333:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	     memcpy(&lookAhead_L_buff[StRowDest + (j - (knsupc-ldu)) * Lnbrow],
data/superlu-dist-6.2.0+dfsg1/SRC/zSchCompUdt-2Ddynamic.c:374:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	     memcpy(&Remain_L_buff[StRowDest + (j - (knsupc-ldu)) * gemm_m_pad],
data/superlu-dist-6.2.0+dfsg1/SRC/zbinary_io.c:30:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp1 = fopen("/scratch/scratchdirs/xiaoye/temp.bin", "wb");
data/superlu-dist-6.2.0+dfsg1/SRC/zreadMM.c:44: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-dist-6.2.0+dfsg1/SRC/zreadMM.c:234: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-dist-6.2.0+dfsg1/SRC/zreadMM.c:237: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-dist-6.2.0+dfsg1/SRC/zreadhb.c:111: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-dist-6.2.0+dfsg1/SRC/zreadhb.c:123:8:  [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).
	tmp = atoi(buf); /*sscanf(buf, "%d", &tmp);*/
data/superlu-dist-6.2.0+dfsg1/SRC/zreadhb.c:137:38:  [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).
    fscanf(fp, "%14c", buf); *nrow = atoi(buf);
data/superlu-dist-6.2.0+dfsg1/SRC/zreadhb.c:138:38:  [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).
    fscanf(fp, "%14c", buf); *ncol = atoi(buf);
data/superlu-dist-6.2.0+dfsg1/SRC/zreadhb.c:139:38:  [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).
    fscanf(fp, "%14c", buf); *nonz = atoi(buf);
data/superlu-dist-6.2.0+dfsg1/SRC/zreadhb.c:140:36:  [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).
    fscanf(fp, "%14c", buf); tmp = atoi(buf);
data/superlu-dist-6.2.0+dfsg1/SRC/zreadhb.c:205: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);
data/superlu-dist-6.2.0+dfsg1/SRC/zreadhb.c:208: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);
data/superlu-dist-6.2.0+dfsg1/SRC/zreadhb.c:218: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);
data/superlu-dist-6.2.0+dfsg1/SRC/zreadhb.c:225: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-dist-6.2.0+dfsg1/SRC/zreadhb.c:234: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);
data/superlu-dist-6.2.0+dfsg1/SRC/zreadhb.c:243: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-dist-6.2.0+dfsg1/SRC/zreadhb.c:251: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-dist-6.2.0+dfsg1/SRC/zreadhb.c:266: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-dist-6.2.0+dfsg1/SRC/zreadrb.c:101: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);
data/superlu-dist-6.2.0+dfsg1/SRC/zreadrb.c:104: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);
data/superlu-dist-6.2.0+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-dist-6.2.0+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-dist-6.2.0+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-dist-6.2.0+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-dist-6.2.0+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-dist-6.2.0+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-dist-6.2.0+dfsg1/SRC/zreadrb.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-dist-6.2.0+dfsg1/SRC/zreadrb.c:298:15:  [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).
        tmp = atoi(buf); /*sscanf(buf, "%d", &tmp);*/
data/superlu-dist-6.2.0+dfsg1/SRC/zreadrb.c:311:38:  [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).
    fscanf(fp, "%14c", buf); *nrow = atoi(buf);
data/superlu-dist-6.2.0+dfsg1/SRC/zreadrb.c:312:38:  [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).
    fscanf(fp, "%14c", buf); *ncol = atoi(buf);
data/superlu-dist-6.2.0+dfsg1/SRC/zreadrb.c:313:38:  [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).
    fscanf(fp, "%14c", buf); *nonz = atoi(buf);
data/superlu-dist-6.2.0+dfsg1/SRC/zreadrb.c:314:36:  [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).
    fscanf(fp, "%14c", buf); tmp = atoi(buf);
data/superlu-dist-6.2.0+dfsg1/SRC/zreadtriple.c:164: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-dist-6.2.0+dfsg1/SRC/zreadtriple.c:167: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-dist-6.2.0+dfsg1/SRC/zreadtriple_noheader.c:185: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-dist-6.2.0+dfsg1/SRC/zreadtriple_noheader.c:188: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-dist-6.2.0+dfsg1/SRC/zutil_dist.c:330:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(Bstore->nzval, Astore->nzval, Astore->nnz_loc * sizeof(doublecomplex));
data/superlu-dist-6.2.0+dfsg1/SRC/zutil_dist.c:331:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(Bstore->colind, Astore->colind, Astore->nnz_loc * sizeof(int_t));
data/superlu-dist-6.2.0+dfsg1/SRC/zutil_dist.c:332:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(Bstore->rowptr, Astore->rowptr, (Astore->m_loc+1) * sizeof(int_t));
data/superlu-dist-6.2.0+dfsg1/SRC/zutil_dist.c:574:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[256];
data/superlu-dist-6.2.0+dfsg1/SRC/zutil_dist.c:575:13:  [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-dist-6.2.0+dfsg1/SRC/zutil_dist.c:618:15:  [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(filename, "w")) ) {
data/superlu-dist-6.2.0+dfsg1/TEST/dcreate_matrix.c:82: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     trans[1];
data/superlu-dist-6.2.0+dfsg1/TEST/pdcompute_resid.c:89: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-dist-6.2.0+dfsg1/TEST/pdtest.c:77:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(Bstore->nzval, Astore->nzval, nnz_loc * sizeof(double));
data/superlu-dist-6.2.0+dfsg1/TEST/pdtest.c:78:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(Bstore->colind, Astore->colind, nnz_loc * sizeof(int_t));
data/superlu-dist-6.2.0+dfsg1/TEST/pdtest.c:79:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(Bstore->rowptr, Astore->rowptr, (m_loc+1) * sizeof(int_t));
data/superlu-dist-6.2.0+dfsg1/TEST/pdtest.c:126: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-dist-6.2.0+dfsg1/TEST/pdtest.c:127: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 matrix_type[8], equed[1];
data/superlu-dist-6.2.0+dfsg1/TEST/pdtest.c:464: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  str[20];
data/superlu-dist-6.2.0+dfsg1/TEST/pdtest.c:483: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': *nprow = atoi(optarg);
data/superlu-dist-6.2.0+dfsg1/TEST/pdtest.c:485: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 'c': *npcol = atoi(optarg);
data/superlu-dist-6.2.0+dfsg1/TEST/pdtest.c:487: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-dist-6.2.0+dfsg1/TEST/pdtest.c:497:7:  [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(xenvstr, "NREL=");
data/superlu-dist-6.2.0+dfsg1/TEST/pdtest.c:506:7:  [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(menvstr, "NSUP=");
data/superlu-dist-6.2.0+dfsg1/TEST/pdtest.c:515:7:  [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(benvstr, "FILL=");
data/superlu-dist-6.2.0+dfsg1/TEST/pdtest.c:524:7:  [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(genvstr, "N_GEMM=");
data/superlu-dist-6.2.0+dfsg1/TEST/pdtest.c:529: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-dist-6.2.0+dfsg1/TEST/pdtest.c:532: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-dist-6.2.0+dfsg1/TEST/pzcompute_resid.c:88: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-dist-6.2.0+dfsg1/TEST/pztest.c:76:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(Bstore->nzval, Astore->nzval, nnz_loc * sizeof(doublecomplex));
data/superlu-dist-6.2.0+dfsg1/TEST/pztest.c:77:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(Bstore->colind, Astore->colind, nnz_loc * sizeof(int_t));
data/superlu-dist-6.2.0+dfsg1/TEST/pztest.c:78:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(Bstore->rowptr, Astore->rowptr, (m_loc+1) * sizeof(int_t));
data/superlu-dist-6.2.0+dfsg1/TEST/pztest.c:125: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-dist-6.2.0+dfsg1/TEST/pztest.c:126: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 matrix_type[8], equed[1];
data/superlu-dist-6.2.0+dfsg1/TEST/pztest.c:464: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  str[20];
data/superlu-dist-6.2.0+dfsg1/TEST/pztest.c:483: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': *nprow = atoi(optarg);
data/superlu-dist-6.2.0+dfsg1/TEST/pztest.c:485: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 'c': *npcol = atoi(optarg);
data/superlu-dist-6.2.0+dfsg1/TEST/pztest.c:487: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-dist-6.2.0+dfsg1/TEST/pztest.c:497:7:  [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(xenvstr, "NREL=");
data/superlu-dist-6.2.0+dfsg1/TEST/pztest.c:506:7:  [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(menvstr, "NSUP=");
data/superlu-dist-6.2.0+dfsg1/TEST/pztest.c:515:7:  [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(benvstr, "FILL=");
data/superlu-dist-6.2.0+dfsg1/TEST/pztest.c:524:7:  [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(genvstr, "N_GEMM=");
data/superlu-dist-6.2.0+dfsg1/TEST/pztest.c:529: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-dist-6.2.0+dfsg1/TEST/pztest.c:532: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-dist-6.2.0+dfsg1/TEST/zcreate_matrix.c:81: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     trans[1];
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/dreadhb.c:205: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-dist-6.2.0+dfsg1/EXAMPLE/pddrive.c:166:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    for(ii = 0;ii<strlen(*cpp);ii++){
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive1.c:131:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    for(ii = 0;ii<strlen(*cpp);ii++){
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive2.c:139:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    for(ii = 0;ii<strlen(*cpp);ii++){
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive3.c:136:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    for(ii = 0;ii<strlen(*cpp);ii++){
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pddrive4.c:139:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    for(ii = 0;ii<strlen(*cpp);ii++){
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive.c:165:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    for(ii = 0;ii<strlen(*cpp);ii++){
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive1.c:130:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    for(ii = 0;ii<strlen(*cpp);ii++){
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive2.c:138:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    for(ii = 0;ii<strlen(*cpp);ii++){
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive3.c:135:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    for(ii = 0;ii<strlen(*cpp);ii++){
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzdrive4.c:138:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    for(ii = 0;ii<strlen(*cpp);ii++){
data/superlu-dist-6.2.0+dfsg1/EXAMPLE/pzgstrs_Bglobal_Bsend.c:212:27:  [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-dist-6.2.0+dfsg1/EXAMPLE/pzgstrs_Bglobal_Bsend.c:213:27:  [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-dist-6.2.0+dfsg1/EXAMPLE/pzgstrs_Bglobal_Bsend.c:214:27:  [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-dist-6.2.0+dfsg1/EXAMPLE/zreadhb.c:195: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-dist-6.2.0+dfsg1/SRC/dreadhb.c:205: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-dist-6.2.0+dfsg1/SRC/dreadrb.c:92: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-dist-6.2.0+dfsg1/SRC/dsp_blas2_dist.c:162:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    ftcs1 = _cptofcd("L", strlen("L"));
data/superlu-dist-6.2.0+dfsg1/SRC/dsp_blas2_dist.c:163:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    ftcs2 = _cptofcd("N", strlen("N"));
data/superlu-dist-6.2.0+dfsg1/SRC/dsp_blas2_dist.c:164:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    ftcs3 = _cptofcd("U", strlen("U"));
data/superlu-dist-6.2.0+dfsg1/SRC/dsp_blas2_dist.c:216:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    ftcs1 = _cptofcd("U", strlen("U"));
data/superlu-dist-6.2.0+dfsg1/SRC/dsp_blas2_dist.c:217:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    ftcs2 = _cptofcd("N", strlen("N"));
data/superlu-dist-6.2.0+dfsg1/SRC/dsp_blas2_dist.c:269: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-dist-6.2.0+dfsg1/SRC/dsp_blas2_dist.c:270: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-dist-6.2.0+dfsg1/SRC/dsp_blas2_dist.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).
                    ftcs3 = _cptofcd("U", strlen("U"));
data/superlu-dist-6.2.0+dfsg1/SRC/dsp_blas2_dist.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).
                    ftcs1 = _cptofcd("U", strlen("U"));
data/superlu-dist-6.2.0+dfsg1/SRC/dsp_blas2_dist.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).
                    ftcs2 = _cptofcd("T", strlen("T"));
data/superlu-dist-6.2.0+dfsg1/SRC/dsp_blas2_dist.c:311: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-dist-6.2.0+dfsg1/SRC/pdgstrf.c:260: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 ftcs = _cptofcd ("N", strlen ("N"));
data/superlu-dist-6.2.0+dfsg1/SRC/pdgstrf.c:261:33:  [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-dist-6.2.0+dfsg1/SRC/pdgstrf.c:262:33:  [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 ftcs2 = _cptofcd ("N", strlen ("N"));
data/superlu-dist-6.2.0+dfsg1/SRC/pdgstrf.c:263:33:  [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 ftcs3 = _cptofcd ("U", strlen ("U"));
data/superlu-dist-6.2.0+dfsg1/SRC/pdgstrf_X1.c:201:31:  [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 ftcs = _cptofcd("N", strlen("N"));
data/superlu-dist-6.2.0+dfsg1/SRC/pdgstrf_X1.c:202: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-dist-6.2.0+dfsg1/SRC/pdgstrf_X1.c:203: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 ftcs2 = _cptofcd("N", strlen("N"));
data/superlu-dist-6.2.0+dfsg1/SRC/pdgstrf_X1.c:204: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 ftcs3 = _cptofcd("U", strlen("U"));
data/superlu-dist-6.2.0+dfsg1/SRC/pdgstrf_irecv.c:199:31:  [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 ftcs = _cptofcd("N", strlen("N"));
data/superlu-dist-6.2.0+dfsg1/SRC/pdgstrf_irecv.c:200: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-dist-6.2.0+dfsg1/SRC/pdgstrf_irecv.c:201: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 ftcs2 = _cptofcd("N", strlen("N"));
data/superlu-dist-6.2.0+dfsg1/SRC/pdgstrf_irecv.c:202: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 ftcs3 = _cptofcd("U", strlen("U"));
data/superlu-dist-6.2.0+dfsg1/SRC/pdgstrf_sherry.c:195:31:  [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 ftcs = _cptofcd("N", strlen("N"));
data/superlu-dist-6.2.0+dfsg1/SRC/pdgstrf_sherry.c:196: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-dist-6.2.0+dfsg1/SRC/pdgstrf_sherry.c:197: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 ftcs2 = _cptofcd("N", strlen("N"));
data/superlu-dist-6.2.0+dfsg1/SRC/pdgstrf_sherry.c:198: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 ftcs3 = _cptofcd("U", strlen("U"));
data/superlu-dist-6.2.0+dfsg1/SRC/pdgstrs.c:1047:27:  [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-dist-6.2.0+dfsg1/SRC/pdgstrs.c:1048:27:  [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-dist-6.2.0+dfsg1/SRC/pdgstrs.c:1049:27:  [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-dist-6.2.0+dfsg1/SRC/pdgstrs1.c:196:27:  [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-dist-6.2.0+dfsg1/SRC/pdgstrs1.c:197:27:  [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-dist-6.2.0+dfsg1/SRC/pdgstrs1.c:198:27:  [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-dist-6.2.0+dfsg1/SRC/pdgstrsL.c:511:27:  [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-dist-6.2.0+dfsg1/SRC/pdgstrsL.c:512:27:  [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-dist-6.2.0+dfsg1/SRC/pdgstrsL.c:513:27:  [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-dist-6.2.0+dfsg1/SRC/pdgstrs_Bglobal.c:206:27:  [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-dist-6.2.0+dfsg1/SRC/pdgstrs_Bglobal.c:207:27:  [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-dist-6.2.0+dfsg1/SRC/pdgstrs_Bglobal.c:208:27:  [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-dist-6.2.0+dfsg1/SRC/pdgstrs_Bglobal_Bsend.c:213:27:  [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-dist-6.2.0+dfsg1/SRC/pdgstrs_Bglobal_Bsend.c:214:27:  [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-dist-6.2.0+dfsg1/SRC/pdgstrs_Bglobal_Bsend.c:215:27:  [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-dist-6.2.0+dfsg1/SRC/pzgstrf.c:259: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 ftcs = _cptofcd ("N", strlen ("N"));
data/superlu-dist-6.2.0+dfsg1/SRC/pzgstrf.c:260:33:  [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-dist-6.2.0+dfsg1/SRC/pzgstrf.c:261:33:  [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 ftcs2 = _cptofcd ("N", strlen ("N"));
data/superlu-dist-6.2.0+dfsg1/SRC/pzgstrf.c:262:33:  [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 ftcs3 = _cptofcd ("U", strlen ("U"));
data/superlu-dist-6.2.0+dfsg1/SRC/pzgstrf_irecv.c:195:31:  [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 ftcs = _cptofcd("N", strlen("N"));
data/superlu-dist-6.2.0+dfsg1/SRC/pzgstrf_irecv.c:196: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-dist-6.2.0+dfsg1/SRC/pzgstrf_irecv.c:197: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 ftcs2 = _cptofcd("N", strlen("N"));
data/superlu-dist-6.2.0+dfsg1/SRC/pzgstrf_irecv.c:198: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 ftcs3 = _cptofcd("U", strlen("U"));
data/superlu-dist-6.2.0+dfsg1/SRC/pzgstrs.c:1049:27:  [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-dist-6.2.0+dfsg1/SRC/pzgstrs.c:1050:27:  [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-dist-6.2.0+dfsg1/SRC/pzgstrs.c:1051:27:  [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-dist-6.2.0+dfsg1/SRC/pzgstrs1.c:196:27:  [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-dist-6.2.0+dfsg1/SRC/pzgstrs1.c:197:27:  [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-dist-6.2.0+dfsg1/SRC/pzgstrs1.c:198:27:  [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-dist-6.2.0+dfsg1/SRC/pzgstrs_Bglobal.c:206:27:  [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-dist-6.2.0+dfsg1/SRC/pzgstrs_Bglobal.c:207:27:  [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-dist-6.2.0+dfsg1/SRC/pzgstrs_Bglobal.c:208:27:  [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-dist-6.2.0+dfsg1/SRC/zreadhb.c:195: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-dist-6.2.0+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-dist-6.2.0+dfsg1/SRC/zsp_blas2_dist.c:99: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-dist-6.2.0+dfsg1/SRC/zsp_blas2_dist.c:100: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-dist-6.2.0+dfsg1/SRC/zsp_blas2_dist.c:101: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-dist-6.2.0+dfsg1/SRC/zsp_blas2_dist.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).
                    ftcs1 = _cptofcd("L", strlen("L"));
data/superlu-dist-6.2.0+dfsg1/SRC/zsp_blas2_dist.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).
                    ftcs2 = _cptofcd("T", strlen("T"));
data/superlu-dist-6.2.0+dfsg1/SRC/zsp_blas2_dist.c:274: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-dist-6.2.0+dfsg1/SRC/zsp_blas2_dist.c:313: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-dist-6.2.0+dfsg1/SRC/zsp_blas2_dist.c:314: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-dist-6.2.0+dfsg1/SRC/zsp_blas2_dist.c:315: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-dist-6.2.0+dfsg1/TEST/pdtest.c:496:35:  [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).
		    xenvstr = (char*) malloc((6+strlen(optarg))*sizeof(char));
data/superlu-dist-6.2.0+dfsg1/TEST/pdtest.c:505:35:  [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).
		    menvstr = (char*) malloc((6+strlen(optarg))*sizeof(char));
data/superlu-dist-6.2.0+dfsg1/TEST/pdtest.c:514:35:  [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).
		    benvstr = (char*) malloc((6+strlen(optarg))*sizeof(char));
data/superlu-dist-6.2.0+dfsg1/TEST/pdtest.c:523:35:  [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).
		    genvstr = (char*) malloc((8+strlen(optarg))*sizeof(char));
data/superlu-dist-6.2.0+dfsg1/TEST/pztest.c:496:35:  [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).
		    xenvstr = (char*) malloc((6+strlen(optarg))*sizeof(char));
data/superlu-dist-6.2.0+dfsg1/TEST/pztest.c:505:35:  [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).
		    menvstr = (char*) malloc((6+strlen(optarg))*sizeof(char));
data/superlu-dist-6.2.0+dfsg1/TEST/pztest.c:514:35:  [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).
		    benvstr = (char*) malloc((6+strlen(optarg))*sizeof(char));
data/superlu-dist-6.2.0+dfsg1/TEST/pztest.c:523:35:  [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).
		    genvstr = (char*) malloc((8+strlen(optarg))*sizeof(char));

ANALYSIS SUMMARY:

Hits = 441
Lines analyzed = 113463 in approximately 3.14 seconds (36086 lines/second)
Physical Source Lines of Code (SLOC) = 72218
Hits@level = [0] 1799 [1]  95 [2] 286 [3]  23 [4]  37 [5]   0
Hits@level+ = [0+] 2240 [1+] 441 [2+] 346 [3+]  60 [4+]  37 [5+]   0
Hits/KSLOC@level+ = [0+] 31.0172 [1+] 6.10651 [2+] 4.79105 [3+] 0.830818 [4+] 0.512338 [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.