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/scalapack-2.1.0/BLACS/INSTALL/Cintface.c Examining data/scalapack-2.1.0/BLACS/INSTALL/cmpi_sane.c Examining data/scalapack-2.1.0/BLACS/INSTALL/mpif.h Examining data/scalapack-2.1.0/BLACS/INSTALL/size.c Examining data/scalapack-2.1.0/BLACS/INSTALL/syserrors.c Examining data/scalapack-2.1.0/BLACS/INSTALL/tc_UseMpich.c Examining data/scalapack-2.1.0/BLACS/INSTALL/tc_cCsameF77.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_Arecv.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_ArgCheck.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_Asend.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_BeComb.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_BlacsAbort.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_BlacsErr.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_BlacsWarn.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_BuffIsFree.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_ContxtNum.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_EmergencyBuff.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_GetBuff.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_GetMpiGeType.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_GetMpiTrType.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_GlobalVars.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_HypBR.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_HypBS.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_IdringBR.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_IdringBS.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_MpathBR.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_MpathBS.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_MringComb.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_Pack.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_Rsend.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_Srecv.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_SringBR.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_SringBS.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_Ssend.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_TransDist.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_TransUserComm.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_TreeBR.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_TreeBS.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_TreeComb.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_Unpack.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_UpdateBuffs.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_cMPI_amn.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_cMPI_amn2.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_cMPI_amx.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_cMPI_amx2.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_cMPI_sum.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_cvvamn.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_cvvamn2.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_cvvamx.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_cvvamx2.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_cvvsum.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_dMPI_amn.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_dMPI_amn2.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_dMPI_amx.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_dMPI_amx2.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_dmvcopy.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_dvmcopy.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_dvvamn.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_dvvamn2.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_dvvamx.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_dvvamx2.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_dvvsum.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_iMPI_amn.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_iMPI_amn2.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_iMPI_amx.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_iMPI_amx2.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_imvcopy.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_ivmcopy.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_ivvamn.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_ivvamn2.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_ivvamx.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_ivvamx2.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_ivvsum.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_sMPI_amn.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_sMPI_amn2.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_sMPI_amx.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_sMPI_amx2.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_smvcopy.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_svmcopy.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_svvamn.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_svvamn2.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_svvamx.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_svvamx2.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_svvsum.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_zMPI_amn.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_zMPI_amn2.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_zMPI_amx.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_zMPI_amx2.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_zMPI_sum.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_zvvamn.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_zvvamn2.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_zvvamx.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_zvvamx2.c Examining data/scalapack-2.1.0/BLACS/SRC/BI_zvvsum.c Examining data/scalapack-2.1.0/BLACS/SRC/Bconfig.h Examining data/scalapack-2.1.0/BLACS/SRC/Bdef.h Examining data/scalapack-2.1.0/BLACS/SRC/blacs2sys_.c Examining data/scalapack-2.1.0/BLACS/SRC/blacs_abort_.c Examining data/scalapack-2.1.0/BLACS/SRC/blacs_barr_.c Examining data/scalapack-2.1.0/BLACS/SRC/blacs_exit_.c Examining data/scalapack-2.1.0/BLACS/SRC/blacs_free_.c Examining data/scalapack-2.1.0/BLACS/SRC/blacs_get_.c Examining data/scalapack-2.1.0/BLACS/SRC/blacs_grid_.c Examining data/scalapack-2.1.0/BLACS/SRC/blacs_info_.c Examining data/scalapack-2.1.0/BLACS/SRC/blacs_init_.c Examining data/scalapack-2.1.0/BLACS/SRC/blacs_map_.c Examining data/scalapack-2.1.0/BLACS/SRC/blacs_pcoord_.c Examining data/scalapack-2.1.0/BLACS/SRC/blacs_pinfo_.c Examining data/scalapack-2.1.0/BLACS/SRC/blacs_pnum_.c Examining data/scalapack-2.1.0/BLACS/SRC/blacs_set_.c Examining data/scalapack-2.1.0/BLACS/SRC/blacs_setup_.c Examining data/scalapack-2.1.0/BLACS/SRC/cgamn2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/cgamx2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/cgebr2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/cgebs2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/cgerv2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/cgesd2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/cgsum2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/ctrbr2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/ctrbs2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/ctrrv2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/ctrsd2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/dcputime00_.c Examining data/scalapack-2.1.0/BLACS/SRC/dgamn2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/dgamx2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/dgebr2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/dgebs2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/dgerv2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/dgesd2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/dgsum2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/dtrbr2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/dtrbs2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/dtrrv2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/dtrsd2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/dwalltime00_.c Examining data/scalapack-2.1.0/BLACS/SRC/free_handle_.c Examining data/scalapack-2.1.0/BLACS/SRC/igamn2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/igamx2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/igebr2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/igebs2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/igerv2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/igesd2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/igsum2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/itrbr2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/itrbs2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/itrrv2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/itrsd2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/kbrid_.c Examining data/scalapack-2.1.0/BLACS/SRC/kbsid_.c Examining data/scalapack-2.1.0/BLACS/SRC/krecvid_.c Examining data/scalapack-2.1.0/BLACS/SRC/ksendid_.c Examining data/scalapack-2.1.0/BLACS/SRC/sgamn2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/sgamx2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/sgebr2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/sgebs2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/sgerv2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/sgesd2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/sgsum2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/strbr2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/strbs2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/strrv2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/strsd2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/sys2blacs_.c Examining data/scalapack-2.1.0/BLACS/SRC/zgamn2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/zgamx2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/zgebr2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/zgebs2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/zgerv2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/zgesd2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/zgsum2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/ztrbr2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/ztrbs2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/ztrrv2d_.c Examining data/scalapack-2.1.0/BLACS/SRC/ztrsd2d_.c Examining data/scalapack-2.1.0/BLACS/TESTING/Cbt.c Examining data/scalapack-2.1.0/BLACS/TESTING/Cbt.h Examining data/scalapack-2.1.0/PBLAS/SRC/PBblacs.h Examining data/scalapack-2.1.0/PBLAS/SRC/PBblas.h Examining data/scalapack-2.1.0/PBLAS/SRC/PBpblas.h Examining data/scalapack-2.1.0/PBLAS/SRC/PBtools.h Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_CGatherV.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_CInOutV.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_CInOutV2.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_CInV.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_CInV2.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_COutV.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_CScatterV.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_CVMcontig.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_CVMinit.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_CVMloc.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_CVMnpq.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_CVMpack.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_CVMswp.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_CVMupdate.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cabort.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cainfog2l.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_CargFtoC.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cbinfo.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cchkmat.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cchkvec.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cconjg.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cctypeset.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cdescribe.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cdescset.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cdtypeset.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cfirstnb.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cg2lrem.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cgcd.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cgetbuf.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cindxg2p.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cinfog2l.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Citypeset.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Clastnb.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Clcm.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cmalloc.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cnnxtroc.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cnpreroc.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cnumroc.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cpaxpby.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_CpaxpbyDN.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_CpaxpbyND.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_CpaxpbyNN.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cpdot11.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_CpdotND.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_CpdotNN.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cpgeadd.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_CpgemmAB.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_CpgemmAC.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_CpgemmBC.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cplacnjg.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cplapad.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cplapd2.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cplaprnt.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cplasca2.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cplascal.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_CpswapND.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_CpswapNN.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cpsym.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_CpsymmAB.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_CpsymmBC.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cpsyr.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cpsyr2.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cpsyr2kA.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cpsyr2kAC.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_CpsyrkA.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_CpsyrkAC.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cptradd.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cptran.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cptrm.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_CptrmmAB.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_CptrmmB.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cptrsm.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_CptrsmAB.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_CptrsmAB0.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_CptrsmAB1.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_CptrsmB.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cptrsv.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cspan.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cstypeset.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Ctop.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Ctzahemv.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Ctzasymv.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Ctzatrmv.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Ctzhemm.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Ctzhemv.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Ctzher.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Ctzher2.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Ctzher2k.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Ctzherk.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Ctzsymm.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Ctzsymv.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Ctzsyr.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Ctzsyr2.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Ctzsyr2k.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Ctzsyrk.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Ctztrmm.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Ctztrmv.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cwarn.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cztypeset.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_freebuf_.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_topget_.c Examining data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_topset_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pblas.h Examining data/scalapack-2.1.0/PBLAS/SRC/pcagemv_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pcahemv_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pcamax_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pcatrmv_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pcaxpy_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pccopy_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pcdotc_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pcdotu_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pcgeadd_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pcgemm_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pcgemv_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pcgerc_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pcgeru_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pchemm_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pchemv_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pcher2_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pcher2k_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pcher_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pcherk_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pcscal_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pcsscal_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pcswap_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pcsymm_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pcsyr2k_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pcsyrk_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pctradd_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pctranc_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pctranu_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pctrmm_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pctrmv_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pctrsm_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pctrsv_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pdagemv_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pdamax_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pdasum_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pdasymv_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pdatrmv_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pdaxpy_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pdcopy_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pddot_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pdgeadd_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pdgemm_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pdgemv_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pdger_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pdnrm2_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pdscal_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pdswap_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pdsymm_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pdsymv_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pdsyr2_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pdsyr2k_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pdsyr_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pdsyrk_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pdtradd_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pdtran_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pdtrmm_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pdtrmv_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pdtrsm_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pdtrsv_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pdzasum_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pdznrm2_.c Examining data/scalapack-2.1.0/PBLAS/SRC/picopy_.c Examining data/scalapack-2.1.0/PBLAS/SRC/psagemv_.c Examining data/scalapack-2.1.0/PBLAS/SRC/psamax_.c Examining data/scalapack-2.1.0/PBLAS/SRC/psasum_.c Examining data/scalapack-2.1.0/PBLAS/SRC/psasymv_.c Examining data/scalapack-2.1.0/PBLAS/SRC/psatrmv_.c Examining data/scalapack-2.1.0/PBLAS/SRC/psaxpy_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pscasum_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pscnrm2_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pscopy_.c Examining data/scalapack-2.1.0/PBLAS/SRC/psdot_.c Examining data/scalapack-2.1.0/PBLAS/SRC/psgeadd_.c Examining data/scalapack-2.1.0/PBLAS/SRC/psgemm_.c Examining data/scalapack-2.1.0/PBLAS/SRC/psgemv_.c Examining data/scalapack-2.1.0/PBLAS/SRC/psger_.c Examining data/scalapack-2.1.0/PBLAS/SRC/psnrm2_.c Examining data/scalapack-2.1.0/PBLAS/SRC/psscal_.c Examining data/scalapack-2.1.0/PBLAS/SRC/psswap_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pssymm_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pssymv_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pssyr2_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pssyr2k_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pssyr_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pssyrk_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pstradd_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pstran_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pstrmm_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pstrmv_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pstrsm_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pstrsv_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pzagemv_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pzahemv_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pzamax_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pzatrmv_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pzaxpy_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pzcopy_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pzdotc_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pzdotu_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pzdscal_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pzgeadd_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pzgemm_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pzgemv_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pzgerc_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pzgeru_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pzhemm_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pzhemv_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pzher2_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pzher2k_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pzher_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pzherk_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pzscal_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pzswap_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pzsymm_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pzsyr2k_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pzsyrk_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pztradd_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pztranc_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pztranu_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pztrmm_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pztrmv_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pztrsm_.c Examining data/scalapack-2.1.0/PBLAS/SRC/pztrsv_.c Examining data/scalapack-2.1.0/REDIST/SRC/pcgemr.c Examining data/scalapack-2.1.0/REDIST/SRC/pcgemr2.c Examining data/scalapack-2.1.0/REDIST/SRC/pctrmr.c Examining data/scalapack-2.1.0/REDIST/SRC/pctrmr2.c Examining data/scalapack-2.1.0/REDIST/SRC/pdgemr.c Examining data/scalapack-2.1.0/REDIST/SRC/pdgemr2.c Examining data/scalapack-2.1.0/REDIST/SRC/pdtrmr.c Examining data/scalapack-2.1.0/REDIST/SRC/pdtrmr2.c Examining data/scalapack-2.1.0/REDIST/SRC/pgemraux.c Examining data/scalapack-2.1.0/REDIST/SRC/pigemr.c Examining data/scalapack-2.1.0/REDIST/SRC/pigemr2.c Examining data/scalapack-2.1.0/REDIST/SRC/pitrmr.c Examining data/scalapack-2.1.0/REDIST/SRC/pitrmr2.c Examining data/scalapack-2.1.0/REDIST/SRC/psgemr.c Examining data/scalapack-2.1.0/REDIST/SRC/psgemr2.c Examining data/scalapack-2.1.0/REDIST/SRC/pstrmr.c Examining data/scalapack-2.1.0/REDIST/SRC/pstrmr2.c Examining data/scalapack-2.1.0/REDIST/SRC/pzgemr.c Examining data/scalapack-2.1.0/REDIST/SRC/pzgemr2.c Examining data/scalapack-2.1.0/REDIST/SRC/pztrmr.c Examining data/scalapack-2.1.0/REDIST/SRC/pztrmr2.c Examining data/scalapack-2.1.0/REDIST/SRC/redist.h Examining data/scalapack-2.1.0/REDIST/TESTING/pcgemrdrv.c Examining data/scalapack-2.1.0/REDIST/TESTING/pctrmrdrv.c Examining data/scalapack-2.1.0/REDIST/TESTING/pdgemrdrv.c Examining data/scalapack-2.1.0/REDIST/TESTING/pdtrmrdrv.c Examining data/scalapack-2.1.0/REDIST/TESTING/pigemrdrv.c Examining data/scalapack-2.1.0/REDIST/TESTING/pitrmrdrv.c Examining data/scalapack-2.1.0/REDIST/TESTING/psgemrdrv.c Examining data/scalapack-2.1.0/REDIST/TESTING/pstrmrdrv.c Examining data/scalapack-2.1.0/REDIST/TESTING/pzgemrdrv.c Examining data/scalapack-2.1.0/REDIST/TESTING/pztrmrdrv.c Examining data/scalapack-2.1.0/REDIST/TESTING/redist.h Examining data/scalapack-2.1.0/SRC/clamov.c Examining data/scalapack-2.1.0/SRC/dlamov.c Examining data/scalapack-2.1.0/SRC/getpbbuf.c Examining data/scalapack-2.1.0/SRC/lamov.h Examining data/scalapack-2.1.0/SRC/pbchkvect.c Examining data/scalapack-2.1.0/SRC/pblas.h Examining data/scalapack-2.1.0/SRC/pcrot.c Examining data/scalapack-2.1.0/SRC/pdlaiect.c Examining data/scalapack-2.1.0/SRC/pslaiect.c Examining data/scalapack-2.1.0/SRC/pxsyevx.h Examining data/scalapack-2.1.0/SRC/pzaxpy.c Examining data/scalapack-2.1.0/SRC/pzdotc.c Examining data/scalapack-2.1.0/SRC/pzdotu.c Examining data/scalapack-2.1.0/SRC/pzrot.c Examining data/scalapack-2.1.0/SRC/slamov.c Examining data/scalapack-2.1.0/SRC/tools.h Examining data/scalapack-2.1.0/SRC/zlamov.c Examining data/scalapack-2.1.0/TOOLS/SL_gridreshape.c Examining data/scalapack-2.1.0/TOOLS/reshape.c FINAL RESULTS: data/scalapack-2.1.0/BLACS/SRC/BI_BlacsErr.c:17:4: [4] (format) vsprintf: Potential format string problem (CWE-134). Make format string constant. vsprintf(cline, form, argptr); data/scalapack-2.1.0/BLACS/SRC/BI_BlacsWarn.c:12:4: [4] (format) vsprintf: Potential format string problem (CWE-134). Make format string constant. vsprintf(cline, form, argptr); data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cwarn.c:142:4: [4] (format) vsprintf: Potential format string problem (CWE-134). Make format string constant. vsprintf( cline, FORM, argptr ); data/scalapack-2.1.0/BLACS/SRC/BI_BlacsErr.c:13: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 cline[100]; data/scalapack-2.1.0/BLACS/SRC/BI_BlacsWarn.c:9: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 cline[100]; data/scalapack-2.1.0/PBLAS/SRC/PTOOLS/PB_Cwarn.c:107: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 cline[100]; data/scalapack-2.1.0/PBLAS/SRC/pcagemv_.c:374:33: [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. sascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pcagemv_.c:374:56: [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. sascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pcagemv_.c:502:33: [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. sascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pcagemv_.c:502:56: [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. sascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pcahemv_.c:354:33: [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. sascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pcahemv_.c:354:56: [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. sascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pcahemv_.c:624:33: [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. sascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pcahemv_.c:624:56: [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. sascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pcamax_.c:240:25: [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. Xptr = Mptr( ((char *) X), Xii, Xjj, Xd[LLD_], type->size ); data/scalapack-2.1.0/PBLAS/SRC/pcatrmv_.c:396:33: [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. sascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pcatrmv_.c:396:56: [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. sascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pcatrmv_.c:657:33: [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. sascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pcatrmv_.c:657:56: [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. sascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pcgemv_.c:375:34: [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. cset_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pcgemv_.c:375:57: [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. cset_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pcgemv_.c:380:35: [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. cscal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pcgemv_.c:380:58: [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. cscal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pchemv_.c:362:34: [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. cset_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pchemv_.c:362:57: [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. cset_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pchemv_.c:367:35: [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. cscal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pchemv_.c:367:58: [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. cscal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pcscal_.c:245:31: [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. cset_( &Xnp, ((char *) ALPHA), Mptr( ((char *) X), Xii, data/scalapack-2.1.0/PBLAS/SRC/pcscal_.c:245:55: [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. cset_( &Xnp, ((char *) ALPHA), Mptr( ((char *) X), Xii, data/scalapack-2.1.0/PBLAS/SRC/pcscal_.c:250:32: [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. cscal_( &Xnp, ((char *) ALPHA), Mptr( ((char *) X), Xii, data/scalapack-2.1.0/PBLAS/SRC/pcscal_.c:250:56: [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. cscal_( &Xnp, ((char *) ALPHA), Mptr( ((char *) X), Xii, data/scalapack-2.1.0/PBLAS/SRC/pcsscal_.c:243:49: [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. cset_( &Xnp, type->zero, Mptr( ((char *) X), Xii, Xjj, data/scalapack-2.1.0/PBLAS/SRC/pcsscal_.c:248:33: [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. csscal_( &Xnp, ((char *) ALPHA), Mptr( ((char *) X), data/scalapack-2.1.0/PBLAS/SRC/pcsscal_.c:248:57: [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. csscal_( &Xnp, ((char *) ALPHA), Mptr( ((char *) X), data/scalapack-2.1.0/PBLAS/SRC/pctrmv_.c:331:43: [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. cset_( &Xnp, zero, Mptr( ((char *) X), Xii, Xjj, Xd[LLD_], data/scalapack-2.1.0/PBLAS/SRC/pdagemv_.c:369:33: [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. dascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pdagemv_.c:369:56: [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. dascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pdagemv_.c:497:33: [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. dascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pdagemv_.c:497:56: [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. dascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pdasymv_.c:351:33: [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. dascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pdasymv_.c:351:56: [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. dascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pdasymv_.c:621:33: [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. dascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pdasymv_.c:621:56: [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. dascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pdatrmv_.c:392:33: [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. dascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pdatrmv_.c:392:56: [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. dascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pdatrmv_.c:653:33: [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. dascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pdatrmv_.c:653:56: [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. dascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pdgemv_.c:372:34: [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. dset_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pdgemv_.c:372:57: [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. dset_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pdgemv_.c:377:35: [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. dscal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pdgemv_.c:377:58: [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. dscal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pdsymv_.c:358:34: [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. dset_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pdsymv_.c:358:57: [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. dset_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pdsymv_.c:363:35: [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. dscal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pdsymv_.c:363:58: [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. dscal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pdtrmv_.c:326:43: [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. dset_( &Xnp, zero, Mptr( ((char *) X), Xii, Xjj, Xd[LLD_], data/scalapack-2.1.0/PBLAS/SRC/pdzasum_.c:230:26: [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. Xptr = Mptr( ((char *) X), Xii, Xjj, Xd[LLD_], type->size ); data/scalapack-2.1.0/PBLAS/SRC/pdzasum_.c:284:31: [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. dzvasum_( &Xnp, ((char *) ASUM), Mptr( ((char *) X), Xii, data/scalapack-2.1.0/PBLAS/SRC/pdzasum_.c:284:54: [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. dzvasum_( &Xnp, ((char *) ASUM), Mptr( ((char *) X), Xii, data/scalapack-2.1.0/PBLAS/SRC/pdznrm2_.c:232:26: [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. Xptr = Mptr( ((char *) X), Xii, Xjj, Xd[LLD_], type->size ); data/scalapack-2.1.0/PBLAS/SRC/pdznrm2_.c:430:28: [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. Xptr = Mptr( ((char *) X), Xii, Xjj, Xd[LLD_], size ); data/scalapack-2.1.0/PBLAS/SRC/psagemv_.c:369:33: [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. sascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/psagemv_.c:369:56: [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. sascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/psagemv_.c:497:33: [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. sascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/psagemv_.c:497:56: [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. sascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/psasymv_.c:351:33: [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. sascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/psasymv_.c:351:56: [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. sascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/psasymv_.c:621:33: [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. sascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/psasymv_.c:621:56: [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. sascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/psatrmv_.c:392:33: [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. sascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/psatrmv_.c:392:56: [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. sascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/psatrmv_.c:653:33: [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. sascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/psatrmv_.c:653:56: [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. sascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pscasum_.c:230:26: [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. Xptr = Mptr( ((char *) X), Xii, Xjj, Xd[LLD_], type->size ); data/scalapack-2.1.0/PBLAS/SRC/pscasum_.c:284:31: [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. scvasum_( &Xnp, ((char *) ASUM), Mptr( ((char *) X), Xii, data/scalapack-2.1.0/PBLAS/SRC/pscasum_.c:284:54: [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. scvasum_( &Xnp, ((char *) ASUM), Mptr( ((char *) X), Xii, data/scalapack-2.1.0/PBLAS/SRC/pscnrm2_.c:232:26: [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. Xptr = Mptr( ((char *) X), Xii, Xjj, Xd[LLD_], type->size ); data/scalapack-2.1.0/PBLAS/SRC/pscnrm2_.c:430:28: [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. Xptr = Mptr( ((char *) X), Xii, Xjj, Xd[LLD_], size ); data/scalapack-2.1.0/PBLAS/SRC/psgemv_.c:372:34: [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. sset_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/psgemv_.c:372:57: [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. sset_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/psgemv_.c:377:35: [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. sscal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/psgemv_.c:377:58: [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. sscal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pssymv_.c:358:34: [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. sset_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pssymv_.c:358:57: [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. sset_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pssymv_.c:363:35: [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. sscal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pssymv_.c:363:58: [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. sscal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pstrmv_.c:326:43: [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. sset_( &Xnp, zero, Mptr( ((char *) X), Xii, Xjj, Xd[LLD_], data/scalapack-2.1.0/PBLAS/SRC/pzagemv_.c:374:33: [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. dascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pzagemv_.c:374:56: [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. dascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pzagemv_.c:502:33: [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. dascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pzagemv_.c:502:56: [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. dascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pzahemv_.c:354:33: [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. dascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pzahemv_.c:354:56: [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. dascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pzahemv_.c:624:33: [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. dascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pzahemv_.c:624:56: [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. dascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pzamax_.c:240:25: [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. Xptr = Mptr( ((char *) X), Xii, Xjj, Xd[LLD_], type->size ); data/scalapack-2.1.0/PBLAS/SRC/pzatrmv_.c:396:33: [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. dascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pzatrmv_.c:396:56: [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. dascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pzatrmv_.c:657:33: [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. dascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pzatrmv_.c:657:56: [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. dascal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pzdscal_.c:243:49: [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. zset_( &Xnp, type->zero, Mptr( ((char *) X), Xii, Xjj, data/scalapack-2.1.0/PBLAS/SRC/pzdscal_.c:248:33: [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. zdscal_( &Xnp, ((char *) ALPHA), Mptr( ((char *) X), data/scalapack-2.1.0/PBLAS/SRC/pzdscal_.c:248:57: [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. zdscal_( &Xnp, ((char *) ALPHA), Mptr( ((char *) X), data/scalapack-2.1.0/PBLAS/SRC/pzgemv_.c:375:34: [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. zset_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pzgemv_.c:375:57: [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. zset_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pzgemv_.c:380:35: [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. zscal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pzgemv_.c:380:58: [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. zscal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pzhemv_.c:362:34: [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. zset_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pzhemv_.c:362:57: [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. zset_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pzhemv_.c:367:35: [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. zscal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pzhemv_.c:367:58: [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. zscal_( &Ynp, ((char *) BETA), Mptr( ((char *) Y), Yii, data/scalapack-2.1.0/PBLAS/SRC/pzscal_.c:244:31: [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. zset_( &Xnp, ((char *) ALPHA), Mptr( ((char *) X), Xii, data/scalapack-2.1.0/PBLAS/SRC/pzscal_.c:244:55: [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. zset_( &Xnp, ((char *) ALPHA), Mptr( ((char *) X), Xii, data/scalapack-2.1.0/PBLAS/SRC/pzscal_.c:249:32: [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. zscal_( &Xnp, ((char *) ALPHA), Mptr( ((char *) X), Xii, data/scalapack-2.1.0/PBLAS/SRC/pzscal_.c:249:56: [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. zscal_( &Xnp, ((char *) ALPHA), Mptr( ((char *) X), Xii, data/scalapack-2.1.0/PBLAS/SRC/pztrmv_.c:331:43: [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. zset_( &Xnp, zero, Mptr( ((char *) X), Xii, Xjj, Xd[LLD_], data/scalapack-2.1.0/REDIST/SRC/pctrmr2.c:218: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((char *) (*pptrbuff), (char *) ptrstart, data/scalapack-2.1.0/REDIST/SRC/pctrmr2.c:227: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((char *) ptrstart, (char *) (*pptrbuff), data/scalapack-2.1.0/REDIST/SRC/pdtrmr2.c:215: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((char *) (*pptrbuff), (char *) ptrstart, data/scalapack-2.1.0/REDIST/SRC/pdtrmr2.c:224: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((char *) ptrstart, (char *) (*pptrbuff), data/scalapack-2.1.0/REDIST/SRC/pitrmr2.c:215: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((char *) (*pptrbuff), (char *) ptrstart, data/scalapack-2.1.0/REDIST/SRC/pitrmr2.c:224: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((char *) ptrstart, (char *) (*pptrbuff), data/scalapack-2.1.0/REDIST/SRC/pstrmr2.c:215: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((char *) (*pptrbuff), (char *) ptrstart, data/scalapack-2.1.0/REDIST/SRC/pstrmr2.c:224: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((char *) ptrstart, (char *) (*pptrbuff), data/scalapack-2.1.0/REDIST/SRC/pztrmr2.c:218: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((char *) (*pptrbuff), (char *) ptrstart, data/scalapack-2.1.0/REDIST/SRC/pztrmr2.c:227: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((char *) ptrstart, (char *) (*pptrbuff), data/scalapack-2.1.0/REDIST/TESTING/pcgemrdrv.c:199:10: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char buffer[200]; data/scalapack-2.1.0/REDIST/TESTING/pcgemrdrv.c:241: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). nproc = atoi(argv[1]); data/scalapack-2.1.0/REDIST/TESTING/pcgemrdrv.c:291: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("GEMR2D.dat", "r")) == NULL) { data/scalapack-2.1.0/REDIST/TESTING/pcgemrdrv.c:417: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((char *) ptrmyblockcopy, (char *) ptrmyblock, data/scalapack-2.1.0/REDIST/TESTING/pctrmrdrv.c:199:10: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char buffer[200]; data/scalapack-2.1.0/REDIST/TESTING/pctrmrdrv.c:241: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). nproc = atoi(argv[1]); data/scalapack-2.1.0/REDIST/TESTING/pctrmrdrv.c:292: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("TRMR2D.dat", "r")) == NULL) { data/scalapack-2.1.0/REDIST/TESTING/pctrmrdrv.c:427: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((char *) ptrmyblockcopy, (char *) ptrmyblock, data/scalapack-2.1.0/REDIST/TESTING/pdgemrdrv.c:196:10: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char buffer[200]; data/scalapack-2.1.0/REDIST/TESTING/pdgemrdrv.c:238: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). nproc = atoi(argv[1]); data/scalapack-2.1.0/REDIST/TESTING/pdgemrdrv.c:288: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("GEMR2D.dat", "r")) == NULL) { data/scalapack-2.1.0/REDIST/TESTING/pdgemrdrv.c:414: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((char *) ptrmyblockcopy, (char *) ptrmyblock, data/scalapack-2.1.0/REDIST/TESTING/pdtrmrdrv.c:196:10: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char buffer[200]; data/scalapack-2.1.0/REDIST/TESTING/pdtrmrdrv.c:238: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). nproc = atoi(argv[1]); data/scalapack-2.1.0/REDIST/TESTING/pdtrmrdrv.c:289: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("TRMR2D.dat", "r")) == NULL) { data/scalapack-2.1.0/REDIST/TESTING/pdtrmrdrv.c:424: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((char *) ptrmyblockcopy, (char *) ptrmyblock, data/scalapack-2.1.0/REDIST/TESTING/pigemrdrv.c:195:10: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char buffer[200]; data/scalapack-2.1.0/REDIST/TESTING/pigemrdrv.c:237: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). nproc = atoi(argv[1]); data/scalapack-2.1.0/REDIST/TESTING/pigemrdrv.c:287: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("GEMR2D.dat", "r")) == NULL) { data/scalapack-2.1.0/REDIST/TESTING/pigemrdrv.c:413: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((char *) ptrmyblockcopy, (char *) ptrmyblock, data/scalapack-2.1.0/REDIST/TESTING/pitrmrdrv.c:195:10: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char buffer[200]; data/scalapack-2.1.0/REDIST/TESTING/pitrmrdrv.c:237: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). nproc = atoi(argv[1]); data/scalapack-2.1.0/REDIST/TESTING/pitrmrdrv.c:288: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("TRMR2D.dat", "r")) == NULL) { data/scalapack-2.1.0/REDIST/TESTING/pitrmrdrv.c:423: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((char *) ptrmyblockcopy, (char *) ptrmyblock, data/scalapack-2.1.0/REDIST/TESTING/psgemrdrv.c:195:10: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char buffer[200]; data/scalapack-2.1.0/REDIST/TESTING/psgemrdrv.c:237: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). nproc = atoi(argv[1]); data/scalapack-2.1.0/REDIST/TESTING/psgemrdrv.c:287: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("GEMR2D.dat", "r")) == NULL) { data/scalapack-2.1.0/REDIST/TESTING/psgemrdrv.c:413: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((char *) ptrmyblockcopy, (char *) ptrmyblock, data/scalapack-2.1.0/REDIST/TESTING/pstrmrdrv.c:195:10: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char buffer[200]; data/scalapack-2.1.0/REDIST/TESTING/pstrmrdrv.c:237: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). nproc = atoi(argv[1]); data/scalapack-2.1.0/REDIST/TESTING/pstrmrdrv.c:288: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("TRMR2D.dat", "r")) == NULL) { data/scalapack-2.1.0/REDIST/TESTING/pstrmrdrv.c:423: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((char *) ptrmyblockcopy, (char *) ptrmyblock, data/scalapack-2.1.0/REDIST/TESTING/pzgemrdrv.c:199:10: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char buffer[200]; data/scalapack-2.1.0/REDIST/TESTING/pzgemrdrv.c:241: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). nproc = atoi(argv[1]); data/scalapack-2.1.0/REDIST/TESTING/pzgemrdrv.c:291: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("GEMR2D.dat", "r")) == NULL) { data/scalapack-2.1.0/REDIST/TESTING/pzgemrdrv.c:417: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((char *) ptrmyblockcopy, (char *) ptrmyblock, data/scalapack-2.1.0/REDIST/TESTING/pztrmrdrv.c:199:10: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char buffer[200]; data/scalapack-2.1.0/REDIST/TESTING/pztrmrdrv.c:241: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). nproc = atoi(argv[1]); data/scalapack-2.1.0/REDIST/TESTING/pztrmrdrv.c:292: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("TRMR2D.dat", "r")) == NULL) { data/scalapack-2.1.0/REDIST/TESTING/pztrmrdrv.c:427: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((char *) ptrmyblockcopy, (char *) ptrmyblock, ANALYSIS SUMMARY: Hits = 166 Lines analyzed = 144088 in approximately 4.33 seconds (33307 lines/second) Physical Source Lines of Code (SLOC) = 75273 Hits@level = [0] 247 [1] 0 [2] 163 [3] 0 [4] 3 [5] 0 Hits@level+ = [0+] 413 [1+] 166 [2+] 166 [3+] 3 [4+] 3 [5+] 0 Hits/KSLOC@level+ = [0+] 5.4867 [1+] 2.20531 [2+] 2.20531 [3+] 0.0398549 [4+] 0.0398549 [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.