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/astra-toolbox-1.8.3/cuda/2d/algo.h
Examining data/astra-toolbox-1.8.3/cuda/2d/arith.h
Examining data/astra-toolbox-1.8.3/cuda/2d/astra.h
Examining data/astra-toolbox-1.8.3/cuda/2d/cgls.h
Examining data/astra-toolbox-1.8.3/cuda/2d/darthelper.h
Examining data/astra-toolbox-1.8.3/cuda/2d/dims.h
Examining data/astra-toolbox-1.8.3/cuda/2d/em.h
Examining data/astra-toolbox-1.8.3/cuda/2d/fan_bp.h
Examining data/astra-toolbox-1.8.3/cuda/2d/fan_fp.h
Examining data/astra-toolbox-1.8.3/cuda/2d/fbp_filters.h
Examining data/astra-toolbox-1.8.3/cuda/2d/fft.h
Examining data/astra-toolbox-1.8.3/cuda/2d/par_bp.h
Examining data/astra-toolbox-1.8.3/cuda/2d/par_fp.h
Examining data/astra-toolbox-1.8.3/cuda/2d/sart.h
Examining data/astra-toolbox-1.8.3/cuda/2d/sirt.h
Examining data/astra-toolbox-1.8.3/cuda/2d/util.h
Examining data/astra-toolbox-1.8.3/cuda/3d/algo3d.h
Examining data/astra-toolbox-1.8.3/cuda/3d/arith3d.h
Examining data/astra-toolbox-1.8.3/cuda/3d/astra3d.h
Examining data/astra-toolbox-1.8.3/cuda/3d/cgls3d.h
Examining data/astra-toolbox-1.8.3/cuda/3d/cone_bp.h
Examining data/astra-toolbox-1.8.3/cuda/3d/cone_fp.h
Examining data/astra-toolbox-1.8.3/cuda/3d/darthelper3d.h
Examining data/astra-toolbox-1.8.3/cuda/3d/dims3d.h
Examining data/astra-toolbox-1.8.3/cuda/3d/fdk.h
Examining data/astra-toolbox-1.8.3/cuda/3d/mem3d.h
Examining data/astra-toolbox-1.8.3/cuda/3d/par3d_bp.h
Examining data/astra-toolbox-1.8.3/cuda/3d/par3d_fp.h
Examining data/astra-toolbox-1.8.3/cuda/3d/sirt3d.h
Examining data/astra-toolbox-1.8.3/cuda/3d/util3d.h
Examining data/astra-toolbox-1.8.3/include/astra/Algorithm.h
Examining data/astra-toolbox-1.8.3/include/astra/AlgorithmTypelist.h
Examining data/astra-toolbox-1.8.3/include/astra/ArtAlgorithm.h
Examining data/astra-toolbox-1.8.3/include/astra/AstraObjectFactory.h
Examining data/astra-toolbox-1.8.3/include/astra/AstraObjectManager.h
Examining data/astra-toolbox-1.8.3/include/astra/AsyncAlgorithm.h
Examining data/astra-toolbox-1.8.3/include/astra/BackProjectionAlgorithm.h
Examining data/astra-toolbox-1.8.3/include/astra/CglsAlgorithm.h
Examining data/astra-toolbox-1.8.3/include/astra/CompositeGeometryManager.h
Examining data/astra-toolbox-1.8.3/include/astra/ConeProjectionGeometry3D.h
Examining data/astra-toolbox-1.8.3/include/astra/ConeVecProjectionGeometry3D.h
Examining data/astra-toolbox-1.8.3/include/astra/Config.h
Examining data/astra-toolbox-1.8.3/include/astra/CudaBackProjectionAlgorithm.h
Examining data/astra-toolbox-1.8.3/include/astra/CudaBackProjectionAlgorithm3D.h
Examining data/astra-toolbox-1.8.3/include/astra/CudaCglsAlgorithm.h
Examining data/astra-toolbox-1.8.3/include/astra/CudaCglsAlgorithm3D.h
Examining data/astra-toolbox-1.8.3/include/astra/CudaDartMaskAlgorithm.h
Examining data/astra-toolbox-1.8.3/include/astra/CudaDartMaskAlgorithm3D.h
Examining data/astra-toolbox-1.8.3/include/astra/CudaDartSmoothingAlgorithm.h
Examining data/astra-toolbox-1.8.3/include/astra/CudaDartSmoothingAlgorithm3D.h
Examining data/astra-toolbox-1.8.3/include/astra/CudaDataOperationAlgorithm.h
Examining data/astra-toolbox-1.8.3/include/astra/CudaEMAlgorithm.h
Examining data/astra-toolbox-1.8.3/include/astra/CudaFDKAlgorithm3D.h
Examining data/astra-toolbox-1.8.3/include/astra/CudaFilteredBackProjectionAlgorithm.h
Examining data/astra-toolbox-1.8.3/include/astra/CudaForwardProjectionAlgorithm.h
Examining data/astra-toolbox-1.8.3/include/astra/CudaForwardProjectionAlgorithm3D.h
Examining data/astra-toolbox-1.8.3/include/astra/CudaProjector2D.h
Examining data/astra-toolbox-1.8.3/include/astra/CudaProjector3D.h
Examining data/astra-toolbox-1.8.3/include/astra/CudaReconstructionAlgorithm2D.h
Examining data/astra-toolbox-1.8.3/include/astra/CudaRoiSelectAlgorithm.h
Examining data/astra-toolbox-1.8.3/include/astra/CudaSartAlgorithm.h
Examining data/astra-toolbox-1.8.3/include/astra/CudaSirtAlgorithm.h
Examining data/astra-toolbox-1.8.3/include/astra/CudaSirtAlgorithm3D.h
Examining data/astra-toolbox-1.8.3/include/astra/DataProjector.h
Examining data/astra-toolbox-1.8.3/include/astra/DataProjectorPolicies.h
Examining data/astra-toolbox-1.8.3/include/astra/FanFlatBeamLineKernelProjector2D.h
Examining data/astra-toolbox-1.8.3/include/astra/FanFlatBeamStripKernelProjector2D.h
Examining data/astra-toolbox-1.8.3/include/astra/FanFlatProjectionGeometry2D.h
Examining data/astra-toolbox-1.8.3/include/astra/FanFlatVecProjectionGeometry2D.h
Examining data/astra-toolbox-1.8.3/include/astra/FilteredBackProjectionAlgorithm.h
Examining data/astra-toolbox-1.8.3/include/astra/Float32Data.h
Examining data/astra-toolbox-1.8.3/include/astra/Float32Data2D.h
Examining data/astra-toolbox-1.8.3/include/astra/Float32Data3D.h
Examining data/astra-toolbox-1.8.3/include/astra/Float32Data3DGPU.h
Examining data/astra-toolbox-1.8.3/include/astra/Float32Data3DMemory.h
Examining data/astra-toolbox-1.8.3/include/astra/Float32ProjectionData2D.h
Examining data/astra-toolbox-1.8.3/include/astra/Float32ProjectionData3D.h
Examining data/astra-toolbox-1.8.3/include/astra/Float32ProjectionData3DGPU.h
Examining data/astra-toolbox-1.8.3/include/astra/Float32ProjectionData3DMemory.h
Examining data/astra-toolbox-1.8.3/include/astra/Float32VolumeData2D.h
Examining data/astra-toolbox-1.8.3/include/astra/Float32VolumeData3D.h
Examining data/astra-toolbox-1.8.3/include/astra/Float32VolumeData3DGPU.h
Examining data/astra-toolbox-1.8.3/include/astra/Float32VolumeData3DMemory.h
Examining data/astra-toolbox-1.8.3/include/astra/ForwardProjectionAlgorithm.h
Examining data/astra-toolbox-1.8.3/include/astra/Fourier.h
Examining data/astra-toolbox-1.8.3/include/astra/GeometryUtil2D.h
Examining data/astra-toolbox-1.8.3/include/astra/GeometryUtil3D.h
Examining data/astra-toolbox-1.8.3/include/astra/Globals.h
Examining data/astra-toolbox-1.8.3/include/astra/Logging.h
Examining data/astra-toolbox-1.8.3/include/astra/ParallelBeamBlobKernelProjector2D.h
Examining data/astra-toolbox-1.8.3/include/astra/ParallelBeamLineKernelProjector2D.h
Examining data/astra-toolbox-1.8.3/include/astra/ParallelBeamLinearKernelProjector2D.h
Examining data/astra-toolbox-1.8.3/include/astra/ParallelBeamStripKernelProjector2D.h
Examining data/astra-toolbox-1.8.3/include/astra/ParallelProjectionGeometry2D.h
Examining data/astra-toolbox-1.8.3/include/astra/ParallelProjectionGeometry3D.h
Examining data/astra-toolbox-1.8.3/include/astra/ParallelVecProjectionGeometry3D.h
Examining data/astra-toolbox-1.8.3/include/astra/PlatformDepSystemCode.h
Examining data/astra-toolbox-1.8.3/include/astra/PluginAlgorithm.h
Examining data/astra-toolbox-1.8.3/include/astra/ProjectionGeometry2D.h
Examining data/astra-toolbox-1.8.3/include/astra/ProjectionGeometry3D.h
Examining data/astra-toolbox-1.8.3/include/astra/Projector2D.h
Examining data/astra-toolbox-1.8.3/include/astra/Projector3D.h
Examining data/astra-toolbox-1.8.3/include/astra/ProjectorTypelist.h
Examining data/astra-toolbox-1.8.3/include/astra/ReconstructionAlgorithm2D.h
Examining data/astra-toolbox-1.8.3/include/astra/ReconstructionAlgorithm3D.h
Examining data/astra-toolbox-1.8.3/include/astra/SartAlgorithm.h
Examining data/astra-toolbox-1.8.3/include/astra/Singleton.h
Examining data/astra-toolbox-1.8.3/include/astra/SirtAlgorithm.h
Examining data/astra-toolbox-1.8.3/include/astra/SparseMatrix.h
Examining data/astra-toolbox-1.8.3/include/astra/SparseMatrixProjectionGeometry2D.h
Examining data/astra-toolbox-1.8.3/include/astra/SparseMatrixProjector2D.h
Examining data/astra-toolbox-1.8.3/include/astra/TypeList.h
Examining data/astra-toolbox-1.8.3/include/astra/Utilities.h
Examining data/astra-toolbox-1.8.3/include/astra/Vector3D.h
Examining data/astra-toolbox-1.8.3/include/astra/VolumeGeometry2D.h
Examining data/astra-toolbox-1.8.3/include/astra/VolumeGeometry3D.h
Examining data/astra-toolbox-1.8.3/include/astra/XMLDocument.h
Examining data/astra-toolbox-1.8.3/include/astra/XMLNode.h
Examining data/astra-toolbox-1.8.3/include/astra/clog.h
Examining data/astra-toolbox-1.8.3/lib/include/rapidxml/rapidxml.hpp
Examining data/astra-toolbox-1.8.3/lib/include/rapidxml/rapidxml_print.hpp
Examining data/astra-toolbox-1.8.3/matlab/mex/astra_mex_algorithm_c.cpp
Examining data/astra-toolbox-1.8.3/matlab/mex/astra_mex_c.cpp
Examining data/astra-toolbox-1.8.3/matlab/mex/astra_mex_data2d_c.cpp
Examining data/astra-toolbox-1.8.3/matlab/mex/astra_mex_data3d_c.cpp
Examining data/astra-toolbox-1.8.3/matlab/mex/astra_mex_direct_c.cpp
Examining data/astra-toolbox-1.8.3/matlab/mex/astra_mex_log_c.cpp
Examining data/astra-toolbox-1.8.3/matlab/mex/astra_mex_matrix_c.cpp
Examining data/astra-toolbox-1.8.3/matlab/mex/astra_mex_plugin_c.cpp
Examining data/astra-toolbox-1.8.3/matlab/mex/astra_mex_projector3d_c.cpp
Examining data/astra-toolbox-1.8.3/matlab/mex/astra_mex_projector_c.cpp
Examining data/astra-toolbox-1.8.3/matlab/mex/mexCopyDataHelpFunctions.cpp
Examining data/astra-toolbox-1.8.3/matlab/mex/mexCopyDataHelpFunctions.h
Examining data/astra-toolbox-1.8.3/matlab/mex/mexDataManagerHelpFunctions.cpp
Examining data/astra-toolbox-1.8.3/matlab/mex/mexDataManagerHelpFunctions.h
Examining data/astra-toolbox-1.8.3/matlab/mex/mexHelpFunctions.cpp
Examining data/astra-toolbox-1.8.3/matlab/mex/mexHelpFunctions.h
Examining data/astra-toolbox-1.8.3/matlab/mex/mexInitFunctions.cpp
Examining data/astra-toolbox-1.8.3/matlab/mex/mexInitFunctions.h
Examining data/astra-toolbox-1.8.3/matlab/mex/octave_support.cpp
Examining data/astra-toolbox-1.8.3/python/astra/CFloat32CustomPython.h
Examining data/astra-toolbox-1.8.3/python/astra/src/PythonPluginAlgorithm.cpp
Examining data/astra-toolbox-1.8.3/python/astra/src/PythonPluginAlgorithm.h
Examining data/astra-toolbox-1.8.3/src/Algorithm.cpp
Examining data/astra-toolbox-1.8.3/src/ArtAlgorithm.cpp
Examining data/astra-toolbox-1.8.3/src/AstraObjectFactory.cpp
Examining data/astra-toolbox-1.8.3/src/AstraObjectManager.cpp
Examining data/astra-toolbox-1.8.3/src/AsyncAlgorithm.cpp
Examining data/astra-toolbox-1.8.3/src/BackProjectionAlgorithm.cpp
Examining data/astra-toolbox-1.8.3/src/CglsAlgorithm.cpp
Examining data/astra-toolbox-1.8.3/src/CompositeGeometryManager.cpp
Examining data/astra-toolbox-1.8.3/src/ConeProjectionGeometry3D.cpp
Examining data/astra-toolbox-1.8.3/src/ConeVecProjectionGeometry3D.cpp
Examining data/astra-toolbox-1.8.3/src/Config.cpp
Examining data/astra-toolbox-1.8.3/src/CudaBackProjectionAlgorithm.cpp
Examining data/astra-toolbox-1.8.3/src/CudaBackProjectionAlgorithm3D.cpp
Examining data/astra-toolbox-1.8.3/src/CudaCglsAlgorithm.cpp
Examining data/astra-toolbox-1.8.3/src/CudaCglsAlgorithm3D.cpp
Examining data/astra-toolbox-1.8.3/src/CudaDartMaskAlgorithm.cpp
Examining data/astra-toolbox-1.8.3/src/CudaDartMaskAlgorithm3D.cpp
Examining data/astra-toolbox-1.8.3/src/CudaDartSmoothingAlgorithm.cpp
Examining data/astra-toolbox-1.8.3/src/CudaDartSmoothingAlgorithm3D.cpp
Examining data/astra-toolbox-1.8.3/src/CudaDataOperationAlgorithm.cpp
Examining data/astra-toolbox-1.8.3/src/CudaEMAlgorithm.cpp
Examining data/astra-toolbox-1.8.3/src/CudaFDKAlgorithm3D.cpp
Examining data/astra-toolbox-1.8.3/src/CudaFilteredBackProjectionAlgorithm.cpp
Examining data/astra-toolbox-1.8.3/src/CudaForwardProjectionAlgorithm.cpp
Examining data/astra-toolbox-1.8.3/src/CudaForwardProjectionAlgorithm3D.cpp
Examining data/astra-toolbox-1.8.3/src/CudaProjector2D.cpp
Examining data/astra-toolbox-1.8.3/src/CudaProjector3D.cpp
Examining data/astra-toolbox-1.8.3/src/CudaReconstructionAlgorithm2D.cpp
Examining data/astra-toolbox-1.8.3/src/CudaRoiSelectAlgorithm.cpp
Examining data/astra-toolbox-1.8.3/src/CudaSartAlgorithm.cpp
Examining data/astra-toolbox-1.8.3/src/CudaSirtAlgorithm.cpp
Examining data/astra-toolbox-1.8.3/src/CudaSirtAlgorithm3D.cpp
Examining data/astra-toolbox-1.8.3/src/DataProjector.cpp
Examining data/astra-toolbox-1.8.3/src/DataProjectorPolicies.cpp
Examining data/astra-toolbox-1.8.3/src/FanFlatBeamLineKernelProjector2D.cpp
Examining data/astra-toolbox-1.8.3/src/FanFlatBeamStripKernelProjector2D.cpp
Examining data/astra-toolbox-1.8.3/src/FanFlatProjectionGeometry2D.cpp
Examining data/astra-toolbox-1.8.3/src/FanFlatVecProjectionGeometry2D.cpp
Examining data/astra-toolbox-1.8.3/src/FilteredBackProjectionAlgorithm.cpp
Examining data/astra-toolbox-1.8.3/src/Float32Data.cpp
Examining data/astra-toolbox-1.8.3/src/Float32Data2D.cpp
Examining data/astra-toolbox-1.8.3/src/Float32Data3D.cpp
Examining data/astra-toolbox-1.8.3/src/Float32Data3DGPU.cpp
Examining data/astra-toolbox-1.8.3/src/Float32Data3DMemory.cpp
Examining data/astra-toolbox-1.8.3/src/Float32ProjectionData2D.cpp
Examining data/astra-toolbox-1.8.3/src/Float32ProjectionData3D.cpp
Examining data/astra-toolbox-1.8.3/src/Float32ProjectionData3DGPU.cpp
Examining data/astra-toolbox-1.8.3/src/Float32ProjectionData3DMemory.cpp
Examining data/astra-toolbox-1.8.3/src/Float32VolumeData2D.cpp
Examining data/astra-toolbox-1.8.3/src/Float32VolumeData3D.cpp
Examining data/astra-toolbox-1.8.3/src/Float32VolumeData3DGPU.cpp
Examining data/astra-toolbox-1.8.3/src/Float32VolumeData3DMemory.cpp
Examining data/astra-toolbox-1.8.3/src/ForwardProjectionAlgorithm.cpp
Examining data/astra-toolbox-1.8.3/src/Fourier.cpp
Examining data/astra-toolbox-1.8.3/src/GeometryUtil3D.cpp
Examining data/astra-toolbox-1.8.3/src/Globals.cpp
Examining data/astra-toolbox-1.8.3/src/Logging.cpp
Examining data/astra-toolbox-1.8.3/src/ParallelBeamBlobKernelProjector2D.cpp
Examining data/astra-toolbox-1.8.3/src/ParallelBeamLineKernelProjector2D.cpp
Examining data/astra-toolbox-1.8.3/src/ParallelBeamLinearKernelProjector2D.cpp
Examining data/astra-toolbox-1.8.3/src/ParallelBeamStripKernelProjector2D.cpp
Examining data/astra-toolbox-1.8.3/src/ParallelProjectionGeometry2D.cpp
Examining data/astra-toolbox-1.8.3/src/ParallelProjectionGeometry3D.cpp
Examining data/astra-toolbox-1.8.3/src/ParallelVecProjectionGeometry3D.cpp
Examining data/astra-toolbox-1.8.3/src/PlatformDepSystemCode.cpp
Examining data/astra-toolbox-1.8.3/src/PluginAlgorithm.cpp
Examining data/astra-toolbox-1.8.3/src/ProjectionGeometry2D.cpp
Examining data/astra-toolbox-1.8.3/src/ProjectionGeometry3D.cpp
Examining data/astra-toolbox-1.8.3/src/Projector2D.cpp
Examining data/astra-toolbox-1.8.3/src/Projector3D.cpp
Examining data/astra-toolbox-1.8.3/src/ReconstructionAlgorithm2D.cpp
Examining data/astra-toolbox-1.8.3/src/ReconstructionAlgorithm3D.cpp
Examining data/astra-toolbox-1.8.3/src/ReconstructionAlgorithmMultiSlice2D.cpp
Examining data/astra-toolbox-1.8.3/src/SartAlgorithm.cpp
Examining data/astra-toolbox-1.8.3/src/SirtAlgorithm.cpp
Examining data/astra-toolbox-1.8.3/src/SparseMatrix.cpp
Examining data/astra-toolbox-1.8.3/src/SparseMatrixProjectionGeometry2D.cpp
Examining data/astra-toolbox-1.8.3/src/SparseMatrixProjector2D.cpp
Examining data/astra-toolbox-1.8.3/src/Utilities.cpp
Examining data/astra-toolbox-1.8.3/src/Vector3D.cpp
Examining data/astra-toolbox-1.8.3/src/VolumeGeometry2D.cpp
Examining data/astra-toolbox-1.8.3/src/VolumeGeometry3D.cpp
Examining data/astra-toolbox-1.8.3/src/XMLDocument.cpp
Examining data/astra-toolbox-1.8.3/src/XMLNode.cpp
Examining data/astra-toolbox-1.8.3/tests/main.cpp
Examining data/astra-toolbox-1.8.3/tests/test_AstraObjectManager.cpp
Examining data/astra-toolbox-1.8.3/tests/test_FanFlatProjectionGeometry2D.cpp
Examining data/astra-toolbox-1.8.3/tests/test_Float32Data2D.cpp
Examining data/astra-toolbox-1.8.3/tests/test_Float32ProjectionData2D.cpp
Examining data/astra-toolbox-1.8.3/tests/test_Float32VolumeData2D.cpp
Examining data/astra-toolbox-1.8.3/tests/test_Fourier.cpp
Examining data/astra-toolbox-1.8.3/tests/test_ParallelBeamLineKernelProjector2D.cpp
Examining data/astra-toolbox-1.8.3/tests/test_ParallelBeamLinearKernelProjector2D.cpp
Examining data/astra-toolbox-1.8.3/tests/test_ParallelProjectionGeometry2D.cpp
Examining data/astra-toolbox-1.8.3/tests/test_VolumeGeometry2D.cpp
Examining data/astra-toolbox-1.8.3/tests/test_XMLDocument.cpp

