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/clblas-2.12/src/clAmdBlas.h
Examining data/clblas-2.12/src/clAmdBlas.version.h
Examining data/clblas-2.12/src/clBLAS-complex.h
Examining data/clblas-2.12/src/clBLAS.h
Examining data/clblas-2.12/src/client/clGemm.h
Examining data/clblas-2.12/src/client/clfunc_common.hpp
Examining data/clblas-2.12/src/client/clfunc_xgemm.hpp
Examining data/clblas-2.12/src/client/clfunc_xgemv.hpp
Examining data/clblas-2.12/src/client/clfunc_xger.hpp
Examining data/clblas-2.12/src/client/clfunc_xgerc.hpp
Examining data/clblas-2.12/src/client/clfunc_xgeru.hpp
Examining data/clblas-2.12/src/client/clfunc_xhemm.hpp
Examining data/clblas-2.12/src/client/clfunc_xhemv.hpp
Examining data/clblas-2.12/src/client/clfunc_xher.hpp
Examining data/clblas-2.12/src/client/clfunc_xher2.hpp
Examining data/clblas-2.12/src/client/clfunc_xher2k.hpp
Examining data/clblas-2.12/src/client/clfunc_xherk.hpp
Examining data/clblas-2.12/src/client/clfunc_xsymm.hpp
Examining data/clblas-2.12/src/client/clfunc_xsymv.hpp
Examining data/clblas-2.12/src/client/clfunc_xsyr.hpp
Examining data/clblas-2.12/src/client/clfunc_xsyr2.hpp
Examining data/clblas-2.12/src/client/clfunc_xsyr2k.hpp
Examining data/clblas-2.12/src/client/clfunc_xsyrk.hpp
Examining data/clblas-2.12/src/client/clfunc_xtrmm.hpp
Examining data/clblas-2.12/src/client/clfunc_xtrmv.hpp
Examining data/clblas-2.12/src/client/clfunc_xtrsm.hpp
Examining data/clblas-2.12/src/client/clfunc_xtrsv.hpp
Examining data/clblas-2.12/src/client/client.cpp
Examining data/clblas-2.12/src/client/ctimer.h
Examining data/clblas-2.12/src/client/statisticalTimer.cpp
Examining data/clblas-2.12/src/client/statisticalTimer.h
Examining data/clblas-2.12/src/client/stdafx.cpp
Examining data/clblas-2.12/src/client/stdafx.h
Examining data/clblas-2.12/src/client/targetver.h
Examining data/clblas-2.12/src/client/testPerfWrapper.cpp
Examining data/clblas-2.12/src/client/timer.cpp
Examining data/clblas-2.12/src/client/timer.hpp
Examining data/clblas-2.12/src/include/binary_lookup.h
Examining data/clblas-2.12/src/include/clblas_stddef.h
Examining data/clblas-2.12/src/include/clkern.h
Examining data/clblas-2.12/src/include/cltypes.h
Examining data/clblas-2.12/src/include/dblock_kgen.h
Examining data/clblas-2.12/src/include/defbool.h
Examining data/clblas-2.12/src/include/devinfo.h
Examining data/clblas-2.12/src/include/dis_warning.h
Examining data/clblas-2.12/src/include/granulation.h
Examining data/clblas-2.12/src/include/kern_cache.h
Examining data/clblas-2.12/src/include/kernel_extra.h
Examining data/clblas-2.12/src/include/kerngen.h
Examining data/clblas-2.12/src/include/list.h
Examining data/clblas-2.12/src/include/md5sum.h
Examining data/clblas-2.12/src/include/mempat.h
Examining data/clblas-2.12/src/include/msvc.h
Examining data/clblas-2.12/src/include/mutex.h
Examining data/clblas-2.12/src/include/rwlock.h
Examining data/clblas-2.12/src/include/solver.h
Examining data/clblas-2.12/src/include/trace_malloc.h
Examining data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTeardown.h
Examining data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmPreCompileKernels.cpp
Examining data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmUtil.h
Examining data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/ProfileAutoGemm.cpp
Examining data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/TestAutoGemm.cpp
Examining data/clblas-2.12/src/library/blas/AutoGemm/UserGemmKernelSources/UserGemmClKernels.cc
Examining data/clblas-2.12/src/library/blas/AutoGemm/UserGemmKernelSources/UserGemmClKernels.h
Examining data/clblas-2.12/src/library/blas/AutoGemm/UserGemmKernelSources/UserGemmKernelSourceIncludes.cpp
Examining data/clblas-2.12/src/library/blas/AutoGemm/UserGemmKernelSources/UserGemmKernelSourceIncludes.h
Examining data/clblas-2.12/src/library/blas/AutoGemm/UserGemmKernelSources/dgemm_Col_NN_B0_MX048_NX048_KX08_src.cpp
Examining data/clblas-2.12/src/library/blas/AutoGemm/UserGemmKernelSources/dgemm_Col_NN_B1_MX048_NX048_KX08_src.cpp
Examining data/clblas-2.12/src/library/blas/AutoGemm/UserGemmKernelSources/dgemm_Col_NT_B0_MX048_NX048_KX08_src.cpp
Examining data/clblas-2.12/src/library/blas/AutoGemm/UserGemmKernelSources/dgemm_Col_NT_B1_MX048_NX048_KX08_src.cpp
Examining data/clblas-2.12/src/library/blas/AutoGemm/UserGemmKernelSources/dgemm_Col_TN_B0_MX048_NX048_KX08_src.cpp
Examining data/clblas-2.12/src/library/blas/AutoGemm/UserGemmKernelSources/dgemm_Col_TN_B1_MX048_NX048_KX08_src.cpp
Examining data/clblas-2.12/src/library/blas/AutoGemm/UserGemmKernelSources/sgemm_Col_NN_B0_MX032_NX032_KX16_src.cpp
Examining data/clblas-2.12/src/library/blas/AutoGemm/UserGemmKernelSources/sgemm_Col_NN_B0_MX064_NX064_KX16_src.cpp
Examining data/clblas-2.12/src/library/blas/AutoGemm/UserGemmKernelSources/sgemm_Col_NN_B0_MX096_NX096_KX16_src.cpp
Examining data/clblas-2.12/src/library/blas/AutoGemm/UserGemmKernelSources/sgemm_Col_NN_B1_MX032_NX032_KX16_BRANCH_src.cpp
Examining data/clblas-2.12/src/library/blas/AutoGemm/UserGemmKernelSources/sgemm_Col_NN_B1_MX032_NX032_KX16_src.cpp
Examining data/clblas-2.12/src/library/blas/AutoGemm/UserGemmKernelSources/sgemm_Col_NN_B1_MX064_NX064_KX16_src.cpp
Examining data/clblas-2.12/src/library/blas/AutoGemm/UserGemmKernelSources/sgemm_Col_NN_B1_MX096_NX096_KX16_src.cpp
Examining data/clblas-2.12/src/library/blas/AutoGemm/UserGemmKernelSources/sgemm_Col_NT_B0_MX032_NX032_KX16_src.cpp
Examining data/clblas-2.12/src/library/blas/AutoGemm/UserGemmKernelSources/sgemm_Col_NT_B0_MX064_NX064_KX16_src.cpp
Examining data/clblas-2.12/src/library/blas/AutoGemm/UserGemmKernelSources/sgemm_Col_NT_B0_MX096_NX096_KX16_src.cpp
Examining data/clblas-2.12/src/library/blas/AutoGemm/UserGemmKernelSources/sgemm_Col_NT_B1_MX032_NX032_KX16_BRANCH_src.cpp
Examining data/clblas-2.12/src/library/blas/AutoGemm/UserGemmKernelSources/sgemm_Col_NT_B1_MX032_NX032_KX16_SINGLE_src.cpp
Examining data/clblas-2.12/src/library/blas/AutoGemm/UserGemmKernelSources/sgemm_Col_NT_B1_MX032_NX032_KX16_src.cpp
Examining data/clblas-2.12/src/library/blas/AutoGemm/UserGemmKernelSources/sgemm_Col_NT_B1_MX032_NX064_KX16_ROW_src.cpp
Examining data/clblas-2.12/src/library/blas/AutoGemm/UserGemmKernelSources/sgemm_Col_NT_B1_MX064_NX032_KX16_COL_src.cpp
Examining data/clblas-2.12/src/library/blas/AutoGemm/UserGemmKernelSources/sgemm_Col_NT_B1_MX064_NX064_KX16_src.cpp
Examining data/clblas-2.12/src/library/blas/AutoGemm/UserGemmKernelSources/sgemm_Col_NT_B1_MX096_NX096_KX16_src.cpp
Examining data/clblas-2.12/src/library/blas/AutoGemm/UserGemmKernelSources/sgemm_Col_NT_B1_MX128_NX128_KX16_src.cpp
Examining data/clblas-2.12/src/library/blas/AutoGemm/UserGemmKernelSources/sgemm_Col_TN_B0_MX032_NX032_KX16_src.cpp
Examining data/clblas-2.12/src/library/blas/AutoGemm/UserGemmKernelSources/sgemm_Col_TN_B0_MX064_NX064_KX16_src.cpp
Examining data/clblas-2.12/src/library/blas/AutoGemm/UserGemmKernelSources/sgemm_Col_TN_B0_MX096_NX096_KX16_src.cpp
Examining data/clblas-2.12/src/library/blas/AutoGemm/UserGemmKernelSources/sgemm_Col_TN_B1_MX032_NX032_KX16_BRANCH_src.cpp
Examining data/clblas-2.12/src/library/blas/AutoGemm/UserGemmKernelSources/sgemm_Col_TN_B1_MX032_NX032_KX16_src.cpp
Examining data/clblas-2.12/src/library/blas/AutoGemm/UserGemmKernelSources/sgemm_Col_TN_B1_MX064_NX064_KX16_src.cpp
Examining data/clblas-2.12/src/library/blas/AutoGemm/UserGemmKernelSources/sgemm_Col_TN_B1_MX096_NX096_KX16_src.cpp
Examining data/clblas-2.12/src/library/blas/fill.cc
Examining data/clblas-2.12/src/library/blas/functor/bonaire.cc
Examining data/clblas-2.12/src/library/blas/functor/functor.cc
Examining data/clblas-2.12/src/library/blas/functor/functor_fill.cc
Examining data/clblas-2.12/src/library/blas/functor/functor_selector.cc
Examining data/clblas-2.12/src/library/blas/functor/functor_xgemm.cc
Examining data/clblas-2.12/src/library/blas/functor/functor_xscal.cc
Examining data/clblas-2.12/src/library/blas/functor/functor_xscal_generic.cc
Examining data/clblas-2.12/src/library/blas/functor/functor_xtrsm.cc
Examining data/clblas-2.12/src/library/blas/functor/gcn_dgemm.cc
Examining data/clblas-2.12/src/library/blas/functor/gcn_dgemmCommon.cc
Examining data/clblas-2.12/src/library/blas/functor/gcn_dgemmSmallMatrices.cc
Examining data/clblas-2.12/src/library/blas/functor/gcn_sgemm.cc
Examining data/clblas-2.12/src/library/blas/functor/gcn_sgemmSmallMatrices.cc
Examining data/clblas-2.12/src/library/blas/functor/gcn_zgemm.cc
Examining data/clblas-2.12/src/library/blas/functor/gpu_dtrsm.cc
Examining data/clblas-2.12/src/library/blas/functor/gpu_dtrsm192.cc
Examining data/clblas-2.12/src/library/blas/functor/hawaii.cc
Examining data/clblas-2.12/src/library/blas/functor/hawaii_dgemmChannelConflict.cc
Examining data/clblas-2.12/src/library/blas/functor/hawaii_dgemmSplitKernel.cc
Examining data/clblas-2.12/src/library/blas/functor/hawaii_sgemmBig1024Kernel.cc
Examining data/clblas-2.12/src/library/blas/functor/hawaii_sgemmBranchKernel.cc
Examining data/clblas-2.12/src/library/blas/functor/hawaii_sgemmSplit64_32.cc
Examining data/clblas-2.12/src/library/blas/functor/hawaii_sgemmSplitKernel.cc
Examining data/clblas-2.12/src/library/blas/functor/include/BinaryBuild.h
Examining data/clblas-2.12/src/library/blas/functor/include/atomic_counter.h
Examining data/clblas-2.12/src/library/blas/functor/include/bonaire.h
Examining data/clblas-2.12/src/library/blas/functor/include/functor.h
Examining data/clblas-2.12/src/library/blas/functor/include/functor_fill.h
Examining data/clblas-2.12/src/library/blas/functor/include/functor_hawaii_dgemm_NT_MN48.h
Examining data/clblas-2.12/src/library/blas/functor/include/functor_selector.h
Examining data/clblas-2.12/src/library/blas/functor/include/functor_utils.h
Examining data/clblas-2.12/src/library/blas/functor/include/functor_xgemm.h
Examining data/clblas-2.12/src/library/blas/functor/include/functor_xscal.h
Examining data/clblas-2.12/src/library/blas/functor/include/functor_xscal_generic.h
Examining data/clblas-2.12/src/library/blas/functor/include/functor_xtrsm.h
Examining data/clblas-2.12/src/library/blas/functor/include/gcn_dgemm.h
Examining data/clblas-2.12/src/library/blas/functor/include/gcn_dgemmCommon.h
Examining data/clblas-2.12/src/library/blas/functor/include/gcn_dgemmSmallMatrices.h
Examining data/clblas-2.12/src/library/blas/functor/include/gcn_sgemm.h
Examining data/clblas-2.12/src/library/blas/functor/include/gcn_sgemmSmallMatrices.h
Examining data/clblas-2.12/src/library/blas/functor/include/gcn_zgemm.h
Examining data/clblas-2.12/src/library/blas/functor/include/gpu_dtrsm.h
Examining data/clblas-2.12/src/library/blas/functor/include/gpu_dtrsm192.h
Examining data/clblas-2.12/src/library/blas/functor/include/hawaii.h
Examining data/clblas-2.12/src/library/blas/functor/include/hawaii_dgemmChannelConflict.h
Examining data/clblas-2.12/src/library/blas/functor/include/hawaii_dgemmSplitKernel.h
Examining data/clblas-2.12/src/library/blas/functor/include/hawaii_sgemmBig1024Kernel.h
Examining data/clblas-2.12/src/library/blas/functor/include/hawaii_sgemmBranchKernel.h
Examining data/clblas-2.12/src/library/blas/functor/include/hawaii_sgemmSplit64_32.h
Examining data/clblas-2.12/src/library/blas/functor/include/hawaii_sgemmSplitKernel.h
Examining data/clblas-2.12/src/library/blas/functor/include/tahiti.h
Examining data/clblas-2.12/src/library/blas/functor/tahiti.cc
Examining data/clblas-2.12/src/library/blas/generic/binary_lookup.cc
Examining data/clblas-2.12/src/library/blas/generic/blas_funcs.c
Examining data/clblas-2.12/src/library/blas/generic/common.c
Examining data/clblas-2.12/src/library/blas/generic/common2.cc
Examining data/clblas-2.12/src/library/blas/generic/events.c
Examining data/clblas-2.12/src/library/blas/generic/functor_cache.cc
Examining data/clblas-2.12/src/library/blas/generic/kdump.c
Examining data/clblas-2.12/src/library/blas/generic/kernel_extra.c
Examining data/clblas-2.12/src/library/blas/generic/matrix_dims.c
Examining data/clblas-2.12/src/library/blas/generic/matrix_props.c
Examining data/clblas-2.12/src/library/blas/generic/problem_iter.c
Examining data/clblas-2.12/src/library/blas/generic/problem_iter.h
Examining data/clblas-2.12/src/library/blas/generic/solution_assert.c
Examining data/clblas-2.12/src/library/blas/generic/solution_assert.h
Examining data/clblas-2.12/src/library/blas/generic/solution_seq.c
Examining data/clblas-2.12/src/library/blas/generic/solution_seq_make.c
Examining data/clblas-2.12/src/library/blas/gens/asum.cpp
Examining data/clblas-2.12/src/library/blas/gens/axpy_reg.cpp
Examining data/clblas-2.12/src/library/blas/gens/blas_kgen.c
Examining data/clblas-2.12/src/library/blas/gens/blas_kgen.h
Examining data/clblas-2.12/src/library/blas/gens/blas_subgroup.c
Examining data/clblas-2.12/src/library/blas/gens/blas_subgroup.h
Examining data/clblas-2.12/src/library/blas/gens/copy_reg.cpp
Examining data/clblas-2.12/src/library/blas/gens/decomposition.c
Examining data/clblas-2.12/src/library/blas/gens/dot.cpp
Examining data/clblas-2.12/src/library/blas/gens/fetch.c
Examining data/clblas-2.12/src/library/blas/gens/fetch.h
Examining data/clblas-2.12/src/library/blas/gens/gbmv.cpp
Examining data/clblas-2.12/src/library/blas/gens/gemm.c
Examining data/clblas-2.12/src/library/blas/gens/gemm_cached.cpp
Examining data/clblas-2.12/src/library/blas/gens/gemm_tail_cached.cpp
Examining data/clblas-2.12/src/library/blas/gens/gemv.c
Examining data/clblas-2.12/src/library/blas/gens/gen_helper.c
Examining data/clblas-2.12/src/library/blas/gens/gen_helper.h
Examining data/clblas-2.12/src/library/blas/gens/gen_init.c
Examining data/clblas-2.12/src/library/blas/gens/ger_lds.cpp
Examining data/clblas-2.12/src/library/blas/gens/her2_lds.cpp
Examining data/clblas-2.12/src/library/blas/gens/her_lds.cpp
Examining data/clblas-2.12/src/library/blas/gens/iamax.cpp
Examining data/clblas-2.12/src/library/blas/gens/init.h
Examining data/clblas-2.12/src/library/blas/gens/kprintf.cpp
Examining data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c
Examining data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.h
Examining data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c
Examining data/clblas-2.12/src/library/blas/gens/legacy/gemm_img.c
Examining data/clblas-2.12/src/library/blas/gens/legacy/gemm_lds.c
Examining data/clblas-2.12/src/library/blas/gens/legacy/gen_helper_legacy.c
Examining data/clblas-2.12/src/library/blas/gens/legacy/gen_helper_legacy.h
Examining data/clblas-2.12/src/library/blas/gens/legacy/tests/t_blkmul.c
Examining data/clblas-2.12/src/library/blas/gens/legacy/trmm_img.c
Examining data/clblas-2.12/src/library/blas/gens/legacy/trmm_lds.c
Examining data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c
Examining data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c
Examining data/clblas-2.12/src/library/blas/gens/legacy/trsm_kgen_legacy.c
Examining data/clblas-2.12/src/library/blas/gens/legacy/trsm_kgen_legacy.h
Examining data/clblas-2.12/src/library/blas/gens/legacy/trsm_lds.c
Examining data/clblas-2.12/src/library/blas/gens/legacy/trxm_common_legacy.c
Examining data/clblas-2.12/src/library/blas/gens/legacy/trxm_common_legacy.h
Examining data/clblas-2.12/src/library/blas/gens/nrm2.cpp
Examining data/clblas-2.12/src/library/blas/gens/reduction.cpp
Examining data/clblas-2.12/src/library/blas/gens/rotg_reg.cpp
Examining data/clblas-2.12/src/library/blas/gens/rotm_reg.cpp
Examining data/clblas-2.12/src/library/blas/gens/rotmg_reg.cpp
Examining data/clblas-2.12/src/library/blas/gens/scal_reg.cpp
Examining data/clblas-2.12/src/library/blas/gens/swap_reg.cpp
Examining data/clblas-2.12/src/library/blas/gens/symm_cached.cpp
Examining data/clblas-2.12/src/library/blas/gens/symv.c
Examining data/clblas-2.12/src/library/blas/gens/syr2_lds.cpp
Examining data/clblas-2.12/src/library/blas/gens/syr_lds.cpp
Examining data/clblas-2.12/src/library/blas/gens/syrxk.c
Examining data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c
Examining data/clblas-2.12/src/library/blas/gens/tile.c
Examining data/clblas-2.12/src/library/blas/gens/tile.h
Examining data/clblas-2.12/src/library/blas/gens/tile_iter.c
Examining data/clblas-2.12/src/library/blas/gens/tile_iter.h
Examining data/clblas-2.12/src/library/blas/gens/tilemul.c
Examining data/clblas-2.12/src/library/blas/gens/trmm.c
Examining data/clblas-2.12/src/library/blas/gens/trmv_reg.cpp
Examining data/clblas-2.12/src/library/blas/gens/trsm.c
Examining data/clblas-2.12/src/library/blas/gens/trsm_kgen.c
Examining data/clblas-2.12/src/library/blas/gens/trsm_kgen.h
Examining data/clblas-2.12/src/library/blas/gens/trsv_gemv.cpp
Examining data/clblas-2.12/src/library/blas/gens/trsv_trtri.cpp
Examining data/clblas-2.12/src/library/blas/gens/trxm_common.c
Examining data/clblas-2.12/src/library/blas/gens/trxm_common.h
Examining data/clblas-2.12/src/library/blas/gens/tuned_numbers.c
Examining data/clblas-2.12/src/library/blas/gens/tuned_numbers.h
Examining data/clblas-2.12/src/library/blas/gens/xxmv_common.c
Examining data/clblas-2.12/src/library/blas/gens/xxmv_common.h
Examining data/clblas-2.12/src/library/blas/impl.c
Examining data/clblas-2.12/src/library/blas/include/blas_funcs.h
Examining data/clblas-2.12/src/library/blas/include/blas_mempat.h
Examining data/clblas-2.12/src/library/blas/include/clblas-internal.h
Examining data/clblas-2.12/src/library/blas/include/events.h
Examining data/clblas-2.12/src/library/blas/include/kprintf.hpp
Examining data/clblas-2.12/src/library/blas/include/matrix_dims.h
Examining data/clblas-2.12/src/library/blas/include/matrix_props.h
Examining data/clblas-2.12/src/library/blas/include/solution_seq.h
Examining data/clblas-2.12/src/library/blas/include/xgemm.h
Examining data/clblas-2.12/src/library/blas/init.c
Examining data/clblas-2.12/src/library/blas/ixamax.c
Examining data/clblas-2.12/src/library/blas/matrix.c
Examining data/clblas-2.12/src/library/blas/scimage.c
Examining data/clblas-2.12/src/library/blas/specialCases/GemmSpecialCases.cpp
Examining data/clblas-2.12/src/library/blas/specialCases/include/GemmSpecialCases.h
Examining data/clblas-2.12/src/library/blas/trtri/TrtriClKernels.h
Examining data/clblas-2.12/src/library/blas/trtri/TrtriKernelSourceIncludes.cpp
Examining data/clblas-2.12/src/library/blas/trtri/TrtriKernelSourceIncludes.h
Examining data/clblas-2.12/src/library/blas/trtri/diag_dtrtri_lower_128_16.cpp
Examining data/clblas-2.12/src/library/blas/trtri/diag_dtrtri_upper_128_16.cpp
Examining data/clblas-2.12/src/library/blas/trtri/diag_dtrtri_upper_192_12.cpp
Examining data/clblas-2.12/src/library/blas/trtri/triple_dgemm_update_128_16_PART1_L.cpp
Examining data/clblas-2.12/src/library/blas/trtri/triple_dgemm_update_128_16_PART2_L.cpp
Examining data/clblas-2.12/src/library/blas/trtri/triple_dgemm_update_128_16_R.cpp
Examining data/clblas-2.12/src/library/blas/trtri/triple_dgemm_update_128_32_PART1_L.cpp
Examining data/clblas-2.12/src/library/blas/trtri/triple_dgemm_update_128_32_PART1_R.cpp
Examining data/clblas-2.12/src/library/blas/trtri/triple_dgemm_update_128_32_PART2_L.cpp
Examining data/clblas-2.12/src/library/blas/trtri/triple_dgemm_update_128_32_PART2_R.cpp
Examining data/clblas-2.12/src/library/blas/trtri/triple_dgemm_update_128_64_PART1_L.cpp
Examining data/clblas-2.12/src/library/blas/trtri/triple_dgemm_update_128_64_PART1_R.cpp
Examining data/clblas-2.12/src/library/blas/trtri/triple_dgemm_update_128_64_PART2_L.cpp
Examining data/clblas-2.12/src/library/blas/trtri/triple_dgemm_update_128_64_PART2_R.cpp
Examining data/clblas-2.12/src/library/blas/trtri/triple_dgemm_update_128_ABOVE64_PART1_L.cpp
Examining data/clblas-2.12/src/library/blas/trtri/triple_dgemm_update_128_ABOVE64_PART1_R.cpp
Examining data/clblas-2.12/src/library/blas/trtri/triple_dgemm_update_128_ABOVE64_PART2_L.cpp
Examining data/clblas-2.12/src/library/blas/trtri/triple_dgemm_update_128_ABOVE64_PART2_R.cpp
Examining data/clblas-2.12/src/library/blas/trtri/triple_dgemm_update_128_ABOVE64_PART3_L.cpp
Examining data/clblas-2.12/src/library/blas/trtri/triple_dgemm_update_128_ABOVE64_PART3_R.cpp
Examining data/clblas-2.12/src/library/blas/trtri/triple_dgemm_update_192_12_R.cpp
Examining data/clblas-2.12/src/library/blas/trtri/triple_dgemm_update_192_24_PART1_R.cpp
Examining data/clblas-2.12/src/library/blas/trtri/triple_dgemm_update_192_24_PART2_R.cpp
Examining data/clblas-2.12/src/library/blas/trtri/triple_dgemm_update_192_48_PART1_R.cpp
Examining data/clblas-2.12/src/library/blas/trtri/triple_dgemm_update_192_48_PART2_R.cpp
Examining data/clblas-2.12/src/library/blas/trtri/triple_dgemm_update_192_96_PART1_R.cpp
Examining data/clblas-2.12/src/library/blas/trtri/triple_dgemm_update_192_96_PART2_R.cpp
Examining data/clblas-2.12/src/library/blas/xasum.c
Examining data/clblas-2.12/src/library/blas/xaxpy.c
Examining data/clblas-2.12/src/library/blas/xcopy.c
Examining data/clblas-2.12/src/library/blas/xdot.c
Examining data/clblas-2.12/src/library/blas/xgbmv.c
Examining data/clblas-2.12/src/library/blas/xgemm.cc
Examining data/clblas-2.12/src/library/blas/xgemm2.c
Examining data/clblas-2.12/src/library/blas/xgemv.c
Examining data/clblas-2.12/src/library/blas/xger.c
Examining data/clblas-2.12/src/library/blas/xhemm.c
Examining data/clblas-2.12/src/library/blas/xhemv.c
Examining data/clblas-2.12/src/library/blas/xher.c
Examining data/clblas-2.12/src/library/blas/xher2.c
Examining data/clblas-2.12/src/library/blas/xher2k.c
Examining data/clblas-2.12/src/library/blas/xherk.c
Examining data/clblas-2.12/src/library/blas/xhpmv.c
Examining data/clblas-2.12/src/library/blas/xnrm2.c
Examining data/clblas-2.12/src/library/blas/xrot.c
Examining data/clblas-2.12/src/library/blas/xrotg.c
Examining data/clblas-2.12/src/library/blas/xrotm.c
Examining data/clblas-2.12/src/library/blas/xrotmg.c
Examining data/clblas-2.12/src/library/blas/xscal.c
Examining data/clblas-2.12/src/library/blas/xscal.cc
Examining data/clblas-2.12/src/library/blas/xshbmv.c
Examining data/clblas-2.12/src/library/blas/xspmv.c
Examining data/clblas-2.12/src/library/blas/xswap.c
Examining data/clblas-2.12/src/library/blas/xsymm.c
Examining data/clblas-2.12/src/library/blas/xsymv.c
Examining data/clblas-2.12/src/library/blas/xsyr.c
Examining data/clblas-2.12/src/library/blas/xsyr2.c
Examining data/clblas-2.12/src/library/blas/xsyr2k.c
Examining data/clblas-2.12/src/library/blas/xsyrk.c
Examining data/clblas-2.12/src/library/blas/xtbmv.c
Examining data/clblas-2.12/src/library/blas/xtbsv.c
Examining data/clblas-2.12/src/library/blas/xtrmm.c
Examining data/clblas-2.12/src/library/blas/xtrmv.c
Examining data/clblas-2.12/src/library/blas/xtrsm.cc
Examining data/clblas-2.12/src/library/blas/xtrsv.c
Examining data/clblas-2.12/src/library/common/clkern.c
Examining data/clblas-2.12/src/library/common/devinfo-cache.c
Examining data/clblas-2.12/src/library/common/devinfo.c
Examining data/clblas-2.12/src/library/common/gens/dblock_kgen.c
Examining data/clblas-2.12/src/library/common/kern_cache.c
Examining data/clblas-2.12/src/library/common/kerngen_core.c
Examining data/clblas-2.12/src/library/common/kgen_basic.c
Examining data/clblas-2.12/src/library/common/kgen_guard.c
Examining data/clblas-2.12/src/library/common/kgen_loop_helper.c
Examining data/clblas-2.12/src/library/common/list.c
Examining data/clblas-2.12/src/library/common/md5sum.c
Examining data/clblas-2.12/src/library/common/misc.c
Examining data/clblas-2.12/src/library/common/mutex.c
Examining data/clblas-2.12/src/library/common/rwlock.c
Examining data/clblas-2.12/src/library/common/tests/t_dblock_kgen.c
Examining data/clblas-2.12/src/library/common/tests/t_gens_cache.c
Examining data/clblas-2.12/src/library/common/trace_malloc.c
Examining data/clblas-2.12/src/library/tools/OCLBinaryGenerator/OCLBinaryGenerator.cpp
Examining data/clblas-2.12/src/library/tools/bingen/bingen.cpp
Examining data/clblas-2.12/src/library/tools/ktest/config-cmdline.cpp
Examining data/clblas-2.12/src/library/tools/ktest/config.cpp
Examining data/clblas-2.12/src/library/tools/ktest/config.h
Examining data/clblas-2.12/src/library/tools/ktest/ktest-common.h
Examining data/clblas-2.12/src/library/tools/ktest/ktest-patterns.h
Examining data/clblas-2.12/src/library/tools/ktest/ktest.cpp
Examining data/clblas-2.12/src/library/tools/ktest/ktest.h
Examining data/clblas-2.12/src/library/tools/ktest/main.cpp
Examining data/clblas-2.12/src/library/tools/ktest/naive/naive_blas.cpp
Examining data/clblas-2.12/src/library/tools/ktest/step-dump.cpp
Examining data/clblas-2.12/src/library/tools/ktest/step.cpp
Examining data/clblas-2.12/src/library/tools/ktest/step.h
Examining data/clblas-2.12/src/library/tools/ktest/steps/gemm.cpp
Examining data/clblas-2.12/src/library/tools/ktest/steps/gemm.h
Examining data/clblas-2.12/src/library/tools/ktest/steps/gemv.cpp
Examining data/clblas-2.12/src/library/tools/ktest/steps/gemv.h
Examining data/clblas-2.12/src/library/tools/ktest/steps/symv.cpp
Examining data/clblas-2.12/src/library/tools/ktest/steps/symv.h
Examining data/clblas-2.12/src/library/tools/ktest/steps/syr2k.cpp
Examining data/clblas-2.12/src/library/tools/ktest/steps/syr2k.h
Examining data/clblas-2.12/src/library/tools/ktest/steps/syrk.cpp
Examining data/clblas-2.12/src/library/tools/ktest/steps/syrk.h
Examining data/clblas-2.12/src/library/tools/ktest/steps/trmm.cpp
Examining data/clblas-2.12/src/library/tools/ktest/steps/trmm.h
Examining data/clblas-2.12/src/library/tools/ktest/steps/trsm.cpp
Examining data/clblas-2.12/src/library/tools/ktest/steps/trsm.h
Examining data/clblas-2.12/src/library/tools/ktest/var.cpp
Examining data/clblas-2.12/src/library/tools/ktest/var.h
Examining data/clblas-2.12/src/library/tools/tplgen/tplgen.cpp
Examining data/clblas-2.12/src/library/tools/tune/dimension.c
Examining data/clblas-2.12/src/library/tools/tune/fileio.c
Examining data/clblas-2.12/src/library/tools/tune/fileio.h
Examining data/clblas-2.12/src/library/tools/tune/storage_data.c
Examining data/clblas-2.12/src/library/tools/tune/storage_data.h
Examining data/clblas-2.12/src/library/tools/tune/storage_init.c
Examining data/clblas-2.12/src/library/tools/tune/storage_io.c
Examining data/clblas-2.12/src/library/tools/tune/subdim.c
Examining data/clblas-2.12/src/library/tools/tune/subdim.h
Examining data/clblas-2.12/src/library/tools/tune/toolslib.c
Examining data/clblas-2.12/src/library/tools/tune/toolslib.h
Examining data/clblas-2.12/src/library/tools/tune/tune.c
Examining data/clblas-2.12/src/library/tools/tune/tune.h
Examining data/clblas-2.12/src/samples/clBlasVersion.c
Examining data/clblas-2.12/src/samples/example_chbmv.c
Examining data/clblas-2.12/src/samples/example_chemm.cpp
Examining data/clblas-2.12/src/samples/example_cher.c
Examining data/clblas-2.12/src/samples/example_cher2k.c
Examining data/clblas-2.12/src/samples/example_cherk.cpp
Examining data/clblas-2.12/src/samples/example_chpmv.c
Examining data/clblas-2.12/src/samples/example_chpr.c
Examining data/clblas-2.12/src/samples/example_csscal.c
Examining data/clblas-2.12/src/samples/example_ctrsm.c
Examining data/clblas-2.12/src/samples/example_dtrmv.c
Examining data/clblas-2.12/src/samples/example_isamax.c
Examining data/clblas-2.12/src/samples/example_sasum.c
Examining data/clblas-2.12/src/samples/example_saxpy.c
Examining data/clblas-2.12/src/samples/example_scopy.c
Examining data/clblas-2.12/src/samples/example_sdot.c
Examining data/clblas-2.12/src/samples/example_sgbmv.c
Examining data/clblas-2.12/src/samples/example_sgemm.c
Examining data/clblas-2.12/src/samples/example_sgemv.c
Examining data/clblas-2.12/src/samples/example_sger.c
Examining data/clblas-2.12/src/samples/example_snrm2.c
Examining data/clblas-2.12/src/samples/example_srot.c
Examining data/clblas-2.12/src/samples/example_srotg.c
Examining data/clblas-2.12/src/samples/example_srotm.c
Examining data/clblas-2.12/src/samples/example_srotmg.c
Examining data/clblas-2.12/src/samples/example_ssbmv.c
Examining data/clblas-2.12/src/samples/example_sscal.c
Examining data/clblas-2.12/src/samples/example_sspmv.c
Examining data/clblas-2.12/src/samples/example_sspr.c
Examining data/clblas-2.12/src/samples/example_sspr2.c
Examining data/clblas-2.12/src/samples/example_sswap.c
Examining data/clblas-2.12/src/samples/example_ssymm.c
Examining data/clblas-2.12/src/samples/example_ssymv.c
Examining data/clblas-2.12/src/samples/example_ssyr.c
Examining data/clblas-2.12/src/samples/example_ssyr2.c
Examining data/clblas-2.12/src/samples/example_ssyr2k.c
Examining data/clblas-2.12/src/samples/example_ssyrk.c
Examining data/clblas-2.12/src/samples/example_stbmv.c
Examining data/clblas-2.12/src/samples/example_stbsv.c
Examining data/clblas-2.12/src/samples/example_stpmv.c
Examining data/clblas-2.12/src/samples/example_stpsv.c
Examining data/clblas-2.12/src/samples/example_strmm.c
Examining data/clblas-2.12/src/samples/example_strmv.c
Examining data/clblas-2.12/src/samples/example_strsm.c
Examining data/clblas-2.12/src/samples/example_strsm.cpp
Examining data/clblas-2.12/src/samples/example_strsv.c
Examining data/clblas-2.12/src/samples/example_zhemv.cpp
Examining data/clblas-2.12/src/samples/example_zher2.c
Examining data/clblas-2.12/src/samples/example_zhpr2.c
Examining data/clblas-2.12/src/targetver.h
Examining data/clblas-2.12/src/tests/BasicRoutines.cpp
Examining data/clblas-2.12/src/tests/BlasBase.cpp
Examining data/clblas-2.12/src/tests/blas-cblas.c
Examining data/clblas-2.12/src/tests/blas-wrapper.cpp
Examining data/clblas-2.12/src/tests/blas.c
Examining data/clblas-2.12/src/tests/clBLAS-wrapper.cpp
Examining data/clblas-2.12/src/tests/cmdline.c
Examining data/clblas-2.12/src/tests/common.cpp
Examining data/clblas-2.12/src/tests/correctness/BlasBase-corr.cpp
Examining data/clblas-2.12/src/tests/correctness/blas-lapack.c
Examining data/clblas-2.12/src/tests/correctness/blas-lapack.h
Examining data/clblas-2.12/src/tests/correctness/corr-asum.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-axpy.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-copy.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-dot.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-dotc.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-gbmv.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-gemm.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-gemm2.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-gemv.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-ger.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-gerc.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-hbmv.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-hemm.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-hemv.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-her.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-her2.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-her2k.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-herk.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-hpmv.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-hpr.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-hpr2.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-iamax.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-nrm2.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-rot.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-rotg.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-rotm.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-rotmg.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-sbmv.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-scal.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-spmv.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-spr.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-spr2.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-swap.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-symm.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-symv.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-syr.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-syr2.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-syr2k.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-syrk.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-tbmv.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-tbsv.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-tpmv.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-tpsv.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-trmm.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-trmv.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-trsm.cpp
Examining data/clblas-2.12/src/tests/correctness/corr-trsv.cpp
Examining data/clblas-2.12/src/tests/correctness/delta.h
Examining data/clblas-2.12/src/tests/correctness/tcase-filter.cpp
Examining data/clblas-2.12/src/tests/correctness/tcase-filter.h
Examining data/clblas-2.12/src/tests/correctness/test-correctness.cpp
Examining data/clblas-2.12/src/tests/correctness/trsm-delta.h
Examining data/clblas-2.12/src/tests/correctness/trsv-delta.h
Examining data/clblas-2.12/src/tests/functional/BlasBase-func.cpp
Examining data/clblas-2.12/src/tests/functional/func-error.cpp
Examining data/clblas-2.12/src/tests/functional/func-event.cpp
Examining data/clblas-2.12/src/tests/functional/func-images.cpp
Examining data/clblas-2.12/src/tests/functional/func-queue.cpp
Examining data/clblas-2.12/src/tests/functional/func-thread.cpp
Examining data/clblas-2.12/src/tests/functional/func.h
Examining data/clblas-2.12/src/tests/functional/test-functional.cpp
Examining data/clblas-2.12/src/tests/include/BlasBase.h
Examining data/clblas-2.12/src/tests/include/ExtraTestSizes.h
Examining data/clblas-2.12/src/tests/include/asum.h
Examining data/clblas-2.12/src/tests/include/axpy.h
Examining data/clblas-2.12/src/tests/include/blas-cblas.h
Examining data/clblas-2.12/src/tests/include/blas-internal.h
Examining data/clblas-2.12/src/tests/include/blas-math.h
Examining data/clblas-2.12/src/tests/include/blas-random.h
Examining data/clblas-2.12/src/tests/include/blas-wrapper.h
Examining data/clblas-2.12/src/tests/include/clBLAS-wrapper.h
Examining data/clblas-2.12/src/tests/include/cmdline.h
Examining data/clblas-2.12/src/tests/include/common.h
Examining data/clblas-2.12/src/tests/include/copy.h
Examining data/clblas-2.12/src/tests/include/dot.h
Examining data/clblas-2.12/src/tests/include/dotc.h
Examining data/clblas-2.12/src/tests/include/gbmv.h
Examining data/clblas-2.12/src/tests/include/gemm-2.h
Examining data/clblas-2.12/src/tests/include/gemm.h
Examining data/clblas-2.12/src/tests/include/gemv.h
Examining data/clblas-2.12/src/tests/include/ger.h
Examining data/clblas-2.12/src/tests/include/gerc.h
Examining data/clblas-2.12/src/tests/include/hbmv.h
Examining data/clblas-2.12/src/tests/include/hemm.h
Examining data/clblas-2.12/src/tests/include/hemv.h
Examining data/clblas-2.12/src/tests/include/her.h
Examining data/clblas-2.12/src/tests/include/her2.h
Examining data/clblas-2.12/src/tests/include/her2k.h
Examining data/clblas-2.12/src/tests/include/herk.h
Examining data/clblas-2.12/src/tests/include/hpmv.h
Examining data/clblas-2.12/src/tests/include/hpr.h
Examining data/clblas-2.12/src/tests/include/hpr2.h
Examining data/clblas-2.12/src/tests/include/iamax.h
Examining data/clblas-2.12/src/tests/include/matrix.h
Examining data/clblas-2.12/src/tests/include/nrm2.h
Examining data/clblas-2.12/src/tests/include/rot.h
Examining data/clblas-2.12/src/tests/include/rotg.h
Examining data/clblas-2.12/src/tests/include/rotm.h
Examining data/clblas-2.12/src/tests/include/rotmg.h
Examining data/clblas-2.12/src/tests/include/sbmv.h
Examining data/clblas-2.12/src/tests/include/scal.h
Examining data/clblas-2.12/src/tests/include/spmv.h
Examining data/clblas-2.12/src/tests/include/spr.h
Examining data/clblas-2.12/src/tests/include/spr2.h
Examining data/clblas-2.12/src/tests/include/swap.h
Examining data/clblas-2.12/src/tests/include/symm.h
Examining data/clblas-2.12/src/tests/include/symv.h
Examining data/clblas-2.12/src/tests/include/syr.h
Examining data/clblas-2.12/src/tests/include/syr2.h
Examining data/clblas-2.12/src/tests/include/syr2k.h
Examining data/clblas-2.12/src/tests/include/syrk.h
Examining data/clblas-2.12/src/tests/include/tbmv.h
Examining data/clblas-2.12/src/tests/include/tbsv.h
Examining data/clblas-2.12/src/tests/include/test-limits.h
Examining data/clblas-2.12/src/tests/include/testDG.h
Examining data/clblas-2.12/src/tests/include/timer.h
Examining data/clblas-2.12/src/tests/include/tpmv.h
Examining data/clblas-2.12/src/tests/include/tpsv.h
Examining data/clblas-2.12/src/tests/include/trmm.h
Examining data/clblas-2.12/src/tests/include/trmv.h
Examining data/clblas-2.12/src/tests/include/trsm.h
Examining data/clblas-2.12/src/tests/include/trsv.h
Examining data/clblas-2.12/src/tests/performance/BlasBase-perf.cpp
Examining data/clblas-2.12/src/tests/performance/PerformanceRecorder.cpp
Examining data/clblas-2.12/src/tests/performance/PerformanceRecorder.h
Examining data/clblas-2.12/src/tests/performance/PerformanceTest.cpp
Examining data/clblas-2.12/src/tests/performance/PerformanceTest.h
Examining data/clblas-2.12/src/tests/performance/TrxmPerformanceTest.cpp
Examining data/clblas-2.12/src/tests/performance/perf-asum.cpp
Examining data/clblas-2.12/src/tests/performance/perf-axpy.cpp
Examining data/clblas-2.12/src/tests/performance/perf-copy.cpp
Examining data/clblas-2.12/src/tests/performance/perf-dot.cpp
Examining data/clblas-2.12/src/tests/performance/perf-dotc.cpp
Examining data/clblas-2.12/src/tests/performance/perf-gbmv.cpp
Examining data/clblas-2.12/src/tests/performance/perf-gemm.cpp
Examining data/clblas-2.12/src/tests/performance/perf-gemm2.cpp
Examining data/clblas-2.12/src/tests/performance/perf-gemv.cpp
Examining data/clblas-2.12/src/tests/performance/perf-ger.cpp
Examining data/clblas-2.12/src/tests/performance/perf-gerc.cpp
Examining data/clblas-2.12/src/tests/performance/perf-hbmv.cpp
Examining data/clblas-2.12/src/tests/performance/perf-hemm.cpp
Examining data/clblas-2.12/src/tests/performance/perf-hemv.cpp
Examining data/clblas-2.12/src/tests/performance/perf-her.cpp
Examining data/clblas-2.12/src/tests/performance/perf-her2.cpp
Examining data/clblas-2.12/src/tests/performance/perf-her2k.cpp
Examining data/clblas-2.12/src/tests/performance/perf-herk.cpp
Examining data/clblas-2.12/src/tests/performance/perf-hpmv.cpp
Examining data/clblas-2.12/src/tests/performance/perf-hpr.cpp
Examining data/clblas-2.12/src/tests/performance/perf-hpr2.cpp
Examining data/clblas-2.12/src/tests/performance/perf-iamax.cpp
Examining data/clblas-2.12/src/tests/performance/perf-nrm2.cpp
Examining data/clblas-2.12/src/tests/performance/perf-rot.cpp
Examining data/clblas-2.12/src/tests/performance/perf-rotg.cpp
Examining data/clblas-2.12/src/tests/performance/perf-rotm.cpp
Examining data/clblas-2.12/src/tests/performance/perf-rotmg.cpp
Examining data/clblas-2.12/src/tests/performance/perf-sbmv.cpp
Examining data/clblas-2.12/src/tests/performance/perf-scal.cpp
Examining data/clblas-2.12/src/tests/performance/perf-spmv.cpp
Examining data/clblas-2.12/src/tests/performance/perf-spr.cpp
Examining data/clblas-2.12/src/tests/performance/perf-spr2.cpp
Examining data/clblas-2.12/src/tests/performance/perf-swap.cpp
Examining data/clblas-2.12/src/tests/performance/perf-symm.cpp
Examining data/clblas-2.12/src/tests/performance/perf-symv.cpp
Examining data/clblas-2.12/src/tests/performance/perf-syr.cpp
Examining data/clblas-2.12/src/tests/performance/perf-syr2.cpp
Examining data/clblas-2.12/src/tests/performance/perf-syr2k.cpp
Examining data/clblas-2.12/src/tests/performance/perf-syrk.cpp
Examining data/clblas-2.12/src/tests/performance/perf-tbmv.cpp
Examining data/clblas-2.12/src/tests/performance/perf-tbsv.cpp
Examining data/clblas-2.12/src/tests/performance/perf-tpmv.cpp
Examining data/clblas-2.12/src/tests/performance/perf-tpsv.cpp
Examining data/clblas-2.12/src/tests/performance/perf-trmm.cpp
Examining data/clblas-2.12/src/tests/performance/perf-trmv.cpp
Examining data/clblas-2.12/src/tests/performance/perf-trsm.cpp
Examining data/clblas-2.12/src/tests/performance/perf-trsv.cpp
Examining data/clblas-2.12/src/tests/performance/test-performance.cpp
Examining data/clblas-2.12/src/tests/timer.c