FINAL RESULTS:

data/astra-toolbox-1.8.3/include/astra/clog.h:83: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/astra-toolbox-1.8.3/include/astra/clog.h:83: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/astra-toolbox-1.8.3/include/astra/clog.h:353: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(logger->fmt, CLOG_DEFAULT_FORMAT);
data/astra-toolbox-1.8.3/include/astra/clog.h:354: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(logger->date_fmt, CLOG_DEFAULT_DATE_FORMAT);
data/astra-toolbox-1.8.3/include/astra/clog.h:355: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(logger->time_fmt, CLOG_DEFAULT_TIME_FORMAT);
data/astra-toolbox-1.8.3/include/astra/clog.h:409: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(logger->time_fmt, fmt);
data/astra-toolbox-1.8.3/include/astra/clog.h:425: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(logger->date_fmt, fmt);
data/astra-toolbox-1.8.3/include/astra/clog.h:441: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(logger->fmt, fmt);
data/astra-toolbox-1.8.3/include/astra/clog.h:470: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(*dst, orig_buf);
data/astra-toolbox-1.8.3/include/astra/clog.h:476: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(*dst, src);
data/astra-toolbox-1.8.3/include/astra/clog.h:602:14:  [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.
    result = vsnprintf(dynbuf, buf_size, fmt, ap);
data/astra-toolbox-1.8.3/include/astra/clog.h:606:18:  [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.
        result = vsnprintf(dynbuf, buf_size, fmt, ap);
data/astra-toolbox-1.8.3/include/astra/clog.h:683:5:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vfprintf(stderr, fmt, ap);
data/astra-toolbox-1.8.3/tests/test_ParallelBeamLinearKernelProjector2D.cpp:124:2:  [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(iSeed);
data/astra-toolbox-1.8.3/include/astra/clog.h:80:9:  [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).
#define open _open
data/astra-toolbox-1.8.3/include/astra/clog.h:286:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char fmt[CLOG_FORMAT_LENGTH];
data/astra-toolbox-1.8.3/include/astra/clog.h: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 date_fmt[CLOG_FORMAT_LENGTH];
data/astra-toolbox-1.8.3/include/astra/clog.h: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 time_fmt[CLOG_FORMAT_LENGTH];
data/astra-toolbox-1.8.3/include/astra/clog.h:321:14:  [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).
    int fd = open(path, O_CREAT | O_WRONLY | O_APPEND, 0666);
data/astra-toolbox-1.8.3/include/astra/clog.h:483:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[40]; /* Enough for 128-bit decimal */
data/astra-toolbox-1.8.3/include/astra/clog.h: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 buf[CLOG_DATETIME_LENGTH];
data/astra-toolbox-1.8.3/include/astra/clog.h:540: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.
                char str[2] = { 0 };
data/astra-toolbox-1.8.3/include/astra/clog.h:585:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/astra-toolbox-1.8.3/include/astra/clog.h:617: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 message_buf[4096];
data/astra-toolbox-1.8.3/lib/include/rapidxml/rapidxml.hpp:294:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            static const unsigned char lookup_whitespace[256];              // Whitespace table
data/astra-toolbox-1.8.3/lib/include/rapidxml/rapidxml.hpp:295:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            static const unsigned char lookup_node_name[256];               // Node name table
data/astra-toolbox-1.8.3/lib/include/rapidxml/rapidxml.hpp:296:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            static const unsigned char lookup_text[256];                    // Text table
data/astra-toolbox-1.8.3/lib/include/rapidxml/rapidxml.hpp:297:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            static const unsigned char lookup_text_pure_no_ws[256];         // Text table
data/astra-toolbox-1.8.3/lib/include/rapidxml/rapidxml.hpp:298:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            static const unsigned char lookup_text_pure_with_ws[256];       // Text table
data/astra-toolbox-1.8.3/lib/include/rapidxml/rapidxml.hpp:299:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            static const unsigned char lookup_attribute_name[256];          // Attribute name table
data/astra-toolbox-1.8.3/lib/include/rapidxml/rapidxml.hpp:300:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            static const unsigned char lookup_attribute_data_1[256];        // Attribute data table with single quote
data/astra-toolbox-1.8.3/lib/include/rapidxml/rapidxml.hpp:301:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            static const unsigned char lookup_attribute_data_1_pure[256];   // Attribute data table with single quote
data/astra-toolbox-1.8.3/lib/include/rapidxml/rapidxml.hpp:302:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            static const unsigned char lookup_attribute_data_2[256];        // Attribute data table with double quotes
data/astra-toolbox-1.8.3/lib/include/rapidxml/rapidxml.hpp:303:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            static const unsigned char lookup_attribute_data_2_pure[256];   // Attribute data table with double quotes
data/astra-toolbox-1.8.3/lib/include/rapidxml/rapidxml.hpp:304:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            static const unsigned char lookup_digits[256];                  // Digits
data/astra-toolbox-1.8.3/lib/include/rapidxml/rapidxml.hpp:305:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            static const unsigned char lookup_upcase[256];                  // To uppercase conversion table for ASCII characters
data/astra-toolbox-1.8.3/lib/include/rapidxml/rapidxml.hpp:636: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 m_static_memory[RAPIDXML_STATIC_POOL_SIZE];    // Static raw memory
data/astra-toolbox-1.8.3/src/ConeProjectionGeometry3D.cpp:144: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(res->m_pfProjectionAngles, m_pfProjectionAngles, sizeof(float32)*m_iProjectionAngleCount);
data/astra-toolbox-1.8.3/src/ConeVecProjectionGeometry3D.cpp:161: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(res->m_pProjectionAngles, m_pProjectionAngles, sizeof(m_pProjectionAngles[0])*m_iProjectionAngleCount);
data/astra-toolbox-1.8.3/src/CudaFilteredBackProjectionAlgorithm.cpp:147: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(m_pfFilter, pFilterData->getDataConst(), sizeof(float) * m_iFilterWidth * iFilterProjectionCount);
data/astra-toolbox-1.8.3/src/CudaFilteredBackProjectionAlgorithm.cpp:246: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(m_pfFilter, _pfFilter, iFilterElementCount * sizeof(float));
data/astra-toolbox-1.8.3/src/FanFlatProjectionGeometry2D.cpp:89: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(m_pfProjectionAngles, _other.m_pfProjectionAngles, sizeof(float32)*m_iProjectionAngleCount);
data/astra-toolbox-1.8.3/src/FanFlatVecProjectionGeometry2D.cpp:78: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(m_pProjectionAngles, _other.m_pProjectionAngles, sizeof(m_pProjectionAngles[0])*m_iProjectionAngleCount);
data/astra-toolbox-1.8.3/src/Float32Data2D.cpp:115: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(m_pfData, _dataIn.m_pfData, m_iSize * sizeof(float32));
data/astra-toolbox-1.8.3/src/Float32ProjectionData3DMemory.cpp:137: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(m_pfData, _dataIn.m_pfData, sizeof(float32) * _dataIn.m_pGeometry->getDetectorTotCount());
data/astra-toolbox-1.8.3/src/Float32VolumeData3DMemory.cpp:128: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(m_pfData, _dataIn.m_pfData, sizeof(float32) * _dataIn.m_pGeometry->getGridTotCount());
data/astra-toolbox-1.8.3/src/ParallelProjectionGeometry2D.cpp:84: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(m_pfProjectionAngles, _other.m_pfProjectionAngles, sizeof(float32)*m_iProjectionAngleCount);
data/astra-toolbox-1.8.3/src/ParallelProjectionGeometry3D.cpp:122: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(res->m_pfProjectionAngles, m_pfProjectionAngles, sizeof(float32)*m_iProjectionAngleCount);
data/astra-toolbox-1.8.3/src/ParallelVecProjectionGeometry3D.cpp:161: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(res->m_pProjectionAngles, m_pProjectionAngles, sizeof(m_pProjectionAngles[0])*m_iProjectionAngleCount);
data/astra-toolbox-1.8.3/include/astra/clog.h:405: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(fmt) >= CLOG_FORMAT_LENGTH) {
data/astra-toolbox-1.8.3/include/astra/clog.h:421: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(fmt) >= CLOG_FORMAT_LENGTH) {
data/astra-toolbox-1.8.3/include/astra/clog.h:437: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(fmt) >= CLOG_FORMAT_LENGTH) {
data/astra-toolbox-1.8.3/include/astra/clog.h:464: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).
    while (strlen(*dst) + strlen(src) >= new_size) {
data/astra-toolbox-1.8.3/include/astra/clog.h:464: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).
    while (strlen(*dst) + strlen(src) >= new_size) {
data/astra-toolbox-1.8.3/include/astra/clog.h:528: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).
    size_t fmtlen = strlen(logger->fmt);
data/astra-toolbox-1.8.3/include/astra/clog.h:627:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        result = write(logger->fd, message, strlen(message));
data/astra-toolbox-1.8.3/include/astra/clog.h:628: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).
        if (logger->cb) logger->cb(message,strlen(message));
data/astra-toolbox-1.8.3/matlab/mex/astra_mex_algorithm_c.cpp:141:3:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
		usleep(50000);

ANALYSIS SUMMARY:

Hits = 58
Lines analyzed = 52343 in approximately 1.39 seconds (37625 lines/second)
Physical Source Lines of Code (SLOC) = 26402
Hits@level = [0]   7 [1]   9 [2]  35 [3]   1 [4]  13 [5]   0
Hits@level+ = [0+]  65 [1+]  58 [2+]  49 [3+]  14 [4+]  13 [5+]   0
Hits/KSLOC@level+ = [0+] 2.46193 [1+] 2.1968 [2+] 1.85592 [3+] 0.530263 [4+] 0.492387 [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.