FINAL RESULTS:

data/clblas-2.12/src/client/testPerfWrapper.cpp:25:9:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
#define popen _popen
data/clblas-2.12/src/client/testPerfWrapper.cpp:178:21:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        perf_pipe = popen( command_line.c_str(), "r" );
data/clblas-2.12/src/include/msvc.h:31:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define snprintf _snprintf
data/clblas-2.12/src/include/msvc.h:31:18:  [4] (format) _snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define snprintf _snprintf
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmPreCompileKernels.cpp:185:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  int n = sprintf( *kernelName,
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmPreCompileKernels.cpp:200:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	  n2 = sprintf((*kernelName) + n, appendstring);
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmPreCompileKernels.cpp:263:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  int n2 = sprintf( *preprocessorName, "KERNEL_%s_BIN_CPP", kernelName );
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmPreCompileKernels.cpp:605:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(path, "%s/include/AutoGemmKernelBinaries/", argv[1]);
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/TestAutoGemm.cpp:724:5:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    system("PAUSE");
data/clblas-2.12/src/library/blas/functor/functor_xscal_generic.cc:56:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( tempTemplate, (char*)scal_kernel );
data/clblas-2.12/src/library/blas/generic/common.c:181:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(buf, "dims[%d].%s = SUBDIM_UNUSED", level, dimName);
data/clblas-2.12/src/library/blas/generic/common.c:184:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(buf, "dims[%d].%s = %lu", level, dimName, dim);
data/clblas-2.12/src/library/blas/generic/kdump.c:80:5:  [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(buf, s);
data/clblas-2.12/src/library/blas/generic/kdump.c:98:5:  [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(name, s);
data/clblas-2.12/src/library/blas/generic/kdump.c:102:9:  [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(name, s);
data/clblas-2.12/src/library/blas/generic/kdump.c:104:9:  [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(name, s);
data/clblas-2.12/src/library/blas/generic/kdump.c:143:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "Memory pattern = %s\n", pattern->name);
data/clblas-2.12/src/library/blas/generic/kdump.c:147:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "Kernel type = %s\n", s);
data/clblas-2.12/src/library/blas/gens/asum.cpp:256:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( tempTemplate, (char*)asum_kernel );
data/clblas-2.12/src/library/blas/gens/axpy_reg.cpp:249:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( tempTemplate, (char*)axpy_kernel );
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:210:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "%s %s[%u];\n", area->typeName, baseName, area->size);
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:215:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "%s %s0", area->typeName, baseName);
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:218:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(p, ", %s%u", baseName, i);
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:279:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(cond, "(%s%s < %s)", vnames->k, tmp, vnames->sizeK);
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:288:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "%s = %s ? %s : 0;\n", src.buf, cond, src.buf);
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:814:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "%s = %s * betaR + %s.yx * betaI + ",
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:818:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "%s = %s * beta + ", dst, dst);
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:823:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "%s %s ", dst, opStr);
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:834:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(p, "%s;\n", src);
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:838:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(p, "%s * alphaR + %s.yx * alphaI;\n", src, src);
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:841:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(p, "%s * alpha;\n", src);
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:889:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "uC.%s += (%s-1) * %s;\n", vfield, l0var, uvars->ld);
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:900:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "res.%s = c;\n", vFieldVectorized);
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:910:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(offStr, " + (%u - %s) * %lu",
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:915:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(p, " + (%u - %s)", sizes[1], uvars->nrCols);
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:918:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "res.%s = uC.%s%s;\n", vfield, vfield, offStr);
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:922:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "res.%s = res.%s%s;\n", vfield, vfield, offStr);
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:936:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "if (%s) ",l0var);
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:939:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "switch (%s)", l1var);
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:957:22:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                     sprintf(dst, "uC.%s[(%s+%d) %% %i]",
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:961:20:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                   sprintf(dst, "uC.%s[%d]", vfield, (l1-l1st));
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:976:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(tmp, "uC.%s -= %s;\n", vfield, uvars->ld);
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:979:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(tmp, "uC.%s += %s;\n", vfield, uvars->ld);
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:984:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "%s--;\n", l0var);
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:991:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "for (i = 0; i < %s; i++)", boundNames[tra]);
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:993:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "for (j = 0; j < %s; j++)", boundNames[1 - tra]);
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:995:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(dst, "uC.%s[i * %s + j]", vfield, uvars->ld);
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:999:13:  [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(tmpcachedName, cachedName);
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:1005:13:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
            sprintf(tmp, tmpcachedName, "i", "[j]");
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:1006:13:  [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(dst, tmp);
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:1012:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(src, "res.%s[j * %lu + i]", vfield, pitch);
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:1015:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(src, "res.%s[i * %lu + j]", vfield, pitch);
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:1094:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "void\n"
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:1107:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(p, ",\n    %s beta", typeName);
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:1148:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "%s tmp;\n", vecType);
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:1175:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp,
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:1186:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp,
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:1199:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp,
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:1211:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp,
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:1328:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "if (%s + %lu > %s) {\n"
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:1344:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "if (%s + %lu > %s) {\n"
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:1380:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "if ((%s + %lu == %s) && (%s %% %lu)) {\n"
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:1392:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "if ((%s + %lu == %s) && (%s %% %lu)) {\n"
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:1433:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "%s %sR = (%s)(%s.x);\n"
data/clblas-2.12/src/library/blas/gens/blas_subgroup.c:202:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(
data/clblas-2.12/src/library/blas/gens/blas_subgroup.c:218:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(
data/clblas-2.12/src/library/blas/gens/blas_subgroup.c:236:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(
data/clblas-2.12/src/library/blas/gens/blas_subgroup.c:253:14:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
             sprintf(
data/clblas-2.12/src/library/blas/gens/blas_subgroup.c:338:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp,
data/clblas-2.12/src/library/blas/gens/blas_subgroup.c:359:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(
data/clblas-2.12/src/library/blas/gens/blas_subgroup.c:406:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf( tmp,
data/clblas-2.12/src/library/blas/gens/blas_subgroup.c:413:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf( tmp,
data/clblas-2.12/src/library/blas/gens/blas_subgroup.c:437:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp,
data/clblas-2.12/src/library/blas/gens/copy_reg.cpp:245:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( tempTemplate, (char*)copy_kernel );
data/clblas-2.12/src/library/blas/gens/dot.cpp:253:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( tempTemplate, (char*)dot_kernel );
data/clblas-2.12/src/library/blas/gens/fetch.c:721:23:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            p = buf + sprintf(buf, "%suint%u %s = {",
data/clblas-2.12/src/library/blas/gens/fetch.c:735:26:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    p += sprintf(p, "%s%s", pref, aoff.buf);
data/clblas-2.12/src/library/blas/gens/fetch.c:739:30:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                        p += sprintf(p, "%s", ",\n\t\t");
data/clblas-2.12/src/library/blas/gens/gbmv.cpp:316:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(tempTemplate, (char*)gbmv_RNT_kernel);
data/clblas-2.12/src/library/blas/gens/gbmv.cpp:320:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(tempTemplate, (char*)gbmv_RT_kernel);;
data/clblas-2.12/src/library/blas/gens/gemm.c:245:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp,
data/clblas-2.12/src/library/blas/gens/gemm.c:250:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "%c += (uint)get_global_id(%d)%s;\n",
data/clblas-2.12/src/library/blas/gens/gemm.c:256:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "%c += %luu * (uint)get_global_id(%d) * %s;\n",
data/clblas-2.12/src/library/blas/gens/gemm.c:284:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(tmp, "%c += %s / %u;\n",
data/clblas-2.12/src/library/blas/gens/gemm.c:288:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(tmp, "%c += %s;\n", ptrNames[i], offNames[i]);
data/clblas-2.12/src/library/blas/gens/gemm.c:346:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "__attribute__((reqd_work_group_size(%u, %u, 1)))\n"
data/clblas-2.12/src/library/blas/gens/gemm.c:570:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "coord.z = (get_local_id(0) %% 2 * %lu) %% %s;\n",
data/clblas-2.12/src/library/blas/gens/gemm.c:595:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "\n"
data/clblas-2.12/src/library/blas/gens/gemm.c:614:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "for (uint k1 = 0; k1 < %s; k1 += %lu)",
data/clblas-2.12/src/library/blas/gens/gemm.c:830:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "%s /= K_VLEN_A;\n", vnames->lda);
data/clblas-2.12/src/library/blas/gens/gemm.c:832:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "%s /= K_VLEN_B;\n", vnames->ldb);
data/clblas-2.12/src/library/blas/gens/gemm.c:862:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "int %s = "
data/clblas-2.12/src/library/blas/gens/gemm.c:869:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "int %s = "
data/clblas-2.12/src/library/blas/gens/gemm.c:885:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp,
data/clblas-2.12/src/library/blas/gens/gemm.c:901:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp,
data/clblas-2.12/src/library/blas/gens/gemm.c:921:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp,
data/clblas-2.12/src/library/blas/gens/gemm.c:928:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp,
data/clblas-2.12/src/library/blas/gens/gemm.c:976:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp,
data/clblas-2.12/src/library/blas/gens/gemm_cached.cpp:361:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(tempTemplate, SYMM_HEMM_HELPER);
data/clblas-2.12/src/library/blas/gens/gemm_cached.cpp:369: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(tempTemplate, GEMM_HELPER);
data/clblas-2.12/src/library/blas/gens/gemm_cached.cpp:370:13:  [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(tempTemplate, GEMM_NT_KERNEL);
data/clblas-2.12/src/library/blas/gens/gemm_cached.cpp:375: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(tempTemplate, GEMM_HELPER);
data/clblas-2.12/src/library/blas/gens/gemm_cached.cpp:376: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(tempTemplate, GEMM_NN_KERNEL);
data/clblas-2.12/src/library/blas/gens/gemm_cached.cpp:387: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(tempTemplate, GEMM_HELPER);
data/clblas-2.12/src/library/blas/gens/gemm_cached.cpp:388: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(tempTemplate, GEMM_TN_KERNEL);
data/clblas-2.12/src/library/blas/gens/gemm_tail_cached.cpp:366:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(tempTemplate, SYMM_HEMM_HELPER);
data/clblas-2.12/src/library/blas/gens/gemm_tail_cached.cpp:374:13:  [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(tempTemplate, GEMM_NT_KERNEL);
data/clblas-2.12/src/library/blas/gens/gemm_tail_cached.cpp:379:13:  [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(tempTemplate, GEMM_NN_KERNEL);
data/clblas-2.12/src/library/blas/gens/gemv.c:158:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(betaDecl, "    const %s beta,\n", typeName);
data/clblas-2.12/src/library/blas/gens/gemv.c:160:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(tmp, gemvDecl, pgran->wgSize[0], pgran->wgSize[1], fpref,
data/clblas-2.12/src/library/blas/gens/gemv.c:270:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "__local %s localRes[%u][%u];\n",
data/clblas-2.12/src/library/blas/gens/gemv.c:273:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "uint coordA = (%s * %u + %s %% %u) * %lu;\n",
data/clblas-2.12/src/library/blas/gens/gemv.c:276:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "uint k0 = (%s / %u) * %lu;\n",
data/clblas-2.12/src/library/blas/gens/gemv.c:285:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp,
data/clblas-2.12/src/library/blas/gens/gemv.c:383:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "if (%s < %u && coordA < M && k0 < N)", lid, bStep);
data/clblas-2.12/src/library/blas/gens/gen_helper.c:306:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(funcNames->names[i], funcNames->names[j]);
data/clblas-2.12/src/library/blas/gens/gen_helper.c:408:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(tmp, "if ((%s < %s) && (%s < %s))",
data/clblas-2.12/src/library/blas/gens/gen_helper.c:412:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(tmp, "if (%s < %s)", coordY, kvarNames->sizeM);
data/clblas-2.12/src/library/blas/gens/gen_helper.c:417:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "if (%s < %s)", coordX, kvarNames->sizeN);
data/clblas-2.12/src/library/blas/gens/gen_helper.c:431:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "%s(%s, c, alpha, %s, %s, %s%s);\n",
data/clblas-2.12/src/library/blas/gens/gen_helper.c:436:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "uint y = min(%luu, %s - (uint)%s);\n"
data/clblas-2.12/src/library/blas/gens/gen_helper.c:476:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "uint y = min(%luu, %s - (uint)%s);\n"
data/clblas-2.12/src/library/blas/gens/ger_lds.cpp:257:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy( tempTemplate, (char*)ger_C_kernel );
data/clblas-2.12/src/library/blas/gens/ger_lds.cpp:261:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy( tempTemplate, (char*)ger_R_kernel );
data/clblas-2.12/src/library/blas/gens/her2_lds.cpp:267:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		     (strcpy(tempTemplate, (char*)syr2_her2_CL_kernel)) : (strcpy(tempTemplate, (char*)syr2_her2_CU_kernel));
data/clblas-2.12/src/library/blas/gens/her2_lds.cpp:267:62:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		     (strcpy(tempTemplate, (char*)syr2_her2_CL_kernel)) : (strcpy(tempTemplate, (char*)syr2_her2_CU_kernel));
data/clblas-2.12/src/library/blas/gens/her_lds.cpp:265:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		     (strcpy(tempTemplate, (char*)syr_her_CL_kernel)) : (strcpy(tempTemplate, (char*)syr_her_CU_kernel));
data/clblas-2.12/src/library/blas/gens/her_lds.cpp:265:60:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		     (strcpy(tempTemplate, (char*)syr_her_CL_kernel)) : (strcpy(tempTemplate, (char*)syr_her_CU_kernel));
data/clblas-2.12/src/library/blas/gens/iamax.cpp:259:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( tempTemplate, (char*)iamax_kernel );
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:179:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(derivedType, baseType);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:186:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(derivedTypePtype, derivedType);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:192:9:  [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(derivedType, vecSuffix);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:193:9:  [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(derivedTypePtype, vecSuffixPtype);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:278:5:  [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( tempStr, vecSuffix);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:316:5:  [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( tempStr, vecSuffix);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:399:5:  [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( tempStr, vecSuffix);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:419:9:  [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( tempStr, vecSuffix);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:455:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( id, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:461:27:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        numCharsWritten = sprintf(dst,"(%s)(", BASE);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:468:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf(dst," %s%c,", id, 'f');
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:472:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf(dst," %s,", id);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:479:31:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            numCharsWritten = sprintf(dst," %s%c)", id,'f');
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:483:31:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            numCharsWritten = sprintf(dst," %s)", id);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:491:27:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        numCharsWritten = sprintf(dst,"(%s)(", (div == 1)? DERIVED : (div == 2)? HALFWORD : (div == 4)? QUARTERWORD: HALFQUARTERWORD);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:496:31:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            numCharsWritten = sprintf(dst," %s,", id);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:500:27:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        numCharsWritten = sprintf(dst," %s)", id);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:517:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( id1, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:519:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( id2, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:521:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( id3, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:538:31:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            numCharsWritten = sprintf(dst, "%s = %s * %s", id1, id2, id3);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:552:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf(dst, "%s.%s = (((%s.%s)*(%s.%s)) -( (%s.%s)*(%s.%s)));\n",
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:557:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf(dst, "%s.%s = (((%s.%s)*(%s.%s)) + ( (%s.%s)*(%s.%s)));\n",
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:567:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf( dst, "%s.even = ((%s.even) * (%s.even)) - ((%s.odd) * (%s.odd));\n", id1, id2, id3, id2, id3);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:570:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf( dst, "%s.odd = ((%s.even) * (%s.odd)) + ((%s.odd) * (%s.even));\n", id1, id2, id3, id2, id3);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:592:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( id1, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:594:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( id2, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:596:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( id3, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:614:31:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            numCharsWritten = sprintf(dst, "%s += %s * %s", id1, id2, id3);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:620:31:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            numCharsWritten = sprintf(dst, "%s = mad(%s,%s,%s)", id1, id2, id3, id1);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:635:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf(dst, "%s.%s = %s.%s + (((%s.%s)*(%s.%s)) -( (%s.%s)*(%s.%s)));\n",
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:640:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf(dst, "%s.%s = %s.%s + (((%s.%s)*(%s.%s)) + ( (%s.%s)*(%s.%s)));\n",
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:652:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf( dst, "%s.even = %s.even + ((%s.even) * (%s.even)) - ((%s.odd) * (%s.odd));\n", id1, id1, id2, id3, id2, id3);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:655:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf( dst, "%s.odd = %s.odd + ((%s.even) * (%s.odd)) + ((%s.odd) * (%s.even));\n", id1, id1, id2, id3, id2, id3);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:660:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf(dst, "\n{ %s id2even = %s.even, id2odd = %s.odd, id3even = %s.even, id3odd = %s.odd;\n\t",
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:663:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf( dst, "%s.even = mad(id2even, id3even, %s.even);\n\t", id1, id1);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:665:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf( dst, "%s.odd  = mad(id2even, id3odd, %s.odd);\n\t", id1, id1);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:667:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf( dst, "%s.even = mad(id2odd, -id3odd, %s.even);\n\t", id1, id1);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:669:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf( dst, "%s.odd  = mad(id2odd, id3even, %s.odd);\n", id1, id1);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:674:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf( dst, "%s.even = mad(%s.even, %s.even, %s.even);\n\t", id1, id2, id3, id1);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:676:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf( dst, "%s.even = mad(%s.odd, -%s.odd, %s.even);\n\t", id1, id2, id3, id1);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:678:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf( dst, "%s.odd  = mad(%s.even, %s.odd, %s.odd);\n\t", id1, id2, id3, id1);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:680:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf( dst, "%s.odd  = mad(%s.odd, %s.even, %s.odd);\n", id1, id2, id3, id1);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:704:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( id1, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:706:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( id2, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:708:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( id3, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:722:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf(dst, "%s = mad(%s,%s,%s);\n\t", id1, id2, id3, id1);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:728:39:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    numCharsWritten = sprintf(dst, "%s = mad((%s).%s,(%s).%s,(%s));\n\t", id1, id2, vecIndices[i], id3,
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:738:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf(dst, "%s.S0 = mad((%s).S0,(%s).S0,%s.S0);\n\t", id1, id2, id3, id1);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:740:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf(dst, "%s.S0 = mad((%s).S1,-(%s.S1),%s.S0);\n\t", id1, id2, id3, id1);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:743:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf(dst, "%s.S1 = mad((%s).S0,(%s).S1,%s.S1);\n\t", id1, id2, id3, id1);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:745:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf(dst, "%s.S1 = mad((%s).S1,(%s.S0),%s.S1);\n\t", id1, id2, id3, id1);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:750:39:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    numCharsWritten = sprintf(dst, "(%s).S0 = mad((%s).%s,(%s).%s,(%s).S0);\n\t", id1, id2, vecIndices[2*i], id3,
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:753:39:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    numCharsWritten = sprintf(dst, "(%s).S0 = mad((%s).%s,-(%s).%s,(%s).S0);\n\t", id1, id2, vecIndices[2*i + 1], id3,
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:756:39:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    numCharsWritten = sprintf(dst, "(%s).S1 = mad((%s).%s,(%s).%s,(%s).S1);\n\t", id1, id2, vecIndices[2*i], id3,
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:759:39:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    numCharsWritten = sprintf(dst, "(%s).S1 = mad((%s).%s,(%s).%s,(%s).S1);\n\t", id1, id2, vecIndices[2*i + 1], id3,
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:784:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( id1, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:786:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( id2, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:788:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( id3, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:806:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf(dst, "%s = mad(%s,%s,%s);\n\t", id1, id2, id3, id1);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:810:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf(dst, "%s = mad(%s.%s,%s.%s,%s);\n\t", id1, id2, vecIndices[0], id3,
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:817:31:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            numCharsWritten = sprintf(dst, "%s.S0 = mad((%s).S0,(%s).S0,%s.S0);\n\t", id1, id2, id3, id1);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:819:31:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            numCharsWritten = sprintf(dst, "%s.S0 = mad((%s).S1,-(%s.S1),%s.S0);\n\t", id1, id2, id3, id1);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:822:31:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            numCharsWritten = sprintf(dst, "%s.S1 = mad((%s).S0,(%s).S1,%s.S1);\n\t", id1, id2, id3, id1);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:824:31:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            numCharsWritten = sprintf(dst, "%s.S1 = mad((%s).S1,(%s.S0),%s.S1);\n\t", id1, id2, id3, id1);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:845:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( id1, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:847:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( id2, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:849:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( id3, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:868:43:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                        numCharsWritten = sprintf(dst, "%s.%s = %s.%s;\n",
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:873:43:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                        numCharsWritten = sprintf(dst, "%s.%s = %s.%s;\n",
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:881:43:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                        numCharsWritten = sprintf(dst, "%s.%s = %s;\n",
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:886:43:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                        numCharsWritten = sprintf(dst, "%s.%s = %s;\n",
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:913:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( id1, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:915:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( id2, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:917:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( id3, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:934:31:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            numCharsWritten = sprintf(dst, "%s = %s / %s", id1, id2, id3);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:948:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf(dst, "%s.%s = (((%s.%s)*(%s.%s)) + ( (%s.%s)*(%s.%s)));\n",
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:954:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf(dst, "%s.%s = (-((%s.%s)*(%s.%s)) + ( (%s.%s)*(%s.%s)));\n",
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:960:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf(dst, "%s.%s /= ((%s.%s * %s.%s) + (%s.%s * %s.%s));\n",
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:966:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf(dst, "%s.%s /= ((%s.%s * %s.%s) + (%s.%s * %s.%s));\n",
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:976:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf( dst, "%s.even = ((%s.even) * (%s.even)) + ((%s.odd) * (%s.odd));\n", id1, id2, id3, id2, id3);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:979:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf( dst, "%s.odd = -((%s.even) * (%s.odd)) + ((%s.odd) * (%s.even));\n", id1, id2, id3, id2, id3);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:982:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf( dst, "%s.even /= (%s.even*%s.even) + (%s.odd*%s.odd) ;\n", id1, id3, id3, id3, id3);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:984:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf( dst, "%s.odd /= (%s.even*%s.even) + (%s.odd*%s.odd) ;\n", id1, id3, id3, id3, id3);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1007:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( id1, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1009:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( id2, id1);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1022:27:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        numCharsWritten = sprintf(dst, "*((__global %s*)(%s))", DERIVED, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1042:9:  [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( tempStr, vecSuffix);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1055:27:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        numCharsWritten = sprintf(dst, "%s( %s (__global %s *)%s)", tempStr, id2, f.value, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1080:27:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        numCharsWritten = sprintf(dst, "*((__global %s*)(%s) + %s) = %s", DERIVED, id3, id2, id1); // NOTE:Assuming "__global"
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1095:27:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        numCharsWritten = sprintf(dst, "%s( %s, %s, (__global %s *)%s)", vstore.value, id1, id2, ptype.value, id3);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1145:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( id1, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1147:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( id2, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1149:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( id3, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1152:23:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    numCharsWritten = sprintf(dst, "%s = %s %c %s", id1, id2, op, id3);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1168:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( id1, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1170:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( id2, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1172:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( id3, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1178:27:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        numCharsWritten = sprintf(dst,"%s = ", id1);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1182:23:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    numCharsWritten = sprintf(dst,"(%s)(", DERIVED);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1187:27:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        numCharsWritten = sprintf(dst," %s[0 + (%s * %d)],", id2, id3, i);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1191:23:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    numCharsWritten = sprintf(dst," %s[0 + (%s * %d)])", id2, id3, vectorWidth - 1);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1207:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( id1, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1209:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( id2, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1211:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( id3, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1221:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf(dst," %s[0 + (%s * %d)] = %s.%s;\n", id1, id3, i, id2, vecIndices[i]);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1223:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf(dst," %s[0 + (%s * %d)] = %s;\n", id1, id3, i, id2);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1232:31:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            numCharsWritten = sprintf(dst," %s[0 + (%s * %d)] = %s.s%d%d;\n", id1, id3, i, id2, (i*2), (i*2 + 1));
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1250:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( id1, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1259:31:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            numCharsWritten = sprintf(dst,"%s.%s + ", id1, vecIndices[i]);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1262:27:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        numCharsWritten = sprintf(dst,"%s.%s;\n", id1, vecIndices[ (vectorWidth - 1)]);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1269:31:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            numCharsWritten = sprintf(dst,"%s.s%d%d + ", id1,(i*2), (i*2 + 1));
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1272:27:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        numCharsWritten = sprintf(dst,"%s.s%d%d;\n", id1,((vectorWidth- 1)*2), ((vectorWidth- 1)*2 + 1));
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1276:27:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        numCharsWritten = sprintf(dst,"(%s);\n", id1);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1296:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( id1, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1304:5:  [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(tempStr, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1307:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( id2, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1309:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( id3, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1311:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( id4, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1335:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf(dst,"fmax( %s.%s, ", id1, vecIndices[i]);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1338:31:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            numCharsWritten = sprintf(dst," %s.%s ", id1, vecIndices[ (vectorWidth - 1)]);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1352:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf(dst,"%s = 0;",id3);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1356:39:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    numCharsWritten = sprintf(dst,"\n\t(%s.%s > %s.S0)? (%s = %d, %s.S0 = %s.%s):1;",
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1360:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf(dst,"\n\t%s = %s.s0;", id2, id1);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1365:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf(dst,"%s = 0;",id3);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1369:39:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    numCharsWritten = sprintf(dst,"\n\t(%s.%s >= %s.S0)? (%s = %d, %s.S0 = %s.%s):1;",
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1373:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf(dst,"\n\t%s = %s.s0;", id2, id1);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1381:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf(dst,"fmax( %s.s%d%d, ", id1, (i*2), (i*2 + 1));
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1384:31:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            numCharsWritten = sprintf(dst," %s.s%d%d ", id1, ((vectorWidth- 1)*2), ((vectorWidth- 1)*2 + 1));
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1399:31:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            numCharsWritten = sprintf(dst, "%s = 0;\n",id3);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1401:31:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            numCharsWritten = sprintf(dst, "%s = %s;\n", id2, id1);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1406:31:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            numCharsWritten = sprintf(dst,"(%s);\n", id1);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1425:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( id1, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1434:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf(dst,"fmin( %s.%s, ", id1, vecIndices[i]);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1437:31:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            numCharsWritten = sprintf(dst," %s.%s ", id1, vecIndices[ (vectorWidth - 1)]);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1451:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf(dst,"fmin( %s.s%d%d, ", id1, (i*2), (i*2 + 1));
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1454:31:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            numCharsWritten = sprintf(dst," %s.s%d%d ", id1, ((vectorWidth- 1)*2), ((vectorWidth- 1)*2 + 1));
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1465:27:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        numCharsWritten = sprintf(dst,"(%s);\n", id1);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1482:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( id1, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1491:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf(dst,"hypot( %s.%s, ", id1, vecIndices[i]);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1494:31:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            numCharsWritten = sprintf(dst," %s.%s ", id1, vecIndices[ (vectorWidth - 1)]);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1508:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf(dst,"hypot( %s.s%d%d, ", id1, (i*2), (i*2 + 1));
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1511:31:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            numCharsWritten = sprintf(dst," %s.s%d%d ", id1, ((vectorWidth- 1)*2), ((vectorWidth- 1)*2 + 1));
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1522:27:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        numCharsWritten = sprintf(dst,"(%s);\n", id1);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1544:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( id1, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1561:31:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            numCharsWritten = sprintf(dst,"(%s).%s + ", id1, vecIndices[i]);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1564:27:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        numCharsWritten = sprintf(dst,"(%s).%s;\n", id1, vecIndices[ (vlength - 1)]);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1567:27:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        numCharsWritten = sprintf(dst,"(%s);\n ", id1);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1587:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( id1, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1589:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( id2, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1594:27:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        numCharsWritten = sprintf(dst,"%s = ((%s == 1)? ( %s.odd = -%s.odd, %s) : %s)", id2, id1, id2, id2, id2, id2);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1614:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( id1, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1619:27:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        numCharsWritten = sprintf(dst,"%s.odd = 0.0f", id1);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1717:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(vforBodyTemp, vforBody);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1719:9:  [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(*dst, vforGeneratedBody);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1760:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( privateVarName, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1768:5:  [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(tempStr, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1771:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( privateVarName2, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1773:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( privateVarName3, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1819:27:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        numCharsWritten = sprintf(dst, "uint %s;\n", selected);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1821:27:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        numCharsWritten = sprintf(dst, "__local %s %s [ %d ];\n", (get("%PTYPE").value), ldsVarName, (this->wgSize));
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1823:27:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        numCharsWritten = sprintf(dst, "\tuint %s = get_local_id(0);\n\t%s [ %s ] = %s;\n",
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1830:31:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            numCharsWritten = sprintf(dst, "\t__local uint %s [ %d ];\n", ldsVarName2, (this->wgSize));
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1832:31:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            numCharsWritten = sprintf(dst, "\t%s [ %s ] = %s;\n",
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1838:31:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            numCharsWritten = sprintf(dst, "\t__local uint %s[1];\n", ldsVarName2);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1840:31:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            numCharsWritten = sprintf(dst, "\tif(%s == 0){%s[0] = UINT_MAX;}\n", localId, ldsVarName2);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1850:31:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            numCharsWritten = sprintf(dst, "__local %s %s [ %d ], %s [ %d ];\n", (get("%PTYPE").value),
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1853:31:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            numCharsWritten = sprintf(dst, "\tuint %s = get_local_id(0);\n\t %s [ %s ] = %s; %s [ %s ] = %s;\n",
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1856:31:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            numCharsWritten = sprintf(dst, "\t%s %s, %s, %s, %s, %s;\n", (get("%PTYPE").value), p1, p2, p3, p4, p5);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1861:23:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    numCharsWritten = sprintf(dst, "__local %s %s [ %d ];\n", (get("%TYPE").value), ldsVarName, (this->wgSize));
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1863:23:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    numCharsWritten = sprintf(dst, "\tuint %s = get_local_id(0);\n\t %s [ %s ] = %s;\n",
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1884:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf(dst, "\tif( %s < %d ) {\n ", localId, i);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1886:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf(dst,
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1892:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf(dst,
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1897:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf(dst, "\t%s[%s] = %s[%s];\n\t %s[%s] = %s[%s];\n",
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1904:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf(dst, "\tif( %s < %d ) {\n ", localId, i);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1906:35:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                numCharsWritten = sprintf(dst,
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1916:31:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            numCharsWritten = sprintf(dst, "\tif( %s < %d ) {\n\t\t",
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1922:59:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                case REDUCTION_BY_SUM : numCharsWritten = sprintf(dst, " %s [ %s ] = %s [ %s ] + %s [ %s + %d ];\n",
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1927:59:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                case REDUCTION_BY_MAX : numCharsWritten = sprintf(dst, " %s [ %s ] = fmax( %s [ %s ] , %s [ %s + %d ] );\n",
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1932:59:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                case REDUCTION_BY_MIN : numCharsWritten = sprintf(dst, " %s [ %s ] = fmin( %s [ %s ] , %s [ %s + %d ] );\n",
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1937:61:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                case REDUCTION_BY_HYPOT : numCharsWritten = sprintf(dst, " %s [ %s ] = hypot( %s [ %s ] , %s [ %s + %d ] );\n",
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1942:59:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                case REDUCTION_BY_SSQ : numCharsWritten = sprintf(dst, " %s = %s = %s [ %s ];\n", p1, p2, ldsVarName, localId);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1944:59:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                                        numCharsWritten = sprintf(dst, "\t %s = %s [ %s ];\n", p3, ldsVarName2, localId);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1946:59:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                                        numCharsWritten = sprintf(dst, "\t %s = %s [ %s + %d];\n\t %s = %s [ %s + %d];\n",
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1949:59:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                                        numCharsWritten = sprintf(dst, "\t %s = fmax( %s, %s );\n", p2, p2, p4);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1951:59:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                                        numCharsWritten = sprintf(dst, "\t %s = (isnotequal(%s, (%s)0.0))?\n", p3, p2, (get("%PTYPE").value));
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1953:59:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                                        numCharsWritten = sprintf(dst, "\t (((%s / %s) * (%s / %s) * %s) + ((%s / %s) * (%s / %s) * %s)) : %s;\n",
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1956:59:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                                        numCharsWritten = sprintf(dst, "\t %s [ %s ] = %s;\n %s [ %s ] = %s;\n",
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1975:31:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            numCharsWritten = sprintf(dst, "\tif( %s == 0 ) {\n\t%s = (%s[1] > %s[0]) ? 1 : 0;\n",
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1978:31:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            numCharsWritten = sprintf(dst, "\t%s = (%s[1] == %s[0]) ? ((%s[1] < %s[0]) ? 1 : 0) : %s;\n",
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1981:31:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            numCharsWritten = sprintf(dst, "\t%s = %s[%s];\n\t %s = %s[%s];}\n",
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1987:31:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            numCharsWritten = sprintf(dst, "\tif(%s == 0){%s[0] = fmax(%s[1], %s[0]);}\n",
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1992:31:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            numCharsWritten = sprintf(dst, "\tif(%s == %s[0]){atomic_min((%s + 0), %s);}\n",
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1997:31:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            numCharsWritten = sprintf(dst, "\tif(%s == 0){%s = %s[0]; %s = %s[0];}\n",
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:2008:27:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        numCharsWritten = sprintf(dst, "\tif( %s == 0 ) {\n\t", localId);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:2013:55:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            case REDUCTION_BY_SUM : numCharsWritten = sprintf(dst, "%s = %s [0] + %s [1];\n\t}",
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:2018:55:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            case REDUCTION_BY_MAX : numCharsWritten = sprintf(dst, "%s = fmax( %s [0] , %s [1] );\n\t}",
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:2023:55:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            case REDUCTION_BY_MIN : numCharsWritten = sprintf(dst, "%s = fmin( %s [0] , %s [1] );\n\t}",
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:2028:57:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            case REDUCTION_BY_HYPOT : numCharsWritten = sprintf(dst, "%s = hypot( %s [0] , %s [1] );\n\t}",
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:2033:55:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            case REDUCTION_BY_SSQ : numCharsWritten = sprintf(dst, " %s = %s = %s [0];\n", p1, p2, ldsVarName);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:2035:59:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                                        numCharsWritten = sprintf(dst, "\t %s = %s [0];\n", p3, ldsVarName2);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:2037:59:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                                        numCharsWritten = sprintf(dst, "\t %s = %s [1];\n\t %s = %s [1];\n",
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:2040:59:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                                        numCharsWritten = sprintf(dst, "\t %s = fmax( %s, %s );\n", p2, p2, p4);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:2042:59:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                                        numCharsWritten = sprintf(dst, "\t %s = (isnotequal(%s, (%s)0.0))?\n", p3, p2, (get("%PTYPE").value));
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:2044:59:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                                        numCharsWritten = sprintf(dst, "\t (((%s / %s) * (%s / %s) * %s) + ((%s / %s) * (%s / %s) * %s)) : %s;\n",
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:2047:59:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                                        numCharsWritten = sprintf(dst, "\t %s = %s;\n\t %s = %s;\n\t}",
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:2070:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( id1, ptr);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:2075:27:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        numCharsWritten = sprintf(dst, "fabs(%s)", id1);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:2080:27:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        numCharsWritten = sprintf(dst, "fabs(%s.even) + fabs(%s.odd)", id1, id1);
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:156:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "// Copy with %s%d vectors\n", s, wvlen);
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:174:21:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    sprintf(tmp, "tmp%s = uC.%s[%u];\n",
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:184:25:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                        sprintf(tmp, "tmp%s = c[%u]%s;\n",
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:197:21:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    sprintf(src, "tmp%s", vchunkTmp);
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:198:21:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    sprintf(dst, "c[%u]%s", off / vecLen, vchunkReg);
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:205:21:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    sprintf(src, "tmp%s", vchunkTmp);
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:210:21:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    sprintf(dst, "uC.%s[%u]", ptrName, j);
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:215:25:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                        sprintf(p, cachedName, i, j);
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:222:21:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    sprintf(src, "uC.%s[%u]", ptrName, j);
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:227:21:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    sprintf(regRole, "c[%u]%s", roff / vecLen, vchunkReg);
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:244:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "uC.%s += %s;\n", vfield, ldName);
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:261:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "\n"
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:323:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "uC.%s += (%s-1) * %s;\n", vfield, l0var, uvars->ld);
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:333:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "res.%s = c;\n", vFieldVectorized);
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:342:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(offStr, " + (%u - %s) * %lu",
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:347:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(p, " + (%u - %s)", sizes[1], uvars->nrCols);
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:350:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "res.%s = uC.%s%s;\n", vfield, vfield, offStr);
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:354:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "res.%s = res.%s%s;\n", vfield, vfield, offStr);
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:368:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "if (%s) ",l0var);
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:371:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "switch (%s)", l1var);
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:396:22:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                     sprintf(dst, "uC.%s[(%s+%d) %% %i]",
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:400:20:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                   sprintf(dst, "uC.%s[%d]", vfield, (l1-l1st));
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:403:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(src, "c[%u]%s", resId / vecLen, vchunkReg);
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:415:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(tmp, "uC.%s -= %s;\n", vfield, uvars->ld);
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:418:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(tmp, "uC.%s += %s;\n", vfield, uvars->ld);
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:423:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "%s--;\n", l0var);
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:431:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "for (i = 0; i < %s; i++)", boundNames[tra]);
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:433:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "for (j = 0; j < %s; j++)", boundNames[1 - tra]);
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:435:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(dst, "uC.%s[i * %s + j]", vfield, uvars->ld);
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:439:13:  [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(tmpcachedName, cachedName);
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:445:13:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
            sprintf(tmp, tmpcachedName, "i", "[j]");
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:446:13:  [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(dst, tmp);
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:449:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(src, "res.%s[j * %lu + i]", vfield, pitch);
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:452:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(src, "res.%s[i * %lu + j]", vfield, pitch);
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:527:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "void\n"
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:540:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(p, ",\n    %s beta", typeName);
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:581:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "%s tmp;\n", vecType);
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:595:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "uC.%s = %s + %s * %s + %s;\n",
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:600:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "uC.%s = %s + %s * %s + %s;\n",
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:112:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(rowOff, "((%s.%s + %d) %s %lu)",
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:126:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(colOff, "(%s + %s + %d) %% %s",
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:133:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(colOff, "%s", argNames->skewCol);
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:136:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(colOff, "((skewCol + k + %d) %s %lu)",
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:148:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(buf, "(int2)(%s.x + mad24(%s, %lu, %s), %s.y)",
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:152:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(buf, "(int2)(%s.x + %s, %s.y + %s)",
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:158:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(buf, "mad24(%s, %lu, %s)", rowOff, vecPitch, colOff);
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:161:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(buf, "%lu + %s", row * vecPitch, colOff);
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:190:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "%sdot(a[%lu], b[%lu]);\n", prefix, k, off);
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:209:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "sum = a[%d] * b[%lu]%s", 0, currCol * lenK, suff[type]);
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:211:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "%s + a[%lu] * b[%lu]%s", tmp, k,
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:232:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "sum = a[%d] * b[%lu]%s;\n", 0, currCol * lenK,
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:235:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "%ssum = mad(a[%lu], b[%lu]%s, sum);\n", tmp, k,
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:283:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp1, "%s %c sum.%c", tmp1, c, vect[k]);
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:286:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp2, "c[%lu].%c += %s;\n", regOff, vect[vecOff], tmp1);
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:347:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(tmp, "c[%lu] = mad((%s%u)a[%u].%c, b[%d], c[%lu]);\n",
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:397:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "A.%s += %lu;\n", ptrNameIn, subK / vecLen);
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:407:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "coordB.%s += %lu;\n", vfield, subK);
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:412:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "B.%s += %lu;\n", ptrNameIn, u);
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:484:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(s, "tempC.%s[%lu] += "
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:498:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(s, "tempC.%s[%lu] += c[%lu]%s * alpha;\n",
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:536:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(s, "void\n"
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:541:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(s, "%s    %s alpha,\n", s, typeName);
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:544:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(s, "%s    __read_only image2d_t A,\n"
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:548:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(s, "%s    LPtr A,\n", s);
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:551:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(s, "%s    __read_only image2d_t B,\n"
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:555:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(s, "%s    LPtr B,\n", s);
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:565:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(s, "%s    %s *c", s, typeName);
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:568:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(s, "%s    LPtr tempC", s);
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:573:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(s, "%s,\n    int2 skewRow", s);
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:576:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(s, "%s,\n    int skewCol", s);
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:662:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(s, "%s%s a[%lu], b[%lu];\n",s , tNameIn, subK / vecLen,
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:667:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(s, "%s%s c[%u];\n", s, tNameOut, nrRegs);
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:676:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(s,"%s%s sum;\n", s, tNameIn);
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:735:17:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                sprintf(s, imageFetch[isDouble], 'b', off, "B", s1);
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:738:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(s, "b[%lu] = B.%s[%s];\n", off, ptrNameIn, s1);
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:752:17:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                sprintf(s, imageFetch[isDouble], 'a', k, "A", s1);
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:755:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(s,"a[%lu] = A.%s[%s];\n", k, ptrNameIn, s1);
data/clblas-2.12/src/library/blas/gens/legacy/gemm_img.c:307:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(tmp, prepareImagesGemmDeclA, fpref, typeName, typeName);
data/clblas-2.12/src/library/blas/gens/legacy/gemm_img.c:316:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(tmp, functionHeadA,
data/clblas-2.12/src/library/blas/gens/legacy/gemm_img.c:325:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(conjStr, "case 110: //conjugated, not transposed, aligned\n"
data/clblas-2.12/src/library/blas/gens/legacy/gemm_img.c:335:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(tmp, copyToImageA,
data/clblas-2.12/src/library/blas/gens/legacy/gemm_img.c:355:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(tmp, prepareImagesGemmDeclB, fpref, typeName, typeName);
data/clblas-2.12/src/library/blas/gens/legacy/gemm_img.c:364:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(tmp, functionHeadB,
data/clblas-2.12/src/library/blas/gens/legacy/gemm_img.c:373:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(conjStr, "case 110: //conjugated, not transposed, aligned\n"
data/clblas-2.12/src/library/blas/gens/legacy/gemm_img.c:383:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(tmp, copyToImageB,
data/clblas-2.12/src/library/blas/gens/legacy/gemm_img.c:512:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(tmp, imgGemmDecl, pgran->wgSize[0], pgran->wgSize[1], fpref,
data/clblas-2.12/src/library/blas/gens/legacy/gemm_img.c:518:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(tmp, coordConstants,
data/clblas-2.12/src/library/blas/gens/legacy/gemm_img.c:529:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(tmp, localVariables, outTypeName, nrRegs);
data/clblas-2.12/src/library/blas/gens/legacy/gemm_img.c:598:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "\n"
data/clblas-2.12/src/library/blas/gens/legacy/gemm_lds.c:95:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "__attribute__((reqd_work_group_size(%u, %u, 1)))\n"
data/clblas-2.12/src/library/blas/gens/legacy/gemm_lds.c:138:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "uint m0, k0;\n"
data/clblas-2.12/src/library/blas/gens/legacy/gemm_lds.c:183:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "%s((LPtr)tempA, (GPtr)A, %s, %s, lda);\n",
data/clblas-2.12/src/library/blas/gens/legacy/gemm_lds.c:187:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp,
data/clblas-2.12/src/library/blas/gens/legacy/gemm_lds.c:231:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "%s((LPtr)tempB, (GPtr)B, %s, %s, ldb);\n",
data/clblas-2.12/src/library/blas/gens/legacy/gemm_lds.c:236:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp,
data/clblas-2.12/src/library/blas/gens/legacy/gemm_lds.c:404:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(tmp, // number of outer panels
data/clblas-2.12/src/library/blas/gens/legacy/gemm_lds.c:452:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "%s((LPtr)(tempA + (lid / %u * %lu) * %lu),\n"
data/clblas-2.12/src/library/blas/gens/legacy/gen_helper_legacy.c:311:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(tmp, "if ((%s < %s) && (%s < %s))",
data/clblas-2.12/src/library/blas/gens/legacy/gen_helper_legacy.c:315:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(tmp, "if (%s < %s)", coordY, kvarNames->sizeM);
data/clblas-2.12/src/library/blas/gens/legacy/gen_helper_legacy.c:320:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "if (%s < %s)", coordX, kvarNames->sizeN);
data/clblas-2.12/src/library/blas/gens/legacy/gen_helper_legacy.c:334:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "%s(%s, c, alpha, %s, %s, %s%s);\n",
data/clblas-2.12/src/library/blas/gens/legacy/gen_helper_legacy.c:339:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "uint y = min(%luu, %s - (uint)%s);\n"
data/clblas-2.12/src/library/blas/gens/legacy/gen_helper_legacy.c:374:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "uint y = min(%luu, %s - (uint)%s);\n"
data/clblas-2.12/src/library/blas/gens/legacy/tests/t_blkmul.c:145:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(s,"    %s alpha,\n", tName);
data/clblas-2.12/src/library/blas/gens/legacy/tests/t_blkmul.c:151:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(s,"    __global %s *A,\n", tName);
data/clblas-2.12/src/library/blas/gens/legacy/tests/t_blkmul.c:158:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(s,"    __global %s *B,\n", tName);
data/clblas-2.12/src/library/blas/gens/legacy/tests/t_blkmul.c:164:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(s,"    __global %s *C,\n", tName);
data/clblas-2.12/src/library/blas/gens/legacy/tests/t_blkmul.c:170:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(s,"__local %s LA[%lu];\n", tName, m * ITEM_WORK_M * blockWidth);
data/clblas-2.12/src/library/blas/gens/legacy/tests/t_blkmul.c:185:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(s,"__local %s LB[%lu];\n", tName, n * ITEM_WORK_N * blockWidth);
data/clblas-2.12/src/library/blas/gens/legacy/tests/t_blkmul.c:200:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(s,"__local %s LC[%lu];\n", tName, n * m * GROUP_SIZE);
data/clblas-2.12/src/library/blas/gens/legacy/tests/t_blkmul.c:242:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(s, "%cgemmBlock_%lu_%lu(alpha, A, (int2)(%s, %s), B, "
data/clblas-2.12/src/library/blas/gens/legacy/tests/t_blkmul.c:247:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(s, "%cgemmBlock_%lu_%lu(alpha, A, (int2)(%s, %s), "
data/clblas-2.12/src/library/blas/gens/legacy/tests/t_blkmul.c:254:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(s, "%cgemmBlock_%lu_%lu(alpha, (LPtr)(LA + m0 * %lu), B, "
data/clblas-2.12/src/library/blas/gens/legacy/trmm_img.c:163:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "void __kernel\n"
data/clblas-2.12/src/library/blas/gens/legacy/trmm_img.c:178:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "const uint bpr = (origM + %lu) / %lu;\n"
data/clblas-2.12/src/library/blas/gens/legacy/trmm_img.c:199:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "if ((currM + %lu <= M + startM) && "
data/clblas-2.12/src/library/blas/gens/legacy/trmm_img.c:219:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "if (k0 + %lu <= currM) {\n"
data/clblas-2.12/src/library/blas/gens/legacy/trmm_img.c:225:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "if (k0 >= currM + %lu) {\n"
data/clblas-2.12/src/library/blas/gens/legacy/trmm_img.c:245:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "%s(imgA, k0 / %u, currM - startM, (LPtr)tempA);\n",
data/clblas-2.12/src/library/blas/gens/legacy/trmm_img.c:326:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "void __kernel\n"
data/clblas-2.12/src/library/blas/gens/legacy/trmm_img.c:342:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(tmp, funcHead,
data/clblas-2.12/src/library/blas/gens/legacy/trmm_img.c:348:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(tmp, funcBody,
data/clblas-2.12/src/library/blas/gens/legacy/trmm_img.c:386:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "__attribute__((reqd_work_group_size(%u, %u, 1)))\n"
data/clblas-2.12/src/library/blas/gens/legacy/trmm_img.c:562:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(tmp, coordConstants,
data/clblas-2.12/src/library/blas/gens/legacy/trmm_img.c:573:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(tmp, localVariables, outTypeName, nrRegs);
data/clblas-2.12/src/library/blas/gens/legacy/trmm_img.c:667:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "\n"
data/clblas-2.12/src/library/blas/gens/legacy/trmm_img.c:686:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "__global %s *B = C + offB + start%c * ldb + start%c;\n\n",
data/clblas-2.12/src/library/blas/gens/legacy/trmm_lds.c:90:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "%s((__local float4*)tempC);\n", zeroFuncs->names[MATRIX_C]);
data/clblas-2.12/src/library/blas/gens/legacy/trmm_lds.c:111:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "%s((GPtr)B, (LPtr)tempC, %s, %s, ldb);\n",
data/clblas-2.12/src/library/blas/gens/legacy/trmm_lds.c:115:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp,
data/clblas-2.12/src/library/blas/gens/legacy/trmm_lds.c:377:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "%s(alpha, (LPtr)(tempA + (lid / %u * %lu) * %lu), \n"
data/clblas-2.12/src/library/blas/gens/legacy/trmm_lds.c:386:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "%s((LPtr)(tempA + (lid / %u * %lu) * %lu), "
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:203:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "const int lid = get_local_id(0);\n"
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:236:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(tmp, readBlock, copyFuncs->read[MATRIX_A], c);
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:240:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(tmp, readBlock, dim->y, dim->y, dim->bwidth, dim->bwidth,
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:501:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "%s((__local float4*)tempA);\n", zeroFuncs->names[MATRIX_A]);
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:506:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "if (lid < %lu) {\n"
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:555:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "utmpA.%s = tempA + lid / %u * %lu;\n"
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:896:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "uA.%s = A;\n"
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:284:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(tmp, readBlock, copyFuncs->read[MATRIX_A], c);
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:288:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(tmp, readBlock, dim->y, dim->y, dim->bwidth, dim->bwidth,
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:302:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "%s((__local float4*)tempC);\n", zeroFuncs->names[MATRIX_A]);
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:314:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "%s(imA, imx, imy, (LPtr)tempC, %lu, %lu, %lu);\n",
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:359:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "imy = %s %s %s * %lu;\n"
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:434:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(tmp, trsmPrepDecl, fpref, 'M', typeName,
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:456:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(tmp, trsmPrep1D, typeName, pitchAB * subdims[0].y,
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:476:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "if (lid < %lu) {\n"
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:556:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(tmp, readBlock, copyFuncs->read[MATRIX_B], c);
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:560:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(tmp, readBlock, bsizes[trb], bsizes[trb], bsizes[1 - trb],
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:611:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "%s(A, (int2)(imx, imy + lid / %u * %lu), \n"
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:629:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "void\n"
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:635:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "%s tmp;\n"
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:654:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "\n"
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:863:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(tmp, trsmImDecl, pgran->wgSize[0], pgran->wgSize[1],
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:867:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(tmp, trsmImDecl, pgran->wgSize[0], pgran->wgSize[1],
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:890:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(tmp, trsmImPrep1D, typeName, pitchAB * subdims[0].x,
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:910:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "for (m0 = %s; m0 + %lu != startRow; m0 -= %lu)",
data/clblas-2.12/src/library/blas/gens/legacy/trsm_kgen_legacy.c:58:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "%s(B, c, %s, %s, %s, ldb, %s);\n",
data/clblas-2.12/src/library/blas/gens/legacy/trsm_kgen_legacy.c:64:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "if ((%s < %s) && (%s < %s))",
data/clblas-2.12/src/library/blas/gens/legacy/trsm_kgen_legacy.c:73:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "uint y = min(%luu, %s - (uint)%s);\n"
data/clblas-2.12/src/library/blas/gens/legacy/trsm_kgen_legacy.c:119:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "%s(%s, c, %s, (lid / %u * %lu), (lid %% %u * %lu), %lu);\n",
data/clblas-2.12/src/library/blas/gens/legacy/trsm_kgen_legacy.c:136:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "void\ninvert(__local %s *src, __local %s *dst, int lid, "
data/clblas-2.12/src/library/blas/gens/legacy/trsm_lds.c:206:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(tmp, readBlock, copyFuncs->read[MATRIX_A], c);
data/clblas-2.12/src/library/blas/gens/legacy/trsm_lds.c:210:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(tmp, readBlock, dim->y, dim->y, dim->bwidth, dim->bwidth,
data/clblas-2.12/src/library/blas/gens/legacy/trsm_lds.c:238:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(tmp, readBlock, copyFuncs->read[MATRIX_B], c);
data/clblas-2.12/src/library/blas/gens/legacy/trsm_lds.c:242:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(tmp, readBlock, dim->x, dim->x, dim->bwidth, dim->bwidth,
data/clblas-2.12/src/library/blas/gens/legacy/trsm_lds.c:256:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "%s((__local float4*)tempA);\n", zeroFuncs->names[MATRIX_A]);
data/clblas-2.12/src/library/blas/gens/legacy/trsm_lds.c:442:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(tmp, trsmPrep1D, typeName, pitchAB * subdims[0].y,
data/clblas-2.12/src/library/blas/gens/legacy/trsm_lds.c:492:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "%s((LPtr)(tempA + (lid / %u * %lu) * %lu), \n"
data/clblas-2.12/src/library/blas/gens/legacy/trsm_lds.c:510:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "if (lid < %lu) {\n"
data/clblas-2.12/src/library/blas/gens/legacy/trsm_lds.c:537:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "%s((LPtr)(tempA + (lid / %u * %lu) * %lu), \n"
data/clblas-2.12/src/library/blas/gens/legacy/trxm_common_legacy.c:44:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "__local %s tempA[%lu];\n"
data/clblas-2.12/src/library/blas/gens/legacy/trxm_common_legacy.c:56:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "__local %s tempC[%lu];\n", inTypeName,
data/clblas-2.12/src/library/blas/gens/legacy/trxm_common_legacy.c:60:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "%s c[%u];\n", outTypeName, nrRegs);
data/clblas-2.12/src/library/blas/gens/legacy/trxm_common_legacy.c:97:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "%s((LPtr)tempA, (GPtr)A, %s, %s, lda);\n",
data/clblas-2.12/src/library/blas/gens/legacy/trxm_common_legacy.c:101:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp,
data/clblas-2.12/src/library/blas/gens/legacy/trxm_common_legacy.c:144:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "%s((LPtr)tempB, (GPtr)B, %s, %s, ldb);\n",
data/clblas-2.12/src/library/blas/gens/legacy/trxm_common_legacy.c:149:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp,
data/clblas-2.12/src/library/blas/gens/legacy/trxm_common_legacy.c:198:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp1, "\n"
data/clblas-2.12/src/library/blas/gens/legacy/trxm_common_legacy.c:205:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "if (lid >= y && lid < %lu) {\n"
data/clblas-2.12/src/library/blas/gens/legacy/trxm_common_legacy.c:225:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp1, "\n"
data/clblas-2.12/src/library/blas/gens/legacy/trxm_common_legacy.c:232:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "if (lid >= x && lid < %lu) {\n"
data/clblas-2.12/src/library/blas/gens/nrm2.cpp:251:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( tempTemplate, kernName );
data/clblas-2.12/src/library/blas/gens/reduction.cpp:268:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( tempTemplate, kernName );
data/clblas-2.12/src/library/blas/gens/rotg_reg.cpp:188:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( tempTemplate, (char*)rotg_kernel );
data/clblas-2.12/src/library/blas/gens/rotm_reg.cpp:245:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( tempTemplate, (char*)rotm_kernel );
data/clblas-2.12/src/library/blas/gens/rotmg_reg.cpp:184:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( tempTemplate, (char*)rotmg_kernel );
data/clblas-2.12/src/library/blas/gens/scal_reg.cpp:242:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( tempTemplate, (char*)scal_kernel );
data/clblas-2.12/src/library/blas/gens/swap_reg.cpp:246:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy( tempTemplate, (char*)swap_kernel );
data/clblas-2.12/src/library/blas/gens/symm_cached.cpp:209:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(tempTemplate, SYMM_C_KERNEL);
data/clblas-2.12/src/library/blas/gens/symv.c:149:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(betaDecl, "    const %s beta,\n", typeName);
data/clblas-2.12/src/library/blas/gens/symv.c:163:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(tmp, symvDecl, pgran->wgSize[0], pgran->wgSize[1], fpref, typeName,
data/clblas-2.12/src/library/blas/gens/symv.c:224:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "%s = k%s %s n%s ? %s : %s;\n",
data/clblas-2.12/src/library/blas/gens/symv.c:284:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "%s = Ktail <= %i || %s%s %s n%s ? 0 : %s;\n",
data/clblas-2.12/src/library/blas/gens/symv.c:342:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "%s = %s%s%s %s n%s ? 0 : %s;\n",
data/clblas-2.12/src/library/blas/gens/symv.c:442:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "__local %s localRes[%u][%u];\n",
data/clblas-2.12/src/library/blas/gens/symv.c:445:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "uint coordA = (%s * %u + %s / %u) * %lu + startN;\n",
data/clblas-2.12/src/library/blas/gens/symv.c:450:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "uint k0 = (%s %% %u) * %lu;\n",
data/clblas-2.12/src/library/blas/gens/symv.c:460:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp,
data/clblas-2.12/src/library/blas/gens/symv.c:877:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "if ((%s %% %u) == 0 && coordA < actualN && k0 < N)", lid, bStep);
data/clblas-2.12/src/library/blas/gens/symv.c:884:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp,"(%s - startN)", vnames->coordA);
data/clblas-2.12/src/library/blas/gens/syr2_lds.cpp:268:10:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			     (strcpy(tempTemplate, (char*)syr2_her2_CL_kernel)) : (strcpy(tempTemplate, (char*)syr2_her2_CU_kernel));
data/clblas-2.12/src/library/blas/gens/syr2_lds.cpp:268:63:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			     (strcpy(tempTemplate, (char*)syr2_her2_CL_kernel)) : (strcpy(tempTemplate, (char*)syr2_her2_CU_kernel));
data/clblas-2.12/src/library/blas/gens/syr_lds.cpp:268:10:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			     (strcpy(tempTemplate, (char*)syr_her_CL_kernel)) : (strcpy(tempTemplate, (char*)syr_her_CU_kernel));
data/clblas-2.12/src/library/blas/gens/syr_lds.cpp:268:61:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			     (strcpy(tempTemplate, (char*)syr_her_CL_kernel)) : (strcpy(tempTemplate, (char*)syr_her_CU_kernel));
data/clblas-2.12/src/library/blas/gens/syrxk.c:253:15:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    p = tmp + sprintf(tmp, "%s = (%s", varName, end);
data/clblas-2.12/src/library/blas/gens/syrxk.c:255:14:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        p += sprintf(p, " - %s", start);
data/clblas-2.12/src/library/blas/gens/syrxk.c:322:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(dstPtr, p);
data/clblas-2.12/src/library/blas/gens/syrxk.c:405:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(betaStr, "    const %s beta,\n", tnameOrig);
data/clblas-2.12/src/library/blas/gens/syrxk.c:414:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(bstr, "    const __global %s *restrict B,\n"
data/clblas-2.12/src/library/blas/gens/syrxk.c:434:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "__attribute__((reqd_work_group_size(%u, 1, 1)))\n"
data/clblas-2.12/src/library/blas/gens/syrxk.c:532:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "__global %s *B;\n", vecTypeA);
data/clblas-2.12/src/library/blas/gens/syrxk.c:540:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "__global %s *wiA;\n"
data/clblas-2.12/src/library/blas/gens/syrxk.c:589:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(start, "(coord.x - %s) / %lu * %lu",
data/clblas-2.12/src/library/blas/gens/syrxk.c:598:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(end, "(coord.x - %s) / %lu * %lu",
data/clblas-2.12/src/library/blas/gens/syrxk.c:633:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "coord.x -= %s;\n", step);
data/clblas-2.12/src/library/blas/gens/syrxk.c:645:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp1, "%s", start);
data/clblas-2.12/src/library/blas/gens/syrxk.c:680:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "coord.y = %s + block * %lu + lid %% %u * %lu;\n"
data/clblas-2.12/src/library/blas/gens/syrxk.c:755:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "coord.y = (%s >= startN + N %% %lu) ? "
data/clblas-2.12/src/library/blas/gens/syrxk.c:765:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "coord.y = %s - (block + 1) * %lu;\n", end, dim[0].y);
data/clblas-2.12/src/library/blas/gens/syrxk.c:1533:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(s1, "uint m = min(%luu, N - %s);\n"
data/clblas-2.12/src/library/blas/gens/syrxk.c:1538:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(p, "uint i, j, j0;\n"
data/clblas-2.12/src/library/blas/gens/syrxk.c:1560:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(p, "res.%s = res.%s%s;\n", vfield, vfield, offStr);
data/clblas-2.12/src/library/blas/gens/syrxk.c:1573:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(src, "res.%s[i * %lu + j]", vfield, pitch);
data/clblas-2.12/src/library/blas/gens/syrxk.c:1575:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(dst, "uC.%s[j * ldc + i]", vfield);
data/clblas-2.12/src/library/blas/gens/syrxk.c:1578:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(dst, "uC.%s[i * ldc + j]", vfield);
data/clblas-2.12/src/library/blas/gens/syrxk.c:1586:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "%s"   // variables
data/clblas-2.12/src/library/blas/gens/syrxk.c:1612:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "uint i0;\n"
data/clblas-2.12/src/library/blas/gens/syrxk.c:1687:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(tmp, "if (%s + %lu > %s)",
data/clblas-2.12/src/library/blas/gens/syrxk.c:1691:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(tmp, "if (%s + %lu > %s)",
data/clblas-2.12/src/library/blas/gens/syrxk.c:1710:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(tmp, "if (%s / %u * %u + %u > %s / %u * %u)",
data/clblas-2.12/src/library/blas/gens/syrxk.c:1714:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(tmp, "if (%s / %u * %u + %u > %s / %u * %u)",
data/clblas-2.12/src/library/blas/gens/syrxk.c:1989:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf( tmp,
data/clblas-2.12/src/library/blas/gens/syrxk.c:1997:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf( tmp,
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:130:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "%s = NAN;\n", elem.buf);
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:242:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(s, "%s(\n", kernelName);
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:244:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(s,"    %s alpha,\n", tName);
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:246:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(s,"    __global %s%s *A,\n", tName, tVect);
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:248:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(s,"    __global %s%s *B,\n", tName, tVect);
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:253:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(s,
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:273:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(s, "__local %s LA[%lu];\n",
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:278:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(s, "uint lda = %s;\n", tra ? "M" : "K");
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:282:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(s, "__local %s LB[%lu];\n",
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:287:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(s, "uint ldb = %s;\n", trb ? "K" : "N");
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:305:24:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                str += sprintf(str, ", %s * %u / %u", vnames->lda, i, vecLen);
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:319:24:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                str += sprintf(str, ", %s * %u / %u", vnames->ldb, i, vecLen);
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:347:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(s, "A += %s * (lda / %u) + %s / %u;\n",
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:350:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(s, "B += %s * (ldb / %u) + %s / %u;\n",
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:370:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(s,
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:374:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(s,
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:389:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(s, "LBptr.%s = LB + workItemN * %lu;\n",
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:393:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(s, "LBptr.%s = LB + workItemN;\n", ptrName);
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:427:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(s, "%s = %u;\n", kstr.buf, i * tileA->nrCols + j);
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:435:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(s, "%s = %u;\n", kstr.buf, i * tileB->nrCols + j);
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:471:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(s,
data/clblas-2.12/src/library/blas/gens/tile.c:244:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "%s %s[%lu];\n", tname, tile->baseName, size);
data/clblas-2.12/src/library/blas/gens/tile.c:250:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "%s %s0", tname, tile->baseName);
data/clblas-2.12/src/library/blas/gens/tile.c:253:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(p, ", %s%lu", tile->baseName, i);
data/clblas-2.12/src/library/blas/gens/tile.c:313:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(str->buf, "%s[%u]%s", tile->baseName, off / vecLen, vchunk);
data/clblas-2.12/src/library/blas/gens/tile.c:316:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(str->buf, "%s%u%s", tile->baseName, off / vecLen, vchunk);
data/clblas-2.12/src/library/blas/gens/tile.c:395:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "%s = 0;\n", elem.buf);
data/clblas-2.12/src/library/blas/gens/tile.c:412:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "%s = %s;\n", elem.buf, s);
data/clblas-2.12/src/library/blas/gens/tile.c:437:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "%s = 0;\n", elem.buf);
data/clblas-2.12/src/library/blas/gens/tile.c:486:21:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    sprintf(tmp, "%s = %s;\n", el1.buf, el2.buf);
data/clblas-2.12/src/library/blas/gens/tile.c:490:21:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    sprintf(tmp, "%s += %s;\n", el1.buf, el2.buf);
data/clblas-2.12/src/library/blas/gens/tile.c:494:21:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    sprintf(tmp, "%s -= %s;\n", el1.buf, el2.buf);
data/clblas-2.12/src/library/blas/gens/tile.c:498:21:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    sprintf(tmp, "%s *= %s;\n", el1.buf, el2.buf);
data/clblas-2.12/src/library/blas/gens/tile.c:502:21:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    sprintf(tmp, "%s /= %s;\n", el1.buf, el2.buf);
data/clblas-2.12/src/library/blas/gens/tile.c:506:21:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    sprintf(tmp, "%s %%= %s;\n", el1.buf, el2.buf);
data/clblas-2.12/src/library/blas/gens/tilemul.c:155:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(re->buf, src->buf);
data/clblas-2.12/src/library/blas/gens/tilemul.c:157:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(im->buf, src->buf);
data/clblas-2.12/src/library/blas/gens/tilemul.c:163:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(re->buf, src->buf);
data/clblas-2.12/src/library/blas/gens/tilemul.c:164:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(im->buf, src->buf);
data/clblas-2.12/src/library/blas/gens/tilemul.c:271:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "%s = mad(%s, %s, %s);\n",
data/clblas-2.12/src/library/blas/gens/tilemul.c:275:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "%s += %s * %s;\n", elC->buf, src1, src2);
data/clblas-2.12/src/library/blas/gens/tilemul.c:325:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "%s += dot(%s, %s);\n",
data/clblas-2.12/src/library/blas/gens/tilemul.c:405:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    str += sprintf(str, "sum = %s * %s", elA.buf, elB.buf);
data/clblas-2.12/src/library/blas/gens/tilemul.c:414:16:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        str += sprintf(str, " + %s * %s", elA.buf, elB.buf);
data/clblas-2.12/src/library/blas/gens/tilemul.c:423:12:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    str += sprintf(tmp2, "%ssum.s0", s);
data/clblas-2.12/src/library/blas/gens/tilemul.c:436:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "%s %c= %s;\n", elC.buf, op, tmp2);
data/clblas-2.12/src/library/blas/gens/tilemul.c:807:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(s,"%s sum;\n", tNameIn);
data/clblas-2.12/src/library/blas/gens/tilemul.c:884:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(s,"%s sum;\n", tname);
data/clblas-2.12/src/library/blas/gens/tilemul.c:1017:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(s, "\n%s += %lu;\n", varNames->k, bwidth);
data/clblas-2.12/src/library/blas/gens/trmm.c:298:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf( tmp, "if( %s.x == 0 )", pSubgVNames->itemId );
data/clblas-2.12/src/library/blas/gens/trmm.c:341:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp,
data/clblas-2.12/src/library/blas/gens/trmm.c:372:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "if( (%s.x == 0)&&(kMax < M) )", pSubgVNames->itemId);
data/clblas-2.12/src/library/blas/gens/trmm.c:443:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf( tmp, "if( %s.x == 0 )", pSubgVNames->itemId );
data/clblas-2.12/src/library/blas/gens/trmv_reg.cpp:330:10:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		    		(strcpy(tempTemplate, (char*)trmv_CL_kernel)) : (strcpy(tempTemplate, (char*)trmv_CU_kernel));
data/clblas-2.12/src/library/blas/gens/trmv_reg.cpp:330:58:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		    		(strcpy(tempTemplate, (char*)trmv_CL_kernel)) : (strcpy(tempTemplate, (char*)trmv_CU_kernel));
data/clblas-2.12/src/library/blas/gens/trmv_reg.cpp:346:10:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		    		(strcpy(tempTemplate, (char*)trmv_CLT_kernel)) : (strcpy(tempTemplate, (char*)trmv_CUT_kernel));
data/clblas-2.12/src/library/blas/gens/trmv_reg.cpp:346:59:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		    		(strcpy(tempTemplate, (char*)trmv_CLT_kernel)) : (strcpy(tempTemplate, (char*)trmv_CUT_kernel));
data/clblas-2.12/src/library/blas/gens/trsm.c:223:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "void\n"
data/clblas-2.12/src/library/blas/gens/trsm.c:261:25:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                        sprintf(tmp, "%s -= mul(%s, %s);\n",
data/clblas-2.12/src/library/blas/gens/trsm.c:265:25:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                        sprintf(tmp, "%s -= %s * %s;\n",
data/clblas-2.12/src/library/blas/gens/trsm.c:274:25:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                        sprintf(tmp, "%s = div(%s, %s);\n",
data/clblas-2.12/src/library/blas/gens/trsm.c:278:25:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                        sprintf(tmp, "%s /= %s;\n", dst.buf, srcDiag.buf);
data/clblas-2.12/src/library/blas/gens/trsm.c:372:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "__local %s tmpB[%i];\n"
data/clblas-2.12/src/library/blas/gens/trsm.c:449:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "coordA = %s + (lid / %u * %lu);\n",
data/clblas-2.12/src/library/blas/gens/trsm.c:600:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buf, "%s%s < %c%s", prefix, coordName, bound, suffix);
data/clblas-2.12/src/library/blas/gens/trsm.c:632:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(buf, "if (lid / %u + m1 == %u%s)",
data/clblas-2.12/src/library/blas/gens/trsm.c:636:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(buf, "if (lid / %u == m1%s)", xPans, hitCond);
data/clblas-2.12/src/library/blas/gens/trsm.c:641:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(buf, "if (lid / %u + m1 < %u%s)",
data/clblas-2.12/src/library/blas/gens/trsm.c:645:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(buf, "if (lid / %u > m1%s)", xPans, hitCond);
data/clblas-2.12/src/library/blas/gens/trsm.c:681:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "%s = (bound <= %u) ? 0 : %s;\n", elem.buf, j, elem.buf);
data/clblas-2.12/src/library/blas/gens/trsm.c:690:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "%s = (bound <= %d) ? %s : %s;\n",
data/clblas-2.12/src/library/blas/gens/trsm.c:774:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "invertTile(%s, %s);\n\n",
data/clblas-2.12/src/library/blas/gens/trsm.c:876:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "%s %s = %s;\n"
data/clblas-2.12/src/library/blas/gens/trsm.c:892:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "if ((%s < %s) && (%s < %s))",
data/clblas-2.12/src/library/blas/gens/trsm.c:901:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "uint y = min(%luu, %s - (uint)%s);\n"
data/clblas-2.12/src/library/blas/gens/trsm.c:911:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "%s %s = %s;\n"
data/clblas-2.12/src/library/blas/gens/trsm.c:929:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "%s %s = %s;\n"
data/clblas-2.12/src/library/blas/gens/trsm.c:967:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "%s(lB, uB, gid * %lu, k0, ldb);\n",
data/clblas-2.12/src/library/blas/gens/trsm.c:971:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "%s(lB, uB, k0, gid * %lu, ldb);\n",
data/clblas-2.12/src/library/blas/gens/trsm.c:1204:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "uB.%s = B;\n\n", ptrName);
data/clblas-2.12/src/library/blas/gens/trsm.c:1315:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "uA.%s = A;\n\n", ptrName);
data/clblas-2.12/src/library/blas/gens/trsm.c:1332:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "if ((currM + %lu < M) && %s)",
data/clblas-2.12/src/library/blas/gens/trsm_kgen.c:30:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "%s\ndiv(%s u, %s v)\n", ctype, ctype, ctype);
data/clblas-2.12/src/library/blas/gens/trsm_kgen.c:33:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "return (%s)((u.x * v.x + u.y * v.y) / "
data/clblas-2.12/src/library/blas/gens/trsm_kgen.c:41:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "%s\nmul(%s u, %s v)\n", ctype, ctype, ctype);
data/clblas-2.12/src/library/blas/gens/trsm_kgen.c:44:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "return (%s)(u.x * v.x - u.y * v.y, u.x * v.y + u.y * v.x);\n",
data/clblas-2.12/src/library/blas/gens/trsv_gemv.cpp:426:10:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		    		(strcpy(tempTemplate, (char*)trsv_CLT_ComputeRectangle_kernel)) :
data/clblas-2.12/src/library/blas/gens/trsv_gemv.cpp:427:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
					(strcpy(tempTemplate, (char*)trsv_CUT_ComputeRectangle_kernel));
data/clblas-2.12/src/library/blas/gens/trsv_gemv.cpp:445:8:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		    (strcpy(tempTemplate, (char*)trsv_CL_ComputeRectangle_kernel)) : (strcpy(tempTemplate, (char*)trsv_CU_ComputeRectangle_kernel));
data/clblas-2.12/src/library/blas/gens/trsv_gemv.cpp:445:73:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		    (strcpy(tempTemplate, (char*)trsv_CL_ComputeRectangle_kernel)) : (strcpy(tempTemplate, (char*)trsv_CU_ComputeRectangle_kernel));
data/clblas-2.12/src/library/blas/gens/trsv_gemv.cpp:448:8:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		    (strcpy(tempTemplate, (char*)trsv_CL_ComputeRectangle_NonUnity_kernel)) : (strcpy(tempTemplate, (char*)trsv_CU_ComputeRectangle_NonUnity_kernel));
data/clblas-2.12/src/library/blas/gens/trsv_gemv.cpp:448:82:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		    (strcpy(tempTemplate, (char*)trsv_CL_ComputeRectangle_NonUnity_kernel)) : (strcpy(tempTemplate, (char*)trsv_CU_ComputeRectangle_NonUnity_kernel));
data/clblas-2.12/src/library/blas/gens/trsv_trtri.cpp:323:22:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                    (strcpy(tempTemplate, (char*)trsv_CL_SolveTriangle_kernel)) :
data/clblas-2.12/src/library/blas/gens/trsv_trtri.cpp:324:22:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                    (strcpy(tempTemplate, (char*)trsv_CU_SolveTriangle_kernel));
data/clblas-2.12/src/library/blas/gens/trsv_trtri.cpp:329:22:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                    (strcpy(tempTemplate, (char*)trsv_CLT_SolveTriangle_kernel)) :
data/clblas-2.12/src/library/blas/gens/trsv_trtri.cpp:330:22:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                    (strcpy(tempTemplate, (char*)trsv_CUT_SolveTriangle_kernel));
data/clblas-2.12/src/library/blas/gens/trsv_trtri.cpp:510:22:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                    (strcpy(tempTemplate, (char*)trsv_CL_SolveTriangle_kernel)) :
data/clblas-2.12/src/library/blas/gens/trsv_trtri.cpp:511:22:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                    (strcpy(tempTemplate, (char*)trsv_CU_SolveTriangle_kernel));
data/clblas-2.12/src/library/blas/gens/trsv_trtri.cpp:516:22:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                    (strcpy(tempTemplate, (char*)trsv_CLT_SolveTriangle_kernel)) :
data/clblas-2.12/src/library/blas/gens/trsv_trtri.cpp:517:22:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                    (strcpy(tempTemplate, (char*)trsv_CUT_SolveTriangle_kernel));
data/clblas-2.12/src/library/blas/gens/trxm_common.c:55:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(strC, "    __global %s *C,\n", typeName);
data/clblas-2.12/src/library/blas/gens/trxm_common.c:89:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "__attribute__((reqd_work_group_size(%u, 1, 1)))\n"
data/clblas-2.12/src/library/blas/gens/trxm_common.c:128:20:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            len += sprintf(addstr + len, "%soffset%c",
data/clblas-2.12/src/library/blas/gens/trxm_common.c:132:20:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            len += sprintf(addstr + len, "%soffset%c * ldb",
data/clblas-2.12/src/library/blas/gens/trxm_common.c:140:20:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            len += sprintf(addstr + len, "%soffset%c * ldb",
data/clblas-2.12/src/library/blas/gens/trxm_common.c:144:20:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            len += sprintf(addstr + len, "%soffset%c",
data/clblas-2.12/src/library/blas/gens/trxm_common.c:150:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "B += %s;\n", addstr);
data/clblas-2.12/src/library/blas/gens/trxm_common.c:153:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "C += %s;\n", addstr);
data/clblas-2.12/src/library/blas/gens/trxm_common.c:231:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(xCoordVar, "%s", vnames->coordA);
data/clblas-2.12/src/library/blas/gens/trxm_common.c:232:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(yCoordVar, "%s", vnames->k);
data/clblas-2.12/src/library/blas/gens/trxm_common.c:237:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(xCoordVar, "%s", vnames->k);
data/clblas-2.12/src/library/blas/gens/trxm_common.c:238:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(yCoordVar, "%s", vnames->coordA);
data/clblas-2.12/src/library/blas/gens/trxm_common.c:245:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "uint zy = %s%s;\n", yCoordVar, stmtStr);
data/clblas-2.12/src/library/blas/gens/trxm_common.c:266:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "%s = zy %c %s%s ? 0 : %s;\n",
data/clblas-2.12/src/library/blas/gens/trxm_common.c:275:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(tmp, "%s = zy == %s%s ? "
data/clblas-2.12/src/library/blas/gens/xxmv_common.c:31:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(buf, "%s", sum); //zero length string
data/clblas-2.12/src/library/blas/gens/xxmv_common.c:34:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(buf, "%s + %lu", sum, val);
data/clblas-2.12/src/library/blas/gens/xxmv_common.c:45:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(buf, "%s",
data/clblas-2.12/src/library/blas/gens/xxmv_common.c:49:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(buf, "mad24((%s)%lu, (%s)%s, (%s)0)",
data/clblas-2.12/src/library/blas/gens/xxmv_common.c:56:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(buf, "mad24((%s)%s, (%s)%s, (%s)0)",
data/clblas-2.12/src/library/blas/gens/xxmv_common.c:61:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(buf, "mad24((%s)%s + %lu, (%s)%s, (%s)0)",
data/clblas-2.12/src/library/blas/gens/xxmv_common.c:96:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "const uint xk = %s / %u;\n", varNames->k, vecLen);
data/clblas-2.12/src/library/blas/gens/xxmv_common.c:99:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp,"%s = %s.%s[xk + %u];\n",
data/clblas-2.12/src/library/blas/gens/xxmv_common.c:108:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(tmp,"%s = X[k + %u < %s ? %s : 0];\n",
data/clblas-2.12/src/library/blas/gens/xxmv_common.c:112:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(tmp,"%s = X[%s];\n",kstr[0].buf, strMul);
data/clblas-2.12/src/library/blas/gens/xxmv_common.c:120:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp,"%s = k + %u < %s ? %s : 0;\n",
data/clblas-2.12/src/library/blas/gens/xxmv_common.c:138:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "Y += %s;\n", axVar);
data/clblas-2.12/src/library/blas/gens/xxmv_common.c:141:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "Y += incy * (int)%s;\n", axVar);
data/clblas-2.12/src/library/blas/gens/xxmv_common.c:182:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp,"%s = uC.%s[%u];\n",
data/clblas-2.12/src/library/blas/gens/xxmv_common.c:191:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(tmp,"%s = Y[coordA + %u >= M ? 0 : %s];\n",
data/clblas-2.12/src/library/blas/gens/xxmv_common.c:195:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(tmp,"%s = Y[%s];\n",
data/clblas-2.12/src/library/blas/gens/xxmv_common.c:210:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(tmp,
data/clblas-2.12/src/library/blas/gens/xxmv_common.c:215:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(tmp,
data/clblas-2.12/src/library/blas/gens/xxmv_common.c:227:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(tmp, "%s = alpha * %s;\n", kstr[0].buf, kstr[1].buf);
data/clblas-2.12/src/library/blas/gens/xxmv_common.c:230:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(tmp, "%s = beta * %s + alpha * %s;\n",
data/clblas-2.12/src/library/blas/gens/xxmv_common.c:239:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp,"uC.%s[%u] = %s;\n",
data/clblas-2.12/src/library/blas/gens/xxmv_common.c:247:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(tmp,"*Y = %s;\n", kstr[0].buf);
data/clblas-2.12/src/library/blas/gens/xxmv_common.c:259:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(tmp,"Y[coordA + %u >= M ? 0 : %s] = %s;\n",
data/clblas-2.12/src/library/blas/gens/xxmv_common.c:304:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "localRes[%s][%u] = %s;\n", lid, i, kstr.buf);
data/clblas-2.12/src/library/blas/gens/xxmv_common.c:324:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "%s += localRes[%s + i*%u][%u];\n",
data/clblas-2.12/src/library/blas/gens/xxmv_common.c:342:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "%s += %s;\n", kstr[0].buf, kstr[1].buf);
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:390:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "size_t %s;\n\n", lboundVarName);
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:398:13:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
            sprintf(tmp, setLoopBoundStmt, work->nrItems - 1, work->nrItems - 1,
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:403:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "nrows = (%s >= %u) ? 0 : %lu;\n", lidVarName,
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:446:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "if ((%s %% %u == %u) && (%s < %u))",
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:451:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "if (%s %% %u == %u)",
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:484:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "%s = startX + (index * %lu) %% pLine / %u;\n"
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:490:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "%s = x;\n" "%s = y;\n" "%s = src;\n\n", gpriv->imgXName,
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:503:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "write_imageui(%s, (int2)(%s++,%s), as_uint4(*%s.f4v++));\n",
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:534:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "tmp = *%s.%s++;\n", gpriv->srcName, vec);
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:543:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "*%s.%s++ = tmp;\n",
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:547:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "*%s.%s++ = *%s.%s++;\n", gpriv->dstName, vec,
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:564:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "*%s.%s = *%s.%s++;\n",
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:567:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "(*%s.%s).y = -(*%s.%s).y;\n",
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:570:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "%s.%s++;\n", gpriv->dstName, vfield);
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:573:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "*%s.%s++ = *%s.%s++;\n",
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:598:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "tmp = *%s.f4v++;\n", gpriv->srcName);
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:613:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(tmp, "%s.%s[%s * %lu] = tmp.%s;\n",
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:618:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(tmp, "%s.%s[%lu] = tmp.%s;\n", gpriv->dstName,
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:628:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(tmp, "tmp.%s = %s.%s[%s * %lu];\n", tmpSuff[n - 1][i],
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:632:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(tmp, "tmp.%s = %s.%s[%lu];\n", tmpSuff[n - 1][i],
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:638:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "*%s.f4v++ = tmp;\n", gpriv->dstName);
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:645:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "%s.%s += %s * %lu;\n", s, vfield, gpriv->locLDName, i);
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:648:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "%s.%s += %lu;\n", s, vfield, gpriv->lmemLD * i);
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:666:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "*%s.%s = *%s.%s++;\n",
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:672:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(tmp, "(*%s.%s).y = -(*%s.%s).y;\n",
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:677:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "%s.%s += %s;\n",
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:681:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "%s.%s[%lu] = *%s.%s++;\n",
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:687:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(tmp, "%s.%s[%lu].y = -%s.%s[%lu].y;\n",
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:695:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "*%s.%s++ = *%s.%s;\n"
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:702:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "*%s.%s++ = %s.%s[%lu];\n",
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:768:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "%s.%s += %s;\n", s[gdir], vfield, gpriv->globLDName);
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:772:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "%s.%s++;\n", s[1 - gdir], vfield);
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:776:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "%s.%s += %s;\n", s[1 - gdir],
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:780:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "%s.%s += %lu;\n", s[1 - gdir],
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:802:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "src.%s += %s;\n", vfield, gpriv->globLDName);
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:805:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "src.%s += %lu;\n", vfield, gpriv->lmemLD);
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:864:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "%s.%s += (%s / %u) * %lu + (%s %% %u * %lu) * %lu;\n",
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:869:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "%s.%s += %s * %lu * %lu;\n",
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:875:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "%s.%s += (startRow + %s / %u) * %s + "
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:881:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "%s.%s += (startRow + %s * %lu) * %s + startCol;\n",
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:911:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "index = %s / %u;\n", lidVarName,
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:915:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "index = %s * %lu;\n", lidVarName,
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:923:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "x += (%s %% %u) * (%lu / %u / %u);\n", lidVarName,
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:933:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "%s = startX + %s %% %u * %lu / %d;\n",
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:937:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "%s = startY + %s / %u;\n", yName, lidVarName,
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:942:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "%s = startX;\n", xName);
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:944:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "%s = startY + %s * %lu;\n", yName, lidVarName,
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:986:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(srcStr, "src.%s += (startRow + lid * n) *"
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:988:13:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
            sprintf(tmp, copyMemGImgDBlockSlowDecl, fpref, s[1]);
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:991:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(srcStr, "src.%s += srcLD * lid * n;\n", vfield);
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:992:13:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
            sprintf(tmp, copyMemLImgDBlockSlowDecl, fpref, s[1]);
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:1008:13:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
            sprintf(tmp, copyMemDBlockSlowStart[0], 4 * n, 4 * n, n,"",
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:1012:13:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
            sprintf(tmp, copyMemDBlockSlowStart[0], 4 * n, 4 * n, n, "",
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:1019:13:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
            sprintf(tmp, copyMemImgDBlockPackedSlow, varPref[gdir],
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:1023:13:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
            sprintf(tmp, copyMemImgDBlockSlow, varPref[gdir], vfield);
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:1038:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(tmp, copyMemDBlockSlowDecl,
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:1079:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(buf[0], "jb = 0;\n"
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:1085:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(buf[0], "js = %s - jb * %u - jv * %u;\n",
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:1092:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(buf[1], "src.%s += (startRow + lid * n) * srcLD + "
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:1095:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(buf[2], "dst.%s += lid * n;\n", vfield);
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:1098:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(buf[2], "dst.%s += dstLD * lid * n;\n", vfield);
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:1103:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(buf[1], "src.%s += lid * n;\n", vfield);
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:1106:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(buf[1], "src.%s += srcLD * lid * n;\n", vfield);
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:1108:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(buf[2], "dst.%s += (startRow + lid * n) * dstLD + "
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:1112:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(tmp, copyMemSlowLvars, s[0], s[1],
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:1116:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(tmp, copyMemDBlockSlowStart[i],
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:1238:13:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
            sprintf(tmp, copyMemGImgDBlockDecl, fpref, s, dim->y, dim->x);
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:1241:13:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
            sprintf(tmp, copyMemLImgDBlockDecl, fpref, s, dim->y, dim->x);
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:1247:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(tmp, copyMemDBlockDecl, fpref, s, s1, s2, varPref[gdir],
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:1295:13:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
            sprintf(tmp, privatePtrs, varPref[gdir], varPref[1 - gdir]);
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:1477:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(tmp, f4zeroDecl, pref, dim->x, memPrefix);
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:1483:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "\ndata += %s * %lu;\n\n",
data/clblas-2.12/src/library/common/kerngen_core.c:502:11:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    len = vsnprintf(buf, MAX_STATEMENT_LENGTH, fmt, ap);
data/clblas-2.12/src/library/common/kerngen_core.c:568:11:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    len = vsnprintf(buf, MAX_STATEMENT_LENGTH, fmt, ap);
data/clblas-2.12/src/library/common/kgen_basic.c:333:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "const int %s = get_local_id(0);\n", lidName);
data/clblas-2.12/src/library/common/kgen_basic.c:336:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "const int %s = get_local_id(1) * %u + "
data/clblas-2.12/src/library/common/kgen_basic.c:356:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "const int %s = get_global_id(0) / %u;\n",
data/clblas-2.12/src/library/common/kgen_basic.c:360:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "const int %s = (get_global_id(1) / %u) * "
data/clblas-2.12/src/library/common/kgen_basic.c:401:11:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    len = vsnprintf(kstr->buf, sizeof(kstr->buf), fmt, ap);
data/clblas-2.12/src/library/common/kgen_basic.c:421:11:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    len = vsnprintf(kstr->buf + len, maxlen, fmt, ap);
data/clblas-2.12/src/library/common/kgen_loop_helper.c:60:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "for (%s = 0; %s < %lu; %s++)",
data/clblas-2.12/src/library/common/kgen_loop_helper.c:65:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "for (%s = 0; %s < %s; %s++)",
data/clblas-2.12/src/library/common/tests/t_dblock_kgen.c:899:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(tmp, rwBlockKernelImgDecl, s, s);
data/clblas-2.12/src/library/common/tests/t_dblock_kgen.c:902:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(tmp, rwBlockKernelDecl, s, s);
data/clblas-2.12/src/library/common/tests/t_dblock_kgen.c:913:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tmp, "__local float tmpBuf[%lu];\n"
data/clblas-2.12/src/library/common/tests/t_dblock_kgen.c:924:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "%s(tmp, src, srowA, scolA, %lu, %lu, %lu, lda);\n",
data/clblas-2.12/src/library/common/tests/t_dblock_kgen.c:928:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "%s(tmp, src, srowA, scolA, lda);\n", rname);
data/clblas-2.12/src/library/common/tests/t_dblock_kgen.c:936:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp, "%s(dst, tmp, srowB, scolB, %lu, %lu, ldb, %lu);\n",
data/clblas-2.12/src/library/common/tests/t_dblock_kgen.c:940:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tmp,  "%s(dst, tmp, srowB, scolB, ldb);\n", wname);
data/clblas-2.12/src/library/common/tests/t_dblock_kgen.c:947:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "%s(image1, 0, 0, src, srowA, scolA, %lu, %lu, lda);\n",
data/clblas-2.12/src/library/common/tests/t_dblock_kgen.c:951:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp,  "%s(image1, 0, 0, src, srowA, scolA, lda);\n", giname);
data/clblas-2.12/src/library/common/tests/t_dblock_kgen.c:957:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp, "%s(image2, 0, 0, tmp, %lu, %lu, %lu);\n",
data/clblas-2.12/src/library/common/tests/t_dblock_kgen.c:961:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(tmp,  "%s(image2, 0, 0, tmp);\n", liname);
data/clblas-2.12/src/library/common/tests/t_dblock_kgen.c:1277:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(dataType, "%s", optarg);
data/clblas-2.12/src/library/common/trace_malloc.c:119:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(str, "%lu %s", size, suffix);
data/clblas-2.12/src/library/tools/bingen/bingen.cpp:165:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(fileName, "%s.%s", outFile, deviceName);
data/clblas-2.12/src/library/tools/bingen/bingen.cpp:393:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(cltFile, outputPrefix);
data/clblas-2.12/src/library/tools/bingen/bingen.cpp:399:5:  [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(cltFile, argv[i]);
data/clblas-2.12/src/library/tools/bingen/bingen.cpp:400:5:  [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(cltFile,NameDevicesToSupport );
data/clblas-2.12/src/library/tools/tplgen/tplgen.cpp:152:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(cltFile, outputPrefix);
data/clblas-2.12/src/library/tools/tplgen/tplgen.cpp:158:9:  [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(cltFile, argv[i]);
data/clblas-2.12/src/library/tools/tplgen/tplgen.cpp:165:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(tempInputPrefix, inputPrefix);
data/clblas-2.12/src/library/tools/tplgen/tplgen.cpp:166:15:  [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).
		inputfile = strcat(tempInputPrefix, argv[i]);
data/clblas-2.12/src/library/tools/tune/fileio.c:128:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(fname, path);
data/clblas-2.12/src/library/tools/tune/fileio.c:137:5:  [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(fname, name);
data/clblas-2.12/src/library/tools/tune/fileio.c:139:5:  [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(fname, ext);
data/clblas-2.12/src/library/tools/tune/tune.c:337:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(name, format, (unsigned)data);
data/clblas-2.12/src/library/tools/tune/tune.c:343:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(name, format, "SU");
data/clblas-2.12/src/library/tools/tune/tune.c:1012:13:  [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(logStream, (kern) ? "* " : "+ ");
data/clblas-2.12/src/tests/functional/func-images.cpp:69:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf (str, "%s=", metod.env);
data/clblas-2.12/src/tests/functional/func-images.cpp:72:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf (str, "%s=%i",metod.env, i);
data/clblas-2.12/src/client/clfunc_common.hpp:77:11:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    T t = random<T>(UPPER_BOUND<T>());
data/clblas-2.12/src/client/clfunc_xgemm.hpp:366:9:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        srand(10);
data/clblas-2.12/src/client/clfunc_xgemm.hpp:371:48:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                buffer_.a_[i*buffer_.lda_+j] = random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xgemm.hpp:380:48:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                buffer_.b_[i*buffer_.ldb_+j] = random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xgemm.hpp:389:83:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                buffer_.c_copy[i*buffer_.ldc_+j] = buffer_.c_[i*buffer_.ldc_+j] = random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xgemv.hpp:188:9:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        srand(10);
data/clblas-2.12/src/client/clfunc_xgemv.hpp:193:48:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                buffer_.a_[i*buffer_.lda_+j] = random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xgemv.hpp:202:33:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                buffer_.x_[i] = random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xgemv.hpp:207:33:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                buffer_.y_[i] = random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xgemv.hpp:215:33:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                buffer_.x_[i] = random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xgemv.hpp:220:33:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                buffer_.y_[i] = random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xger.hpp:146:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(10);
data/clblas-2.12/src/client/clfunc_xgerc.hpp:174:3:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  srand(10);
data/clblas-2.12/src/client/clfunc_xgerc.hpp:179:39:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        buffer.cpuA[i*buffer.lda+j] = random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xgerc.hpp:186:22:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    buffer.cpuX[i] = random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xgerc.hpp:191:22:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    buffer.cpuY[i] = random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xgeru.hpp:171:3:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  srand(10);
data/clblas-2.12/src/client/clfunc_xgeru.hpp:176:39:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        buffer.cpuA[i*buffer.lda+j] = random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xgeru.hpp:183:22:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    buffer.cpuX[i] = random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xgeru.hpp:188:22:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    buffer.cpuY[i] = random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xhemm.hpp:386:3:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  srand(10);
data/clblas-2.12/src/client/clfunc_xhemm.hpp:434:3:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  srand(10);
data/clblas-2.12/src/client/clfunc_xhemv.hpp:179:3:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  srand(10);
data/clblas-2.12/src/client/clfunc_xhemv.hpp:184:41:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
          buffer.cpuA[i*buffer.lda+j] = random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xhemv.hpp:191:24:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      buffer.cpuX[i] = random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xhemv.hpp:193:24:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      buffer.cpuY[i] = random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xher.hpp:168:3:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  srand(10);
data/clblas-2.12/src/client/clfunc_xher.hpp:173:39:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        buffer.cpuA[i*buffer.lda+j] = random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xher.hpp:180:22:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    buffer.cpuX[i] = random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xher2.hpp:178:3:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  srand(10);
data/clblas-2.12/src/client/clfunc_xher2.hpp:183:41:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
          buffer.cpuA[i*buffer.lda+j] = random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xher2.hpp:190:24:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      buffer.cpuX[i] = random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xher2.hpp:192:24:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      buffer.cpuY[i] = random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xher2k.hpp:294:4:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	  srand(10);
data/clblas-2.12/src/client/clfunc_xher2k.hpp:299:51:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                buffer_.cpuA_[i*buffer_.lda_+j] = random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xher2k.hpp:307:51:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                buffer_.cpuC_[i*buffer_.ldc_+j] = random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xherk.hpp:223:4:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	  srand(10);
data/clblas-2.12/src/client/clfunc_xherk.hpp:228:51:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                buffer_.cpuA_[i*buffer_.lda_+j] = random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xherk.hpp:236:51:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                buffer_.cpuC_[i*buffer_.ldc_+j] = random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xsymm.hpp:360:3:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  srand(10);
data/clblas-2.12/src/client/clfunc_xsymm.hpp:365:39:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        buffer.cpuA[i*buffer.lda+j] = random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xsymm.hpp:373:39:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        buffer.cpuB[i*buffer.ldb+j] = random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xsymm.hpp:381:39:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        buffer.cpuC[i*buffer.ldc+j] = random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xsymv.hpp:151:9:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        srand(10);
data/clblas-2.12/src/client/clfunc_xsyr.hpp:168:3:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  srand(10);
data/clblas-2.12/src/client/clfunc_xsyr.hpp:173:39:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        buffer.cpuA[i*buffer.lda+j] = random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xsyr.hpp:180:22:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    buffer.cpuX[i] = random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xsyr2.hpp:177:3:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  srand(10);
data/clblas-2.12/src/client/clfunc_xsyr2.hpp:182:39:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        buffer.cpuA[i*buffer.lda+j] = random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xsyr2.hpp:189:22:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    buffer.cpuX[i] = random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xsyr2.hpp:191:22:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    buffer.cpuY[i] = random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xsyr2k.hpp:294:9:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        srand(10);
data/clblas-2.12/src/client/clfunc_xsyr2k.hpp:299:48:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                buffer_.a_[i*buffer_.lda_+j] = random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xsyr2k.hpp:308:48:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                buffer_.b_[i*buffer_.ldb_+j] = random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xsyr2k.hpp:317:48:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                buffer_.c_[i*buffer_.ldc_+j] = random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xsyrk.hpp:228:9:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        srand(10);
data/clblas-2.12/src/client/clfunc_xsyrk.hpp:233:48:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                buffer_.a_[i*buffer_.lda_+j] = random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xsyrk.hpp:242:48:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                buffer_.c_[i*buffer_.ldc_+j] = random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xtrmm.hpp:262:9:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        srand(10);
data/clblas-2.12/src/client/clfunc_xtrmm.hpp:268:83:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                buffer_.b_copy[i*buffer_.ldb_+j] = buffer_.b_[i*buffer_.ldb_+j] = random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xtrmm.hpp:283:52:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                    buffer_.a_[i*buffer_.lda_+j] = random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xtrmv.hpp:163:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(10);
data/clblas-2.12/src/client/clfunc_xtrmv.hpp:319:3:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  srand(10);
data/clblas-2.12/src/client/clfunc_xtrmv.hpp:363:3:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  srand(10);
data/clblas-2.12/src/client/clfunc_xtrsm.hpp:245:9:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        srand(10);
data/clblas-2.12/src/client/clfunc_xtrsm.hpp:251:48:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                buffer_.b_[i*buffer_.ldb_+j] = random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xtrsm.hpp:269:29:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                            random<T>(UPPER_BOUND<T>()) /
data/clblas-2.12/src/client/clfunc_xtrsv.hpp:156:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(10);
data/clblas-2.12/src/client/clfunc_xtrsv.hpp:312:3:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  srand(10);
data/clblas-2.12/src/client/clfunc_xtrsv.hpp:356:3:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  srand(10);
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmUtil.h:121:1:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
random(cl_double limit)
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmUtil.h:137:1:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
random(cl_double left, cl_double right)
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmUtil.h:142:9:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    v = random<T>(right - left);
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmUtil.h:154:1:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
random()
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmUtil.h:156:12:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    return random<T>(static_cast<T>(10));
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmUtil.h:161:1:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
random<FloatComplex>()
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmUtil.h:163:25:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    return floatComplex(random<cl_float>(), random<cl_float>());
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmUtil.h:163:45:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    return floatComplex(random<cl_float>(), random<cl_float>());
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmUtil.h:168:1:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
random<FloatComplex>(cl_double limit)
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmUtil.h:170:25:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    return floatComplex(random<cl_float>(limit), random<cl_float>(limit));
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmUtil.h:170:50:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    return floatComplex(random<cl_float>(limit), random<cl_float>(limit));
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmUtil.h:175:1:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
random<FloatComplex>(cl_double left, cl_double right)
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmUtil.h:177:25:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    return floatComplex(random<cl_float>(left, right), random<cl_float>(left, right));
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmUtil.h:177:56:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    return floatComplex(random<cl_float>(left, right), random<cl_float>(left, right));
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmUtil.h:183:1:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
random<DoubleComplex>()
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmUtil.h:185:26:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    return doubleComplex(random<cl_double>(), random<cl_double>());
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmUtil.h:185:47:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    return doubleComplex(random<cl_double>(), random<cl_double>());
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmUtil.h:190:1:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
random<DoubleComplex>(cl_double limit)
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmUtil.h:192:26:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    return doubleComplex(random<cl_double>(limit), random<cl_double>(limit));
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmUtil.h:192:52:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    return doubleComplex(random<cl_double>(limit), random<cl_double>(limit));
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmUtil.h:197:1:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
random<DoubleComplex>(cl_double left, cl_double right)
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmUtil.h:199:26:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    return doubleComplex(random<cl_double>(left, right), random<cl_double>(left, right));
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmUtil.h:199:58:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    return doubleComplex(random<cl_double>(left, right), random<cl_double>(left, right));
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/ProfileAutoGemm.cpp:306:23:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
            a[r][c] = random<T>();
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/TestAutoGemm.cpp:99:23:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
            a[r][c] = random<T>();
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/TestAutoGemm.cpp:746:3:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  srand((unsigned int)time(NULL));
data/clblas-2.12/src/library/blas/generic/binary_lookup.cc:71:25:  [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.
    const char * path = getenv("CLBLAS_CACHE_PATH");
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:2196:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand((unsigned int)time(NULL));
data/clblas-2.12/src/library/blas/gens/legacy/tests/t_blkmul.c:353:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(0);
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:562:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(0);
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:589:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(0);
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:907:22:  [3] (buffer) getopt_long:
  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.
        nextOption = getopt_long(argc, argv, shortOptions, longOptions, NULL);
data/clblas-2.12/src/library/blas/gens/trsm.c:1555:31:  [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.
        const char *envImpl = getenv("AMD_CLBLAS_TRSM_LDSUSE");
data/clblas-2.12/src/library/blas/impl.c:64:15:  [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.
    envImpl = getenv("AMD_CLBLAS_GEMM_IMPLEMENTATION");
data/clblas-2.12/src/library/blas/impl.c:68:15:  [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.
    envImpl = getenv("AMD_CLBLAS_TRMM_IMPLEMENTATION");
data/clblas-2.12/src/library/blas/impl.c:72:15:  [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.
    envImpl = getenv("AMD_CLBLAS_TRSM_IMPLEMENTATION");
data/clblas-2.12/src/library/blas/impl.c:85:15:  [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.
    envImpl = getenv("AMD_CLBLAS_GEMM_IMPLEMENTATION");
data/clblas-2.12/src/library/blas/impl.c:99:15:  [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.
    envImpl = getenv("AMD_CLBLAS_TRMM_IMPLEMENTATION");
data/clblas-2.12/src/library/blas/impl.c:113:15:  [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.
    envImpl = getenv("AMD_CLBLAS_TRSM_IMPLEMENTATION");
data/clblas-2.12/src/library/blas/init.c:194:8:  [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.
	tmp = getenv( "AMD_CLBLAS_KCACHE_LIMIT_MB" );
data/clblas-2.12/src/library/common/tests/t_dblock_kgen.c:162:21:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    *(cl_float*)a = random() % 1000;
data/clblas-2.12/src/library/common/tests/t_dblock_kgen.c:194:22:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    *(cl_double*)a = random() % 1000;
data/clblas-2.12/src/library/common/tests/t_dblock_kgen.c:228:16:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    a1->s[0] = random() % 1000;
data/clblas-2.12/src/library/common/tests/t_dblock_kgen.c:229:16:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    a1->s[1] = random() % 1000;
data/clblas-2.12/src/library/common/tests/t_dblock_kgen.c:263:16:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    a1->s[0] = random() % 1000;
data/clblas-2.12/src/library/common/tests/t_dblock_kgen.c:264:16:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    a1->s[1] = random() % 1000;
data/clblas-2.12/src/library/common/tests/t_dblock_kgen.c:1261:15:  [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.
        opt = getopt(argc, argv,  "ct:d:nogb");
data/clblas-2.12/src/library/common/tests/t_gens_cache.c:228:35:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                dims[i][j][k].x = random() % 1000;
data/clblas-2.12/src/library/common/tests/t_gens_cache.c:234:39:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                    dims[i][j][k].y = random() % 1000;
data/clblas-2.12/src/library/common/tests/t_gens_cache.c:235:43:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                    dims[i][j][k].itemX = random() % 1000;
data/clblas-2.12/src/library/common/tests/t_gens_cache.c:237:40:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                dims[i][j][k].bwidth = random() % 1000;
data/clblas-2.12/src/library/common/tests/t_gens_cache.c:238:39:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                dims[i][j][k].itemY = random() % 1000;
data/clblas-2.12/src/library/tools/ktest/naive/naive_blas.cpp:171:1:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
random(cl_double limit)
data/clblas-2.12/src/library/tools/ktest/naive/naive_blas.cpp:187:1:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
random(cl_double left, cl_double right)
data/clblas-2.12/src/library/tools/ktest/naive/naive_blas.cpp:192:9:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    v = random<T>(right - left);
data/clblas-2.12/src/library/tools/ktest/naive/naive_blas.cpp:204:1:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
random()
data/clblas-2.12/src/library/tools/ktest/naive/naive_blas.cpp:206:12:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    return random<T>(static_cast<T>(10));
data/clblas-2.12/src/library/tools/ktest/naive/naive_blas.cpp:211:1:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
random<FloatComplex>()
data/clblas-2.12/src/library/tools/ktest/naive/naive_blas.cpp:213:25:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    return floatComplex(random<cl_float>(), random<cl_float>());
data/clblas-2.12/src/library/tools/ktest/naive/naive_blas.cpp:213:45:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    return floatComplex(random<cl_float>(), random<cl_float>());
data/clblas-2.12/src/library/tools/ktest/naive/naive_blas.cpp:218:1:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
random<FloatComplex>(cl_double limit)
data/clblas-2.12/src/library/tools/ktest/naive/naive_blas.cpp:220:25:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    return floatComplex(random<cl_float>(limit), random<cl_float>(limit));
data/clblas-2.12/src/library/tools/ktest/naive/naive_blas.cpp:220:50:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    return floatComplex(random<cl_float>(limit), random<cl_float>(limit));
data/clblas-2.12/src/library/tools/ktest/naive/naive_blas.cpp:225:1:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
random<FloatComplex>(cl_double left, cl_double right)
data/clblas-2.12/src/library/tools/ktest/naive/naive_blas.cpp:227:25:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    return floatComplex(random<cl_float>(left, right), random<cl_float>(left, right));
data/clblas-2.12/src/library/tools/ktest/naive/naive_blas.cpp:227:56:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    return floatComplex(random<cl_float>(left, right), random<cl_float>(left, right));
data/clblas-2.12/src/library/tools/ktest/naive/naive_blas.cpp:233:1:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
random<DoubleComplex>()
data/clblas-2.12/src/library/tools/ktest/naive/naive_blas.cpp:235:26:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    return doubleComplex(random<cl_double>(), random<cl_double>());
data/clblas-2.12/src/library/tools/ktest/naive/naive_blas.cpp:235:47:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    return doubleComplex(random<cl_double>(), random<cl_double>());
data/clblas-2.12/src/library/tools/ktest/naive/naive_blas.cpp:240:1:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
random<DoubleComplex>(cl_double limit)
data/clblas-2.12/src/library/tools/ktest/naive/naive_blas.cpp:242:26:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    return doubleComplex(random<cl_double>(limit), random<cl_double>(limit));
data/clblas-2.12/src/library/tools/ktest/naive/naive_blas.cpp:242:52:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    return doubleComplex(random<cl_double>(limit), random<cl_double>(limit));
data/clblas-2.12/src/library/tools/ktest/naive/naive_blas.cpp:247:1:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
random<DoubleComplex>(cl_double left, cl_double right)
data/clblas-2.12/src/library/tools/ktest/naive/naive_blas.cpp:249:26:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    return doubleComplex(random<cl_double>(left, right), random<cl_double>(left, right));
data/clblas-2.12/src/library/tools/ktest/naive/naive_blas.cpp:249:58:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    return doubleComplex(random<cl_double>(left, right), random<cl_double>(left, right));
data/clblas-2.12/src/library/tools/tune/storage_io.c:434:18:  [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.
    char* path = getenv(ENV_FILE_PATH);
data/clblas-2.12/src/library/tools/tune/tune.c:2351: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.
                envImpl = getenv(funcInfo->envImplementation);
data/clblas-2.12/src/library/tools/tune/tune.c:2666:17:  [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.
    FILE_PATH = getenv(ENV_FILE_PATH);
data/clblas-2.12/src/tests/cmdline.c:264:11:  [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.
    str = getenv("AMD_CLBLAS_GEMM_IMPLEMENTATION");
data/clblas-2.12/src/tests/cmdline.c:268:11:  [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.
    str = getenv("AMD_CLBLAS_TRMM_IMPLEMENTATION");
data/clblas-2.12/src/tests/cmdline.c:272:11:  [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.
    str = getenv("AMD_CLBLAS_TRSM_IMPLEMENTATION");
data/clblas-2.12/src/tests/correctness/corr-asum.cpp:109:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-axpy.cpp:112:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-copy.cpp:105:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-dot.cpp:117:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-dotc.cpp:117:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-gbmv.cpp:113:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-gemm.cpp:98:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-gemm2.cpp:115:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-gemv.cpp:100:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-ger.cpp:124:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-gerc.cpp:124:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-hbmv.cpp:108:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-hemm.cpp:134:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-hemv.cpp:115:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-her.cpp:102:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-her2.cpp:106:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-her2k.cpp:104:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-herk.cpp:113:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-hpmv.cpp:106:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-hpr.cpp:101:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-hpr2.cpp:106:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-iamax.cpp:108:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-nrm2.cpp:111:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-rot.cpp:113:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-rotg.cpp:136:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-rotm.cpp:127:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-rotmg.cpp:135:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-sbmv.cpp:107:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-scal.cpp:96:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-spmv.cpp:106:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-spr.cpp:100:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-spr2.cpp:100:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-swap.cpp:110:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-symm.cpp:129:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-symv.cpp:100:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-syr.cpp:100:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-syr2.cpp:100:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-syr2k.cpp:109:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-syr2k.cpp:118:17:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        alpha = random<T>(100);
data/clblas-2.12/src/tests/correctness/corr-syrk.cpp:105:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-syrk.cpp:114:17:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        alpha = random<T>(100);
data/clblas-2.12/src/tests/correctness/corr-tbmv.cpp:101:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-tbsv.cpp:103:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-tpmv.cpp:109:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-tpsv.cpp:110:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-trmm.cpp:91:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-trmv.cpp:109:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-trsm.cpp:97:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/corr-trsv.cpp:110:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(params->seed);
data/clblas-2.12/src/tests/correctness/test-correctness.cpp:3321:20:  [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.
	char* kCacheEnv = getenv( "AMD_CLBLAS_KCACHE_LIMIT_MB" );
data/clblas-2.12/src/tests/functional/func.h:394:5:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srand(seed);
data/clblas-2.12/src/tests/include/blas-math.h:234:1:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
random(cl_double limit)
data/clblas-2.12/src/tests/include/blas-math.h:249:1:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
random<FloatComplex>(cl_double limit)
data/clblas-2.12/src/tests/include/blas-math.h:251:22:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	return floatComplex(random<cl_float>(limit), random<cl_float>(limit));
data/clblas-2.12/src/tests/include/blas-math.h:251:47:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	return floatComplex(random<cl_float>(limit), random<cl_float>(limit));
data/clblas-2.12/src/tests/include/blas-math.h:256:1:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
random<DoubleComplex>(cl_double limit)
data/clblas-2.12/src/tests/include/blas-math.h:258:23:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	return doubleComplex(random<cl_double>(limit), random<cl_double>(limit));
data/clblas-2.12/src/tests/include/blas-math.h:258:49:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	return doubleComplex(random<cl_double>(limit), random<cl_double>(limit));
data/clblas-2.12/src/tests/include/blas-math.h:263:1:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
random(cl_double left, cl_double right)
data/clblas-2.12/src/tests/include/blas-math.h:268:9:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    v = random<T>(right - left);
data/clblas-2.12/src/tests/include/blas-math.h:280:1:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
random<FloatComplex>(cl_double left, cl_double right)
data/clblas-2.12/src/tests/include/blas-math.h:282:22:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	return floatComplex(random<cl_float>(left, right),
data/clblas-2.12/src/tests/include/blas-math.h:283:9:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        random<cl_float>(left, right));
data/clblas-2.12/src/tests/include/blas-math.h:288:1:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
random<DoubleComplex>(cl_double left, cl_double right)
data/clblas-2.12/src/tests/include/blas-math.h:290:23:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	return doubleComplex(random<cl_double>(left, right),
data/clblas-2.12/src/tests/include/blas-math.h:291:9:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        random<cl_double>(left, right));
data/clblas-2.12/src/tests/include/blas-random.h:54:18:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        *alpha = random<T>(100);
data/clblas-2.12/src/tests/include/blas-random.h:65:56:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
            setElement<T>(order, transA, m, k, A, lda, random<T>(bound));
data/clblas-2.12/src/tests/include/blas-random.h:72:60:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                setElement<T>(order, transB, k, n, B, ldb, random<T>(bound));
data/clblas-2.12/src/tests/include/blas-random.h:78:17:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        *beta = random<T>(100);
data/clblas-2.12/src/tests/include/blas-random.h:90:60:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                setElement<T>(order, transC, m, n, C, ldc, random<T>(bound));
data/clblas-2.12/src/tests/include/blas-random.h:219:19:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
            max = random<T>(TRSM_LIMIT_A<T>());
data/clblas-2.12/src/tests/include/blas-random.h:226:17:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
            x = random<T>(modMin, modMax);
data/clblas-2.12/src/tests/include/blas-random.h:253:25:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                    x = random<T>(sum / sqrt((double)limA - j));
data/clblas-2.12/src/tests/include/blas-random.h:278:25:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                    y = random<T>(sum * module(x) / sqrt((double)M - i));
data/clblas-2.12/src/tests/include/blas-random.h:298:25:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                    y = random<T>(sum * module(x) / sqrt((double)N - j));
data/clblas-2.12/src/tests/include/blas-random.h:325:18:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        *alpha = random<T>(module(min) - 2);
data/clblas-2.12/src/tests/include/blas-random.h:510:18:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        *alpha = random<T>(100);
data/clblas-2.12/src/tests/include/blas-random.h:524:12:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		*alpha = random<T>((sqrt(bound) / (2.0)));
data/clblas-2.12/src/tests/include/blas-random.h:542:63:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
            setElement<T>(order, clblasNoTrans, i, j, A, lda, random<T>(bound));
data/clblas-2.12/src/tests/include/blas-random.h:548:77:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                setElementPacked<T>(order, clblasNoTrans, uplo, i, j, A, N, random<T>(bound));
data/clblas-2.12/src/tests/include/blas-random.h:557:11:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			X[i] = random<T>(bound);
data/clblas-2.12/src/tests/include/blas-random.h:584:18:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        *alpha = random<T>(100);
data/clblas-2.12/src/tests/include/blas-random.h:598:12:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		*alpha = random<T>((sqrt(bound) / (4.0)));
data/clblas-2.12/src/tests/include/blas-random.h:616:63:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
            setElement<T>(order, clblasNoTrans, i, j, A, lda, random<T>(bound));
data/clblas-2.12/src/tests/include/blas-random.h:622:77:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                setElementPacked<T>(order, clblasNoTrans, uplo, i, j, A, N, random<T>(bound));
data/clblas-2.12/src/tests/include/blas-random.h:630:11:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			X[i] = random<T>(bound);
data/clblas-2.12/src/tests/include/blas-random.h:636:11:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			Y[i] = random<T>(bound);
data/clblas-2.12/src/tests/include/blas-random.h:666:18:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        *alpha = random<T>(100);
data/clblas-2.12/src/tests/include/blas-random.h:673:17:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        *beta = random<T>(100);
data/clblas-2.12/src/tests/include/blas-random.h:689:18:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        *alpha = random<T>((sqrt(bound) / ((2.0) * N)));
data/clblas-2.12/src/tests/include/blas-random.h:695:17:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        *beta = random<T>((sqrt(bound)));
data/clblas-2.12/src/tests/include/blas-random.h:719:63:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
            setElement<T>(order, clblasNoTrans, i, j, A, lda, random<T>(bound));
data/clblas-2.12/src/tests/include/blas-random.h:725:77:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                setElementPacked<T>(order, clblasNoTrans, uplo, i, j, A, N, random<T>(bound));
data/clblas-2.12/src/tests/include/blas-random.h:733:20:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
            X[i] = random<T>(bound);
data/clblas-2.12/src/tests/include/blas-random.h:739:20:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
            Y[i] = random<T>(bound);
data/clblas-2.12/src/tests/include/blas-random.h:759:16:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        X[i] = random<T>(bound);
data/clblas-2.12/src/tests/include/blas-random.h:766:20:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
            Y[i] = random<T>(bound);
data/clblas-2.12/src/tests/include/blas-random.h:777:10:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		p[k] = random<T>(bound);
data/clblas-2.12/src/tests/include/gbmv.h:143:12:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		*alpha = random<T>((sqrt(bound) / (2.0)));
data/clblas-2.12/src/tests/include/gbmv.h:146:11:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		*beta = random<T>((sqrt(bound) / (2.0)));
data/clblas-2.12/src/tests/include/gbmv.h:154:16:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        A[i] = random<T>(bound);
data/clblas-2.12/src/tests/include/gbmv.h:168:11:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			X[i] = random<T>(bound);
data/clblas-2.12/src/tests/include/gbmv.h:173:11:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			Y[i] = random<T>(bound);
data/clblas-2.12/src/tests/include/her.h:139:12:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		*alpha = random<T>((sqrt(bound) / (2.0)));
data/clblas-2.12/src/tests/include/her.h:149:63:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
            setElement<T>(order, clblasNoTrans, i, j, A, lda, random<T>(bound));
data/clblas-2.12/src/tests/include/her.h:155:77:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                setElementPacked<T>(order, clblasNoTrans, uplo, i, j, A, N, random<T>(bound));
data/clblas-2.12/src/tests/include/her.h:163:11:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			X[i] = random<T>(bound);
data/clblas-2.12/src/tests/include/her2.h:154:12:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		*alpha = random<T>((sqrt(bound) / (4.0)));
data/clblas-2.12/src/tests/include/her2.h:164:63:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
            setElement<T>(order, clblasNoTrans, i, j, A, lda, random<T>(bound));
data/clblas-2.12/src/tests/include/her2.h:170:77:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                setElementPacked<T>(order, clblasNoTrans, uplo, i, j, A, N, random<T>(bound));
data/clblas-2.12/src/tests/include/her2.h:178:11:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			X[i] = random<T>(bound);
data/clblas-2.12/src/tests/include/her2.h:184:11:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			Y[i] = random<T>(bound);
data/clblas-2.12/src/tests/include/rotmg.h:94:11:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    *D1 = random<T>(bound);
data/clblas-2.12/src/tests/include/rotmg.h:95:11:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    *D2 = random<T>(bound);
data/clblas-2.12/src/tests/include/rotmg.h:96:10:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    *X = random<T>(bound);
data/clblas-2.12/src/tests/include/rotmg.h:97:10:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    *Y = random<T>(bound);
data/clblas-2.12/src/tests/include/rotmg.h:101:20:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        PARAM[i] = random<T>(bound);
data/clblas-2.12/src/tests/include/spmv.h:151:18:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        *alpha = random<T>(100);
data/clblas-2.12/src/tests/include/spmv.h:158:17:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        *beta = random<T>(100);
data/clblas-2.12/src/tests/include/spmv.h:167:18:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        *alpha = random<T>((sqrt(bound) / ((2.0) * N)));
data/clblas-2.12/src/tests/include/spmv.h:173:17:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        *beta = random<T>((sqrt(bound)));
data/clblas-2.12/src/tests/include/spmv.h:188:73:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
            setElementPacked<T>(order, clblasNoTrans, uplo, i, j, A, N, random<T>(bound));
data/clblas-2.12/src/tests/include/spmv.h:196:20:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
            X[i] = random<T>(bound);
data/clblas-2.12/src/tests/include/spmv.h:202:20:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
            Y[i] = random<T>(bound);
data/clblas-2.12/src/tests/include/tbmv.h:129:16:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        A[i] = random<T>(bound);
data/clblas-2.12/src/tests/include/tbmv.h:135:11:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			X[i] = random<T>(bound);
data/clblas-2.12/src/client/clfunc_xgemm.hpp:616:9:  [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( map_a, buffer_.a_, ( buffer_.lda_*buffer_.a_num_vectors_ + buffer_.offA_) * sizeof( T ) );
data/clblas-2.12/src/client/clfunc_xgemm.hpp:617:9:  [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( map_b, buffer_.b_, ( buffer_.ldb_*buffer_.b_num_vectors_ + buffer_.offB_) * sizeof( T ) );
data/clblas-2.12/src/client/clfunc_xgemm.hpp:618:9:  [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( map_c, buffer_.c_, ( buffer_.ldc_*buffer_.c_num_vectors_ + buffer_.offC_) * sizeof( T ) );
data/clblas-2.12/src/client/clfunc_xgemm.hpp:630:9:  [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( map_c, buffer_.c_, ( buffer_.ldc_*buffer_.c_num_vectors_ + buffer_.offC_) * sizeof( T ) );
data/clblas-2.12/src/client/clfunc_xgemm.hpp:720:9:  [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( map_a, buffer_.a_, ( buffer_.lda_*buffer_.a_num_vectors_ + buffer_.offA_) * sizeof( T ) );
data/clblas-2.12/src/client/clfunc_xgemm.hpp:721:9:  [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( map_b, buffer_.b_, ( buffer_.ldb_*buffer_.b_num_vectors_ + buffer_.offB_) * sizeof( T ) );
data/clblas-2.12/src/client/clfunc_xgemm.hpp:722:9:  [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( map_c, buffer_.c_, ( buffer_.ldc_*buffer_.c_num_vectors_ + buffer_.offC_) * sizeof( T ) );
data/clblas-2.12/src/client/clfunc_xgemm.hpp:734:9:  [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( map_c, buffer_.c_, ( buffer_.ldc_*buffer_.c_num_vectors_ + buffer_.offC_) * sizeof( T ) );
data/clblas-2.12/src/client/clfunc_xtrsm.hpp:376:3:  [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( map_a, buffer_.a_, ( buffer_.lda_*buffer_.a_num_vectors_ + buffer_.offA_) * sizeof( T ) );
data/clblas-2.12/src/client/clfunc_xtrsm.hpp:377:3:  [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( map_b, buffer_.b_, ( buffer_.ldb_*buffer_.b_num_vectors_ + buffer_.offB_) * sizeof( T ) );
data/clblas-2.12/src/client/clfunc_xtrsm.hpp:388:3:  [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( map_b, buffer_.b_, ( buffer_.ldb_*buffer_.b_num_vectors_ + buffer_.offB_) * sizeof( T ) );
data/clblas-2.12/src/client/clfunc_xtrsm.hpp:467:3:  [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( map_a, buffer_.a_, ( buffer_.lda_*buffer_.a_num_vectors_ + buffer_.offA_) * sizeof( T ) );
data/clblas-2.12/src/client/clfunc_xtrsm.hpp:468:3:  [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( map_b, buffer_.b_, ( buffer_.ldb_*buffer_.b_num_vectors_ + buffer_.offB_) * sizeof( T ) );
data/clblas-2.12/src/client/clfunc_xtrsm.hpp:479:3:  [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( map_b, buffer_.b_, ( buffer_.ldb_*buffer_.b_num_vectors_ + buffer_.offB_) * sizeof( T ) );
data/clblas-2.12/src/client/testPerfWrapper.cpp:185:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 strbuf[512];
data/clblas-2.12/src/include/binary_lookup.h:209:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 magic_key[4]; // = |C|L|B|\0, useful to know that we are loading a clblas cache entry
data/clblas-2.12/src/include/clkern.h:36: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((karg)->arg.data, &(val), sizeof(val));      \
data/clblas-2.12/src/include/clkern.h:63:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char data[MAX_ARG_SIZE];
data/clblas-2.12/src/include/clkern.h:173: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(arg->arg.data, &value, sizeof(cl_uint));
data/clblas-2.12/src/include/kernel_extra.h:155: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 solverPriv[MAX_SOLVER_PRIVATE_SIZE];
data/clblas-2.12/src/include/kernel_extra.h:156: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 buildOptions[BUILD_OPTS_MAXLEN]; // Build Flags used for the kernel call
data/clblas-2.12/src/include/kerngen.h:109: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[KSTRING_MAXLEN];
data/clblas-2.12/src/include/md5sum.h:37:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char buffer[64];
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmPreCompileKernels.cpp:97:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 pbuf[100];
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmPreCompileKernels.cpp:114:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 pbuf[100];
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmPreCompileKernels.cpp:133: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 pbuf[100];
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmPreCompileKernels.cpp:220:12:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  int n2 = sprintf( (*stringName)+n, "_bin" );
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmPreCompileKernels.cpp:239:12:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  int n2 = sprintf( (*fileName)+n, "_bin.cpp" );
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmPreCompileKernels.cpp:257:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char kernelNameArray[64];
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmPreCompileKernels.cpp:388:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char stringNameArray[64];
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmPreCompileKernels.cpp:389:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char fileNameArray[64];
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmPreCompileKernels.cpp:390:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char preprocessorNameArray[64];
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmPreCompileKernels.cpp:410:16:  [2] (misc) open:
  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).
    kernelFile.open(fullFilePath.c_str(), std::ios::out);
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmPreCompileKernels.cpp:523: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 stringNameArray[64];
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmPreCompileKernels.cpp:611:15:  [2] (misc) open:
  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).
  includeFile.open(fullIncludeFilePath.c_str(), std::ios::out);
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmPreCompileKernels.cpp:693:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	const char *tileKernelSourceArray[specialKernelCount] =
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmPreCompileKernels.cpp:703:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	const unsigned char *tileKernelBinaryArray[specialKernelCount] =
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmPreCompileKernels.cpp:773: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 *appendStringArray[specialKernelCount] =
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/ProfileAutoGemm.cpp:854:8:  [2] (misc) open:
  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.open(rawFileName, std::ios_base::out); // or ::app for append
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/ProfileAutoGemm.cpp:1018:11:  [2] (misc) open:
  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).
  ksrFile.open( ksrFileName, std::ios_base::out); // or ::app for append
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/ProfileAutoGemm.cpp:1223: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 platformName[64];
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/ProfileAutoGemm.cpp:1270: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 deviceName[64];
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/ProfileAutoGemm.cpp:1370: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 kernelName[64];
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/TestAutoGemm.cpp:341: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(naiveC, C, (offC + numRowsC * numColsC) * sizeof(*C));
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/TestAutoGemm.cpp:828: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 platformName[64];
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/TestAutoGemm.cpp:872: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 deviceName[64];
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/TestAutoGemm.cpp:972: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 kernelName[64];
data/clblas-2.12/src/library/blas/functor/functor.cc:113: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).
      major = atoi(&Major);
data/clblas-2.12/src/library/blas/functor/functor.cc:114: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).
      minor = atoi(&Minor);
data/clblas-2.12/src/library/blas/functor/functor_xscal_generic.cc:52: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 tempTemplate[32*1024];
data/clblas-2.12/src/library/blas/functor/functor_xscal_generic.cc:53: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         [32*1024];
data/clblas-2.12/src/library/blas/functor/include/hawaii_dgemmSplitKernel.h:13:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *    kernel_name[4] ;  //order is main, row, column, single
data/clblas-2.12/src/library/blas/functor/include/hawaii_sgemmBig1024Kernel.h:17:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *    kernel_name[1] ;  //just one kernel here
data/clblas-2.12/src/library/blas/functor/include/hawaii_sgemmBranchKernel.h:17:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *    kernel_name[1] ;  //just one kernel here
data/clblas-2.12/src/library/blas/functor/include/hawaii_sgemmSplit64_32.h:13:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *    kernel_name[4] ;  //order is main, row, column, single
data/clblas-2.12/src/library/blas/functor/include/hawaii_sgemmSplitKernel.h:13:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *    kernel_name[4] ;  //order is main, row, column, single
data/clblas-2.12/src/library/blas/generic/binary_lookup.cc:120:11:  [2] (misc) open:
  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).
    *fd = open (this->m_filename.c_str(),
data/clblas-2.12/src/library/blas/generic/binary_lookup.cc:163: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(this->m_data, data, size);
data/clblas-2.12/src/library/blas/generic/binary_lookup.cc:242:9:  [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(current_address, &v.m_kind, sizeof(int));
data/clblas-2.12/src/library/blas/generic/binary_lookup.cc:246:9:  [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(current_address, &v.m_size, sizeof(v.m_size));
data/clblas-2.12/src/library/blas/generic/binary_lookup.cc:250:9:  [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(current_address, v.m_data, v.m_size);
data/clblas-2.12/src/library/blas/generic/binary_lookup.cc:314: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(v.m_data, current, v.m_size);
data/clblas-2.12/src/library/blas/generic/binary_lookup.cc:404:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char * binary_address[1] = { binary[0] };
data/clblas-2.12/src/library/blas/generic/binary_lookup.cc:628: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 m_device_vendor[SIZE];
data/clblas-2.12/src/library/blas/generic/binary_lookup.cc:629: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 m_device_name[SIZE];
data/clblas-2.12/src/library/blas/generic/binary_lookup.cc:630: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 m_driver_version[SIZE];
data/clblas-2.12/src/library/blas/generic/common.c:85: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 name[128];
data/clblas-2.12/src/library/blas/generic/common.c:86: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 dimStr[1024];
data/clblas-2.12/src/library/blas/generic/common.c:87: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 pgranStr[1024];
data/clblas-2.12/src/library/blas/generic/common.c:115:9:  [2] (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). Risk is low because the
  source is a constant string.
        strcat(p, "; ");
data/clblas-2.12/src/library/blas/generic/common.c:120:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(pgranStr, "pgran->wgDim = %d, pgran->wgSize[0] = %u, "
data/clblas-2.12/src/library/blas/generic/common.c:177:9:  [2] (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). Risk is low because the
  source is a constant string.
        strcat(buf, ", ");
data/clblas-2.12/src/library/blas/generic/common.c:214: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(arg->arg.data, value, arg->typeSize);
data/clblas-2.12/src/library/blas/generic/common.c:530: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 opts[BUILD_OPTS_MAXLEN],
data/clblas-2.12/src/library/blas/generic/common.c:579:5:  [2] (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). Risk is low because the
  source is a constant string.
    strcat(buf, "; ");
data/clblas-2.12/src/library/blas/generic/common2.cc:43: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 name[20];
data/clblas-2.12/src/library/blas/generic/common2.cc:44:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(name, "solver%d", (int)sid);
data/clblas-2.12/src/library/blas/generic/kdump.c:38:9:  [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(name + 1, "GEMV");
data/clblas-2.12/src/library/blas/generic/kdump.c:41:9:  [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(name + 1, "SYMV");
data/clblas-2.12/src/library/blas/generic/kdump.c:44:9:  [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(name + 1, "GEMM");
data/clblas-2.12/src/library/blas/generic/kdump.c:47:9:  [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(name + 1, "TRMM");
data/clblas-2.12/src/library/blas/generic/kdump.c:50:9:  [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(name + 1, "TRSM");
data/clblas-2.12/src/library/blas/generic/kdump.c:53:9:  [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(name + 1, "SYRK");
data/clblas-2.12/src/library/blas/generic/kdump.c:56:9:  [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(name + 1, "SYR2K");
data/clblas-2.12/src/library/blas/generic/kdump.c:94:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(name, "./");
data/clblas-2.12/src/library/blas/generic/kdump.c:111:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(name, "_%lu_%lu", kargs->M, kargs->N);
data/clblas-2.12/src/library/blas/generic/kdump.c:114:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(name, "_%lu", kargs->K);
data/clblas-2.12/src/library/blas/generic/kdump.c:116:5:  [2] (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). Risk is low because the
  source is a constant string.
    strcat(name, ".kdump");
data/clblas-2.12/src/library/blas/generic/kdump.c:125: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[1024];
data/clblas-2.12/src/library/blas/generic/kdump.c:133:12:  [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((const char*)tmp, "a+");
data/clblas-2.12/src/library/blas/generic/kdump.c:137:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "offset M = %lu, offset N = %lu, offset A = %lu,"
data/clblas-2.12/src/library/blas/generic/kdump.c:152:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "work group size = %u\n", step->pgran.wgSize[0]);
data/clblas-2.12/src/library/blas/generic/kdump.c:155:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "work group size = %u x %u\n", step->pgran.wgSize[0],
data/clblas-2.12/src/library/blas/generic/kdump.c:162:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "[%u]: ", i);
data/clblas-2.12/src/library/blas/generic/solution_seq.c:132: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(subdims, step->subdims, sizeof(step->subdims));
data/clblas-2.12/src/library/blas/generic/solution_seq.c:282: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(&outerStep, step, sizeof(SolutionStep));
data/clblas-2.12/src/library/blas/generic/solution_seq.c:283: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(&execStep, step, sizeof(SolutionStep));
data/clblas-2.12/src/library/blas/generic/solution_seq.c:376:9:  [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(&innerStep, &execStep, sizeof(SolutionStep));
data/clblas-2.12/src/library/blas/generic/solution_seq.c:436: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(&cutDim, &remDim, sizeof(SubproblemDim));
data/clblas-2.12/src/library/blas/generic/solution_seq.c:437: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(&cutDimOff, &remDimOff, sizeof(SubproblemDim));
data/clblas-2.12/src/library/blas/generic/solution_seq.c:439: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(cut, rem, sizeof(SolutionStep));
data/clblas-2.12/src/library/blas/generic/solution_seq_make.c:357: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 bopts[BUILD_OPTS_MAXLEN]; // Moving bopts up. See the comments before findKernel()
data/clblas-2.12/src/library/blas/generic/solution_seq_make.c:517:9:  [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(key.subdims, &step->subdims[firstDimIdx],
data/clblas-2.12/src/library/blas/generic/solution_seq_make.c:561: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(extra.buildOptions, bopts, BUILD_OPTS_MAXLEN);
data/clblas-2.12/src/library/blas/generic/solution_seq_make.c:2027: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(trxm1, step, sizeof(SolutionStep));
data/clblas-2.12/src/library/blas/generic/solution_seq_make.c:2028: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(gemm, step, sizeof(SolutionStep));
data/clblas-2.12/src/library/blas/generic/solution_seq_make.c:2029: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(trxm2, step, sizeof(SolutionStep));
data/clblas-2.12/src/library/blas/generic/solution_seq_make.c:2258: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(syrk2, step, sizeof(SolutionStep));
data/clblas-2.12/src/library/blas/generic/solution_seq_make.c:2312: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(syrk1, step, sizeof(SolutionStep));
data/clblas-2.12/src/library/blas/generic/solution_seq_make.c:2313: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(syrk2, step, sizeof(SolutionStep));
data/clblas-2.12/src/library/blas/gens/asum.cpp:40:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 Prefix[4];
data/clblas-2.12/src/library/blas/gens/asum.cpp:222: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 tempTemplate[32*1024];
data/clblas-2.12/src/library/blas/gens/axpy_reg.cpp:43:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 Prefix[4];
data/clblas-2.12/src/library/blas/gens/axpy_reg.cpp:215: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 tempTemplate[32*1024];
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:205: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[1024];
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:221:9:  [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(p, ";\n");
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:233: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[1024], cond[128];
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:274:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, " + %u", k);
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:804: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[1024];
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:828:9:  [2] (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). Risk is low because the
  source is a constant string.
        strcat(tmp, "\n                    ");
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:860: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[1024], dst[128], src[128];
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:861:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *boundNames[2] = {uvars->nrRows, uvars->nrCols};
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:905:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 offStr[64];
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:943:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(tmp, "case %d:\n", l1);
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:998:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 tmpcachedName[80] = " = ";
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:1039: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[1024];
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:1111:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(p, ",\n    uint nrRows,\n"
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:1122:9:  [2] (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). Risk is low because the
  source is a constant string.
        strcat(p, ")\n");
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:1131:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "%cPtr uC;\n", LG);
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:1144:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "%cPtr tmpC;\n", LG);
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:1316: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[1024];
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:1373: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[1024];
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:1430: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[1024];
data/clblas-2.12/src/library/blas/gens/blas_kgen.h:335: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 names[MATRIX_ROLES_NUMBER][FUNC_NAME_MAXLEN];
data/clblas-2.12/src/library/blas/gens/blas_subgroup.c:180: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[512];
data/clblas-2.12/src/library/blas/gens/blas_subgroup.c:287: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[2048];
data/clblas-2.12/src/library/blas/gens/blas_subgroup.c:351:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(
data/clblas-2.12/src/library/blas/gens/blas_subgroup.c:421:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(
data/clblas-2.12/src/library/blas/gens/copy_reg.cpp:43:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 Prefix[4];
data/clblas-2.12/src/library/blas/gens/copy_reg.cpp:211: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 tempTemplate[32*1024];
data/clblas-2.12/src/library/blas/gens/dot.cpp:43:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 Prefix[4];
data/clblas-2.12/src/library/blas/gens/dot.cpp:219: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 tempTemplate[32*1024];
data/clblas-2.12/src/library/blas/gens/fetch.c:84: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 priv[ADDR_AGENT_PRIVATE_SIZE];
data/clblas-2.12/src/library/blas/gens/fetch.c:672: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[COORD_BUFSIZE];
data/clblas-2.12/src/library/blas/gens/fetch.c:752:13:  [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(p, "};\n");
data/clblas-2.12/src/library/blas/gens/fetch.c:1316:25:  [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(&newGset, gset, sizeof(BlasGenSettings));
data/clblas-2.12/src/library/blas/gens/fetch.c:1426: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(&newGset, gset, sizeof(BlasGenSettings));
data/clblas-2.12/src/library/blas/gens/gbmv.cpp:39:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 Prefix[4];
data/clblas-2.12/src/library/blas/gens/gbmv.cpp:267: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 tempTemplate[64*1024];
data/clblas-2.12/src/library/blas/gens/gbmv.cpp:268: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 def_target_rows[10], def_h[10];
data/clblas-2.12/src/library/blas/gens/gbmv.cpp:328:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf( def_target_rows, "%d", (int)TARGET_ROWS );
data/clblas-2.12/src/library/blas/gens/gbmv.cpp:329:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf( def_h, "%d", (int)H );
data/clblas-2.12/src/library/blas/gens/gemm.c:163:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmp[1024];
data/clblas-2.12/src/library/blas/gens/gemm.c:165:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char ldv[64];
data/clblas-2.12/src/library/blas/gens/gemm.c:168: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 shiftMul[128];
data/clblas-2.12/src/library/blas/gens/gemm.c:188:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(ldv, "(lda >> %d)", shift);
data/clblas-2.12/src/library/blas/gens/gemm.c:191:13:  [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(ldv, "lda");
data/clblas-2.12/src/library/blas/gens/gemm.c:198:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(ldv, "(ldb >> %d)", shift);
data/clblas-2.12/src/library/blas/gens/gemm.c:201:13:  [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(ldv, "ldb");
data/clblas-2.12/src/library/blas/gens/gemm.c:208:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(shiftMul, " * %lu", tileWidth / vecLen);
data/clblas-2.12/src/library/blas/gens/gemm.c:228:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp,
data/clblas-2.12/src/library/blas/gens/gemm.c:233:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp,
data/clblas-2.12/src/library/blas/gens/gemm.c:239:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp,
data/clblas-2.12/src/library/blas/gens/gemm.c:269: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[1024];
data/clblas-2.12/src/library/blas/gens/gemm.c:272: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 ptrNames[3] = {'A', 'B', 'C'};
data/clblas-2.12/src/library/blas/gens/gemm.c:273:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *offNames[3] = {"offA", "offB", "offC"};
data/clblas-2.12/src/library/blas/gens/gemm.c:304:16:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        str += sprintf(str, ",\n    const uint offA");
data/clblas-2.12/src/library/blas/gens/gemm.c:307:16:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        str += sprintf(str, ",\n    const uint offB");
data/clblas-2.12/src/library/blas/gens/gemm.c:310:16:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        str += sprintf(str, ",\n    const uint offC");
data/clblas-2.12/src/library/blas/gens/gemm.c:320: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[4096];
data/clblas-2.12/src/library/blas/gens/gemm.c:321: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 offABC[1024];
data/clblas-2.12/src/library/blas/gens/gemm.c:412: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[2048];
data/clblas-2.12/src/library/blas/gens/gemm.c:418: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 globalIdB[64];
data/clblas-2.12/src/library/blas/gens/gemm.c:504:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "const uint Ktail = K %% %lu;\n"
data/clblas-2.12/src/library/blas/gens/gemm.c:555:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(globalIdB, "get_global_id_%d", 1-i);
data/clblas-2.12/src/library/blas/gens/gemm.c:556:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp,
data/clblas-2.12/src/library/blas/gens/gemm.c:563:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(globalIdB, "(uint)get_global_id(%d)", 1-i);
data/clblas-2.12/src/library/blas/gens/gemm.c:645:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "for (uint k1 = 0u; k1 < Ktail; k1 += %luu)",
data/clblas-2.12/src/library/blas/gens/gemm.c:696: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[2048];
data/clblas-2.12/src/library/blas/gens/gemm.c:772:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp,"#define A_BLK_H %lu\n",gset.subdims[1].y);
data/clblas-2.12/src/library/blas/gens/gemm.c:774:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp,"#define B_BLK_H %lu\n",gset.subdims[1].x);
data/clblas-2.12/src/library/blas/gens/gemm.c:776:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp,"#define SUBG_ITEMS %d\n",pPGran->wgSize[0]);
data/clblas-2.12/src/library/blas/gens/gemm.c:779:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp,"#define SUBG_A %d\n",subgroupsA);
data/clblas-2.12/src/library/blas/gens/gemm.c:781:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp,"#define SUBG_B %d\n",subgroupsB);
data/clblas-2.12/src/library/blas/gens/gemm.c:787:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(
data/clblas-2.12/src/library/blas/gens/gemm.c:812:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp,
data/clblas-2.12/src/library/blas/gens/gemm_cached.cpp:40:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 Prefix[4];
data/clblas-2.12/src/library/blas/gens/gemm_cached.cpp:268: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 tempTemplate[64*1024]; //PENDING: Is it safe to have 64K in stack for threadSafety?
data/clblas-2.12/src/library/blas/gens/gemm_cached.cpp:269: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 itemx[10], itemy[10], width[10], itemy_by_width[10], itemx_by_width[10];
data/clblas-2.12/src/library/blas/gens/gemm_cached.cpp:270: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 bwidth[10], panel_by_v[10];
data/clblas-2.12/src/library/blas/gens/gemm_cached.cpp:340:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(width, "%lu", Y);
data/clblas-2.12/src/library/blas/gens/gemm_cached.cpp:341:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(itemy, "%lu", ITEMY);
data/clblas-2.12/src/library/blas/gens/gemm_cached.cpp:342:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(itemx, "%lu", ITEMX);
data/clblas-2.12/src/library/blas/gens/gemm_cached.cpp:343:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(itemy_by_width, "%lu", (size_t) ITEMY/veclen);
data/clblas-2.12/src/library/blas/gens/gemm_cached.cpp:344:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(itemx_by_width, "%lu", (size_t) ITEMX/veclen);
data/clblas-2.12/src/library/blas/gens/gemm_cached.cpp:347:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(bwidth, "%lu", (size_t) veclen);
data/clblas-2.12/src/library/blas/gens/gemm_cached.cpp:348:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(panel_by_v, "%lu", (size_t) 1);
data/clblas-2.12/src/library/blas/gens/gemm_tail_cached.cpp:45:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 Prefix[4];
data/clblas-2.12/src/library/blas/gens/gemm_tail_cached.cpp:304: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 tempTemplate[32*1024];
data/clblas-2.12/src/library/blas/gens/gemm_tail_cached.cpp:305: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 itemx[10], itemy[10], width[10], itemy_by_width[10], itemx_by_width[10];
data/clblas-2.12/src/library/blas/gens/gemm_tail_cached.cpp:349:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(width, "%lu", Y);
data/clblas-2.12/src/library/blas/gens/gemm_tail_cached.cpp:350:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(itemy, "%lu", ITEMY);
data/clblas-2.12/src/library/blas/gens/gemm_tail_cached.cpp:351:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(itemx, "%lu", ITEMX);
data/clblas-2.12/src/library/blas/gens/gemm_tail_cached.cpp:352:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(itemy_by_width, "%lu", (size_t) ITEMY/kextra->vecLenA);
data/clblas-2.12/src/library/blas/gens/gemm_tail_cached.cpp:353:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(itemx_by_width, "%lu", (size_t) ITEMX/kextra->vecLenA);
data/clblas-2.12/src/library/blas/gens/gemv.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 sizeNames[2] = {'M', 'N'};
data/clblas-2.12/src/library/blas/gens/gemv.c:133: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 offDecl[128];
data/clblas-2.12/src/library/blas/gens/gemv.c:134: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 betaDecl[128];
data/clblas-2.12/src/library/blas/gens/gemv.c:135: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[512];
data/clblas-2.12/src/library/blas/gens/gemv.c:145:9:  [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(offDecl, ",\n    const uint offA");
data/clblas-2.12/src/library/blas/gens/gemv.c:148:9:  [2] (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). Risk is low because the
  source is a constant string.
        strcat(offDecl, ",\n    const uint offX");
data/clblas-2.12/src/library/blas/gens/gemv.c:151:9:  [2] (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). Risk is low because the
  source is a constant string.
        strcat(offDecl, ",\n    const uint offY");
data/clblas-2.12/src/library/blas/gens/gemv.c:206: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[4096];
data/clblas-2.12/src/library/blas/gens/gemv.c:294:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "uint Ntail = N %% %lu;\n", subdims[1].bwidth);
data/clblas-2.12/src/library/blas/gens/gemv.c:335:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "uint k = k0;\nfor (; k < N; k += %lu)", cLocal*subdims[1].bwidth);
data/clblas-2.12/src/library/blas/gens/gemv.c:340:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "const uint k1 = (k + get_group_id(0)*%lu)%%N;\n",staggered);
data/clblas-2.12/src/library/blas/gens/gen_helper.c:367: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[1024];
data/clblas-2.12/src/library/blas/gens/gen_helper.c:482:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "if ((y == %lu) && (x == %lu))",
data/clblas-2.12/src/library/blas/gens/gen_helper.h: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 read[MATRIX_ROLES_NUMBER][FUNC_NAME_MAXLEN];
data/clblas-2.12/src/library/blas/gens/gen_helper.h:64: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 write[FUNC_NAME_MAXLEN];
data/clblas-2.12/src/library/blas/gens/gen_helper.h: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 readGeneric[MATRIX_ROLES_NUMBER][FUNC_NAME_MAXLEN];
data/clblas-2.12/src/library/blas/gens/gen_helper.h: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 writeGeneric[FUNC_NAME_MAXLEN];
data/clblas-2.12/src/library/blas/gens/ger_lds.cpp:40:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 Prefix[4];
data/clblas-2.12/src/library/blas/gens/ger_lds.cpp:236: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 tempTemplate[32*1024];
data/clblas-2.12/src/library/blas/gens/ger_lds.cpp:237: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 bhStr[10], bwStr[10];
data/clblas-2.12/src/library/blas/gens/ger_lds.cpp:285:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf( bhStr, "%" SPREFIX "u", BH );
data/clblas-2.12/src/library/blas/gens/ger_lds.cpp:286:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf( bwStr, "%" SPREFIX "u", BW );
data/clblas-2.12/src/library/blas/gens/her2_lds.cpp:40:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 Prefix[4];
data/clblas-2.12/src/library/blas/gens/her2_lds.cpp:243: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 tempTemplate[64*1024];
data/clblas-2.12/src/library/blas/gens/her2_lds.cpp:244: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 targetRows[10], blockSize[10];
data/clblas-2.12/src/library/blas/gens/her2_lds.cpp:304:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf( targetRows, "%" SPREFIX "u", TARGETROWS );
data/clblas-2.12/src/library/blas/gens/her2_lds.cpp:305:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf( blockSize, "%d", BLOCKSIZE );
data/clblas-2.12/src/library/blas/gens/her_lds.cpp:40:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 Prefix[4];
data/clblas-2.12/src/library/blas/gens/her_lds.cpp:240: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 tempTemplate[32*1024];
data/clblas-2.12/src/library/blas/gens/her_lds.cpp:241: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 targetRows[10], blockSize[10];
data/clblas-2.12/src/library/blas/gens/her_lds.cpp:303:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf( targetRows, "%" SPREFIX "u", TARGETROWS );
data/clblas-2.12/src/library/blas/gens/her_lds.cpp:304:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf( blockSize, "%d", BLOCKSIZE );
data/clblas-2.12/src/library/blas/gens/iamax.cpp:39:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 Prefix[4];
data/clblas-2.12/src/library/blas/gens/iamax.cpp:225: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 tempTemplate[32*1024];
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:159:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char vecSuffix[3], vecSuffixPtype[3];
data/clblas-2.12/src/library/blas/gens/kprintf.cpp: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 derivedType[9], derivedTypePtype[9];
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:248: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 vecSuffix[3] = {0};
data/clblas-2.12/src/library/blas/gens/kprintf.cpp: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 tempStr[9] = {0};
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:271:9:  [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( tempStr, "float");
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:275:9:  [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( tempStr, "double");
data/clblas-2.12/src/library/blas/gens/kprintf.cpp: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 vecSuffix[3] = {0};
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:289: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 tempStr[9] = {0};
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:309:9:  [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( tempStr, "float");
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:313:9:  [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( tempStr, "double");
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:394: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 vecSuffix[3] = {0};
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:395: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 tempStr[9] = {0};
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:398:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy( tempStr, "vload");
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:412: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 vecSuffix[3] = {0};
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:413: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 tempStr[9] = {0};
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:416:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy( tempStr, "vstore");
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:433: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 vecSuffix[3] = {0};
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:448: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 id[256];
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:509: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 id1[256], id2[256], id3[256];
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:584: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 id1[256], id2[256], id3[256];
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:671:35:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                numCharsWritten = sprintf(dst, "}\n");
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:696: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 id1[256], id2[256], id3[256];
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:776: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 id1[256], id2[256], id3[256];
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:838: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 id1[256], id2[256], id3[256];
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:905: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 id1[256], id2[256], id3[256];
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:999: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 id1[256];
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1000: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 id2[256];
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1037:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 vecSuffix[3] = {0};
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1038:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 tempStr[9] = {0};
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1041:9:  [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( tempStr, "vload");
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1090:31:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            numCharsWritten = sprintf(dst, "--ERROR in VSTORE--");
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1115: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).
    int condition = atoi(predicate.value);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1138: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 id1[256], id2[256], id3[256];
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1161: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 id1[256], id2[256], id3[256];
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1200: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 id1[256], id2[256], id3[256];
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1243: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 id1[256];
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1287: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 id1[256], id2[256], id3[256], id4[256];
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1288: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 tempStr[512];
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1345:31:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            numCharsWritten = sprintf(dst,";\n");
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1391:31:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            numCharsWritten = sprintf(dst,";\n");
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1418: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 id1[256];
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1444:31:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            numCharsWritten = sprintf(dst,";\n");
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1461:31:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            numCharsWritten = sprintf(dst,";\n");
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1475: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 id1[256];
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1501:31:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            numCharsWritten = sprintf(dst,";\n");
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1518:31:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            numCharsWritten = sprintf(dst,";\n");
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1536: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 id1[256];
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1580: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 id1[256], id2[256];
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1607: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 id1[256];
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1689: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(vforBody, start, vforBodyLength);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1749: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 privateVarName[256], privateVarName2[256], privateVarName3[256];
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1750: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 tempStr[512];
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1805: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 ldsVarName[8], ldsVarName2[8], localId[8], selected[8];
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1806: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 p1[8], p2[8], p3[8], p4[8], p5[8];
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1869:23:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    numCharsWritten = sprintf(dst, "\tbarrier(CLK_LOCAL_MEM_FENCE);\n\n");
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1966:27:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        numCharsWritten = sprintf(dst, "\t}\n\tbarrier(CLK_LOCAL_MEM_FENCE);\n\n");
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1990:31:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            numCharsWritten = sprintf(dst, "\tbarrier(CLK_LOCAL_MEM_FENCE);\n");
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1995:31:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            numCharsWritten = sprintf(dst, "\tbarrier(CLK_LOCAL_MEM_FENCE);\n");
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:2000:31:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            numCharsWritten = sprintf(dst, "\tbarrier(CLK_LOCAL_MEM_FENCE);\n");
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:2063: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 id1[256];
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:101:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmp[1024];
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:105: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 dst[80], src[80];
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:106: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 vchunkTmp[64], vchunkReg[64];
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:213:25:  [2] (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). Risk is low because the
  source is a constant string.
                        strcat(p, " = ");
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:285: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[1024], dst[128], src[128];
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:286:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *boundNames[2] = {uvars->nrRows, uvars->nrCols};
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:303: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 vchunkReg[64];
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:337:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 offStr[64];
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:377:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(tmp, "case %d:\n", l1);
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:438:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 tmpcachedName[80] = " = ";
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:473: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[1024];
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:544:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(p, ",\n    uint nrRows,\n"
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:555:9:  [2] (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). Risk is low because the
  source is a constant string.
        strcat(p, ")\n");
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:564:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "%cPtr uC;\n", LG);
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:577:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "%cPtr tmpC;\n", LG);
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:100:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char colOff[64], rowOff[64];
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:116:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(rowOff, "%d", row);
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:123:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(colOff, "%d", col);
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:142:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(colOff, "%d", col);
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:176: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[MAX_LENGTH], prefix[MAX_LENGTH];
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:186:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(prefix, "c[%lu].%c += ", off / vecLen, vect[off % vecLen]);
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:206: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[MAX_LENGTH];
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:214:5:  [2] (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). Risk is low because the
  source is a constant string.
    strcat(tmp, ";\n");
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:229: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[MAX_LENGTH];
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:261: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 tmp1[MAX_LENGTH], tmp2[MAX_LENGTH];
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:280:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp1, " sum.x");
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:308: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[MAX_LENGTH];
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:325:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "c[%lu] = mad(a[%d].xy, (float2)(b[%d].x), c[%lu]);\n",
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:328:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "c[%lu] = mad(a[%d].yx, (float2)(-b[%d].y, b[%d].y), c[%lu]);\n",
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:331:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "c[%lu] = mad(a[%d].zw, (float2)(b[%d].z), c[%lu]);\n",
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:334:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "c[%lu] = mad(a[%d].wz, (float2)(-b[%d].w, b[%d].w), c[%lu]);\n",
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:366:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(tmp, "c[%lu].%c = mad(a[%u].%c, b[%lu].%c, "
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:388: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 tmp[1024];
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:394:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "coordA.x += %lu;\n", subK / vecLen);
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:418:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "\nskewCol = (skewCol + 1) & %lu;\n",
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:422:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "\nskewCol = (skewCol + 1) %% %lu;\n",
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:440: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 s[MAX_LENGTH];
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:442: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 vecChunk[6];
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:447:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *ptrNames[2][4] = {
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:520: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 s[MAX_LENGTH];
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:578:5:  [2] (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). Risk is low because the
  source is a constant string.
    strcat(s, ")\n");
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:590: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 s[MAX_LENGTH], s1[MAX_LENGTH];
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:609:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *imageFetch[2] = {
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:617: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(&argNames, &opts->argNames, sizeof(BlkmulArgNames));
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:660:9:  [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(s, "uint k;\n");
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:688:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(s, "for (k = 0; k < %u; k++) {\n"
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:700:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(s, "skewCol = skewCol & %lu;\n", pitchA / vecLen - 1);
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:703:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(s, "\nskewCol = skewCol %% %lu;\n", pitchA / vecLen);
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:707:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(s, "\nfor (k = 0; k < %lu; k += %lu)",
data/clblas-2.12/src/library/blas/gens/legacy/gemm_img.c:163:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmp[4096], conjStr[1024];
data/clblas-2.12/src/library/blas/gens/legacy/gemm_img.c:448: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[4096], tmp1[4096];
data/clblas-2.12/src/library/blas/gens/legacy/gemm_img.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 vect[2] = {'y', 'x'};
data/clblas-2.12/src/library/blas/gens/legacy/gemm_img.c:541:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "for (k0 = 0; k0 < %u; k0++) {\n"
data/clblas-2.12/src/library/blas/gens/legacy/gemm_img.c:548:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "for (k0 = 0; k0 < vectK; k0 += %lu)",
data/clblas-2.12/src/library/blas/gens/legacy/gemm_img.c:574:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "\ncoordA.x += %lu;\n"
data/clblas-2.12/src/library/blas/gens/legacy/gemm_img.c:588:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(p,  "\n"
data/clblas-2.12/src/library/blas/gens/legacy/gemm_img.c:610:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "coordA.%c = workItemM;\n"
data/clblas-2.12/src/library/blas/gens/legacy/gemm_lds.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 tmp[1024];
data/clblas-2.12/src/library/blas/gens/legacy/gemm_lds.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 tmp[1024];
data/clblas-2.12/src/library/blas/gens/legacy/gemm_lds.c:164: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[1024];
data/clblas-2.12/src/library/blas/gens/legacy/gemm_lds.c:166:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *coordName[2] = {"currM", "k0"};
data/clblas-2.12/src/library/blas/gens/legacy/gemm_lds.c:167:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *sizeName[2] = {"y", "x"};
data/clblas-2.12/src/library/blas/gens/legacy/gemm_lds.c:220: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[1024];
data/clblas-2.12/src/library/blas/gens/legacy/gemm_lds.c:222:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *coordName[2] = {"currN", "k0"};
data/clblas-2.12/src/library/blas/gens/legacy/gemm_lds.c:223:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *sizeName[2] = {"y", "x"};
data/clblas-2.12/src/library/blas/gens/legacy/gemm_lds.c:267: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[1024];
data/clblas-2.12/src/library/blas/gens/legacy/gemm_lds.c:273:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "\n"
data/clblas-2.12/src/library/blas/gens/legacy/gemm_lds.c:314: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[1024];
data/clblas-2.12/src/library/blas/gens/legacy/gemm_lds.c:315: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 blkmul[128];
data/clblas-2.12/src/library/blas/gens/legacy/gemm_lds.c:316: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 updateResFn[FUNC_NAME_MAXLEN];
data/clblas-2.12/src/library/blas/gens/legacy/gemm_lds.c:317: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 updateResGenericFn[FUNC_NAME_MAXLEN];
data/clblas-2.12/src/library/blas/gens/legacy/gemm_lds.c:330: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 vect[2] = {'y', 'x'};
data/clblas-2.12/src/library/blas/gens/legacy/gemm_lds.c:388:5:  [2] (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). Risk is low because the
  source is a constant string.
    strcat(tmp, "A += offA;\n");
data/clblas-2.12/src/library/blas/gens/legacy/gemm_lds.c:389:5:  [2] (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). Risk is low because the
  source is a constant string.
    strcat(tmp, "B += offB;\n");
data/clblas-2.12/src/library/blas/gens/legacy/gemm_lds.c:390:5:  [2] (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). Risk is low because the
  source is a constant string.
    strcat(tmp, "C += offC;\n");
data/clblas-2.12/src/library/blas/gens/legacy/gemm_lds.c:428:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "coordA.%c = currM;\n"
data/clblas-2.12/src/library/blas/gens/legacy/gemm_lds.c:438:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "for (k0 = 0; k0 < K; k0 += %lu)", subdims[0].bwidth);
data/clblas-2.12/src/library/blas/gens/legacy/gemm_lds.c:463:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "coordA.%c += lid / %u * %lu;\n"
data/clblas-2.12/src/library/blas/gens/legacy/gemm_lds.c:468:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "if (coordA.%c >= M || coordB.%c >= N) {\n"
data/clblas-2.12/src/library/blas/gens/legacy/gen_helper_legacy.c:270: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[1024];
data/clblas-2.12/src/library/blas/gens/legacy/gen_helper_legacy.c:380:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "if ((y == %lu) && (x == %lu))",
data/clblas-2.12/src/library/blas/gens/legacy/gen_helper_legacy.c:407: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 optFuncName[FUNC_NAME_MAXLEN],
data/clblas-2.12/src/library/blas/gens/legacy/gen_helper_legacy.c:408: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 genericFuncName[FUNC_NAME_MAXLEN])
data/clblas-2.12/src/library/blas/gens/legacy/gen_helper_legacy.c:439: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 optFuncName[FUNC_NAME_MAXLEN],
data/clblas-2.12/src/library/blas/gens/legacy/gen_helper_legacy.c:440: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 genericFuncName[FUNC_NAME_MAXLEN])
data/clblas-2.12/src/library/blas/gens/legacy/gen_helper_legacy.h:28: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 localToImage[2][FUNC_NAME_MAXLEN];
data/clblas-2.12/src/library/blas/gens/legacy/gen_helper_legacy.h:29: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 globalToImage[2][FUNC_NAME_MAXLEN];
data/clblas-2.12/src/library/blas/gens/legacy/gen_helper_legacy.h:30: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 globalToLocalTransposed[2][FUNC_NAME_MAXLEN];
data/clblas-2.12/src/library/blas/gens/legacy/gen_helper_legacy.h:31: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 globalToLocalTransposedGeneric[2][FUNC_NAME_MAXLEN];
data/clblas-2.12/src/library/blas/gens/legacy/gen_helper_legacy.h:32: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 globalToLocal[2][FUNC_NAME_MAXLEN];
data/clblas-2.12/src/library/blas/gens/legacy/gen_helper_legacy.h:33: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 globalToLocalGeneric[2][FUNC_NAME_MAXLEN];
data/clblas-2.12/src/library/blas/gens/legacy/gen_helper_legacy.h:34: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 zeroBlock[2][FUNC_NAME_MAXLEN];
data/clblas-2.12/src/library/blas/gens/legacy/gen_helper_legacy.h: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 optFuncName[FUNC_NAME_MAXLEN],
data/clblas-2.12/src/library/blas/gens/legacy/gen_helper_legacy.h: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 genericFuncName[FUNC_NAME_MAXLEN]);
data/clblas-2.12/src/library/blas/gens/legacy/gen_helper_legacy.h:74: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 optFuncName[FUNC_NAME_MAXLEN],
data/clblas-2.12/src/library/blas/gens/legacy/gen_helper_legacy.h:75: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 genericFuncName[FUNC_NAME_MAXLEN]);
data/clblas-2.12/src/library/blas/gens/legacy/tests/t_blkmul.c:51:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char u[sizeof(cl_double)];
data/clblas-2.12/src/library/blas/gens/legacy/tests/t_blkmul.c:105: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 s[300];
data/clblas-2.12/src/library/blas/gens/legacy/tests/t_blkmul.c:110: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 imgXA[64], imgYA[64], imgXB[64], imgYB[64];
data/clblas-2.12/src/library/blas/gens/legacy/tests/t_blkmul.c:175:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(imgXA, "(m0 / %lu) %% %d * %lu", m, PACK_RATE,
data/clblas-2.12/src/library/blas/gens/legacy/tests/t_blkmul.c:177:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(imgYA, "m0 / %lu", m * PACK_RATE);
data/clblas-2.12/src/library/blas/gens/legacy/tests/t_blkmul.c:181:13:  [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(imgYA, "m0");
data/clblas-2.12/src/library/blas/gens/legacy/tests/t_blkmul.c:190:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(imgXB, "(n0 / %lu) %% %d * %lu", n, PACK_RATE,
data/clblas-2.12/src/library/blas/gens/legacy/tests/t_blkmul.c:192:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(imgYB, "n0 / %lu", n * PACK_RATE);
data/clblas-2.12/src/library/blas/gens/legacy/tests/t_blkmul.c:196:13:  [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(imgYB, "n0");
data/clblas-2.12/src/library/blas/gens/legacy/tests/t_blkmul.c:203:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(s, "m0 = %lu * (get_global_id(0) / %d);\n"
data/clblas-2.12/src/library/blas/gens/legacy/tests/t_blkmul.c:210:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(s, "for (i = m0; i < m0 + %lu; i++)", m);
data/clblas-2.12/src/library/blas/gens/legacy/tests/t_blkmul.c:220:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(s, "for (i = n0; i < n0 + %lu; i++)", n);
data/clblas-2.12/src/library/blas/gens/legacy/tests/t_blkmul.c:232:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(s, "for (i = m0; i < m0 + %lu; i++)", m);
data/clblas-2.12/src/library/blas/gens/legacy/tests/t_blkmul.c:234:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(s, "for (j = n0; j < n0 + %lu; j++)", n);
data/clblas-2.12/src/library/blas/gens/legacy/tests/t_blkmul.c:259:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(s, "%cgemmBlock_%lu_%lu(alpha, (LPtr)(LA + m0 * %lu), "
data/clblas-2.12/src/library/blas/gens/legacy/tests/t_blkmul.c:269:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(s, "for (i = m0; i < m0 + %lu; i++)", m);
data/clblas-2.12/src/library/blas/gens/legacy/tests/t_blkmul.c:271:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(s, "for (j = n0; j < n0 + %lu; j++)", n);
data/clblas-2.12/src/library/blas/gens/legacy/tests/t_blkmul.c:302: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 log[100000]; size_t logSize;
data/clblas-2.12/src/library/blas/gens/legacy/tests/t_blkmul.c:603: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 out[65535];
data/clblas-2.12/src/library/blas/gens/legacy/tests/t_blkmul.c:667: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).
            iter = atoi(argv[i + 1]);
data/clblas-2.12/src/library/blas/gens/legacy/tests/t_blkmul.c:678: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).
            cmdAlpha = atoi(argv[i + 1]);
data/clblas-2.12/src/library/blas/gens/legacy/tests/t_blkmul.c:688:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        blockM = atoi(argv[i]);
data/clblas-2.12/src/library/blas/gens/legacy/tests/t_blkmul.c:689:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        blockN = atoi(argv[i + 1]);
data/clblas-2.12/src/library/blas/gens/legacy/tests/t_blkmul.c:690:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        blockK = atoi(argv[i + 2]);
data/clblas-2.12/src/library/blas/gens/legacy/trmm_img.c:121: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(bufFuncs->write, imgFuncs->localToImage, FUNC_NAME_MAXLEN);
data/clblas-2.12/src/library/blas/gens/legacy/trmm_img.c:123:9:  [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(bufFuncs->read[MATRIX_A],
data/clblas-2.12/src/library/blas/gens/legacy/trmm_img.c:125:9:  [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(bufFuncs->readGeneric[MATRIX_A],
data/clblas-2.12/src/library/blas/gens/legacy/trmm_img.c:130:9:  [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(bufFuncs->read[MATRIX_A],
data/clblas-2.12/src/library/blas/gens/legacy/trmm_img.c:132:9:  [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(bufFuncs->readGeneric[MATRIX_A],
data/clblas-2.12/src/library/blas/gens/legacy/trmm_img.c:147: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[4096];
data/clblas-2.12/src/library/blas/gens/legacy/trmm_img.c:193:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "if (k0 >= currM + %lu)", subdims[1].y);
data/clblas-2.12/src/library/blas/gens/legacy/trmm_img.c:196:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "if (k0 + %lu <= currM)", subdims[1].bwidth);
data/clblas-2.12/src/library/blas/gens/legacy/trmm_img.c:264: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[4096];
data/clblas-2.12/src/library/blas/gens/legacy/trmm_img.c:378: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[4048];
data/clblas-2.12/src/library/blas/gens/legacy/trmm_img.c:381: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 coordNames[2] = {'M', 'N'};
data/clblas-2.12/src/library/blas/gens/legacy/trmm_img.c:495: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[4096], tmp1[4096];
data/clblas-2.12/src/library/blas/gens/legacy/trmm_img.c:511: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 coordNames[2] = {'M', 'N'};
data/clblas-2.12/src/library/blas/gens/legacy/trmm_img.c:512: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 vect[2] = {'y', 'x'};
data/clblas-2.12/src/library/blas/gens/legacy/trmm_img.c:583:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "for (k0 = 0; k0 < %u; k0++) {\n"
data/clblas-2.12/src/library/blas/gens/legacy/trmm_img.c:591:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "coordA.x = vectK - %lu;\n"
data/clblas-2.12/src/library/blas/gens/legacy/trmm_img.c:595:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "for (k0 = ((workItemM/%lu)*%lu)/%u; "
data/clblas-2.12/src/library/blas/gens/legacy/trmm_img.c:606:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "for (k0 = 0; "
data/clblas-2.12/src/library/blas/gens/legacy/trmm_img.c:638:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "\ncoordA.x -= %lu;\n"
data/clblas-2.12/src/library/blas/gens/legacy/trmm_img.c:643:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "\ncoordA.x += %lu;\n"
data/clblas-2.12/src/library/blas/gens/legacy/trmm_img.c:657:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(p,  "\n"
data/clblas-2.12/src/library/blas/gens/legacy/trmm_img.c:680:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "coordA.%c = workItemM - startM;\n"
data/clblas-2.12/src/library/blas/gens/legacy/trmm_lds.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 tmp[2048];
data/clblas-2.12/src/library/blas/gens/legacy/trmm_lds.c:102: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[1024];
data/clblas-2.12/src/library/blas/gens/legacy/trmm_lds.c:104:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *coordName[2] = {"currM", "currN"};
data/clblas-2.12/src/library/blas/gens/legacy/trmm_lds.c:141: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[1024];
data/clblas-2.12/src/library/blas/gens/legacy/trmm_lds.c:144:9:  [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(tmp, "currM = 0;\n");
data/clblas-2.12/src/library/blas/gens/legacy/trmm_lds.c:147:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "currM = (M - 1) / %lu * %lu;\n", dim->y, dim->y);
data/clblas-2.12/src/library/blas/gens/legacy/trmm_lds.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[1024];
data/clblas-2.12/src/library/blas/gens/legacy/trmm_lds.c:164:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "for (k0 = M - %lu; (k0 + %lu > currM) && (k0 < M); "
data/clblas-2.12/src/library/blas/gens/legacy/trmm_lds.c:169:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "for (k0 = (M - 1) / %lu * %lu; k0 + %lu > currM; "
data/clblas-2.12/src/library/blas/gens/legacy/trmm_lds.c:175:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "for (k0 = 0; (k0 < currM + %lu) && (k0 < M); "
data/clblas-2.12/src/library/blas/gens/legacy/trmm_lds.c:215: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[2048];
data/clblas-2.12/src/library/blas/gens/legacy/trmm_lds.c:216: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 blkmul[128];
data/clblas-2.12/src/library/blas/gens/legacy/trmm_lds.c:217: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 updateResFn[FUNC_NAME_MAXLEN];
data/clblas-2.12/src/library/blas/gens/legacy/trmm_lds.c:218: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 updateResGenericFn[FUNC_NAME_MAXLEN];
data/clblas-2.12/src/library/blas/gens/legacy/trmm_lds.c:234: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 vect[2] = {'y', 'x'};
data/clblas-2.12/src/library/blas/gens/legacy/trmm_lds.c:316:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "currN = gid * %lu;\n", subdims->x);
data/clblas-2.12/src/library/blas/gens/legacy/trmm_lds.c:335:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "coordB.%c = currN + lid %% %u * %lu;\n"
data/clblas-2.12/src/library/blas/gens/legacy/trmm_lds.c:341:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "for (m0 = 0; m0 < M; m0 += %lu)", subdims->y);
data/clblas-2.12/src/library/blas/gens/legacy/trmm_lds.c:344:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "coordA.%c = currM + lid / %u * %lu;\n"
data/clblas-2.12/src/library/blas/gens/legacy/trmm_lds.c:354:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "for (k0 = 0; k0 < %u; k0++) {\n"
data/clblas-2.12/src/library/blas/gens/legacy/trmm_lds.c:404:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "if ((coordA.%c < M) && (coordB.%c < N))",
data/clblas-2.12/src/library/blas/gens/legacy/trmm_lds.c:418:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "currM += %lu;\n", subdims[0].y);
data/clblas-2.12/src/library/blas/gens/legacy/trmm_lds.c:421:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "currM -= %lu;\n", subdims[0].y);
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:192: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[1024];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:226: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[1024];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:256: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[1024];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:260:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "for (x = 0; x < %u; x++) {\n"
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.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[1024];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:277:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "for (k0 = currM + %lu; k0 < M / %lu * %lu; "
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:282:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "for (k0 = currM + %lu; k0 < M; k0 += %lu)",
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:287:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "for (k0 = 0; k0 < currM; k0 += %lu)",
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:300: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[1024];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:304:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "currM = ((M - 1) / %lu) * %lu;\n", dim->y, dim->y);
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:335: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 pitchStr[16];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:336: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 coordY[128], coordX[128];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:347:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(pitchStr, "%lu", pitch);
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:348:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(coordY, "lid / %u * %lu", l1Pans, dims[1].y);
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:349:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(coordX, "lid %% %u * %lu", l1Pans, dims[1].x);
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:377: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[1024];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:383:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "if (coordA + %lu > M)", dim->y);
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:385:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "int i = (coordA >= M) ? %lu : (%lu - M %% %lu);\n\n",
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:388:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "for (; i > 0; i--)");
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:392:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "c[(%lu - i) * %u + %u] = 0;\n",
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:474: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[1024];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:477:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "coordA = currM + lid / %u * %lu;\n", l1Pans, dims[1].y);
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:480:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "k = currM + %lu;\n", dims[0].y);
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:483:9:  [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(tmp, "k = 0;\n");
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:494: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[1024];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:515:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "if (lid < %lu)", subdims[0].y);
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:517:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "invert(tempC, tempA, lid, (currM + %lu > M) ? "
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:532: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[1024];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:592: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[1024];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:643:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "for (m0 = 0; m0 < M / %lu * %lu; m0 += %lu)",
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:653:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "if (M > %lu)", subdims->y);
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:778:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "currM -= %lu;\n", subdims[0].y);
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:781:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "currM += %lu;\n", subdims[0].y);
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:798: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[1024];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:804: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 updateResFnRev[FUNC_NAME_MAXLEN];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:805: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 updateResGenericFnRev[FUNC_NAME_MAXLEN];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:886:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "currN = gid * %lu;\n", subdims[0].x);
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:906:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "coordB = gid * %lu + lid %% %u * %lu;\n",
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:277: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[1024];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:301:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmp[1024];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:312: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[1024];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:353: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[1024];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:355:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *op[2] = {"/", "%"};
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:378: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[1024];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:442:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "const int bpr = get_image_width(imA) / %lu;\n",
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:446:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "const int bpc = get_image_height(imA) / %lu;\n",
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:460:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "getBufferPos(gid, startRow / %lu, (M + %lu) / %lu, &currM, &k0);\n",
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:463:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "currM *= %lu;\n"
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:485:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "if (lid < %lu)", subdims[0].bwidth);
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:487:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "invert(tempA, tempC, lid, (currM + %lu > M) ? "
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:521: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[1024];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:526:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "for (x = 0; x < %u; x++) {\n"
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:544: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[1024];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:593: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[1024];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:606:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "getNBlock(m0 / %lu, k0 / %lu, startRow / %lu, "
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:625: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[1024], tmp1[1024];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:644:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(p,  "\n"
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:702: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[1024], tmp1[1024];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:703: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 blkmul[FUNC_NAME_MAXLEN];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:704: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 updateResFn[FUNC_NAME_MAXLEN];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:705: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 updateResGenericFn[FUNC_NAME_MAXLEN];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:706: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 updateResFnRev[FUNC_NAME_MAXLEN];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:707: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 updateResGenericFnRev[FUNC_NAME_MAXLEN];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:708: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 copyPLFn[FUNC_NAME_MAXLEN];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:732: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 vect[2] = {'y', 'x'};
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:875:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "const int bpr = get_image_width(A) / %lu;\n",
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:879:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "const int bpc = get_image_height(A) / %lu;\n",
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:896:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "coordB.%c = currN + lid %% %u * %lu;\n"
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:908:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp1, "(((finishRow - 1) / %lu) * %lu)", subdims[0].y,
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:915:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "for (m0 = startRow; m0 < finishRow; m0 += %lu)",
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:920:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "coordA.%c = m0 + lid / %u * %lu;\n"
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:929:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "for (k0 = m0 + %lu; k0 < M; k0 += %lu)",
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:933:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "for (k0 = 0; k0 < m0; k0 += %lu)",
data/clblas-2.12/src/library/blas/gens/legacy/trsm_kgen_legacy.c:31: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[1024];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_kgen_legacy.c:100:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmp[1024];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_kgen_legacy.c:132: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[1024];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_kgen_legacy.c:143:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "dst[lid * %lu + lid].x = 1.f;\n", pitch);
data/clblas-2.12/src/library/blas/gens/legacy/trsm_kgen_legacy.c:146:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "dst[lid * %lu + lid] = 1.f;\n", pitch);
data/clblas-2.12/src/library/blas/gens/legacy/trsm_kgen_legacy.c:151:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "for (i = lastRow - 1; i >= 0; i--)");
data/clblas-2.12/src/library/blas/gens/legacy/trsm_kgen_legacy.c:154:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "for (i = 0; i < lastRow; i++)");
data/clblas-2.12/src/library/blas/gens/legacy/trsm_kgen_legacy.c:159:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "dst[i * %lu + lid] = div(dst[i * %lu + lid], "
data/clblas-2.12/src/library/blas/gens/legacy/trsm_kgen_legacy.c:163:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "dst[i * %lu + lid] = dst[i * %lu + lid] / "
data/clblas-2.12/src/library/blas/gens/legacy/trsm_kgen_legacy.c:169:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "for (k = 0; k < i; k++)");
data/clblas-2.12/src/library/blas/gens/legacy/trsm_kgen_legacy.c:172:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "for (k = i + 1; k < %lu; k++)", pitch);
data/clblas-2.12/src/library/blas/gens/legacy/trsm_kgen_legacy.c:176:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "dst[k * %lu + lid] = dst[k * %lu + lid] - "
data/clblas-2.12/src/library/blas/gens/legacy/trsm_kgen_legacy.c:181:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "dst[k * %lu + lid] = dst[k * %lu + lid] - "
data/clblas-2.12/src/library/blas/gens/legacy/trsm_lds.c:174: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[1024];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_lds.c:179:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "for (x = 0; x < %u; x++) {\n"
data/clblas-2.12/src/library/blas/gens/legacy/trsm_lds.c:196: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[1024];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_lds.c:228: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[1024];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_lds.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 tmp[1024];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_lds.c:271: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[1024];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_lds.c:276:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "for (k0 = currM + %lu; k0 < M; k0 += %lu)",
data/clblas-2.12/src/library/blas/gens/legacy/trsm_lds.c:280:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "for (k0 = 0; k0 < currM; k0 += %lu)",
data/clblas-2.12/src/library/blas/gens/legacy/trsm_lds.c:293: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[1024];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_lds.c:297:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "currM = ((M - 1) / %lu) * %lu;\n", dim->y, dim->y);
data/clblas-2.12/src/library/blas/gens/legacy/trsm_lds.c:339: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[1024];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_lds.c:340: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 blkmul[FUNC_NAME_MAXLEN];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_lds.c:341: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 updateResFn[FUNC_NAME_MAXLEN];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_lds.c:342: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 updateResGenericFn[FUNC_NAME_MAXLEN];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_lds.c:343: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 updateResFnRev[FUNC_NAME_MAXLEN];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_lds.c:344: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 updateResGenericFnRev[FUNC_NAME_MAXLEN];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_lds.c:345: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 copyPLFn[FUNC_NAME_MAXLEN];
data/clblas-2.12/src/library/blas/gens/legacy/trsm_lds.c:361: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 vect[2] = {'y', 'x'};
data/clblas-2.12/src/library/blas/gens/legacy/trsm_lds.c:453:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "currN = gid * %lu;\n", subdims[0].x);
data/clblas-2.12/src/library/blas/gens/legacy/trsm_lds.c:467:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "coordB.%c = currN + lid %% %u * %lu;\n"
data/clblas-2.12/src/library/blas/gens/legacy/trsm_lds.c:473:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "for (m0 = 0; m0 < M; m0 += %lu)", subdims->y);
data/clblas-2.12/src/library/blas/gens/legacy/trsm_lds.c:476:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "coordA.%c = currM + lid / %u * %lu;\n"
data/clblas-2.12/src/library/blas/gens/legacy/trsm_lds.c:519:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "if (lid < %lu)", subdims[0].bwidth);
data/clblas-2.12/src/library/blas/gens/legacy/trsm_lds.c:521:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "invert(tempC, tempA, lid, (currM + %lu > M) ? "
data/clblas-2.12/src/library/blas/gens/legacy/trsm_lds.c:553:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "currM -= %lu;\n", subdims[0].y);
data/clblas-2.12/src/library/blas/gens/legacy/trsm_lds.c:556:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "currM += %lu;\n", subdims[0].y);
data/clblas-2.12/src/library/blas/gens/legacy/trxm_common_legacy.c:33: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[1024];
data/clblas-2.12/src/library/blas/gens/legacy/trxm_common_legacy.c:79: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[1024];
data/clblas-2.12/src/library/blas/gens/legacy/trxm_common_legacy.c:81:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *coordName[2] = {"currM", "k0"};
data/clblas-2.12/src/library/blas/gens/legacy/trxm_common_legacy.c:82:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *sizeName[2] = {"y", "x"};
data/clblas-2.12/src/library/blas/gens/legacy/trxm_common_legacy.c:134: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[1024];
data/clblas-2.12/src/library/blas/gens/legacy/trxm_common_legacy.c:136:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *coordName[2] = {"currN", "k0"};
data/clblas-2.12/src/library/blas/gens/legacy/trxm_common_legacy.c:137:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *sizeName[2] = {"y", "x"};
data/clblas-2.12/src/library/blas/gens/legacy/trxm_common_legacy.c:179: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[1024], tmp1[512];
data/clblas-2.12/src/library/blas/gens/nrm2.cpp:43:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 Prefix[4];
data/clblas-2.12/src/library/blas/gens/nrm2.cpp:223: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 tempTemplate[32*1024];
data/clblas-2.12/src/library/blas/gens/reduction.cpp:39:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 Prefix[4];
data/clblas-2.12/src/library/blas/gens/reduction.cpp:230: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 tempTemplate[32*1024];
data/clblas-2.12/src/library/blas/gens/rotg_reg.cpp:41:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 Prefix[4];
data/clblas-2.12/src/library/blas/gens/rotg_reg.cpp:176: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 tempTemplate[32*1024];
data/clblas-2.12/src/library/blas/gens/rotm_reg.cpp:43:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 Prefix[4];
data/clblas-2.12/src/library/blas/gens/rotm_reg.cpp:213: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 tempTemplate[32*1024];
data/clblas-2.12/src/library/blas/gens/rotmg_reg.cpp:39:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 Prefix[4];
data/clblas-2.12/src/library/blas/gens/rotmg_reg.cpp:172: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 tempTemplate[32*1024];
data/clblas-2.12/src/library/blas/gens/scal_reg.cpp:43:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 Prefix[4];
data/clblas-2.12/src/library/blas/gens/scal_reg.cpp:208: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 tempTemplate[32*1024];
data/clblas-2.12/src/library/blas/gens/swap_reg.cpp:43:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 Prefix[4];
data/clblas-2.12/src/library/blas/gens/swap_reg.cpp:212: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 tempTemplate[32*1024];
data/clblas-2.12/src/library/blas/gens/symm_cached.cpp:39:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 Prefix[4];
data/clblas-2.12/src/library/blas/gens/symm_cached.cpp:129:2:  [2] (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). Risk is low because the
  source is a constant string.
	strcat(buildOptStr, " -cl-mad-enable ");
data/clblas-2.12/src/library/blas/gens/symm_cached.cpp:153: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 tempTemplate[32*1024];
data/clblas-2.12/src/library/blas/gens/symm_cached.cpp:154: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 itemx[10], itemy[10], width[10], itemy_by_width[10];
data/clblas-2.12/src/library/blas/gens/symm_cached.cpp:196:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(width, "%" SPREFIX "u", Y);
data/clblas-2.12/src/library/blas/gens/symm_cached.cpp:197:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(itemy, "%" SPREFIX "u", ITEMY);
data/clblas-2.12/src/library/blas/gens/symm_cached.cpp:198:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(itemx, "%" SPREFIX "u", ITEMX);
data/clblas-2.12/src/library/blas/gens/symm_cached.cpp:199:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(itemy_by_width, "%" SPREFIX "u", (size_t) ITEMY/kextra->vecLenA);
data/clblas-2.12/src/library/blas/gens/symv.c:137: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 betaDecl[128];
data/clblas-2.12/src/library/blas/gens/symv.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 offDecl[128];
data/clblas-2.12/src/library/blas/gens/symv.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[512];
data/clblas-2.12/src/library/blas/gens/symv.c:154:9:  [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(offDecl, "    const uint offA,\n");
data/clblas-2.12/src/library/blas/gens/symv.c:157:9:  [2] (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). Risk is low because the
  source is a constant string.
        strcat(offDecl, "    const uint offX,\n");
data/clblas-2.12/src/library/blas/gens/symv.c:160:9:  [2] (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). Risk is low because the
  source is a constant string.
        strcat(offDecl, "    const uint offY,\n");
data/clblas-2.12/src/library/blas/gens/symv.c:177:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buf, " + %lu", val);
data/clblas-2.12/src/library/blas/gens/symv.c:192: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[1024];
data/clblas-2.12/src/library/blas/gens/symv.c:193: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 stmtStr[2][128];
data/clblas-2.12/src/library/blas/gens/symv.c:247: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[1024];
data/clblas-2.12/src/library/blas/gens/symv.c:248: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 stmtStr[2][128];
data/clblas-2.12/src/library/blas/gens/symv.c:304: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[1024], tmp1[128] = "";
data/clblas-2.12/src/library/blas/gens/symv.c:305: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 stmtStr[2][128];
data/clblas-2.12/src/library/blas/gens/symv.c:340:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(tmp1, "Ktail <= %i || ", y);
data/clblas-2.12/src/library/blas/gens/symv.c:366: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[2048];
data/clblas-2.12/src/library/blas/gens/symv.c:448:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "uint n = coordA;\n");
data/clblas-2.12/src/library/blas/gens/symv.c:471:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "uint Ntail = N %% %lu;\n", subdims[1].bwidth);
data/clblas-2.12/src/library/blas/gens/symv.c:473:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "uint Ktail = N %% %lu;\n\n", subdims[1].y);
data/clblas-2.12/src/library/blas/gens/symv.c:517:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "for (; k < n/%lu*%lu; k += %lu)",
data/clblas-2.12/src/library/blas/gens/symv.c:569:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "for (; k < n; k += %lu)", lset.subdims[1].bwidth);
data/clblas-2.12/src/library/blas/gens/symv.c:622:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "for (k += %lu; k < n/%lu*%lu+%lu; k += %lu)",
data/clblas-2.12/src/library/blas/gens/symv.c:646:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(tmp, "for (k += %lu; k < actualN; k++)",
data/clblas-2.12/src/library/blas/gens/symv.c:674:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "k = k1 + %lu;\n", bStep*subdims[1].bwidth);
data/clblas-2.12/src/library/blas/gens/symv.c:682:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "if (k <= (n  + (get_local_id(0)%%%lu)*%lu))",
data/clblas-2.12/src/library/blas/gens/symv.c:715:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "n += (get_local_id(0)%%%lu)*%lu;\n",
data/clblas-2.12/src/library/blas/gens/symv.c:730:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "k += %lu;\n", bStep*subdims[1].bwidth);
data/clblas-2.12/src/library/blas/gens/symv.c:741:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "for (; k < N; k += %lu)", bStep*subdims[1].bwidth);
data/clblas-2.12/src/library/blas/gens/symv.c:759:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "for (; k < N; k++)");
data/clblas-2.12/src/library/blas/gens/symv.c:785:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "for (; k < N; k += %lu)", bStep*subdims[1].bwidth);
data/clblas-2.12/src/library/blas/gens/symv.c:807:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "if (k + %lu > N) break;\n", subdims[1].bwidth);
data/clblas-2.12/src/library/blas/gens/symv.c:810:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "if (k + %lu > N + (get_local_id(0)%%%lu)*%lu) break;\n",
data/clblas-2.12/src/library/blas/gens/symv.c:822:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "n += (get_local_id(0)%%%lu)*%lu;\n",
data/clblas-2.12/src/library/blas/gens/syr2_lds.cpp:40:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 Prefix[4];
data/clblas-2.12/src/library/blas/gens/syr2_lds.cpp:240: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 tempTemplate[32*1024];
data/clblas-2.12/src/library/blas/gens/syr2_lds.cpp:241: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 targetRows[10], blockSize[10];
data/clblas-2.12/src/library/blas/gens/syr2_lds.cpp:311:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf( targetRows, "%" SPREFIX "u", TARGETROWS );
data/clblas-2.12/src/library/blas/gens/syr2_lds.cpp:312:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf( blockSize, "%d", BLOCKSIZE );
data/clblas-2.12/src/library/blas/gens/syr_lds.cpp:40:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 Prefix[4];
data/clblas-2.12/src/library/blas/gens/syr_lds.cpp:240: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 tempTemplate[32*1024];
data/clblas-2.12/src/library/blas/gens/syr_lds.cpp:241: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 targetRows[10], blockSize[10];
data/clblas-2.12/src/library/blas/gens/syr_lds.cpp:311:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf( targetRows, "%" SPREFIX "u", TARGETROWS );
data/clblas-2.12/src/library/blas/gens/syr_lds.cpp:312:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf( blockSize, "%d", BLOCKSIZE );
data/clblas-2.12/src/library/blas/gens/syrxk.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 tmp[1024];
data/clblas-2.12/src/library/blas/gens/syrxk.c:259:14:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        p += sprintf(p, " + %lu", dim->y - 1);
data/clblas-2.12/src/library/blas/gens/syrxk.c:261:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(p, ") / %lu;\n", dim->y);
data/clblas-2.12/src/library/blas/gens/syrxk.c:277: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 dstPtr[64];
data/clblas-2.12/src/library/blas/gens/syrxk.c:387: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[1024], betaStr[64], bstr[64], strOffABC[256];
data/clblas-2.12/src/library/blas/gens/syrxk.c:425:9:  [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(strOffABC, ",\n    uint offA");
data/clblas-2.12/src/library/blas/gens/syrxk.c:428:9:  [2] (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). Risk is low because the
  source is a constant string.
        strcat(strOffABC, ",\n    uint offB");
data/clblas-2.12/src/library/blas/gens/syrxk.c:431:9:  [2] (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). Risk is low because the
  source is a constant string.
        strcat(strOffABC, ",\n    uint offC");
data/clblas-2.12/src/library/blas/gens/syrxk.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 tmp[1024], tmp1[128];
data/clblas-2.12/src/library/blas/gens/syrxk.c:465: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 start[128], end[128];
data/clblas-2.12/src/library/blas/gens/syrxk.c:571:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 step[128], tmp2[128], *stepCalc = NULL;
data/clblas-2.12/src/library/blas/gens/syrxk.c:575:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp2, "step = (coord.x %% %lu) ? (coord.x %% %lu) : %lu;\n",
data/clblas-2.12/src/library/blas/gens/syrxk.c:578:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(step, "step");
data/clblas-2.12/src/library/blas/gens/syrxk.c:582:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(step, "%lu", dim[0].x);
data/clblas-2.12/src/library/blas/gens/syrxk.c:594:13:  [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(end, "coord.x");
data/clblas-2.12/src/library/blas/gens/syrxk.c:606:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "w = (origN - startN - N + %lu) / %lu * %lu;\n"
data/clblas-2.12/src/library/blas/gens/syrxk.c:616:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "coord.x = N;\n"
data/clblas-2.12/src/library/blas/gens/syrxk.c:672:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf( tmp, "if (coord.y >= coord.x + %lu)", dim[1].x );
data/clblas-2.12/src/library/blas/gens/syrxk.c:700:13:  [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(start, "coord.x");
data/clblas-2.12/src/library/blas/gens/syrxk.c:703:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(start, "(coord.x + %lu) / %lu * %lu",
data/clblas-2.12/src/library/blas/gens/syrxk.c:708:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(end, "(coord.x + %lu) / %lu * %lu",
data/clblas-2.12/src/library/blas/gens/syrxk.c:716:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(end, "(N + %u) / %u * %u",
data/clblas-2.12/src/library/blas/gens/syrxk.c:725:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "k0 = (N + %lu) / %lu;\n"
data/clblas-2.12/src/library/blas/gens/syrxk.c:733:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "block -= k0 * (startN / %lu);\n", dim[0].x);
data/clblas-2.12/src/library/blas/gens/syrxk.c:742:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "block -= k0;\n"
data/clblas-2.12/src/library/blas/gens/syrxk.c:761:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "coord.y = (N - N %% %lu - block * %lu);\n",
data/clblas-2.12/src/library/blas/gens/syrxk.c:770:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "coord.y = (coord.y + %u) / %u * %u;\n",
data/clblas-2.12/src/library/blas/gens/syrxk.c:792:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf( tmp, "if (coord.x >= coord.y + %lu)", dim[1].y );
data/clblas-2.12/src/library/blas/gens/syrxk.c:799:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "coord.y += startN + lid %% %u * %lu;\n",
data/clblas-2.12/src/library/blas/gens/syrxk.c:803:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "coord.x += lid / %u * %lu;\n"
data/clblas-2.12/src/library/blas/gens/syrxk.c:934: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(tile, tc, sizeof(Tile));
data/clblas-2.12/src/library/blas/gens/syrxk.c:974:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *coords[2] = {kvars->coordA, kvars->coordB};
data/clblas-2.12/src/library/blas/gens/syrxk.c:1234: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 hexadec[2];
data/clblas-2.12/src/library/blas/gens/syrxk.c:1252: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(&gsetNew, gset, sizeof(BlasGenSettings));
data/clblas-2.12/src/library/blas/gens/syrxk.c:1259: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(&tileTempC, tileC, sizeof(Tile));
data/clblas-2.12/src/library/blas/gens/syrxk.c:1505: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[1024];
data/clblas-2.12/src/library/blas/gens/syrxk.c:1506: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 s1[1024], s2[256];
data/clblas-2.12/src/library/blas/gens/syrxk.c:1507: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 src[32], dst[32];
data/clblas-2.12/src/library/blas/gens/syrxk.c:1547:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 offStr[64];
data/clblas-2.12/src/library/blas/gens/syrxk.c:1552:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(offStr, " + (%lu - m) * %lu", dims[1].y, pitch);
data/clblas-2.12/src/library/blas/gens/syrxk.c:1556:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(p, " + (%lu - n)", dims[1].x);
data/clblas-2.12/src/library/blas/gens/syrxk.c:1650: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[1024];
data/clblas-2.12/src/library/blas/gens/syrxk.c:1656:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf( tmp,
data/clblas-2.12/src/library/blas/gens/syrxk.c:1666:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf( tmp,
data/clblas-2.12/src/library/blas/gens/syrxk.c:1820: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[1024];
data/clblas-2.12/src/library/blas/gens/syrxk.c:1983:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf( tmp, "if( skipTilemul == 0 )");
data/clblas-2.12/src/library/blas/gens/syrxk.c:2010:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "for (k0 = 0; k0 < K; k0 += %lu)", subdims[1].bwidth);
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:63:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char u[sizeof(cl_double)];
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.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 tmp[1024];
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:159:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char s[1024];
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:161: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 *tName, tVect[64], *ptrName;
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:187:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tVect, "%u", vecLen);
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:238:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(s, "__attribute__((reqd_work_group_size(%i, %i, 1)))\n",
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:258:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(s, "uint workItemM = %lu * get_global_id(0);\n"
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:303:20:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            str += sprintf(str, "uint%lu ca = {0", ha);
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:307:20:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            str += sprintf(str, "};\n");
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:317:20:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            str += sprintf(str, "uint%lu cb = {0", hb);
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:321:20:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            str += sprintf(str, "};\n");
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:335:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(s, "for (int it = 0; it < iter; it++)");
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:345:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 *coordsA[2] = {"workItemM", "k"};
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:346:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 *coordsB[2] = {"k", "workItemN"};
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:355:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(s, "for (int k0 = 0; k0 < K; k0 += %lu)", subdims[0].bwidth);
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:362:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(s,
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:381:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(s,
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:418:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(s, "for (int k1 = 0; k1 < %lu; k1 += %lu)",
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:456:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(s, "k += %lu;\n", k);
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:513: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 log[100000];
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:860: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 out[1024*1024];
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:926:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            kextra.vecLen = atoi(optarg);
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:1025: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).
            iterNum = atoi(optarg);
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:1061:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    blockM = atoi(argv[optind]);
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:1062:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    blockN = atoi(argv[optind + 1]);
data/clblas-2.12/src/library/blas/gens/tests/t_tilemul.c:1063:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    blockK = atoi(argv[optind + 2]);
data/clblas-2.12/src/library/blas/gens/tile.c:236: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[1024];
data/clblas-2.12/src/library/blas/gens/tile.c:256:9:  [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(p, ";\n");
data/clblas-2.12/src/library/blas/gens/tile.c:292: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 vchunk[24];
data/clblas-2.12/src/library/blas/gens/tile.c:391: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[1024];
data/clblas-2.12/src/library/blas/gens/tile.c:406: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[1024];
data/clblas-2.12/src/library/blas/gens/tile.c:419:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmp[1024];
data/clblas-2.12/src/library/blas/gens/tile.c:452: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[1024];
data/clblas-2.12/src/library/blas/gens/tilemul.c:128:9:  [2] (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). Risk is low because the
  source is a constant string.
        strcat(expr->buf, ".s");
data/clblas-2.12/src/library/blas/gens/tilemul.c:156:9:  [2] (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). Risk is low because the
  source is a constant string.
        strcat(re->buf, ".s0");
data/clblas-2.12/src/library/blas/gens/tilemul.c:158:9:  [2] (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). Risk is low because the
  source is a constant string.
        strcat(im->buf, ".s1");
data/clblas-2.12/src/library/blas/gens/tilemul.c:260: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[MAX_LENGTH];
data/clblas-2.12/src/library/blas/gens/tilemul.c:296: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[MAX_LENGTH];
data/clblas-2.12/src/library/blas/gens/tilemul.c:360: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[MAX_LENGTH], tmp2[MAX_LENGTH];
data/clblas-2.12/src/library/blas/gens/tilemul.c:417:5:  [2] (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). Risk is low because the
  source is a constant string.
    strcat(tmp, ";\n");
data/clblas-2.12/src/library/blas/gens/tilemul.c:426:16:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        str += sprintf(str, " %c sum.s%c", op, vectComponents[k]);
data/clblas-2.12/src/library/blas/gens/tilemul.c:787: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 s[32];
data/clblas-2.12/src/library/blas/gens/tilemul.c:829: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 s[MAX_LENGTH];
data/clblas-2.12/src/library/blas/gens/tilemul.c:869:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(s, "for (int k1 = 0; k1 < %lu; k1 += %lu)",
data/clblas-2.12/src/library/blas/gens/trmm.c:163:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmp[1024];
data/clblas-2.12/src/library/blas/gens/trmm.c:166:9:  [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(tmp, "currM = 0;\n");
data/clblas-2.12/src/library/blas/gens/trmm.c:169:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "currM = (M - 1) / %lu * %lu;\n", dim->y, dim->y);
data/clblas-2.12/src/library/blas/gens/trmm.c:185: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[1024];
data/clblas-2.12/src/library/blas/gens/trmm.c:189:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "uint kBegin = currM;\n");
data/clblas-2.12/src/library/blas/gens/trmm.c:193:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(tmp, "uint kBegin = currM;\n");
data/clblas-2.12/src/library/blas/gens/trmm.c:196:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(tmp, "uint kBegin = currM / %lu * %lu;\n",
data/clblas-2.12/src/library/blas/gens/trmm.c:203:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "uint kBegin = 0;\n");
data/clblas-2.12/src/library/blas/gens/trmm.c:231: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[1024];
data/clblas-2.12/src/library/blas/gens/trmm.c:278:9:  [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( &diagKExtra,gset->kextra,sizeof(CLBLASKernExtra) );
data/clblas-2.12/src/library/blas/gens/trmm.c:301:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf( tmp,
data/clblas-2.12/src/library/blas/gens/trmm.c:395:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf( tmp,
data/clblas-2.12/src/library/blas/gens/trmm.c:432:9:  [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( &diagKExtra,gset->kextra,sizeof(CLBLASKernExtra) );
data/clblas-2.12/src/library/blas/gens/trmm.c:446:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf( tmp,
data/clblas-2.12/src/library/blas/gens/trmm.c:503:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "uint k0;\n");
data/clblas-2.12/src/library/blas/gens/trmm.c:565:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp,
data/clblas-2.12/src/library/blas/gens/trmm.c:584:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp,
data/clblas-2.12/src/library/blas/gens/trmm.c:600:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "for (; k0 < M; k0 += %lu)", bwidth);
data/clblas-2.12/src/library/blas/gens/trmm.c:652:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "uint iterK = min(currM + %luu, M);\n", y0);
data/clblas-2.12/src/library/blas/gens/trmm.c:654:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "iterK = (iterK + %lu) / %lu;\n", bwidth - 1, bwidth);
data/clblas-2.12/src/library/blas/gens/trmm.c:658:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "for (k0 = 0; k0 < max(0, (int)iterK - %lu); k0++)",
data/clblas-2.12/src/library/blas/gens/trmm.c:670:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "for (; k0 < iterK; k0++)");
data/clblas-2.12/src/library/blas/gens/trmm.c:705: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[4096];
data/clblas-2.12/src/library/blas/gens/trmm.c:761: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(&pfPriv[1], &pfPriv[0], sizeof(pfPriv[0]));
data/clblas-2.12/src/library/blas/gens/trmm.c:843:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "currN = gid * %lu;\n", subdims->x);
data/clblas-2.12/src/library/blas/gens/trmm.c:912:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "coord.x = currN + lid %% %u * %lu;\n", l1Pans, subdims[1].x);
data/clblas-2.12/src/library/blas/gens/trmm.c:917:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "for (uint m0 = 0; m0 < M; m0 += %lu)", subdims[0].y);
data/clblas-2.12/src/library/blas/gens/trmm.c:922:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "coord.z = kBegin;\n");
data/clblas-2.12/src/library/blas/gens/trmm.c:934:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf( tmp,
data/clblas-2.12/src/library/blas/gens/trmm.c:995:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "currM += %lu;\n", subdims[0].y);
data/clblas-2.12/src/library/blas/gens/trmm.c:998:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "currM -= %lu;\n", subdims[0].y);
data/clblas-2.12/src/library/blas/gens/trmv_reg.cpp:39:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 Prefix[4];
data/clblas-2.12/src/library/blas/gens/trmv_reg.cpp:264: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 tempTemplate[32*1024];
data/clblas-2.12/src/library/blas/gens/trmv_reg.cpp:265: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 targetRows[10], blockSize[10];
data/clblas-2.12/src/library/blas/gens/trmv_reg.cpp:384:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf( targetRows, "%" SPREFIX "u", TARGETROWS );
data/clblas-2.12/src/library/blas/gens/trmv_reg.cpp:385:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf( blockSize, "%" SPREFIX "u", BLOCKSIZE );
data/clblas-2.12/src/library/blas/gens/trsm.c:190: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[1024];
data/clblas-2.12/src/library/blas/gens/trsm.c:303: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[1024];
data/clblas-2.12/src/library/blas/gens/trsm.c:322:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "uint currM = (M - 1) / %lu * %lu;\n",
data/clblas-2.12/src/library/blas/gens/trsm.c:442: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[1024];
data/clblas-2.12/src/library/blas/gens/trsm.c:456:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "k0 = currM + %lu;\n", dims[0].y);
data/clblas-2.12/src/library/blas/gens/trsm.c:459:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "k0 = 0;\n");
data/clblas-2.12/src/library/blas/gens/trsm.c:464:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "k0 = currM + %lu - m1 * %lu;\n",
data/clblas-2.12/src/library/blas/gens/trsm.c:468:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "k0 = m0 + m1 * %lu;\n", dims[1].y);
data/clblas-2.12/src/library/blas/gens/trsm.c:475:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "coordB = gid * %lu + (lid %% %u * %lu);\n",
data/clblas-2.12/src/library/blas/gens/trsm.c:491: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[1024];
data/clblas-2.12/src/library/blas/gens/trsm.c:495:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "for (k0 = currM + %lu; k0 < M / %lu * %lu; "
data/clblas-2.12/src/library/blas/gens/trsm.c:500:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "for (k0 = currM + %lu; k0 < M; k0 += %lu)",
data/clblas-2.12/src/library/blas/gens/trsm.c:505:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "for (k0 = 0; k0 < m0; k0 += %lu)",
data/clblas-2.12/src/library/blas/gens/trsm.c:614: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 hitCond[1024];
data/clblas-2.12/src/library/blas/gens/trsm.c:657: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[1024];
data/clblas-2.12/src/library/blas/gens/trsm.c:671:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "const int bound = (coordA + %lu > M) ? (M - coordA) : %lu;\n",
data/clblas-2.12/src/library/blas/gens/trsm.c:715: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[1024];
data/clblas-2.12/src/library/blas/gens/trsm.c:733: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(&optsNew, mulOpts, sizeof(TileMulOpts));
data/clblas-2.12/src/library/blas/gens/trsm.c:807: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[1024];
data/clblas-2.12/src/library/blas/gens/trsm.c:907:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "if ((y == %lu) && (x == %lu))",
data/clblas-2.12/src/library/blas/gens/trsm.c:956: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[1024];
data/clblas-2.12/src/library/blas/gens/trsm.c:1079: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[1024];
data/clblas-2.12/src/library/blas/gens/trsm.c:1098: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 copy2LDSFuncName[FUNC_NAME_MAXLEN];
data/clblas-2.12/src/library/blas/gens/trsm.c:1113: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(gset.subdims, subdims, sizeof(SubproblemDim) * 2);
data/clblas-2.12/src/library/blas/gens/trsm.c:1208:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "for (m0 = 0; m0 < M; m0 += %lu)", subdims[0].y);
data/clblas-2.12/src/library/blas/gens/trsm.c:1249:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "if ((gid + 1) * %lu < N)", subdims[0].x);
data/clblas-2.12/src/library/blas/gens/trsm.c:1329:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 hitCond[1024];
data/clblas-2.12/src/library/blas/gens/trsm.c:1336:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "if (currM + %lu < M)", subdims[0].y);
data/clblas-2.12/src/library/blas/gens/trsm.c:1346:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "for (uint k1 = 0; k1 < %u; k1++)", tailChunks);
data/clblas-2.12/src/library/blas/gens/trsm.c:1377:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "for (m1 = 0; m1 < %lu; m1++)", subdims[0].y / subdims[1].y);
data/clblas-2.12/src/library/blas/gens/trsm.c:1381:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "const int bid = lid %% %u;\n\n",
data/clblas-2.12/src/library/blas/gens/trsm.c:1431:8:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
       sprintf(tmp, "tmpB[%%u * %u + bid]", l1Pans);
data/clblas-2.12/src/library/blas/gens/trsm.c:1459:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "currM -= %lu;\n", subdims[0].y);
data/clblas-2.12/src/library/blas/gens/trsm.c:1558:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            unsigned int w = atoi(envImpl);
data/clblas-2.12/src/library/blas/gens/trsm_kgen.c:27: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[1024];
data/clblas-2.12/src/library/blas/gens/trsv_gemv.cpp:54:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 Prefix[4]; // PENDING: Magic "4" == Number of data types supported (float, double, cl_float2, cl_double2)
data/clblas-2.12/src/library/blas/gens/trsv_gemv.cpp:345: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 tempTemplate[32*1024];
data/clblas-2.12/src/library/blas/gens/trsv_gemv.cpp:346: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 TARGETROWS_S[10], NLOOPS_S[10], TARGETWIDTH_S[10];
data/clblas-2.12/src/library/blas/gens/trsv_gemv.cpp:348: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 TARGETHEIGHT_S[10], BLOCKSIZE_S[10], TRIANGLE_HEIGHT_S[10];
data/clblas-2.12/src/library/blas/gens/trsv_gemv.cpp:418:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf( TARGETHEIGHT_S, "%" SPREFIX "u", TARGETHEIGHT );
data/clblas-2.12/src/library/blas/gens/trsv_gemv.cpp:419:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	    sprintf( BLOCKSIZE_S, "%d", BLOCKSIZE );
data/clblas-2.12/src/library/blas/gens/trsv_gemv.cpp:420:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf( TRIANGLE_HEIGHT_S, "%" SPREFIX "u", subdims->y );
data/clblas-2.12/src/library/blas/gens/trsv_gemv.cpp:436:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf( TARGETROWS_S, "%" SPREFIX "u", TARGETROWS );
data/clblas-2.12/src/library/blas/gens/trsv_gemv.cpp:437:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	    sprintf( TARGETWIDTH_S, "%" SPREFIX "u", TARGETWIDTH );
data/clblas-2.12/src/library/blas/gens/trsv_gemv.cpp:438:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf( NLOOPS_S, "%" SPREFIX "u", NLOOPS );
data/clblas-2.12/src/library/blas/gens/trsv_trtri.cpp:50:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 Prefix[4]; // PENDING: Magic "4" == Number of data types supported (float, double, cl_float2, cl_double2)
data/clblas-2.12/src/library/blas/gens/trsv_trtri.cpp:263: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 tempTemplate[32*1024];
data/clblas-2.12/src/library/blas/gens/trsv_trtri.cpp:264: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 vector_size_trans[10], triangle_height[10];
data/clblas-2.12/src/library/blas/gens/trsv_trtri.cpp:363:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf( vector_size_trans, "%u", vecLenA );
data/clblas-2.12/src/library/blas/gens/trsv_trtri.cpp:364:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf( triangle_height, "%ld", subdims[0].y );
data/clblas-2.12/src/library/blas/gens/trsv_trtri.cpp:472: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 tempTemplate[32*1024];
data/clblas-2.12/src/library/blas/gens/trsv_trtri.cpp:473: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 vector_size_trans[10], triangle_height[10];
data/clblas-2.12/src/library/blas/gens/trsv_trtri.cpp:540:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf( vector_size_trans, "%u", vecLenA );
data/clblas-2.12/src/library/blas/gens/trsv_trtri.cpp:541:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf( triangle_height, "%ld", subdims[0].y );
data/clblas-2.12/src/library/blas/gens/trxm_common.c:36: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[1024];
data/clblas-2.12/src/library/blas/gens/trxm_common.c:37: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 strC[1024];
data/clblas-2.12/src/library/blas/gens/trxm_common.c:41: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 coordNames[2] = {'M', 'N'};
data/clblas-2.12/src/library/blas/gens/trxm_common.c:43: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 offStr[1024];
data/clblas-2.12/src/library/blas/gens/trxm_common.c:45:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *qualA[2], *qualB[2];      // type qualifiers
data/clblas-2.12/src/library/blas/gens/trxm_common.c:60:15:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        len = sprintf(offStr, ",\n    uint offset%c", coordNames[side]);
data/clblas-2.12/src/library/blas/gens/trxm_common.c:63:16:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        len += sprintf(offStr + len, ",\n    uint offset%c",
data/clblas-2.12/src/library/blas/gens/trxm_common.c:67:9:  [2] (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). Risk is low because the
  source is a constant string.
        strcat(offStr, ",\n    uint offA");
data/clblas-2.12/src/library/blas/gens/trxm_common.c:70:9:  [2] (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). Risk is low because the
  source is a constant string.
        strcat(offStr, ",\n    uint offB");
data/clblas-2.12/src/library/blas/gens/trxm_common.c:114: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[1024], addstr[1024];
data/clblas-2.12/src/library/blas/gens/trxm_common.c:117: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 coordNames[2] = {'M', 'N'};
data/clblas-2.12/src/library/blas/gens/trxm_common.c:122:15:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        len = sprintf(addstr, "offB");
data/clblas-2.12/src/library/blas/gens/trxm_common.c:184:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(buf, " + %lu", val);
data/clblas-2.12/src/library/blas/gens/trxm_common.c:195: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[1024];
data/clblas-2.12/src/library/blas/gens/trxm_common.c:196: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 stmtStr[512];
data/clblas-2.12/src/library/blas/gens/trxm_common.c:201: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 yCoordVar[64], xCoordVar[64];
data/clblas-2.12/src/library/blas/gens/xxmv_common.c:27:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(buf, "%lu", val);
data/clblas-2.12/src/library/blas/gens/xxmv_common.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 tmp[1024], strMul[128];
data/clblas-2.12/src/library/blas/gens/xxmv_common.c:135: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[2048];
data/clblas-2.12/src/library/blas/gens/xxmv_common.c:161: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[2048],strMul[256];
data/clblas-2.12/src/library/blas/gens/xxmv_common.c:176:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp,"GPtr uC;\n"
data/clblas-2.12/src/library/blas/gens/xxmv_common.c:300: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[1024];
data/clblas-2.12/src/library/blas/gens/xxmv_common.c:318: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[1024];
data/clblas-2.12/src/library/blas/gens/xxmv_common.c:321:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(tmp, "for (uint i = 1; i < %u; i++)", cLocal);
data/clblas-2.12/src/library/blas/gens/xxmv_common.c:339: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[2048];
data/clblas-2.12/src/library/blas/include/clblas-internal.h:267: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 opts[BUILD_OPTS_MAXLEN],
data/clblas-2.12/src/library/blas/init.c:197:17:  [2] (integer) atol:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		kCacheLimit = atol( tmp );
data/clblas-2.12/src/library/blas/ixamax.c:123:9:  [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(&redctnArgs, kargs, sizeof(CLBlasKargs));
data/clblas-2.12/src/library/blas/xasum.c:120:9:  [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(&redctnArgs, kargs, sizeof(CLBlasKargs));
data/clblas-2.12/src/library/blas/xdot.c:129:9:  [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(&redctnArgs, kargs, sizeof(CLBlasKargs));
data/clblas-2.12/src/library/blas/xgemm2.c:159:4:  [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(&targs, &gemm2->args, sizeof(CLBlasKargs));
data/clblas-2.12/src/library/blas/xnrm2.c:51: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(&redctnArgs, kargs, sizeof(CLBlasKargs));
data/clblas-2.12/src/library/blas/xnrm2.c:109: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(&redctnArgs, kargs, sizeof(CLBlasKargs));
data/clblas-2.12/src/library/blas/xsymm.c:166:9:  [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(&GEMMNArgs, kargs, sizeof(CLBlasKargs));
data/clblas-2.12/src/library/blas/xsymm.c:167:9:  [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(&GEMMTArgs, kargs, sizeof(CLBlasKargs));
data/clblas-2.12/src/library/blas/xsymm.c:168:9:  [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(&GEMMDArgs, kargs, sizeof(CLBlasKargs));
data/clblas-2.12/src/library/blas/xtbmv.c:110:3:  [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(newEventWaitList, eventWaitList, numEventsInWaitList*sizeof(cl_event));
data/clblas-2.12/src/library/blas/xtbsv.c:647: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(&gbmvKargs, kargs, sizeof(CLBlasKargs));
data/clblas-2.12/src/library/blas/xtrmv.c:108:3:  [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(newEventWaitList, eventWaitList, numEventsInWaitList*sizeof(cl_event));
data/clblas-2.12/src/library/blas/xtrsv.c:417:2:  [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(&gemvKargs, kargs, sizeof(CLBlasKargs));
data/clblas-2.12/src/library/common/clkern.c:238:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char *binaries[MAX_OPENCL_DEVICES];
data/clblas-2.12/src/library/common/devinfo.c:118: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 s[4096];
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:185:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char *copyMemDBlockSlowStart[2] = {
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:384: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[1024];
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:434: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[1024];
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:481: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[1024];
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:499: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[1024];
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:524: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[1024];
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:525: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 vec[64];
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:531:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(vec,"f%dv", gpriv->vecLen);
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:557: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[1024];
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:583: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[1024];
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:587:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *tmpSuff[2][4] = {
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:590:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *dstSuff[4] = {"f", "f2v", NULL, "f4v"};
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:657: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[1024];
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:750: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[1024];
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:751:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *s[2] = {"src", "dst"};
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:791: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[1024];
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:809:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "index++;\n");
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:811:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "y++;\n");
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:841: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[4096];
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:902: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[4096];
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:907:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "pLine = ((get_image_width(dst) - startX) * %d / %lu) * %lu;\n",
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:919:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "x = startX + (index * %lu) %% pLine / %u;\n", gpriv->dim->x,
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:928:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "y = startY + (index * %lu) / pLine;\n", gpriv->dim->x);
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:961:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char varPref[2] = {'G', 'L'};
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:962: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[1024];
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:964:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *s[3];
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:983:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 srcStr[1024];
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:996:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "int x, y;\n"
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:1002:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 nLinesStr[1024];
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:1003:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(nLinesStr,
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:1006:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(tmp, "int nLines, index;\n");
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:1030:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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[3][256];
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:1044:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(tmp, "int lsize = %u;\n", gsize);
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:1190:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char varPref[2] = {'G', 'L'};
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:1191: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[1024];
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:1449: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[1024];
data/clblas-2.12/src/library/common/kern_cache.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(knode->key.subdims, key->subdims, sizeof(SubproblemDim) *
data/clblas-2.12/src/library/common/kern_cache.c:372: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(kkey.key.subdims, key->subdims, sizeof(SubproblemDim) * kkey.key.nrDims);
data/clblas-2.12/src/library/common/kerngen_core.c:79:9:  [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(dst, s, len);
data/clblas-2.12/src/library/common/kerngen_core.c:178: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 blank[MAX_NESTING * TAB_WIDTH];
data/clblas-2.12/src/library/common/kerngen_core.c:493: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[MAX_STATEMENT_LENGTH];
data/clblas-2.12/src/library/common/kerngen_core.c:563: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[MAX_STATEMENT_LENGTH];
data/clblas-2.12/src/library/common/kgen_basic.c:329: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[128];
data/clblas-2.12/src/library/common/kgen_basic.c:352: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[128];
data/clblas-2.12/src/library/common/kgen_guard.c:27: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 funcName[FUNC_NAME_MAXLEN];
data/clblas-2.12/src/library/common/kgen_guard.c:128:21:  [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(fnode->pattern, pattern, guard->patSize);
data/clblas-2.12/src/library/common/kgen_loop_helper.c:36: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[1024];
data/clblas-2.12/src/library/common/md5sum.c:229:4:  [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(&ctx->buffer[used], data, size);
data/clblas-2.12/src/library/common/md5sum.c:233:3:  [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(&ctx->buffer[used], data, available);
data/clblas-2.12/src/library/common/md5sum.c:244:2:  [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(ctx->buffer, data, size);
data/clblas-2.12/src/library/common/md5sum.c:301:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char digest[16];
data/clblas-2.12/src/library/common/md5sum.c:310:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(&md5string[i*2], "%02x", (unsigned int)digest[i]);
data/clblas-2.12/src/library/common/md5sum.c:352:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char buffer[64];
data/clblas-2.12/src/library/common/md5sum.c:371:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(&md5string[i*2], "%02x", (unsigned int)digest[i]);
data/clblas-2.12/src/library/common/tests/t_dblock_kgen.c:401:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char marker[sizeof(cl_double2)];
data/clblas-2.12/src/library/common/tests/t_dblock_kgen.c:653:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *names[2]={"first", "second"};
data/clblas-2.12/src/library/common/tests/t_dblock_kgen.c:690: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 log[65536];
data/clblas-2.12/src/library/common/tests/t_dblock_kgen.c:742: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[1024];
data/clblas-2.12/src/library/common/tests/t_dblock_kgen.c:747: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 rname[128], wname[128], giname[128], liname[128];
data/clblas-2.12/src/library/common/tests/t_dblock_kgen.c:1251: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 dataType[64];
data/clblas-2.12/src/library/common/tests/t_gens_cache.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 buf[4096];
data/clblas-2.12/src/library/common/tests/t_gens_cache.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 name[64];
data/clblas-2.12/src/library/common/tests/t_gens_cache.c:181: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(key.subdims, dims, sizeof(SubproblemDim) * r);
data/clblas-2.12/src/library/common/tests/t_gens_cache.c:246: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(key.subdims, dims[i][j], sizeof(SubproblemDim) * key.nrDims);
data/clblas-2.12/src/library/common/tests/t_gens_cache.c:262:17:  [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(key.subdims, dims[i][j], sizeof(SubproblemDim) * key.nrDims);
data/clblas-2.12/src/library/common/trace_malloc.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 s[1024];
data/clblas-2.12/src/library/common/trace_malloc.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 s[1024];
data/clblas-2.12/src/library/common/trace_malloc.c:257:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 s1[1024], s2[1024];
data/clblas-2.12/src/library/tools/OCLBinaryGenerator/OCLBinaryGenerator.cpp:91:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 pbuf[100];
data/clblas-2.12/src/library/tools/OCLBinaryGenerator/OCLBinaryGenerator.cpp:108:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 pbuf[100];
data/clblas-2.12/src/library/tools/OCLBinaryGenerator/OCLBinaryGenerator.cpp:127:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 pbuf[100];
data/clblas-2.12/src/library/tools/OCLBinaryGenerator/OCLBinaryGenerator.cpp:263:16:  [2] (misc) open:
  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).
    outputFile.open((outputPath+outputFilename).c_str(), std::ios::out);
data/clblas-2.12/src/library/tools/bingen/bingen.cpp:48:10:  [2] (misc) open:
  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).
  output.open(fileName, ios::binary | ios::trunc);
data/clblas-2.12/src/library/tools/bingen/bingen.cpp:99: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 deviceName[1024];
data/clblas-2.12/src/library/tools/bingen/bingen.cpp:161: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 fileName[200];
data/clblas-2.12/src/library/tools/bingen/bingen.cpp:162: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 deviceName[1024];
data/clblas-2.12/src/library/tools/bingen/bingen.cpp:240:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 pbuf[100];
data/clblas-2.12/src/library/tools/bingen/bingen.cpp:259:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 pbuf[100];
data/clblas-2.12/src/library/tools/bingen/bingen.cpp: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 pbuf[100];
data/clblas-2.12/src/library/tools/bingen/bingen.cpp:391: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 cltFile[1024];
data/clblas-2.12/src/library/tools/bingen/bingen.cpp:402:7:  [2] (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). Risk is low because the
  source is a constant string.
      strcat(cltFile, "_64");
data/clblas-2.12/src/library/tools/bingen/bingen.cpp:404:7:  [2] (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). Risk is low because the
  source is a constant string.
      strcat(cltFile, "_32");
data/clblas-2.12/src/library/tools/bingen/bingen.cpp:405:5:  [2] (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). Risk is low because the
  source is a constant string.
    strcat(cltFile, ".bin.cl");
data/clblas-2.12/src/library/tools/ktest/main.cpp:136:16:  [2] (misc) open:
  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).
            fs.open(kernelFileName.str().c_str());
data/clblas-2.12/src/library/tools/ktest/main.cpp:149:12:  [2] (misc) open:
  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).
        fs.open(cfg.cpp().c_str());
data/clblas-2.12/src/library/tools/ktest/main.cpp:178:12:  [2] (misc) open:
  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).
        fs.open(cfg.cl().c_str());
data/clblas-2.12/src/library/tools/ktest/main.cpp:190:12:  [2] (misc) open:
  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).
        fs.open(cfg.cpp().c_str());
data/clblas-2.12/src/library/tools/ktest/main.cpp: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 platformName[64];
data/clblas-2.12/src/library/tools/ktest/main.cpp:307: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 deviceName[64];
data/clblas-2.12/src/library/tools/ktest/step.cpp:234: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(newStep, &step_, sizeof(SolutionStep));
data/clblas-2.12/src/library/tools/tplgen/tplgen.cpp:123: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 tempInputPrefix[1024];
data/clblas-2.12/src/library/tools/tplgen/tplgen.cpp:150:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 cltFile[1024];
data/clblas-2.12/src/library/tools/tune/fileio.c:172: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).
    hf->file = fopen(filename, "rb");
data/clblas-2.12/src/library/tools/tune/fileio.c:187:23:  [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).
        hf->fileLog = fopen(logName, "w");
data/clblas-2.12/src/library/tools/tune/fileio.c:191: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).
    hf->file = fopen(filename, "wb");
data/clblas-2.12/src/library/tools/tune/fileio.c:211:23:  [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).
        hf->fileLog = fopen(logName, "a");
data/clblas-2.12/src/library/tools/tune/fileio.c:216: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).
    hf->file = fopen(filename, "rb+");
data/clblas-2.12/src/library/tools/tune/storage_io.c:37: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  buffer[1024*64];
data/clblas-2.12/src/library/tools/tune/subdim.c:765: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(sdi->var[var].data, dim, size);
data/clblas-2.12/src/library/tools/tune/toolslib.c:188: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(sdim, bParam->sDim, sizeof(SubproblemDim)* MAX_SUBDIMS);
data/clblas-2.12/src/library/tools/tune/toolslib.c:189: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(pgran,&bParam->pGran, sizeof(PGranularity));
data/clblas-2.12/src/library/tools/tune/tune.c:246: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            name[65];
data/clblas-2.12/src/library/tools/tune/tune.c:330: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 format[5];
data/clblas-2.12/src/library/tools/tune/tune.c:332:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(format,"%%%uu ", w);
data/clblas-2.12/src/library/tools/tune/tune.c:334:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 format[5];
data/clblas-2.12/src/library/tools/tune/tune.c:336:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(format,"%%%uu ", w);
data/clblas-2.12/src/library/tools/tune/tune.c:340:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 format[5];
data/clblas-2.12/src/library/tools/tune/tune.c:342:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(format,"%%%us ", w);
data/clblas-2.12/src/library/tools/tune/tune.c:375:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(n,"%3dx%-2d", param->pgran.wgSize[0],
data/clblas-2.12/src/library/tools/tune/tune.c:500:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 pbuff[100];
data/clblas-2.12/src/library/tools/tune/tune.c:575: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 bopts[BUILD_OPTS_MAXLEN];
data/clblas-2.12/src/library/tools/tune/tune.c:1582: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 ((lf->f = fopen(fileName, "a+")) != NULL) {
data/clblas-2.12/src/library/tools/tune/tune.c:1690: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[1000];
data/clblas-2.12/src/library/tools/tune/tune.c:1697:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(str, "test_%d_%d_%d_%d.log",func, patt, extra.dtype, extra.flags);
data/clblas-2.12/src/library/tools/tune/tune.c:2609:32:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                        argi = atoi(argv[i]);
data/clblas-2.12/src/library/tools/tune/tune.c:2614:32:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                        argi = atoi(argv[i]);
data/clblas-2.12/src/tests/BlasBase.cpp:417: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[4096];
data/clblas-2.12/src/tests/cmdline.c:100:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                params->M = atoi(currArg);
data/clblas-2.12/src/tests/cmdline.c:104:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                params->N = atoi(currArg);
data/clblas-2.12/src/tests/cmdline.c:108:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                params->K = atoi(currArg);
data/clblas-2.12/src/tests/cmdline.c:147: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).
    sarg->params->seed = atoi(sarg->arg);
data/clblas-2.12/src/tests/cmdline.c:207:28:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    sarg->params->devOrd = atoi(sarg->arg);
data/clblas-2.12/src/tests/cmdline.c:215:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    sarg->params->platOrd = atoi(sarg->arg);
data/clblas-2.12/src/tests/cmdline.c:223: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).
    sarg->params->numCommandQueues = atoi(sarg->arg);
data/clblas-2.12/src/tests/correctness/corr-axpy.cpp:117:2:  [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(blasX, X, (lengthX + params->offBX) * sizeof(T));
data/clblas-2.12/src/tests/correctness/corr-axpy.cpp:118:2:  [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(blasY, Y, (lengthY + params->offCY) * sizeof(T));
data/clblas-2.12/src/tests/correctness/corr-copy.cpp:109:2:  [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(clblasY, blasY, (lengthY + params->offCY)* sizeof(*blasY));
data/clblas-2.12/src/tests/correctness/corr-gbmv.cpp:130: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(clblasY, blasY, (lengthY + params->offCY)* sizeof(*blasY));
data/clblas-2.12/src/tests/correctness/corr-gemm.cpp:109: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(clblasC, blasC, params->rowsC * params->columnsC * sizeof(*blasC));
data/clblas-2.12/src/tests/correctness/corr-gemm2.cpp:126: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(clblasC, blasC, params->rowsC * params->columnsC * sizeof(*blasC));
data/clblas-2.12/src/tests/correctness/corr-gemv.cpp:133: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(clblasC, blasC, params->rowsC * params->columnsC * sizeof(*clblasC));
data/clblas-2.12/src/tests/correctness/corr-ger.cpp:136: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(backA, A, (lengthA + params->offa) * sizeof(T));
data/clblas-2.12/src/tests/correctness/corr-gerc.cpp:136: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(backA, A, (lengthA + params->offa) * sizeof(T));
data/clblas-2.12/src/tests/correctness/corr-hbmv.cpp:125: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(clblasY, blasY, (lengthY + params->offCY)* sizeof(*blasY));
data/clblas-2.12/src/tests/correctness/corr-hemm.cpp:146:2:  [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(backC, C, (lengthC + params->offCY) * sizeof(T));
data/clblas-2.12/src/tests/correctness/corr-hemv.cpp:134: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(clblasY, blasY, (lengthY + params->offCY)* sizeof(*blasY));
data/clblas-2.12/src/tests/correctness/corr-her.cpp:105: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(backA, A, (lengthA + params->offa)* sizeof(*A));
data/clblas-2.12/src/tests/correctness/corr-her2.cpp:122: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(clblasA, blasA, (lengthA + params->offa)* sizeof(*blasA));
data/clblas-2.12/src/tests/correctness/corr-her2k.cpp:115: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(clblasC, blasC, params->rowsC * params->columnsC * sizeof(*blasC));
data/clblas-2.12/src/tests/correctness/corr-herk.cpp:124: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(clblasC, blasC, params->rowsC * params->columnsC * sizeof(*blasC));
data/clblas-2.12/src/tests/correctness/corr-hpmv.cpp:123: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(clblasY, blasY, (lengthY + params->offCY)* sizeof(*blasY));
data/clblas-2.12/src/tests/correctness/corr-hpr.cpp:104: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(backA, AP, (lengthAP + params->offa)* sizeof(T));
data/clblas-2.12/src/tests/correctness/corr-hpr2.cpp:122: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(clblasAP, blasAP, (lengthAP + params->offa)* sizeof(*blasAP));
data/clblas-2.12/src/tests/correctness/corr-rot.cpp:121: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(back_X, X, (lengthx + params->offa) * sizeof(T));
data/clblas-2.12/src/tests/correctness/corr-rot.cpp:122: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(back_Y, Y, (lengthy + params->offb) * sizeof(T));
data/clblas-2.12/src/tests/correctness/corr-rotm.cpp:135: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(back_X, X, (lengthx + params->offa)*sizeof(T));
data/clblas-2.12/src/tests/correctness/corr-rotm.cpp:136: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(back_Y, Y, (lengthy + params->offb)*sizeof(T));
data/clblas-2.12/src/tests/correctness/corr-rotm.cpp:137: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(back_PARAM, PARAM, (params->offc + 5)*sizeof(T));
data/clblas-2.12/src/tests/correctness/corr-rotmg.cpp:144: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(back_X, X, (1 + params->offBX)*sizeof(T));
data/clblas-2.12/src/tests/correctness/corr-rotmg.cpp:145: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(back_Y, Y, (1 + params->offCY)*sizeof(T));
data/clblas-2.12/src/tests/correctness/corr-rotmg.cpp:146: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(back_D1, D1, (1 + params->offa)*sizeof(T));
data/clblas-2.12/src/tests/correctness/corr-rotmg.cpp:147: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(back_D2, D2, (1 + params->offb)*sizeof(T));
data/clblas-2.12/src/tests/correctness/corr-rotmg.cpp:148: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(back_PARAM, PARAM, (params->offc + 5)*sizeof(T));
data/clblas-2.12/src/tests/correctness/corr-sbmv.cpp:124: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(clblasY, blasY, (lengthY + params->offCY)* sizeof(*blasY));
data/clblas-2.12/src/tests/correctness/corr-scal.cpp:100: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(clblasX, blasX, (lengthX + params->offBX)* sizeof(*blasX));
data/clblas-2.12/src/tests/correctness/corr-spmv.cpp:123: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(clblasY, blasY, (lengthY + params->offCY)* sizeof(*blasY));
data/clblas-2.12/src/tests/correctness/corr-spr.cpp:125: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(clblasAP, blasAP, (lengthAP + params->offa)* sizeof(*blasAP));
data/clblas-2.12/src/tests/correctness/corr-spr2.cpp:118: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(clblasAP, blasAP, (lengthAP + params->offa)* sizeof(*blasAP));
data/clblas-2.12/src/tests/correctness/corr-swap.cpp:115:2:  [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(blasX, X, (lengthX + params->offBX) * sizeof(T));
data/clblas-2.12/src/tests/correctness/corr-swap.cpp:116:2:  [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(blasY, Y, (lengthY + params->offCY) * sizeof(T));
data/clblas-2.12/src/tests/correctness/corr-symm.cpp:153: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(backC, C, (lengthC + params->offc) * sizeof(T));
data/clblas-2.12/src/tests/correctness/corr-symv.cpp:125: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(clblasC, blasC, params->rowsC * params->columnsC * sizeof(*clblasC));
data/clblas-2.12/src/tests/correctness/corr-syr.cpp:139: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(clblasA, blasA, (lengthA + params->offa)* sizeof(*blasA));
data/clblas-2.12/src/tests/correctness/corr-syr2.cpp:118: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(clblasA, blasA, (lengthA + params->offa)* sizeof(*blasA));
data/clblas-2.12/src/tests/correctness/corr-syr2k.cpp:130: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(clblasC, blasC, params->rowsC * params->columnsC * sizeof(*blasC));
data/clblas-2.12/src/tests/correctness/corr-syrk.cpp:123: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(clblasC, blasC, params->rowsC * params->columnsC * sizeof(*blasC));
data/clblas-2.12/src/tests/correctness/corr-tbmv.cpp:114: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(clblasX, blasX, (lengthX + params->offBX)* sizeof(*blasX));
data/clblas-2.12/src/tests/correctness/corr-tbsv.cpp:124: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(clblasX, blasX, (lengthX + params->offBX)* sizeof(*blasX));
data/clblas-2.12/src/tests/correctness/corr-tpmv.cpp:125: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(clblasX, blasX, (lengthX + params->offBX)* sizeof(*blasX));
data/clblas-2.12/src/tests/correctness/corr-tpsv.cpp:124: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(backX, blasX, (lengthX + params->offBX) * sizeof(T));
data/clblas-2.12/src/tests/correctness/corr-trmm.cpp:99: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(clblasB, blasB, params->rowsB * params->columnsB * sizeof(*blasB));
data/clblas-2.12/src/tests/correctness/corr-trmv.cpp:125: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(clblasX, blasX, (lengthX + params->offBX)* sizeof(*blasX));
data/clblas-2.12/src/tests/correctness/corr-trsm.cpp:106: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(blasB, B, params->rowsB * params->columnsB * sizeof(*B));
data/clblas-2.12/src/tests/correctness/corr-trsm.cpp:107: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(clblasB, B, params->rowsB * params->columnsB * sizeof(*B));
data/clblas-2.12/src/tests/correctness/corr-trsm.cpp:365: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(blasB, B, N*ldb*sizeof(T));
data/clblas-2.12/src/tests/correctness/corr-trsm.cpp:366: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(clblasB, B, N*ldb*sizeof(T));
data/clblas-2.12/src/tests/correctness/corr-trsv.cpp:124: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(backX, blasX, (lengthX + params->offBX) * sizeof(T));
data/clblas-2.12/src/tests/functional/func-images.cpp:56: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[100];
data/clblas-2.12/src/tests/functional/func-images.cpp:80:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf (str, "%i", i);
data/clblas-2.12/src/tests/functional/func.h:220:9:  [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(A, source.A, size * size * sizeof(TYPE));
data/clblas-2.12/src/tests/functional/func.h:224:9:  [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(B, source.B, size * size * sizeof(TYPE));
data/clblas-2.12/src/tests/functional/func.h:228:9:  [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(C, source.C, size * size * sizeof(TYPE));
data/clblas-2.12/src/tests/functional/func.h:233:9:  [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(AP, source.AP, ((size * (size+1)) /2 )* sizeof(TYPE));
data/clblas-2.12/src/tests/functional/func.h:237:9:  [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, source.X, size * sizeof(TYPE));
data/clblas-2.12/src/tests/functional/func.h:241:9:  [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(Y, source.Y, size * sizeof(TYPE));
data/clblas-2.12/src/tests/performance/TrxmPerformanceTest.cpp:241: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(B_, backB_, params_.rowsB * params_.columnsB *
data/clblas-2.12/src/tests/performance/perf-axpy.cpp:209: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(blasX_, X_, (lengthX + params_.offBX)* sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-axpy.cpp:210: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(blasY_, Y_, (lengthY + params_.offCY)* sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-copy.cpp:186: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(backY_, blasY_, (lengthY + params_.offCY)* sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-gbmv.cpp:214: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(backY_, Y_, lenY * sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-gbmv.cpp:235: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(Y_, backY_, lenY * sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-gemm.cpp:238: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(C_, backC_, params_.rowsC * params_.columnsC * sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-gemm2.cpp:264: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(C_, backC_, params_.rowsC * params_.columnsC * sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-gemv.cpp:234: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(C_, backC_, params_.rowsC * params_.columnsC * sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-ger.cpp: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(backA_, A_, (lengthA + params_.offa)* sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-gerc.cpp:221:9:  [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(backA_, A_, (lengthA + params_.offa)* sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-hbmv.cpp:207: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(backY_, Y_, lenY * sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-hbmv.cpp: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(Y_, backY_, lenY * sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-hemm.cpp:222:2:  [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( backC_, C_, (kbc * params_.ldc + params_.offCY) * sizeof(ElemType) );
data/clblas-2.12/src/tests/performance/perf-hemv.cpp:205:2:  [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(backY_, Y_, (lenY+ params_.offCY )* sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-her.cpp:185:2:  [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(backA_, A_, ((params_.N * params_.lda + params_.offa)* sizeof(ElemType)));
data/clblas-2.12/src/tests/performance/perf-her2.cpp:200:2:  [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(backA_, A_, ((params_.N * params_.lda + params_.offa)* sizeof(ElemType)));
data/clblas-2.12/src/tests/performance/perf-her2k.cpp:233: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(C_, backC_, params_.rowsC * params_.columnsC * sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-herk.cpp: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(C_, backC_, params_.rowsC * params_.columnsC * sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-hpmv.cpp:205:2:  [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(backY_, Y_, (lenY+ params_.offCY )* sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-hpr.cpp:180:2:  [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(backAP_, AP_, ((( ( params_.N*( params_.N + 1 ) )/2 )+ params_.offa)* sizeof(ElemType)));
data/clblas-2.12/src/tests/performance/perf-hpr2.cpp:204:2:  [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(backAP_, AP_, ((((params_.N * (params_.N + 1))/2) + params_.offa)* sizeof(ElemType)));
data/clblas-2.12/src/tests/performance/perf-rot.cpp:217: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(back_X_, X_, (lengthx + params_.offa)*sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-rot.cpp: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(back_Y_, Y_, (lengthy + params_.offb)*sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-rotm.cpp:238: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(back_X_, X_, (lengthx + params_.offa)*sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-rotm.cpp:239: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(back_Y_, Y_, (lengthy + params_.offb)*sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-rotm.cpp:240: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(back_PARAM_, PARAM_, (params_.offc)*sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-rotmg.cpp:264: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(back_D1_, D1_, (1 + params_.offa)*sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-rotmg.cpp:265: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(back_D2_, D2_, (1 + params_.offb)*sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-rotmg.cpp:266: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(back_X_, X_, (1 + params_.offBX)*sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-rotmg.cpp:267: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(back_Y_, Y_, (1 + params_.offCY)*sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-rotmg.cpp:268: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(back_PARAM_, PARAM_, (5 + params_.offc)*sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-sbmv.cpp:214: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(backY_, Y_, lenY * sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-sbmv.cpp:234: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(Y_, backY_, lenY * sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-scal.cpp:182: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(backX_, X_, (lengthX + params_.offBX)* sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-spmv.cpp:205:2:  [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(backY_, Y_, (lenY+ params_.offCY )* sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-spr.cpp:200:2:  [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(backAP_, AP_, ((( ( params_.N*( params_.N + 1 ) )/2 )+ params_.offa)* sizeof(ElemType)));
data/clblas-2.12/src/tests/performance/perf-spr2.cpp:200:2:  [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(backAP_, AP_, (((( params_.N*( params_.N + 1 ) )/2 )+ params_.offa)* sizeof(ElemType)));
data/clblas-2.12/src/tests/performance/perf-swap.cpp:204: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(blasX_, X_, (lengthX + params_.offBX)* sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-swap.cpp:205: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(blasY_, Y_, (lengthY + params_.offCY)* sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-symm.cpp:232:2:  [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( backC_, C_, (kbc * params_.ldc + params_.offc) * sizeof(ElemType) );
data/clblas-2.12/src/tests/performance/perf-symv.cpp:241: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(C_, backC_, params_.rowsC * params_.columnsC * sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-syr.cpp:203:2:  [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(backA_, A_, ((params_.N * params_.lda + params_.offa)* sizeof(ElemType)));
data/clblas-2.12/src/tests/performance/perf-syr2.cpp:203:2:  [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(backA_, A_, ((params_.N * params_.lda + params_.offa)* sizeof(ElemType)));
data/clblas-2.12/src/tests/performance/perf-syr2k.cpp:229: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(C_, backC_, params_.rowsC * params_.columnsC * sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-syrk.cpp: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(C_, backC_, params_.rowsC * params_.columnsC * sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-tbmv.cpp:191: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(backX_, X_, lenX * sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-tbmv.cpp:212: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(X_, backX_, lenX * sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-tbsv.cpp:193: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(backX_, X_, lenX * sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-tbsv.cpp:214: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(X_, backX_, lenX * sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-tpmv.cpp:208:6:  [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(backX_, X_, ((1 + (params_.N-1) * abs(params_.incx))+ params_.offBX )* sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-tpsv.cpp:190: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(backX_, X_, lenX * sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-tpsv.cpp:211: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(X_, backX_, ((1 + ((params_.N-1) * abs(params_.incx)))+params_.offBX) * sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-trmv.cpp:212:6:  [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(backX_, X_, ((1 + (params_.N-1) * abs(params_.incx))+ params_.offBX )* sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-trsv.cpp:189: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(backX_, X_, lenX * sizeof(ElemType));
data/clblas-2.12/src/tests/performance/perf-trsv.cpp:212: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(X_, backX_, ((1 + ((params_.N-1) * abs(params_.incx)))+params_.offBX) * sizeof(ElemType));
data/clblas-2.12/src/tests/performance/test-performance.cpp:1224:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *message[2] = {
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/AutoGemmPreCompileKernels.cpp:603:28:  [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).
  size_t pathLength = std::strlen(argv[1]);
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/ProfileAutoGemm.cpp:250:9:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    if (mismatch) {
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/ProfileAutoGemm.cpp:279:12:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    return mismatch;
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/ProfileAutoGemm.cpp:361: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).
    size_t kernelBinarySize = strlen((char *)*kernelBinary);
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/ProfileAutoGemm.cpp:460:24:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
                return equal;
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/ProfileAutoGemm.cpp:465:12:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    return equal;
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/TestAutoGemm.cpp:148:24:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
                return equal;
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/TestAutoGemm.cpp:153:12:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    return equal;
data/clblas-2.12/src/library/blas/AutoGemm/AutoGemmTools/TestAutoGemm.cpp:716:9:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    if (equal) {
data/clblas-2.12/src/library/blas/functor/gcn_dgemmCommon.cc:927:48:  [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).
  bl.variantRaw( this->m_variant->kernel_name, strlen(this->m_variant->kernel_name)+1 ) ;
data/clblas-2.12/src/library/blas/functor/gcn_dgemmSmallMatrices.cc:378:48:  [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).
  bl.variantRaw( this->m_variant->kernel_name, strlen(this->m_variant->kernel_name)+1 ) ;
data/clblas-2.12/src/library/blas/functor/gcn_sgemm.cc:410:48:  [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).
  bl.variantRaw( this->m_variant->kernel_name, strlen(this->m_variant->kernel_name)+1 ) ;
data/clblas-2.12/src/library/blas/functor/gcn_sgemmSmallMatrices.cc:389:48:  [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).
  bl.variantRaw( this->m_variant->kernel_name, strlen(this->m_variant->kernel_name)+1 ) ;
data/clblas-2.12/src/library/blas/functor/gcn_zgemm.cc:210:48:  [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).
  bl.variantRaw( this->m_variant->kernel_name, strlen(this->m_variant->kernel_name)+1 ) ;
data/clblas-2.12/src/library/blas/functor/hawaii_dgemmChannelConflict.cc:86:48:  [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).
  bl.variantRaw( this->m_variant->kernel_name, strlen(this->m_variant->kernel_name)+1 ) ;
data/clblas-2.12/src/library/blas/functor/hawaii_dgemmSplitKernel.cc:401:53:  [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).
  bl.variantRaw( this->m_variantSplit->variantName, strlen(this->m_variantSplit->variantName)+1 ) ;
data/clblas-2.12/src/library/blas/functor/hawaii_sgemmBig1024Kernel.cc:205:54:  [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).
  bl.variantRaw(this->m_variantBig1024->variantName, strlen(this->m_variantBig1024->variantName) + 1);
data/clblas-2.12/src/library/blas/functor/hawaii_sgemmBranchKernel.cc:255:54:  [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).
  bl.variantRaw( this->m_variantBranch->variantName, strlen(this->m_variantBranch->variantName)+1 ) ;
data/clblas-2.12/src/library/blas/functor/hawaii_sgemmSplit64_32.cc:223:53:  [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).
  bl.variantRaw( this->m_variantSplit->variantName, strlen(this->m_variantSplit->variantName)+1 ) ;
data/clblas-2.12/src/library/blas/functor/hawaii_sgemmSplitKernel.cc:586:53:  [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).
  bl.variantRaw( this->m_variantSplit->variantName, strlen(this->m_variantSplit->variantName)+1 ) ;
data/clblas-2.12/src/library/blas/generic/binary_lookup.cc:269:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    file.read ((char*)&this->m_header, sizeof(Header));
data/clblas-2.12/src/library/blas/generic/binary_lookup.cc:287:40:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        const std::istream& res = file.read((char*)this->m_binary, this->m_header.binary_size);
data/clblas-2.12/src/library/blas/generic/binary_lookup.cc:294:40:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        const std::istream& res = file.read((char*)this->m_signature, this->m_header.signature_size);
data/clblas-2.12/src/library/blas/generic/common.c:116:14:  [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).
        p += strlen(p);
data/clblas-2.12/src/library/blas/generic/common.c:178:16:  [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).
        buf += strlen(buf);
data/clblas-2.12/src/library/blas/generic/common.c:187:12:  [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).
    buf += strlen(buf);
data/clblas-2.12/src/library/blas/generic/common.c:559:16:  [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).
    size_t l = strlen(opts);
data/clblas-2.12/src/library/blas/generic/common.c:567:5:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
    strncat(opts, option, len - l - 1);
data/clblas-2.12/src/library/blas/generic/common.c:580:12:  [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).
    buf += strlen(buf);
data/clblas-2.12/src/library/blas/generic/kdump.c:95:13:  [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).
    name += strlen(name);
data/clblas-2.12/src/library/blas/generic/kdump.c:110:13:  [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).
    name += strlen(name);
data/clblas-2.12/src/library/blas/generic/kdump.c:113:17:  [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).
        name += strlen(name);
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:216: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).
        p = tmp + strlen(tmp);
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:219:18:  [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).
            p += strlen(p);
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:830:15:  [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).
    p = tmp + strlen(tmp);
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:892:13:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
            sprintf(tmp, "\n");
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:912:18:  [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).
            p += strlen(offStr);
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:919:13:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
            sprintf(tmp, "\n");
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:1000: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).
            for (i = 3; i < strlen(tmpcachedName); i++) {
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:1105:14:  [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).
        p += strlen(p);
data/clblas-2.12/src/library/blas/gens/blas_kgen.c:1108:18:  [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).
            p += strlen(p);
data/clblas-2.12/src/library/blas/gens/gemm_cached.cpp:395: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).
    size_t tail = strlen(buf) + 1;
data/clblas-2.12/src/library/blas/gens/gemm_tail_cached.cpp:392: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).
    size_t tail = strlen(buf) + 1;
data/clblas-2.12/src/library/blas/gens/gen_helper.c:210:58:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        findGenerateFunction(guard, &pattern, funcNames->read[mrole],
data/clblas-2.12/src/library/blas/gens/gen_helper.h:63:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    char read[MATRIX_ROLES_NUMBER][FUNC_NAME_MAXLEN];
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:65:24:  [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).
    knownLength = (int)strlen(key);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:69:18:  [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).
        l = (int)strlen((*t).key);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:182: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).
        if (derivedType[strlen(derivedType) -1] == '2')
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:184: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).
            derivedType[strlen(derivedType) -1] = '\0';
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:347:37:  [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( size_t i=0 ; i <= (strlen(tok) - 1); i++)
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:456: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).
    *_src = ptr + strlen(ptr) + 1;
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:522: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).
    *_src = ptr + strlen(ptr) + 1;
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:597: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).
    *_src = ptr + strlen(ptr) + 1;
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:709: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).
    *_src = ptr + strlen(ptr) + 1;
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:789: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).
    *_src = ptr + strlen(ptr) + 1;
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:850: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).
    *_src = ptr + strlen(ptr) + 1;
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:918: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).
    *_src = ptr + strlen(ptr) + 1;
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1008: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).
    *_src = ptr + strlen(ptr) + 1;
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1076: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).
    *_src = id3 + strlen(id3) + 1;
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1111: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).
    *_src = id1 + strlen(id1) + 1;
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1150: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).
    *_src = ptr + strlen(ptr) + 1;
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1173: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).
    *_src = ptr + strlen(ptr) + 1;
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1212: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).
    *_src = ptr + strlen(ptr) + 1;
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1251: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).
    *_src = ptr + strlen(ptr) + 1;
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1300: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).
    *_src = ptr + strlen(ptr) + 1;  // 'src' string parsing is over at this point
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1342:35:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
                numCharsWritten = sprintf(dst,")");
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1388:35:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
                numCharsWritten = sprintf(dst,")");
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1426: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).
    *_src = ptr + strlen(ptr) + 1;
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1441:35:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
                numCharsWritten = sprintf(dst,")");
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1458:35:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
                numCharsWritten = sprintf(dst,")");
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1483: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).
    *_src = ptr + strlen(ptr) + 1;
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1498:35:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
                numCharsWritten = sprintf(dst,")");
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1515:35:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
                numCharsWritten = sprintf(dst,")");
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1545: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).
    *_src = ptr + strlen(ptr) + 1;
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1590: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).
    *_src = ptr + strlen(ptr) + 1;
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1615: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).
    *_src = ptr + strlen(ptr) + 1;
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1645:26:  [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).
        start = (*src) + strlen("%VFOR");
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1647:26:  [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).
        start = (*src) + strlen("%VFOR_REAL");
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1720:17:  [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).
        *dst += strlen(vforGeneratedBody);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:1764: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).
    *_src = ptr + strlen(ptr) + 1;  // 'src' string parsing is over at this point
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:2071: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).
    *_src = ptr + strlen(ptr) + 1;
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:2250:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(key) > maxKeySize)
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:2252:22:  [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).
        maxKeySize = strlen(key);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:2271:28:  [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).
            length += (int)strlen(f.value);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:2272:20:  [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).
            src += strlen(f.key);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:2295:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(dst, f.value, strlen(f.value));
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:2295:39:  [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).
                strncpy(dst, f.value, strlen(f.value));
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:2296:24:  [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).
                dst += strlen(f.value);
data/clblas-2.12/src/library/blas/gens/kprintf.cpp:2297:24:  [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).
                src += strlen(f.key);
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:212:41:  [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).
                        char *p = dst + strlen(dst);
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:214: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).
                        p = dst + strlen(dst);
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:326:13:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
            sprintf(tmp, "\n");
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:344:18:  [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).
            p += strlen(offStr);
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:351:13:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
            sprintf(tmp, "\n");
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:440: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).
            for (i = 3; i < strlen(tmpcachedName); i++) {
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:538:14:  [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).
        p += strlen(p);
data/clblas-2.12/src/library/blas/gens/legacy/blas_kgen_legacy.c:541:18:  [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).
            p += strlen(p);
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:490:21:  [1] (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 character.
                    strcpy(vecChunk, "");
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:494:21:  [1] (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 character.
                    strcpy(vecChunk, ".");
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:495:21:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
                    strncat(vecChunk, &vect[vecOff], k);
data/clblas-2.12/src/library/blas/gens/legacy/blkmul.c:618:5:  [1] (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 character.
    strcpy(s, "");
data/clblas-2.12/src/library/blas/gens/legacy/gemm_img.c:332:13:  [1] (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 character.
            strcpy(conjStr, "");
data/clblas-2.12/src/library/blas/gens/legacy/gemm_img.c:380:13:  [1] (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 character.
            strcpy(conjStr, "");
data/clblas-2.12/src/library/blas/gens/legacy/gemm_img.c:596:14:  [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).
        p += strlen(p);
data/clblas-2.12/src/library/blas/gens/legacy/gemm_lds.c:184:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                copyFuncs->read[MATRIX_A], coordName[tra], coordName[1 - tra]);
data/clblas-2.12/src/library/blas/gens/legacy/gemm_lds.c:201:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                copyFuncs->read[MATRIX_A], coordName[tra], coordName[1 - tra],
data/clblas-2.12/src/library/blas/gens/legacy/gemm_lds.c:232:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                copyFuncs->read[MATRIX_B], coordName[trb],
data/clblas-2.12/src/library/blas/gens/legacy/gemm_lds.c:250:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                copyFuncs->read[MATRIX_B], coordName[trb], coordName[1 - trb],
data/clblas-2.12/src/library/blas/gens/legacy/tests/t_blkmul.c:180:13:  [1] (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 character.
            strcpy(imgXA, "0");
data/clblas-2.12/src/library/blas/gens/legacy/tests/t_blkmul.c:195:13:  [1] (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 character.
            strcpy(imgXB, "0");
data/clblas-2.12/src/library/blas/gens/legacy/trmm_img.c:123:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        memcpy(bufFuncs->read[MATRIX_A],
data/clblas-2.12/src/library/blas/gens/legacy/trmm_img.c:130:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        memcpy(bufFuncs->read[MATRIX_A],
data/clblas-2.12/src/library/blas/gens/legacy/trmm_img.c:665:14:  [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).
        p += strlen(p);
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:236:44:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        sprintf(tmp, readBlock, copyFuncs->read[MATRIX_A], c);
data/clblas-2.12/src/library/blas/gens/legacy/trsm_cached_lds.c:241:49:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                dim->y, dim->bwidth, copyFuncs->read[MATRIX_A], c,
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:284:44:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        sprintf(tmp, readBlock, copyFuncs->read[MATRIX_A], c);
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:289:49:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                dim->y, dim->bwidth, copyFuncs->read[MATRIX_A], c,
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:556:44:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        sprintf(tmp, readBlock, copyFuncs->read[MATRIX_B], c);
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:562:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                copyFuncs->read[MATRIX_B], c, zeroFuncs->names[MATRIX_B], c,
data/clblas-2.12/src/library/blas/gens/legacy/trsm_img.c:651:14:  [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).
        p += strlen(p);
data/clblas-2.12/src/library/blas/gens/legacy/trsm_lds.c:206:44:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        sprintf(tmp, readBlock, copyFuncs->read[MATRIX_A], c);
data/clblas-2.12/src/library/blas/gens/legacy/trsm_lds.c:211:49:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                dim->y, dim->bwidth, copyFuncs->read[MATRIX_A], c,
data/clblas-2.12/src/library/blas/gens/legacy/trsm_lds.c:238:44:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        sprintf(tmp, readBlock, copyFuncs->read[MATRIX_B], c);
data/clblas-2.12/src/library/blas/gens/legacy/trsm_lds.c:243:49:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                dim->x, dim->bwidth, copyFuncs->read[MATRIX_B], c,
data/clblas-2.12/src/library/blas/gens/legacy/trxm_common_legacy.c:98:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                copyFuncs->read[MATRIX_A], coordName[tra], coordName[1 - tra]);
data/clblas-2.12/src/library/blas/gens/legacy/trxm_common_legacy.c:115:41:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                dim->bwidth, copyFuncs->read[MATRIX_A], coordName[tra],
data/clblas-2.12/src/library/blas/gens/legacy/trxm_common_legacy.c:145:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                copyFuncs->read[MATRIX_B], coordName[trb],
data/clblas-2.12/src/library/blas/gens/legacy/trxm_common_legacy.c:163:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                copyFuncs->read[MATRIX_B], coordName[trb], coordName[1 - trb],
data/clblas-2.12/src/library/blas/gens/legacy/trxm_common_legacy.c:186:5:  [1] (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 character.
    strcpy(tmp1, "");
data/clblas-2.12/src/library/blas/gens/symm_cached.cpp:214: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).
   	size_t tail = strlen(buf) + 1;
data/clblas-2.12/src/library/blas/gens/syrxk.c:316:13:  [1] (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 character.
            strcpy(dstPtr, "C");
data/clblas-2.12/src/library/blas/gens/syrxk.c:366:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (strlen(madExpr.buf) <= 1) {
data/clblas-2.12/src/library/blas/gens/syrxk.c:720:17:  [1] (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 character.
                strcpy(end, "N");
data/clblas-2.12/src/library/blas/gens/syrxk.c:1537:14:  [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).
    p = s1 + strlen(s1);
data/clblas-2.12/src/library/blas/gens/syrxk.c:1553:18:  [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).
            p += strlen(offStr);
data/clblas-2.12/src/library/blas/gens/syrxk.c:1559:18:  [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).
        p = s1 + strlen(s1);
data/clblas-2.12/src/library/blas/gens/tile.c:106: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).
    assert(baseName == NULL || strlen(baseName) <= MAX_TILE_BASE_NAMELEN);
data/clblas-2.12/src/library/blas/gens/tile.c:251: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).
        p = tmp + strlen(tmp);
data/clblas-2.12/src/library/blas/gens/tile.c:254:18:  [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).
            p += strlen(p);
data/clblas-2.12/src/library/blas/gens/tile.c:334:16:  [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).
    len = (int)strlen(str->buf);
data/clblas-2.12/src/library/blas/gens/tilemul.c:129: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).
        p = expr->buf + strlen(expr->buf);
data/clblas-2.12/src/library/blas/gens/tilemul.c:138: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).
        i = (unsigned int)strlen(p) - 1;
data/clblas-2.12/src/library/blas/gens/tilemul.c:161:18:  [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).
        i = (int)strlen(src->buf) - 1;
data/clblas-2.12/src/library/blas/gens/trsm.c:625: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).
    p = hitCond + strlen(hitCond);
data/clblas-2.12/src/library/blas/gens/xxmv_common.c:41:17:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
                sprintf(buf, "0"); //zero length string
data/clblas-2.12/src/library/common/gens/dblock_kgen.c:529:9:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
        sprintf(vec,"f");
data/clblas-2.12/src/library/common/kerngen_core.c:76:11:  [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).
    len = strlen(s);
data/clblas-2.12/src/library/common/kerngen_core.c:143:16:  [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).
        slen = strlen(str);
data/clblas-2.12/src/library/common/kerngen_core.c:160:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(ctx->buf + ctx->currLen, str, cplen);
data/clblas-2.12/src/library/common/kerngen_core.c:348:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(dbuf, fnName, len);
data/clblas-2.12/src/library/common/kerngen_core.c:409:15:  [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).
        len = strlen(ctx->lastFname);
data/clblas-2.12/src/library/common/kerngen_core.c:411:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(buf, ctx->lastFname, len);
data/clblas-2.12/src/library/common/kgen_basic.c:390:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(kstr->buf, str, sizeof(kstr->buf));
data/clblas-2.12/src/library/common/kgen_basic.c:419:16:  [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).
    len = (int)strlen(kstr->buf);
data/clblas-2.12/src/library/common/kgen_guard.c:146:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(name, fnode->funcName, nameLen);
data/clblas-2.12/src/library/common/tests/t_gens_cache.c:128:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (s != strlen(strcpyImpl)) {
data/clblas-2.12/src/library/common/trace_malloc.c:73:48:  [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).
    return mtnode->size + sizeof(MtraceNode) + strlen(mtnode->file) + 1;
data/clblas-2.12/src/library/tools/bingen/bingen.cpp:67:26:  [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).
  size_t sourceSize[] = {strlen(source)};
data/clblas-2.12/src/library/tools/tplgen/tplgen.cpp:58:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(!file.read(fileContents, fileSize))
data/clblas-2.12/src/library/tools/tplgen/tplgen.cpp:154:13:  [1] (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). Risk is low because the
  source is a constant character.
            strcat(cltFile, "/");
data/clblas-2.12/src/library/tools/tplgen/tplgen.cpp:156:13:  [1] (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). Risk is low because the
  source is a constant character.
            strcat(cltFile, "\\" );
data/clblas-2.12/src/library/tools/tplgen/tplgen.cpp:159:9:  [1] (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). Risk is low because the
  source is a constant character.
        strcat(cltFile, "T");
data/clblas-2.12/src/library/tools/tune/fileio.c:122:16:  [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).
    pathSize = strlen(path);
data/clblas-2.12/src/library/tools/tune/fileio.c:123:16:  [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).
    nameSize = strlen(name);
data/clblas-2.12/src/library/tools/tune/fileio.c:124:16:  [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).
    extSize  = strlen(ext);
data/clblas-2.12/src/library/tools/tune/fileio.c:138:5:  [1] (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). Risk is low because the
  source is a constant character.
    strcat(fname, ".");
data/clblas-2.12/src/library/tools/tune/fileio.c:368:41:  [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).
    unsigned int strLen = (unsigned int)strlen(buff);
data/clblas-2.12/src/library/tools/tune/storage_io.c:42:21:  [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).
	int nameLen = (int)strlen(name);
data/clblas-2.12/src/library/tools/tune/storage_io.c:84:38:  [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).
    unsigned int len = (unsigned int)strlen(bPatt->name) + 1;
data/clblas-2.12/src/library/tools/tune/storage_io.c:296:41:  [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).
    status =  hfReadConst(file, FileID, strlen(FileID));
data/clblas-2.12/src/library/tools/tune/storage_io.c:311:37:  [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).
    status =  hfWrite(file, FileID, strlen(FileID));
data/clblas-2.12/src/library/tools/tune/storage_io.c:453:21:  [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).
    pos += (POSFILE)strlen(FileID);
data/clblas-2.12/src/library/tools/tune/storage_io.c:632: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).
    len = (unsigned int)strlen(bPatt->name) + 1;
data/clblas-2.12/src/library/tools/tune/tune.c:356:5:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
    sprintf(n,":");
data/clblas-2.12/src/library/tools/tune/tune.c:2356:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    if( 0 == strlen( envImpl ) ||
data/clblas-2.12/src/library/tools/tune/tune.c:2357:44:  [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).
                        pRest != envImpl + strlen(envImpl) ){

ANALYSIS SUMMARY:

Hits = 2392
Lines analyzed = 235140 in approximately 6.03 seconds (39002 lines/second)
Physical Source Lines of Code (SLOC) = 166411
Hits@level = [0] 1550 [1] 176 [2] 1113 [3] 278 [4] 825 [5]   0
Hits@level+ = [0+] 3942 [1+] 2392 [2+] 2216 [3+] 1103 [4+] 825 [5+]   0
Hits/KSLOC@level+ = [0+] 23.6883 [1+] 14.374 [2+] 13.3164 [3+] 6.62817 [4+] 4.9576 [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.