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/opencv-4.4.0+dfsg2/apps/annotation/opencv_annotation.cpp
Examining data/opencv-4.4.0+dfsg2/apps/createsamples/createsamples.cpp
Examining data/opencv-4.4.0+dfsg2/apps/createsamples/utility.cpp
Examining data/opencv-4.4.0+dfsg2/apps/createsamples/utility.hpp
Examining data/opencv-4.4.0+dfsg2/apps/interactive-calibration/calibCommon.hpp
Examining data/opencv-4.4.0+dfsg2/apps/interactive-calibration/calibController.cpp
Examining data/opencv-4.4.0+dfsg2/apps/interactive-calibration/calibController.hpp
Examining data/opencv-4.4.0+dfsg2/apps/interactive-calibration/calibPipeline.cpp
Examining data/opencv-4.4.0+dfsg2/apps/interactive-calibration/calibPipeline.hpp
Examining data/opencv-4.4.0+dfsg2/apps/interactive-calibration/frameProcessor.cpp
Examining data/opencv-4.4.0+dfsg2/apps/interactive-calibration/frameProcessor.hpp
Examining data/opencv-4.4.0+dfsg2/apps/interactive-calibration/main.cpp
Examining data/opencv-4.4.0+dfsg2/apps/interactive-calibration/parametersController.cpp
Examining data/opencv-4.4.0+dfsg2/apps/interactive-calibration/parametersController.hpp
Examining data/opencv-4.4.0+dfsg2/apps/interactive-calibration/rotationConverters.cpp
Examining data/opencv-4.4.0+dfsg2/apps/interactive-calibration/rotationConverters.hpp
Examining data/opencv-4.4.0+dfsg2/apps/traincascade/HOGfeatures.cpp
Examining data/opencv-4.4.0+dfsg2/apps/traincascade/HOGfeatures.h
Examining data/opencv-4.4.0+dfsg2/apps/traincascade/boost.cpp
Examining data/opencv-4.4.0+dfsg2/apps/traincascade/boost.h
Examining data/opencv-4.4.0+dfsg2/apps/traincascade/cascadeclassifier.cpp
Examining data/opencv-4.4.0+dfsg2/apps/traincascade/cascadeclassifier.h
Examining data/opencv-4.4.0+dfsg2/apps/traincascade/features.cpp
Examining data/opencv-4.4.0+dfsg2/apps/traincascade/haarfeatures.cpp
Examining data/opencv-4.4.0+dfsg2/apps/traincascade/haarfeatures.h
Examining data/opencv-4.4.0+dfsg2/apps/traincascade/imagestorage.cpp
Examining data/opencv-4.4.0+dfsg2/apps/traincascade/imagestorage.h
Examining data/opencv-4.4.0+dfsg2/apps/traincascade/lbpfeatures.cpp
Examining data/opencv-4.4.0+dfsg2/apps/traincascade/lbpfeatures.h
Examining data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml.hpp
Examining data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml_boost.cpp
Examining data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml_data.cpp
Examining data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml_inner_functions.cpp
Examining data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml_tree.cpp
Examining data/opencv-4.4.0+dfsg2/apps/traincascade/traincascade.cpp
Examining data/opencv-4.4.0+dfsg2/apps/traincascade/traincascade_features.h
Examining data/opencv-4.4.0+dfsg2/apps/version/opencv_version.cpp
Examining data/opencv-4.4.0+dfsg2/apps/visualisation/opencv_visualisation.cpp
Examining data/opencv-4.4.0+dfsg2/cmake/checks/atomic_check.cpp
Examining data/opencv-4.4.0+dfsg2/cmake/checks/cpu_avx.cpp
Examining data/opencv-4.4.0+dfsg2/cmake/checks/cpu_avx2.cpp
Examining data/opencv-4.4.0+dfsg2/cmake/checks/cpu_avx512.cpp
Examining data/opencv-4.4.0+dfsg2/cmake/checks/cpu_avx512clx.cpp
Examining data/opencv-4.4.0+dfsg2/cmake/checks/cpu_avx512cnl.cpp
Examining data/opencv-4.4.0+dfsg2/cmake/checks/cpu_avx512common.cpp
Examining data/opencv-4.4.0+dfsg2/cmake/checks/cpu_avx512icl.cpp
Examining data/opencv-4.4.0+dfsg2/cmake/checks/cpu_avx512knl.cpp
Examining data/opencv-4.4.0+dfsg2/cmake/checks/cpu_avx512knm.cpp
Examining data/opencv-4.4.0+dfsg2/cmake/checks/cpu_avx512skx.cpp
Examining data/opencv-4.4.0+dfsg2/cmake/checks/cpu_fp16.cpp
Examining data/opencv-4.4.0+dfsg2/cmake/checks/cpu_msa.cpp
Examining data/opencv-4.4.0+dfsg2/cmake/checks/cpu_neon.cpp
Examining data/opencv-4.4.0+dfsg2/cmake/checks/cpu_popcnt.cpp
Examining data/opencv-4.4.0+dfsg2/cmake/checks/cpu_sse.cpp
Examining data/opencv-4.4.0+dfsg2/cmake/checks/cpu_sse2.cpp
Examining data/opencv-4.4.0+dfsg2/cmake/checks/cpu_sse3.cpp
Examining data/opencv-4.4.0+dfsg2/cmake/checks/cpu_sse41.cpp
Examining data/opencv-4.4.0+dfsg2/cmake/checks/cpu_sse42.cpp
Examining data/opencv-4.4.0+dfsg2/cmake/checks/cpu_ssse3.cpp
Examining data/opencv-4.4.0+dfsg2/cmake/checks/cpu_vsx.cpp
Examining data/opencv-4.4.0+dfsg2/cmake/checks/cpu_vsx3.cpp
Examining data/opencv-4.4.0+dfsg2/cmake/checks/cpu_vsx_asm.cpp
Examining data/opencv-4.4.0+dfsg2/cmake/checks/cxx11.cpp
Examining data/opencv-4.4.0+dfsg2/cmake/checks/directx.cpp
Examining data/opencv-4.4.0+dfsg2/cmake/checks/ffmpeg_test.cpp
Examining data/opencv-4.4.0+dfsg2/cmake/checks/lapack_check.cpp
Examining data/opencv-4.4.0+dfsg2/cmake/checks/opencl.cpp
Examining data/opencv-4.4.0+dfsg2/cmake/checks/openvx_refenum_test.cpp
Examining data/opencv-4.4.0+dfsg2/cmake/checks/runtime/cpu_vsx_aligned.cpp
Examining data/opencv-4.4.0+dfsg2/cmake/checks/vtk_test.cpp
Examining data/opencv-4.4.0+dfsg2/cmake/checks/vulkan.cpp
Examining data/opencv-4.4.0+dfsg2/cmake/checks/win32uitest.cpp
Examining data/opencv-4.4.0+dfsg2/include/opencv2/opencv.hpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/include/opencv2/calib3d.hpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/include/opencv2/calib3d/calib3d.hpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/include/opencv2/calib3d/calib3d_c.h
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/perf/opencl/perf_stereobm.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/perf/perf_affine2d.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/perf/perf_cicrlesGrid.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/perf/perf_main.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/perf/perf_pnp.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/perf/perf_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/perf/perf_stereosgbm.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/perf/perf_undistort.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/ap3p.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/ap3p.h
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/calib3d_c_api.h
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/calibinit.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/calibration.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/calibration_handeye.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/checkchessboard.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/chessboard.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/chessboard.hpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/circlesgrid.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/circlesgrid.hpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/compat_ptsetreg.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/distortion_model.hpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/dls.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/dls.h
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/epnp.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/epnp.h
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/fisheye.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/fisheye.hpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/five-point.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/fundam.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/homography_decomp.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/ippe.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/ippe.hpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/levmarq.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/main.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/p3p.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/p3p.h
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/polynom_solver.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/polynom_solver.h
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/posit.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/ptsetreg.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/quadsubpix.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/rho.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/rho.h
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/solvepnp.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/stereobm.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/stereosgbm.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/triangulate.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/undistort.dispatch.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/undistort.simd.hpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/upnp.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/src/upnp.h
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/test/opencl/test_stereobm.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_affine2d_estimator.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_affine3.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_affine3d_estimator.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_affine_partial2d_estimator.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_calibration_hand_eye.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration_artificial.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration_badarg.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration_tilt.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_chessboardgenerator.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_chessboardgenerator.hpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_chesscorners.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_chesscorners_badarg.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_chesscorners_timing.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_compose_rt.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cornerssubpix.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_decompose_projection.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_filter_homography_decomp.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_fisheye.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_fundam.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_homography.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_homography_decomp.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_modelest.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_posit.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_reproject_image_to_3d.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_solvepnp_ransac.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_stereomatching.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_translation3d_estimator.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_undistort.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_undistort_badarg.cpp
Examining data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_undistort_points.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/affine.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/async.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/base.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/bindings_utils.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/bufferpool.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/check.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/core.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/core_c.h
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/cuda.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/cuda.inl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/cuda/block.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/cuda/border_interpolate.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/cuda/color.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/cuda/common.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/cuda/datamov_utils.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/cuda/detail/color_detail.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/cuda/detail/reduce.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/cuda/detail/reduce_key_val.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/cuda/detail/type_traits_detail.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/cuda/detail/vec_distance_detail.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/cuda/dynamic_smem.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/cuda/emulation.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/cuda/filters.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/cuda/funcattrib.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/cuda/functional.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/cuda/limits.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/cuda/reduce.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/cuda/saturate_cast.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/cuda/scan.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/cuda/simd_functions.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/cuda/transform.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/cuda/type_traits.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/cuda/utility.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/cuda/vec_distance.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/cuda/vec_math.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/cuda/vec_traits.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/cuda/warp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/cuda/warp_reduce.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/cuda/warp_shuffle.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/cuda_stream_accessor.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/cuda_types.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/cv_cpu_dispatch.h
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/cv_cpu_helper.h
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/cvdef.h
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/cvstd.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/cvstd.inl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/cvstd_wrapper.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/detail/async_promise.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/detail/exception_ptr.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/directx.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/eigen.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/fast_math.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/hal/hal.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/hal/interface.h
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/hal/intrin.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/hal/intrin_avx.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/hal/intrin_avx512.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/hal/intrin_cpp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/hal/intrin_forward.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/hal/intrin_msa.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/hal/intrin_neon.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/hal/intrin_sse.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/hal/intrin_sse_em.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/hal/intrin_vsx.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/hal/intrin_wasm.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/hal/msa_macros.h
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/hal/simd_utils.impl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/llapi/llapi.h
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/mat.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/mat.inl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/matx.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/neon_utils.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/ocl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/ocl_genbase.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/opencl/ocl_defs.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/opencl/opencl_info.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/opencl/opencl_svm.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/opencl/runtime/autogenerated/opencl_clamdblas.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/opencl/runtime/autogenerated/opencl_clamdfft.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/opencl/runtime/autogenerated/opencl_core.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/opencl/runtime/autogenerated/opencl_core_wrappers.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/opencl/runtime/autogenerated/opencl_gl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/opencl/runtime/autogenerated/opencl_gl_wrappers.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/opencl/runtime/opencl_clamdblas.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/opencl/runtime/opencl_clamdfft.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/opencl/runtime/opencl_core.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/opencl/runtime/opencl_core_wrappers.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/opencl/runtime/opencl_gl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/opencl/runtime/opencl_gl_wrappers.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/opencl/runtime/opencl_svm_20.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/opencl/runtime/opencl_svm_definitions.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/opencl/runtime/opencl_svm_hsa_extension.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/opengl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/openvx/ovx_defs.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/operations.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/optim.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/ovx.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/private.cuda.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/private.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/private/cv_cpu_include_simd_declarations.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/saturate.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/simd_intrinsics.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/softfloat.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/sse_utils.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/traits.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/types.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/types_c.h
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/utility.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/utils/allocator_stats.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/utils/allocator_stats.impl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/utils/buffer_area.private.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/utils/configuration.private.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/utils/filesystem.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/utils/filesystem.private.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/utils/instrumentation.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/utils/lock.private.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/utils/logger.defines.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/utils/logger.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/utils/logtag.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/utils/tls.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/utils/trace.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/utils/trace.private.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/va_intel.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/version.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/vsx_utils.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/java/src/cpp/core_manual.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/java/src/cpp/core_manual.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/ArrayUtil.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/ByteVector.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/CVObjcUtil.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/Converters.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/CvType.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/DMatch.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/Double2.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/Double3.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/DoubleVector.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/Float4.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/Float6.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/FloatVector.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/Int4.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/IntVector.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/KeyPoint.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/Mat.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/MatOfByte.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/MatOfDMatch.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/MatOfDouble.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/MatOfFloat.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/MatOfFloat4.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/MatOfFloat6.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/MatOfInt.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/MatOfInt4.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/MatOfKeyPoint.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/MatOfPoint2f.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/MatOfPoint2i.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/MatOfPoint3.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/MatOfPoint3f.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/MatOfRect2d.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/MatOfRect2i.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/MatOfRotatedRect.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/MinMaxLocResult.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/Point2d.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/Point2f.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/Point2i.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/Point3d.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/Point3f.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/Point3i.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/Range.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/Rect2d.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/Rect2f.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/Rect2i.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/RotatedRect.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/Scalar.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/Size2d.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/Size2f.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/Size2i.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/common/TermCriteria.h
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/objc/manual/core_manual.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/python/pyopencv_async.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/python/pyopencv_cuda.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/python/pyopencv_umat.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/misc/python/shadow_umat.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/perf/cuda/perf_gpumat.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/perf/opencl/perf_arithm.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/perf/opencl/perf_bufferpool.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/perf/opencl/perf_channels.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/perf/opencl/perf_dxt.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/perf/opencl/perf_gemm.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/perf/opencl/perf_matop.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/perf/opencl/perf_usage_flags.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/perf/perf_abs.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/perf/perf_addWeighted.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/perf/perf_arithm.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/perf/perf_bitwise.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/perf/perf_compare.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/perf/perf_convertTo.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/perf/perf_cvround.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/perf/perf_dft.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/perf/perf_dot.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/perf/perf_inRange.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/perf/perf_io_base64.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/perf/perf_lut.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/perf/perf_main.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/perf/perf_mat.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/perf/perf_math.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/perf/perf_merge.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/perf/perf_minmaxloc.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/perf/perf_norm.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/perf/perf_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/perf/perf_reduce.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/perf/perf_sort.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/perf/perf_split.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/perf/perf_stat.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/perf/perf_umat.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/algorithm.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/alloc.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/arithm.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/arithm.dispatch.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/arithm.simd.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/arithm_ipp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/array.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/async.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/batch_distance.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/bindings_utils.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/buffer_area.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/bufferpool.impl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/channels.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/check.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/command_line_parser.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/conjugate_gradient.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/convert.dispatch.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/convert.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/convert.simd.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/convert_c.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/convert_scale.dispatch.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/convert_scale.simd.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/copy.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/count_non_zero.dispatch.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/count_non_zero.simd.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/cuda_gpu_mat.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/cuda_host_mem.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/cuda_info.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/cuda_stream.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/datastructs.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/directx.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/directx.inc.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/downhill_simplex.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/dxt.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/gl_core_3_1.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/gl_core_3_1.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/glob.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/hal_internal.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/hal_internal.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/hal_replacement.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/intel_gpu_gemm.inl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/kmeans.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/lapack.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/lda.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/logger.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/lpsolver.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/lut.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/mathfuncs.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/mathfuncs.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/mathfuncs_core.dispatch.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/mathfuncs_core.simd.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/matmul.dispatch.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/matmul.simd.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/matrix.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/matrix_c.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/matrix_decomp.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/matrix_expressions.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/matrix_iterator.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/matrix_operations.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/matrix_sparse.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/matrix_wrap.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/mean.dispatch.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/mean.simd.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/merge.dispatch.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/merge.simd.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/minmax.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/norm.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/ocl_deprecated.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/opencl/runtime/autogenerated/opencl_clamdblas_impl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/opencl/runtime/autogenerated/opencl_clamdfft_impl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/opencl/runtime/autogenerated/opencl_core_impl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/opencl/runtime/autogenerated/opencl_core_static_impl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/opencl/runtime/autogenerated/opencl_gl_impl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/opencl/runtime/autogenerated/opencl_gl_static_impl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/opencl/runtime/opencl_clamdblas.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/opencl/runtime/opencl_clamdfft.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/opencl/runtime/opencl_core.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/opencl/runtime/runtime_common.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/opengl.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/out.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/ovx.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/parallel.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/parallel_impl.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/parallel_impl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/pca.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/persistence.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/persistence_json.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/persistence_types.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/persistence_xml.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/persistence_yml.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/rand.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/softfloat.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/split.dispatch.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/split.simd.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/stat.dispatch.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/stat.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/stat.simd.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/stat_c.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/stl.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/sum.dispatch.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/sum.simd.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/system.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/tables.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/trace.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/types.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/umatrix.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/umatrix.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/utils/datafile.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/utils/filesystem.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/utils/logtagconfig.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/utils/logtagconfigparser.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/utils/logtagconfigparser.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/utils/logtagmanager.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/utils/logtagmanager.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/utils/samples.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/src/va_intel.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/test/ocl/test_arithm.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/test/ocl/test_channels.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/test/ocl/test_dft.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/test/ocl/test_gemm.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/test/ocl/test_image2d.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/test/ocl/test_matrix_expr.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/test/ocl/test_matrix_operation.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/test/ocl/test_opencl.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/test/test_arithm.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/test/test_async.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/test/test_concatenation.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/test/test_conjugate_gradient.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/test/test_countnonzero.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/test/test_downhill_simplex.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/test/test_ds.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/test/test_dxt.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/test/test_eigen.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/test/test_hal_core.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/test/test_intrin.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/test/test_intrin128.simd.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/test/test_intrin256.simd.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/test/test_intrin512.simd.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/test/test_intrin_emulator.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/test/test_intrin_utils.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/test/test_io.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/test/test_logtagconfigparser.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/test/test_logtagmanager.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/test/test_lpsolver.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/test/test_mat.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/test/test_math.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/test/test_misc.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/test/test_operations.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/core/test/test_ptr.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/test/test_rand.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/test/test_rotatedrect.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/test/test_umat.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/test/test_utils.cpp
Examining data/opencv-4.4.0+dfsg2/modules/core/test/test_utils_tls.impl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/include/opencv2/dnn.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/include/opencv2/dnn/all_layers.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/include/opencv2/dnn/dict.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/include/opencv2/dnn/dnn.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/include/opencv2/dnn/dnn.inl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/include/opencv2/dnn/layer.details.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/include/opencv2/dnn/layer.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/include/opencv2/dnn/shape_utils.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/include/opencv2/dnn/utils/inference_engine.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/include/opencv2/dnn/version.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc
Examining data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.h
Examining data/opencv-4.4.0+dfsg2/modules/dnn/misc/java/src/cpp/dnn_converters.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/misc/java/src/cpp/dnn_converters.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/misc/onnx/opencv-onnx.pb.cc
Examining data/opencv-4.4.0+dfsg2/modules/dnn/misc/onnx/opencv-onnx.pb.h
Examining data/opencv-4.4.0+dfsg2/modules/dnn/misc/python/pyopencv_dnn.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/misc/tensorflow/attr_value.pb.cc
Examining data/opencv-4.4.0+dfsg2/modules/dnn/misc/tensorflow/attr_value.pb.h
Examining data/opencv-4.4.0+dfsg2/modules/dnn/misc/tensorflow/function.pb.cc
Examining data/opencv-4.4.0+dfsg2/modules/dnn/misc/tensorflow/function.pb.h
Examining data/opencv-4.4.0+dfsg2/modules/dnn/misc/tensorflow/graph.pb.cc
Examining data/opencv-4.4.0+dfsg2/modules/dnn/misc/tensorflow/graph.pb.h
Examining data/opencv-4.4.0+dfsg2/modules/dnn/misc/tensorflow/op_def.pb.cc
Examining data/opencv-4.4.0+dfsg2/modules/dnn/misc/tensorflow/op_def.pb.h
Examining data/opencv-4.4.0+dfsg2/modules/dnn/misc/tensorflow/tensor.pb.cc
Examining data/opencv-4.4.0+dfsg2/modules/dnn/misc/tensorflow/tensor.pb.h
Examining data/opencv-4.4.0+dfsg2/modules/dnn/misc/tensorflow/tensor_shape.pb.cc
Examining data/opencv-4.4.0+dfsg2/modules/dnn/misc/tensorflow/tensor_shape.pb.h
Examining data/opencv-4.4.0+dfsg2/modules/dnn/misc/tensorflow/types.pb.cc
Examining data/opencv-4.4.0+dfsg2/modules/dnn/misc/tensorflow/types.pb.h
Examining data/opencv-4.4.0+dfsg2/modules/dnn/misc/tensorflow/versions.pb.cc
Examining data/opencv-4.4.0+dfsg2/modules/dnn/misc/tensorflow/versions.pb.h
Examining data/opencv-4.4.0+dfsg2/modules/dnn/perf/perf_caffe.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/perf/perf_common.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/perf/perf_convolution.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/perf/perf_convolution3d.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/perf/perf_layer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/perf/perf_main.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/perf/perf_net.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/perf/perf_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/caffe/caffe_importer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/caffe/caffe_io.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/caffe/caffe_io.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/caffe/caffe_shrinker.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/caffe/glog_emulator.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda/array.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda/atomics.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda/execution.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda/functors.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda/grid_stride_range.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda/kernel_dispatcher.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda/limits.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda/math.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda/memory.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda/types.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda/vector_traits.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/csl/cublas.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/csl/cudnn.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/csl/cudnn/activation.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/csl/cudnn/convolution.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/csl/cudnn/cudnn.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/csl/cudnn/lrn.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/csl/cudnn/pooling.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/csl/cudnn/softmax.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/csl/cudnn/transform.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/csl/cudnn/transpose_convolution.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/csl/error.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/csl/event.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/csl/memory.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/csl/nvcc_defs.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/csl/pointer.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/csl/span.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/csl/stream.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/csl/tensor.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/csl/tensor_ops.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/csl/workspace.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/cxx_utils/is_iterator.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/cxx_utils/resizable_static_array.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/init.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/kernels/activation_eltwise.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/kernels/activations.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/kernels/bias_activation.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/kernels/bias_activation_eltwise.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/kernels/bias_eltwise_activation.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/kernels/concat.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/kernels/crop_and_resize.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/kernels/eltwise_activation.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/kernels/eltwise_ops.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/kernels/fill_copy.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/kernels/fp_conversion.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/kernels/max_unpooling.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/kernels/normalize.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/kernels/padding.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/kernels/permute.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/kernels/prior_box.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/kernels/region.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/kernels/resize.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/kernels/roi_pooling.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/kernels/scale_shift.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/kernels/shortcut.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/kernels/slice.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/primitives/activation.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/primitives/batch_norm.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/primitives/concat.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/primitives/const.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/primitives/convolution.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/primitives/crop_and_resize.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/primitives/eltwise.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/primitives/inner_product.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/primitives/lrn.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/primitives/max_unpooling.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/primitives/normalize_bbox.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/primitives/padding.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/primitives/permute.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/primitives/pooling.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/primitives/prior_box.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/primitives/region.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/primitives/reorg.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/primitives/reshape.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/primitives/resize.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/primitives/roi_pooling.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/primitives/scale_shift.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/primitives/shortcut.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/primitives/shuffle_channel.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/primitives/slice.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/primitives/softmax.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/primitives/split.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/primitives/transpose_convolution.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/darknet/darknet_importer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/darknet/darknet_io.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/darknet/darknet_io.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/dnn.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/dnn_common.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/graph_simplifier.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/graph_simplifier.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/halide_scheduler.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/halide_scheduler.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/ie_ngraph.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/ie_ngraph.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/init.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/layers/accum_layer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/layers/batch_norm_layer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/layers/blank_layer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/layers/concat_layer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/layers/const_layer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/layers/convolution_layer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/layers/correlation_layer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/layers/crop_and_resize_layer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/layers/detection_output_layer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/layers/elementwise_layers.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/layers/eltwise_layer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/layers/flatten_layer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/layers/flow_warp_layer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/layers/fully_connected_layer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/layers/layers_common.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/layers/layers_common.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/layers/layers_common.simd.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/layers/lrn_layer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/layers/max_unpooling_layer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/layers/mvn_layer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/layers/normalize_bbox_layer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/layers/padding_layer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/layers/permute_layer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/layers/pooling_layer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/layers/prior_box_layer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/layers/proposal_layer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/layers/recurrent_layers.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/layers/region_layer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/layers/reorg_layer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/layers/reshape_layer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/layers/resize_layer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/layers/scale_layer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/layers/shuffle_channel_layer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/layers/slice_layer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/layers/softmax_layer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/layers/split_layer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/model.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/nms.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/nms.inl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/ocl4dnn/include/common.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/ocl4dnn/include/default_kernel_config.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/ocl4dnn/include/math_functions.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/ocl4dnn/include/ocl4dnn.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/ocl4dnn/src/common.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/ocl4dnn/src/math_functions.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/ocl4dnn/src/ocl4dnn_conv_spatial.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/ocl4dnn/src/ocl4dnn_inner_product.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/ocl4dnn/src/ocl4dnn_lrn.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/ocl4dnn/src/ocl4dnn_pool.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/ocl4dnn/src/ocl4dnn_softmax.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/onnx/onnx_graph_simplifier.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/onnx/onnx_graph_simplifier.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/onnx/onnx_importer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/op_cuda.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/op_halide.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/op_halide.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/op_inf_engine.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/op_inf_engine.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/op_vkcom.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/op_vkcom.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/tengine4dnn/include/tengine_graph_convolution.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/tengine4dnn/src/tengine_graph_convolution.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/tensorflow/tf_graph_simplifier.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/tensorflow/tf_graph_simplifier.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/tensorflow/tf_importer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/tensorflow/tf_io.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/tensorflow/tf_io.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/torch/THDiskFile.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/torch/THDiskFile.h
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/torch/THFile.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/torch/THFile.h
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/torch/THFilePrivate.h
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/torch/THGeneral.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/torch/THGeneral.h
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/torch/torch_importer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/include/buffer.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/include/op_base.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/include/op_concat.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/include/op_conv.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/include/op_lrn.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/include/op_permute.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/include/op_pool.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/include/op_prior_box.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/include/op_relu.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/include/op_softmax.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/include/tensor.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/include/vkcom.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/shader/avg_pool_spv.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/shader/concat_spv.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/shader/conv48_spv.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/shader/conv_spv.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/shader/dw_conv_spv.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/shader/lrn_spv.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/shader/max_pool_spv.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/shader/permute_spv.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/shader/prior_box_spv.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/shader/relu_spv.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/shader/softmax_spv.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/shader/spv_shader.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/src/buffer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/src/common.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/src/context.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/src/context.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/src/internal.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/src/internal.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/src/op_base.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/src/op_concat.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/src/op_conv.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/src/op_lrn.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/src/op_permute.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/src/op_pool.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/src/op_prior_box.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/src/op_relu.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/src/op_softmax.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/src/tensor.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/vulkan/function_list.inl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/vulkan/vk_functions.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/vulkan/vk_functions.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/vulkan/vk_loader.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/vulkan/vk_loader.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/test/npy_blob.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/test/npy_blob.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/test/test_backends.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/test/test_caffe_importer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/test/test_common.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/test/test_common.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/test/test_common.impl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/test/test_darknet_importer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/test/test_googlenet.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/test/test_halide_layers.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/test/test_ie_models.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/test/test_layers.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/test/test_misc.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/test/test_model.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/test/test_nms.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/test/test_onnx_importer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/test/test_tf_importer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/dnn/test/test_torch_importer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/include/opencv2/features2d.hpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/include/opencv2/features2d/features2d.hpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/include/opencv2/features2d/hal/interface.h
Examining data/opencv-4.4.0+dfsg2/modules/features2d/misc/java/src/cpp/features2d_converters.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/misc/java/src/cpp/features2d_converters.hpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/misc/python/pyopencv_features2d.hpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/perf/opencl/perf_brute_force_matcher.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/perf/opencl/perf_feature2d.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/perf/perf_batchDistance.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/perf/perf_feature2d.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/perf/perf_feature2d.hpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/perf/perf_main.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/perf/perf_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/src/agast.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/src/agast_score.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/src/agast_score.hpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/src/akaze.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/src/bagofwords.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/src/blobdetector.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/src/brisk.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/src/draw.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/src/dynamic.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/src/evaluation.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/src/fast.avx2.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/src/fast.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/src/fast.hpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/src/fast_score.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/src/fast_score.hpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/src/feature2d.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/src/gftt.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/src/hal_replacement.hpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/src/kaze.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/src/kaze/AKAZEConfig.h
Examining data/opencv-4.4.0+dfsg2/modules/features2d/src/kaze/AKAZEFeatures.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/src/kaze/AKAZEFeatures.h
Examining data/opencv-4.4.0+dfsg2/modules/features2d/src/kaze/KAZEConfig.h
Examining data/opencv-4.4.0+dfsg2/modules/features2d/src/kaze/KAZEFeatures.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/src/kaze/KAZEFeatures.h
Examining data/opencv-4.4.0+dfsg2/modules/features2d/src/kaze/TEvolution.h
Examining data/opencv-4.4.0+dfsg2/modules/features2d/src/kaze/fed.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/src/kaze/fed.h
Examining data/opencv-4.4.0+dfsg2/modules/features2d/src/kaze/nldiffusion_functions.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/src/kaze/nldiffusion_functions.h
Examining data/opencv-4.4.0+dfsg2/modules/features2d/src/kaze/utils.h
Examining data/opencv-4.4.0+dfsg2/modules/features2d/src/keypoint.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/src/main.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/src/matchers.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/src/mser.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/src/orb.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/src/sift.dispatch.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/src/sift.simd.hpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/test/ocl/test_brute_force_matcher.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/test/ocl/test_feature2d.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/test/test_agast.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/test/test_akaze.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/test/test_brisk.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/test/test_descriptors_invariance.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/test/test_descriptors_invariance.impl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/test/test_descriptors_regression.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/test/test_descriptors_regression.impl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/test/test_detectors_invariance.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/test/test_detectors_invariance.impl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/test/test_detectors_regression.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/test/test_detectors_regression.impl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/test/test_drawing.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/test/test_fast.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/test/test_invariance_utils.hpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/test/test_keypoints.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/test/test_matchers_algorithmic.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/test/test_mser.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/test/test_nearestneighbors.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/test/test_orb.cpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/features2d/test/test_utils.cpp
Examining data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann.hpp
Examining data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/all_indices.h
Examining data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/allocator.h
Examining data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/any.h
Examining data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/autotuned_index.h
Examining data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/composite_index.h
Examining data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/config.h
Examining data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/defines.h
Examining data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/dist.h
Examining data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/dummy.h
Examining data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/dynamic_bitset.h
Examining data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/flann.hpp
Examining data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/flann_base.hpp
Examining data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/general.h
Examining data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/ground_truth.h
Examining data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/hdf5.h
Examining data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/heap.h
Examining data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/hierarchical_clustering_index.h
Examining data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/index_testing.h
Examining data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/kdtree_index.h
Examining data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/kdtree_single_index.h
Examining data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/kmeans_index.h
Examining data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/linear_index.h
Examining data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/logger.h
Examining data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/lsh_index.h
Examining data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/lsh_table.h
Examining data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/matrix.h
Examining data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/miniflann.hpp
Examining data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/nn_index.h
Examining data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/object_factory.h
Examining data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/params.h
Examining data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/random.h
Examining data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/result_set.h
Examining data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/sampling.h
Examining data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/saving.h
Examining data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/simplex_downhill.h
Examining data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/timer.h
Examining data/opencv-4.4.0+dfsg2/modules/flann/misc/python/pyopencv_flann.hpp
Examining data/opencv-4.4.0+dfsg2/modules/flann/src/flann.cpp
Examining data/opencv-4.4.0+dfsg2/modules/flann/src/miniflann.cpp
Examining data/opencv-4.4.0+dfsg2/modules/flann/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/flann/test/test_lshtable_badarg.cpp
Examining data/opencv-4.4.0+dfsg2/modules/flann/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/modules/flann/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/core.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/cpu/core.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/cpu/gcpukernel.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/cpu/imgproc.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/cpu/video.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/fluid/core.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/fluid/gfluidbuffer.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/fluid/gfluidkernel.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/fluid/imgproc.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/garg.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/garray.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/gasync_context.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/gcall.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/gcommon.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/gcompiled.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/gcompiled_async.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/gcompoundkernel.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/gcomputation.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/gcomputation_async.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/gkernel.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/gmat.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/gmetaarg.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/gopaque.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/gproto.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/gpu/core.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/gpu/ggpukernel.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/gpu/imgproc.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/gscalar.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/gstreaming.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/gtransform.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/gtype_traits.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/gtyped.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/imgproc.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/infer.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/infer/ie.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/ocl/core.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/ocl/goclkernel.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/ocl/imgproc.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/opencv_includes.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/operators.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/own/assert.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/own/convert.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/own/cvdefs.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/own/exports.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/own/mat.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/own/saturate.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/own/scalar.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/own/types.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/plaidml/core.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/plaidml/gplaidmlkernel.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/plaidml/plaidml.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/render.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/render/render.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/s11n.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/streaming/cap.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/streaming/source.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/util/any.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/util/compiler_hints.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/util/optional.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/util/throw.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/util/type_traits.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/util/util.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/util/variant.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/video.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/perf/common/gapi_core_perf_tests.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/perf/common/gapi_core_perf_tests.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/perf/common/gapi_core_perf_tests_inl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/perf/common/gapi_imgproc_perf_tests.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/perf/common/gapi_imgproc_perf_tests.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/perf/common/gapi_imgproc_perf_tests_inl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/perf/common/gapi_render_perf_tests.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/perf/common/gapi_render_perf_tests.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/perf/common/gapi_render_perf_tests_inl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/perf/common/gapi_video_perf_tests.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/perf/common/gapi_video_perf_tests.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/perf/common/gapi_video_perf_tests_inl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/perf/cpu/gapi_core_perf_tests_cpu.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/perf/cpu/gapi_imgproc_perf_tests_cpu.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/perf/cpu/gapi_imgproc_perf_tests_fluid.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/perf/cpu/gapi_video_perf_tests_cpu.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/perf/gpu/gapi_core_perf_tests_gpu.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/perf/gpu/gapi_imgproc_perf_tests_gpu.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/perf/internal/gapi_compiler_perf_tests.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/perf/perf_bench.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/perf/perf_main.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/perf/perf_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/perf/render/gapi_render_perf_tests_ocv.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/samples/api_example.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/samples/api_ref_snippets.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/samples/draw_example.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/samples/dynamic_graph.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/samples/gaze_estimation.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/samples/kernel_api_snippets.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/samples/privacy_masking_camera.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/samples/slides_sobel_cv.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/samples/slides_sobel_gapi.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/api/ft_render.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/api/ft_render.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/api/ft_render_priv.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/api/garray.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/api/gbackend.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/api/gbackend_priv.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/api/gcall.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/api/gcall_priv.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/api/gcomputation.cpp
Parsing failed to find end of parameter list; semicolon terminated it in (metas1.cbegin(), metas1.cend(), metas2.cbegin(),
                      [](const cv::GMetaArg& meta1, const cv::GMetaArg& meta2) {
                          if (meta1.index() == meta2.index() && meta1
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/api/gcomputation_priv.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/api/ginfer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/api/gkernel.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/api/gmat.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/api/gnode.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/api/gnode.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/api/gnode_priv.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/api/gopaque.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/api/gorigin.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/api/gorigin.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/api/gproto.cpp
Parsing failed to find end of parameter list; semicolon terminated it in (metas.begin(), metas.end(), args.begin(),
                     [](const GMetaArg& meta, const GRunArg& arg) {
                         return can_describe(meta, arg);
                     });
}

void
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/api/gproto_priv.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/api/gscalar.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/api/kernels_core.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/api/kernels_imgproc.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/api/kernels_video.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/api/ocv_mask_creator.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/api/operators.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/api/render.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/api/render_ocv.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/api/render_ocv.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/api/render_priv.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/api/s11n.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/common/gbackend.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/common/gcompoundbackend.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/common/gcompoundkernel.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/common/serialization.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/common/serialization.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/cpu/gcpubackend.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/cpu/gcpubackend.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/cpu/gcpucore.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/cpu/gcpuimgproc.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/cpu/gcpukernel.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/cpu/gcpuvideo.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/fluid/gfluidbackend.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/fluid/gfluidbackend.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/fluid/gfluidbuffer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/fluid/gfluidbuffer_priv.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/fluid/gfluidcore.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/fluid/gfluidimgproc.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/fluid/gfluidimgproc_func.dispatch.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/fluid/gfluidimgproc_func.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/fluid/gfluidimgproc_func.simd.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/fluid/gfluidutils.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/ie/giebackend.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/ie/giebackend.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/ie/giebackend/giewrapper.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/ie/giebackend/giewrapper.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/ie/util.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/ocl/goclbackend.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/ocl/goclbackend.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/ocl/goclcore.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/ocl/goclcore.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/ocl/goclimgproc.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/ocl/goclimgproc.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/ocl/goclkernel.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/plaidml/gplaidmlbackend.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/plaidml/gplaidmlbackend.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/plaidml/gplaidmlcore.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/plaidml/plaidml_util.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/render/grenderocv.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/render/grenderocv.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/render/grenderocvbackend.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/render/grenderocvbackend.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/compiler/gcompiled.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/compiler/gcompiled_priv.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/compiler/gcompiler.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/compiler/gcompiler.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/compiler/gislandmodel.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/compiler/gislandmodel.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/compiler/gmodel.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/compiler/gmodel.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/compiler/gmodel_priv.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/compiler/gmodelbuilder.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/compiler/gmodelbuilder.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/compiler/gobjref.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/compiler/gstreaming.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/compiler/gstreaming_priv.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/compiler/passes/dump_dot.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/compiler/passes/exec.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/compiler/passes/helpers.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/compiler/passes/helpers.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/compiler/passes/islands.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/compiler/passes/kernels.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/compiler/passes/meta.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/compiler/passes/passes.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/compiler/passes/pattern_matching.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/compiler/passes/pattern_matching.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/compiler/passes/perform_substitution.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/compiler/passes/streaming.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/compiler/passes/transformations.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/compiler/transactions.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/executor/conc_queue.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/executor/gasync.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/executor/gexecutor.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/executor/gexecutor.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/executor/gstreamingexecutor.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/executor/gstreamingexecutor.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/logger.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/common/gapi_compoundkernel_tests.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/common/gapi_core_tests.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/common/gapi_core_tests.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/common/gapi_core_tests_inl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/common/gapi_imgproc_tests.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/common/gapi_imgproc_tests.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/common/gapi_imgproc_tests_inl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/common/gapi_operators_tests.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/common/gapi_operators_tests.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/common/gapi_operators_tests_inl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/common/gapi_render_tests.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/common/gapi_render_tests.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/common/gapi_tests_common.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/common/gapi_tests_helpers.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/common/gapi_video_tests.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/common/gapi_video_tests.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/common/gapi_video_tests_common.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/common/gapi_video_tests_inl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/cpu/gapi_core_tests_cpu.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/cpu/gapi_core_tests_fluid.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/cpu/gapi_imgproc_tests_cpu.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/cpu/gapi_imgproc_tests_fluid.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/cpu/gapi_ocv_stateful_kernel_test_utils.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/cpu/gapi_ocv_stateful_kernel_tests.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/cpu/gapi_operators_tests_cpu.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/cpu/gapi_operators_tests_fluid.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/cpu/gapi_video_tests_cpu.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/gapi_array_tests.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/gapi_async_test.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/gapi_basic_hetero_tests.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/gapi_compile_args_tests.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/gapi_desc_tests.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/gapi_fluid_parallel_rois_test.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/gapi_fluid_resize_test.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/gapi_fluid_roi_test.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/gapi_fluid_test.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/gapi_fluid_test_kernels.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/gapi_fluid_test_kernels.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/gapi_frame_tests.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/gapi_gcompiled_tests.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/gapi_gcomputation_tests.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/gapi_gpu_test.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/gapi_kernel_tests.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/gapi_mock_kernels.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/gapi_opaque_tests.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/gapi_plaidml_pipelines.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/gapi_planar_test.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/gapi_sample_pipelines.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/gapi_scalar_tests.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/gapi_smoke_test.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/gapi_transform_tests.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/gapi_typed_tests.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/gapi_util_tests.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/gpu/gapi_core_tests_gpu.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/gpu/gapi_imgproc_tests_gpu.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/gpu/gapi_operators_tests_gpu.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/infer/gapi_infer_ie_test.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/infer/gapi_infer_tests.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/internal/gapi_int_backend_tests.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/internal/gapi_int_dynamic_graph.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/internal/gapi_int_executor_tests.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/internal/gapi_int_garg_test.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/internal/gapi_int_gmetaarg_test.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/internal/gapi_int_gmodel_builder_test.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/internal/gapi_int_island_fusion_tests.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/internal/gapi_int_island_tests.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/internal/gapi_int_pattern_matching_test.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/internal/gapi_int_perform_substitution_test.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/internal/gapi_int_proto_tests.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/internal/gapi_int_recompilation_test.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/internal/gapi_int_vectorref_test.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/internal/gapi_transactions_test.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/opencl_kernels_test_gapi.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/own/conc_queue_tests.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/own/gapi_types_tests.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/own/mat_tests.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/own/scalar_tests.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/render/ftp_render_test.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/render/gapi_render_tests_ocv.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/s11n/gapi_s11n_tests.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/s11n/gapi_sample_pipelines_s11n.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/streaming/gapi_streaming_tests.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/util/any_tests.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/util/optional_tests.cpp
Examining data/opencv-4.4.0+dfsg2/modules/gapi/test/util/variant_tests.cpp
Examining data/opencv-4.4.0+dfsg2/modules/highgui/include/opencv2/highgui.hpp
Examining data/opencv-4.4.0+dfsg2/modules/highgui/include/opencv2/highgui/highgui.hpp
Examining data/opencv-4.4.0+dfsg2/modules/highgui/include/opencv2/highgui/highgui_c.h
Examining data/opencv-4.4.0+dfsg2/modules/highgui/include/opencv2/highgui/highgui_winrt.hpp
Examining data/opencv-4.4.0+dfsg2/modules/highgui/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/highgui/src/roiSelector.cpp
Examining data/opencv-4.4.0+dfsg2/modules/highgui/src/window.cpp
Examining data/opencv-4.4.0+dfsg2/modules/highgui/src/window_QT.cpp
Examining data/opencv-4.4.0+dfsg2/modules/highgui/src/window_QT.h
Examining data/opencv-4.4.0+dfsg2/modules/highgui/src/window_gtk.cpp
Examining data/opencv-4.4.0+dfsg2/modules/highgui/src/window_w32.cpp
Examining data/opencv-4.4.0+dfsg2/modules/highgui/src/window_winrt.cpp
Examining data/opencv-4.4.0+dfsg2/modules/highgui/src/window_winrt_bridge.cpp
Examining data/opencv-4.4.0+dfsg2/modules/highgui/src/window_winrt_bridge.hpp
Examining data/opencv-4.4.0+dfsg2/modules/highgui/test/test_gui.cpp
Examining data/opencv-4.4.0+dfsg2/modules/highgui/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/modules/highgui/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/include/opencv2/imgcodecs.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/include/opencv2/imgcodecs/imgcodecs.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/include/opencv2/imgcodecs/imgcodecs_c.h
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/include/opencv2/imgcodecs/ios.h
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/include/opencv2/imgcodecs/legacy/constants_c.h
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/misc/objc/ios/Mat+Converters.h
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/perf/perf_main.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/perf/perf_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/bitstrm.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/bitstrm.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/exif.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/exif.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_base.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_base.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_bmp.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_bmp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_exr.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_exr.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_gdal.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_gdal.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_gdcm.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_gdcm.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_hdr.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_hdr.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_jpeg.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_jpeg.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_jpeg2000.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_jpeg2000.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_jpeg2000_openjpeg.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_jpeg2000_openjpeg.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pam.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pam.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pfm.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pfm.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_png.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_png.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pxm.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pxm.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_sunras.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_sunras.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_tiff.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_tiff.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_webp.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_webp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmts.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/loadsave.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/rgbe.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/rgbe.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/utils.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/utils.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/test/test_common.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/test/test_common.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/test/test_exr.impl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/test/test_grfmt.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/test/test_jpeg.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/test/test_png.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/test/test_read_write.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/test/test_tiff.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgcodecs/test/test_webp.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/include/opencv2/imgproc.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/include/opencv2/imgproc/detail/gcgraph.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/include/opencv2/imgproc/hal/hal.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/include/opencv2/imgproc/hal/interface.h
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/include/opencv2/imgproc/imgproc.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/include/opencv2/imgproc/imgproc_c.h
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/include/opencv2/imgproc/types_c.h
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/misc/objc/common/Moments.h
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/perf/opencl/perf_3vs4.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/perf/opencl/perf_accumulate.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/perf/opencl/perf_blend.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/perf/opencl/perf_color.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/perf/opencl/perf_filters.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/perf/opencl/perf_gftt.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/perf/opencl/perf_houghlines.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/perf/opencl/perf_imgproc.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/perf/opencl/perf_imgwarp.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/perf/opencl/perf_matchTemplate.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/perf/opencl/perf_moments.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/perf/opencl/perf_pyramid.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/perf/perf_accumulate.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/perf/perf_bilateral.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/perf/perf_blur.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/perf/perf_canny.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/perf/perf_contours.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/perf/perf_corners.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/perf/perf_cvt_color.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/perf/perf_distanceTransform.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/perf/perf_filter2d.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/perf/perf_floodfill.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/perf/perf_goodFeaturesToTrack.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/perf/perf_histogram.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/perf/perf_houghcircles.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/perf/perf_houghlines.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/perf/perf_integral.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/perf/perf_main.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/perf/perf_matchTemplate.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/perf/perf_moments.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/perf/perf_morph.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/perf/perf_phasecorr.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/perf/perf_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/perf/perf_pyramids.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/perf/perf_remap.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/perf/perf_resize.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/perf/perf_sepfilters.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/perf/perf_spatialgradient.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/perf/perf_threshold.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/perf/perf_warp.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/_geom.h
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/accum.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/accum.dispatch.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/accum.simd.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/approx.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/bilateral_filter.dispatch.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/bilateral_filter.simd.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/blend.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/box_filter.dispatch.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/box_filter.simd.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/canny.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/clahe.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/color.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/color.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/color.simd_helpers.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/color_hsv.dispatch.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/color_hsv.simd.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/color_lab.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/color_rgb.dispatch.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/color_rgb.simd.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/color_yuv.dispatch.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/color_yuv.simd.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/colormap.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/connectedcomponents.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/contours.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/convhull.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/corner.avx.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/corner.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/corner.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/cornersubpix.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/demosaicing.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/deriv.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/distransform.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/drawing.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/emd.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/featureselect.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/filter.dispatch.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/filter.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/filter.simd.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/filterengine.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/fixedpoint.inl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/floodfill.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/gabor.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/generalized_hough.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/geometry.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/grabcut.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/hal_replacement.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/hershey_fonts.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/histogram.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/hough.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/imgwarp.avx2.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/imgwarp.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/imgwarp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/imgwarp.sse4_1.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/intersection.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/linefit.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/lsd.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/main.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/matchcontours.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/median_blur.dispatch.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/median_blur.simd.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/min_enclosing_triangle.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/moments.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/morph.dispatch.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/morph.simd.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/phasecorr.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/pyramids.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/resize.avx2.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/resize.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/resize.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/resize.sse4_1.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/rotcalipers.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/samplers.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/segmentation.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/shapedescr.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/smooth.dispatch.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/smooth.simd.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/spatialgradient.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/subdivision2d.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/sumpixels.avx512_skx.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/sumpixels.dispatch.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/sumpixels.simd.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/tables.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/templmatch.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/thresh.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/src/utils.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/ocl/test_accumulate.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/ocl/test_blend.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/ocl/test_boxfilter.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/ocl/test_canny.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/ocl/test_color.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/ocl/test_filter2d.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/ocl/test_filters.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/ocl/test_gftt.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/ocl/test_histogram.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/ocl/test_houghlines.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/ocl/test_imgproc.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/ocl/test_match_template.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/ocl/test_medianfilter.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/ocl/test_pyramids.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/ocl/test_sepfilter2d.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/ocl/test_warp.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_approxpoly.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_bilateral_filter.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_boundingrect.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_canny.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_color.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_connectedcomponents.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_contours.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_convhull.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_cvtyuv.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_distancetransform.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_drawing.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_emd.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_filter.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_fitellipse.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_fitellipse_ams.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_fitellipse_direct.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_floodfill.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_goodfeaturetotrack.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_grabcut.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_histograms.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_houghcircles.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_houghlines.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_imgproc_umat.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_imgwarp.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_imgwarp_strict.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_intersectconvexconvex.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_intersection.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_lsd.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_moments.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_pc.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_resize_bitexact.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_smooth_bitexact.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_subdivision2d.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_templmatch.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_templmatchmask.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_thresh.cpp
Examining data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_watershed.cpp
Examining data/opencv-4.4.0+dfsg2/modules/java/android_sdk/libcxx_helper/dummy.cpp
Examining data/opencv-4.4.0+dfsg2/modules/java/generator/src/cpp/Mat.cpp
Examining data/opencv-4.4.0+dfsg2/modules/java/generator/src/cpp/common.h
Examining data/opencv-4.4.0+dfsg2/modules/java/generator/src/cpp/converters.cpp
Examining data/opencv-4.4.0+dfsg2/modules/java/generator/src/cpp/converters.h
Examining data/opencv-4.4.0+dfsg2/modules/java/generator/src/cpp/jni_part.cpp
Examining data/opencv-4.4.0+dfsg2/modules/java/generator/src/cpp/listconverters.cpp
Examining data/opencv-4.4.0+dfsg2/modules/java/generator/src/cpp/listconverters.hpp
Examining data/opencv-4.4.0+dfsg2/modules/java/generator/src/cpp/opencv_java.cpp
Examining data/opencv-4.4.0+dfsg2/modules/java/generator/src/cpp/opencv_java.hpp
Examining data/opencv-4.4.0+dfsg2/modules/java/generator/src/cpp/utils.cpp
Examining data/opencv-4.4.0+dfsg2/modules/js/src/core_bindings.cpp
Examining data/opencv-4.4.0+dfsg2/modules/ml/include/opencv2/ml.hpp
Examining data/opencv-4.4.0+dfsg2/modules/ml/include/opencv2/ml/ml.hpp
Examining data/opencv-4.4.0+dfsg2/modules/ml/include/opencv2/ml/ml.inl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/ml/misc/python/pyopencv_ml.hpp
Examining data/opencv-4.4.0+dfsg2/modules/ml/src/ann_mlp.cpp
Examining data/opencv-4.4.0+dfsg2/modules/ml/src/boost.cpp
Examining data/opencv-4.4.0+dfsg2/modules/ml/src/data.cpp
Examining data/opencv-4.4.0+dfsg2/modules/ml/src/em.cpp
Examining data/opencv-4.4.0+dfsg2/modules/ml/src/gbt.cpp
Examining data/opencv-4.4.0+dfsg2/modules/ml/src/inner_functions.cpp
Examining data/opencv-4.4.0+dfsg2/modules/ml/src/kdtree.cpp
Examining data/opencv-4.4.0+dfsg2/modules/ml/src/kdtree.hpp
Examining data/opencv-4.4.0+dfsg2/modules/ml/src/knearest.cpp
Examining data/opencv-4.4.0+dfsg2/modules/ml/src/lr.cpp
Examining data/opencv-4.4.0+dfsg2/modules/ml/src/nbayes.cpp
Examining data/opencv-4.4.0+dfsg2/modules/ml/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/ml/src/rtrees.cpp
Examining data/opencv-4.4.0+dfsg2/modules/ml/src/svm.cpp
Examining data/opencv-4.4.0+dfsg2/modules/ml/src/svmsgd.cpp
Examining data/opencv-4.4.0+dfsg2/modules/ml/src/testset.cpp
Examining data/opencv-4.4.0+dfsg2/modules/ml/src/tree.cpp
Examining data/opencv-4.4.0+dfsg2/modules/ml/test/test_ann.cpp
Examining data/opencv-4.4.0+dfsg2/modules/ml/test/test_bayes.cpp
Examining data/opencv-4.4.0+dfsg2/modules/ml/test/test_em.cpp
Examining data/opencv-4.4.0+dfsg2/modules/ml/test/test_kmeans.cpp
Examining data/opencv-4.4.0+dfsg2/modules/ml/test/test_knearest.cpp
Examining data/opencv-4.4.0+dfsg2/modules/ml/test/test_lr.cpp
Examining data/opencv-4.4.0+dfsg2/modules/ml/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/modules/ml/test/test_mltests.cpp
Examining data/opencv-4.4.0+dfsg2/modules/ml/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/ml/test/test_rtrees.cpp
Examining data/opencv-4.4.0+dfsg2/modules/ml/test/test_save_load.cpp
Examining data/opencv-4.4.0+dfsg2/modules/ml/test/test_svmsgd.cpp
Examining data/opencv-4.4.0+dfsg2/modules/ml/test/test_svmtrainauto.cpp
Examining data/opencv-4.4.0+dfsg2/modules/ml/test/test_utils.cpp
Examining data/opencv-4.4.0+dfsg2/modules/objdetect/include/opencv2/objdetect.hpp
Examining data/opencv-4.4.0+dfsg2/modules/objdetect/include/opencv2/objdetect/detection_based_tracker.hpp
Examining data/opencv-4.4.0+dfsg2/modules/objdetect/include/opencv2/objdetect/objdetect.hpp
Examining data/opencv-4.4.0+dfsg2/modules/objdetect/misc/python/pyopencv_objdetect.hpp
Examining data/opencv-4.4.0+dfsg2/modules/objdetect/perf/opencl/perf_cascades.cpp
Examining data/opencv-4.4.0+dfsg2/modules/objdetect/perf/opencl/perf_hogdetect.cpp
Examining data/opencv-4.4.0+dfsg2/modules/objdetect/perf/perf_main.cpp
Examining data/opencv-4.4.0+dfsg2/modules/objdetect/perf/perf_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/objdetect/perf/perf_qrcode_pipeline.cpp
Examining data/opencv-4.4.0+dfsg2/modules/objdetect/src/cascadedetect.cpp
Examining data/opencv-4.4.0+dfsg2/modules/objdetect/src/cascadedetect.hpp
Examining data/opencv-4.4.0+dfsg2/modules/objdetect/src/cascadedetect_convert.cpp
Examining data/opencv-4.4.0+dfsg2/modules/objdetect/src/detection_based_tracker.cpp
Examining data/opencv-4.4.0+dfsg2/modules/objdetect/src/hog.cpp
Examining data/opencv-4.4.0+dfsg2/modules/objdetect/src/main.cpp
Examining data/opencv-4.4.0+dfsg2/modules/objdetect/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/objdetect/src/qrcode.cpp
Examining data/opencv-4.4.0+dfsg2/modules/objdetect/test/opencl/test_hogdetector.cpp
Examining data/opencv-4.4.0+dfsg2/modules/objdetect/test/test_cascadeandhog.cpp
Examining data/opencv-4.4.0+dfsg2/modules/objdetect/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/modules/objdetect/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/objdetect/test/test_qrcode.cpp
Examining data/opencv-4.4.0+dfsg2/modules/photo/include/opencv2/photo.hpp
Examining data/opencv-4.4.0+dfsg2/modules/photo/include/opencv2/photo/cuda.hpp
Examining data/opencv-4.4.0+dfsg2/modules/photo/include/opencv2/photo/legacy/constants_c.h
Examining data/opencv-4.4.0+dfsg2/modules/photo/include/opencv2/photo/photo.hpp
Examining data/opencv-4.4.0+dfsg2/modules/photo/perf/opencl/perf_denoising.cpp
Examining data/opencv-4.4.0+dfsg2/modules/photo/perf/perf_cuda.cpp
Examining data/opencv-4.4.0+dfsg2/modules/photo/perf/perf_inpaint.cpp
Examining data/opencv-4.4.0+dfsg2/modules/photo/perf/perf_main.cpp
Examining data/opencv-4.4.0+dfsg2/modules/photo/perf/perf_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/photo/src/align.cpp
Examining data/opencv-4.4.0+dfsg2/modules/photo/src/arrays.hpp
Examining data/opencv-4.4.0+dfsg2/modules/photo/src/calibrate.cpp
Examining data/opencv-4.4.0+dfsg2/modules/photo/src/contrast_preserve.cpp
Examining data/opencv-4.4.0+dfsg2/modules/photo/src/contrast_preserve.hpp
Examining data/opencv-4.4.0+dfsg2/modules/photo/src/denoise_tvl1.cpp
Examining data/opencv-4.4.0+dfsg2/modules/photo/src/denoising.cpp
Examining data/opencv-4.4.0+dfsg2/modules/photo/src/denoising.cuda.cpp
Examining data/opencv-4.4.0+dfsg2/modules/photo/src/fast_nlmeans_denoising_invoker.hpp
Examining data/opencv-4.4.0+dfsg2/modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp
Examining data/opencv-4.4.0+dfsg2/modules/photo/src/fast_nlmeans_denoising_opencl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp
Examining data/opencv-4.4.0+dfsg2/modules/photo/src/hdr_common.cpp
Examining data/opencv-4.4.0+dfsg2/modules/photo/src/hdr_common.hpp
Examining data/opencv-4.4.0+dfsg2/modules/photo/src/inpaint.cpp
Examining data/opencv-4.4.0+dfsg2/modules/photo/src/merge.cpp
Examining data/opencv-4.4.0+dfsg2/modules/photo/src/npr.cpp
Examining data/opencv-4.4.0+dfsg2/modules/photo/src/npr.hpp
Examining data/opencv-4.4.0+dfsg2/modules/photo/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/photo/src/seamless_cloning.cpp
Examining data/opencv-4.4.0+dfsg2/modules/photo/src/seamless_cloning.hpp
Examining data/opencv-4.4.0+dfsg2/modules/photo/src/seamless_cloning_impl.cpp
Examining data/opencv-4.4.0+dfsg2/modules/photo/src/tonemap.cpp
Examining data/opencv-4.4.0+dfsg2/modules/photo/test/ocl/test_denoising.cpp
Examining data/opencv-4.4.0+dfsg2/modules/photo/test/test_cloning.cpp
Examining data/opencv-4.4.0+dfsg2/modules/photo/test/test_decolor.cpp
Examining data/opencv-4.4.0+dfsg2/modules/photo/test/test_denoise_tvl1.cpp
Examining data/opencv-4.4.0+dfsg2/modules/photo/test/test_denoising.cpp
Examining data/opencv-4.4.0+dfsg2/modules/photo/test/test_denoising.cuda.cpp
Examining data/opencv-4.4.0+dfsg2/modules/photo/test/test_hdr.cpp
Examining data/opencv-4.4.0+dfsg2/modules/photo/test/test_inpaint.cpp
Examining data/opencv-4.4.0+dfsg2/modules/photo/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/modules/photo/test/test_npr.cpp
Examining data/opencv-4.4.0+dfsg2/modules/photo/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/python/src2/cv2.cpp
Examining data/opencv-4.4.0+dfsg2/modules/python/src2/pycompat.hpp
Examining data/opencv-4.4.0+dfsg2/modules/stitching/include/opencv2/stitching.hpp
Examining data/opencv-4.4.0+dfsg2/modules/stitching/include/opencv2/stitching/detail/autocalib.hpp
Examining data/opencv-4.4.0+dfsg2/modules/stitching/include/opencv2/stitching/detail/blenders.hpp
Examining data/opencv-4.4.0+dfsg2/modules/stitching/include/opencv2/stitching/detail/camera.hpp
Examining data/opencv-4.4.0+dfsg2/modules/stitching/include/opencv2/stitching/detail/exposure_compensate.hpp
Examining data/opencv-4.4.0+dfsg2/modules/stitching/include/opencv2/stitching/detail/matchers.hpp
Examining data/opencv-4.4.0+dfsg2/modules/stitching/include/opencv2/stitching/detail/motion_estimators.hpp
Examining data/opencv-4.4.0+dfsg2/modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp
Examining data/opencv-4.4.0+dfsg2/modules/stitching/include/opencv2/stitching/detail/timelapsers.hpp
Examining data/opencv-4.4.0+dfsg2/modules/stitching/include/opencv2/stitching/detail/util.hpp
Examining data/opencv-4.4.0+dfsg2/modules/stitching/include/opencv2/stitching/detail/util_inl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/stitching/include/opencv2/stitching/detail/warpers.hpp
Examining data/opencv-4.4.0+dfsg2/modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/stitching/include/opencv2/stitching/warpers.hpp
Examining data/opencv-4.4.0+dfsg2/modules/stitching/misc/python/pyopencv_stitching.hpp
Examining data/opencv-4.4.0+dfsg2/modules/stitching/perf/opencl/perf_stitch.cpp
Examining data/opencv-4.4.0+dfsg2/modules/stitching/perf/opencl/perf_warpers.cpp
Examining data/opencv-4.4.0+dfsg2/modules/stitching/perf/perf_estimators.cpp
Examining data/opencv-4.4.0+dfsg2/modules/stitching/perf/perf_main.cpp
Examining data/opencv-4.4.0+dfsg2/modules/stitching/perf/perf_matchers.cpp
Examining data/opencv-4.4.0+dfsg2/modules/stitching/perf/perf_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/stitching/perf/perf_stich.cpp
Examining data/opencv-4.4.0+dfsg2/modules/stitching/src/autocalib.cpp
Examining data/opencv-4.4.0+dfsg2/modules/stitching/src/blenders.cpp
Examining data/opencv-4.4.0+dfsg2/modules/stitching/src/camera.cpp
Examining data/opencv-4.4.0+dfsg2/modules/stitching/src/exposure_compensate.cpp
Examining data/opencv-4.4.0+dfsg2/modules/stitching/src/matchers.cpp
Examining data/opencv-4.4.0+dfsg2/modules/stitching/src/motion_estimators.cpp
Examining data/opencv-4.4.0+dfsg2/modules/stitching/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/stitching/src/seam_finders.cpp
Examining data/opencv-4.4.0+dfsg2/modules/stitching/src/stitcher.cpp
Examining data/opencv-4.4.0+dfsg2/modules/stitching/src/timelapsers.cpp
Examining data/opencv-4.4.0+dfsg2/modules/stitching/src/util.cpp
Examining data/opencv-4.4.0+dfsg2/modules/stitching/src/util_log.hpp
Examining data/opencv-4.4.0+dfsg2/modules/stitching/src/warpers.cpp
Examining data/opencv-4.4.0+dfsg2/modules/stitching/src/warpers_cuda.cpp
Examining data/opencv-4.4.0+dfsg2/modules/stitching/test/ocl/test_warpers.cpp
Examining data/opencv-4.4.0+dfsg2/modules/stitching/test/test_blenders.cpp
Examining data/opencv-4.4.0+dfsg2/modules/stitching/test/test_blenders.cuda.cpp
Examining data/opencv-4.4.0+dfsg2/modules/stitching/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/modules/stitching/test/test_matchers.cpp
Examining data/opencv-4.4.0+dfsg2/modules/stitching/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/ts/include/opencv2/ts.hpp
Examining data/opencv-4.4.0+dfsg2/modules/ts/include/opencv2/ts/cuda_perf.hpp
Examining data/opencv-4.4.0+dfsg2/modules/ts/include/opencv2/ts/cuda_test.hpp
Examining data/opencv-4.4.0+dfsg2/modules/ts/include/opencv2/ts/ocl_perf.hpp
Examining data/opencv-4.4.0+dfsg2/modules/ts/include/opencv2/ts/ocl_test.hpp
Examining data/opencv-4.4.0+dfsg2/modules/ts/include/opencv2/ts/ts_ext.hpp
Examining data/opencv-4.4.0+dfsg2/modules/ts/include/opencv2/ts/ts_gtest.h
Examining data/opencv-4.4.0+dfsg2/modules/ts/include/opencv2/ts/ts_perf.hpp
Examining data/opencv-4.4.0+dfsg2/modules/ts/src/cuda_perf.cpp
Examining data/opencv-4.4.0+dfsg2/modules/ts/src/cuda_test.cpp
Examining data/opencv-4.4.0+dfsg2/modules/ts/src/ocl_perf.cpp
Examining data/opencv-4.4.0+dfsg2/modules/ts/src/ocl_test.cpp
Examining data/opencv-4.4.0+dfsg2/modules/ts/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/ts/src/ts.cpp
Examining data/opencv-4.4.0+dfsg2/modules/ts/src/ts_arrtest.cpp
Examining data/opencv-4.4.0+dfsg2/modules/ts/src/ts_func.cpp
Examining data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp
Examining data/opencv-4.4.0+dfsg2/modules/ts/src/ts_perf.cpp
Examining data/opencv-4.4.0+dfsg2/modules/ts/src/ts_tags.cpp
Examining data/opencv-4.4.0+dfsg2/modules/ts/src/ts_tags.hpp
Examining data/opencv-4.4.0+dfsg2/modules/video/include/opencv2/video.hpp
Examining data/opencv-4.4.0+dfsg2/modules/video/include/opencv2/video/background_segm.hpp
Examining data/opencv-4.4.0+dfsg2/modules/video/include/opencv2/video/legacy/constants_c.h
Examining data/opencv-4.4.0+dfsg2/modules/video/include/opencv2/video/tracking.hpp
Examining data/opencv-4.4.0+dfsg2/modules/video/include/opencv2/video/video.hpp
Examining data/opencv-4.4.0+dfsg2/modules/video/perf/opencl/perf_bgfg_knn.cpp
Examining data/opencv-4.4.0+dfsg2/modules/video/perf/opencl/perf_bgfg_mog2.cpp
Examining data/opencv-4.4.0+dfsg2/modules/video/perf/opencl/perf_dis_optflow.cpp
Examining data/opencv-4.4.0+dfsg2/modules/video/perf/opencl/perf_motempl.cpp
Examining data/opencv-4.4.0+dfsg2/modules/video/perf/opencl/perf_optflow_farneback.cpp
Examining data/opencv-4.4.0+dfsg2/modules/video/perf/opencl/perf_optflow_pyrlk.cpp
Examining data/opencv-4.4.0+dfsg2/modules/video/perf/perf_bgfg_knn.cpp
Examining data/opencv-4.4.0+dfsg2/modules/video/perf/perf_bgfg_mog2.cpp
Examining data/opencv-4.4.0+dfsg2/modules/video/perf/perf_bgfg_utils.hpp
Examining data/opencv-4.4.0+dfsg2/modules/video/perf/perf_disflow.cpp
Examining data/opencv-4.4.0+dfsg2/modules/video/perf/perf_ecc.cpp
Examining data/opencv-4.4.0+dfsg2/modules/video/perf/perf_main.cpp
Examining data/opencv-4.4.0+dfsg2/modules/video/perf/perf_optflowpyrlk.cpp
Examining data/opencv-4.4.0+dfsg2/modules/video/perf/perf_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/video/perf/perf_variational_refinement.cpp
Examining data/opencv-4.4.0+dfsg2/modules/video/src/bgfg_KNN.cpp
Examining data/opencv-4.4.0+dfsg2/modules/video/src/bgfg_gaussmix2.cpp
Examining data/opencv-4.4.0+dfsg2/modules/video/src/camshift.cpp
Examining data/opencv-4.4.0+dfsg2/modules/video/src/dis_flow.cpp
Examining data/opencv-4.4.0+dfsg2/modules/video/src/ecc.cpp
Examining data/opencv-4.4.0+dfsg2/modules/video/src/kalman.cpp
Examining data/opencv-4.4.0+dfsg2/modules/video/src/lkpyramid.cpp
Examining data/opencv-4.4.0+dfsg2/modules/video/src/lkpyramid.hpp
Examining data/opencv-4.4.0+dfsg2/modules/video/src/optflowgf.cpp
Examining data/opencv-4.4.0+dfsg2/modules/video/src/optical_flow_io.cpp
Examining data/opencv-4.4.0+dfsg2/modules/video/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/video/src/variational_refinement.cpp
Examining data/opencv-4.4.0+dfsg2/modules/video/test/ocl/test_bgfg_mog2.cpp
Examining data/opencv-4.4.0+dfsg2/modules/video/test/ocl/test_dis.cpp
Examining data/opencv-4.4.0+dfsg2/modules/video/test/ocl/test_optflow_farneback.cpp
Examining data/opencv-4.4.0+dfsg2/modules/video/test/ocl/test_optflowpyrlk.cpp
Examining data/opencv-4.4.0+dfsg2/modules/video/test/test_OF_accuracy.cpp
Examining data/opencv-4.4.0+dfsg2/modules/video/test/test_OF_reproducibility.cpp
Examining data/opencv-4.4.0+dfsg2/modules/video/test/test_accum.cpp
Examining data/opencv-4.4.0+dfsg2/modules/video/test/test_camshift.cpp
Examining data/opencv-4.4.0+dfsg2/modules/video/test/test_ecc.cpp
Examining data/opencv-4.4.0+dfsg2/modules/video/test/test_estimaterigid.cpp
Examining data/opencv-4.4.0+dfsg2/modules/video/test/test_kalman.cpp
Examining data/opencv-4.4.0+dfsg2/modules/video/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/modules/video/test/test_optflowpyrlk.cpp
Examining data/opencv-4.4.0+dfsg2/modules/video/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/include/opencv2/videoio.hpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/include/opencv2/videoio/cap_ios.h
Examining data/opencv-4.4.0+dfsg2/modules/videoio/include/opencv2/videoio/cap_winrt.hpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/include/opencv2/videoio/container_avi.private.hpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/include/opencv2/videoio/legacy/constants_c.h
Examining data/opencv-4.4.0+dfsg2/modules/videoio/include/opencv2/videoio/registry.hpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/include/opencv2/videoio/videoio.hpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/include/opencv2/videoio/videoio_c.h
Examining data/opencv-4.4.0+dfsg2/modules/videoio/misc/objc/ios/CvCamera2.h
Examining data/opencv-4.4.0+dfsg2/modules/videoio/misc/python/pyopencv_videoio.hpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/perf/perf_camera.impl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/perf/perf_input.cpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/perf/perf_main.cpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/perf/perf_output.cpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/perf/perf_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/backend.hpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/backend_plugin.cpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/backend_static.cpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap.cpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_android_mediandk.cpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_aravis.cpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dc1394_v2.cpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.hpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_ffmpeg.cpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_ffmpeg_impl.hpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_ffmpeg_legacy_api.hpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_gphoto2.cpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_gstreamer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_images.cpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_interface.hpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_librealsense.cpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_librealsense.hpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_mfx_common.cpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_mfx_common.hpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_mfx_plugin.cpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_mfx_reader.cpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_mfx_reader.hpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_mfx_writer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_mfx_writer.hpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_mjpeg_decoder.cpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_mjpeg_encoder.cpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_msmf.cpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_msmf.hpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_openni2.cpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_pvapi.cpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_v4l.cpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_winrt/CaptureFrameGrabber.cpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_winrt/CaptureFrameGrabber.hpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_winrt/MFIncludes.hpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_winrt/MediaSink.hpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_winrt/MediaStreamSink.cpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_winrt/MediaStreamSink.hpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_winrt_bridge.cpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_winrt_bridge.hpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_winrt_capture.cpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_winrt_capture.hpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_winrt_video.cpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_winrt_video.hpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_ximea.cpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_xine.cpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/container_avi.cpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/ffmpeg_codecs.hpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/plugin_api.hpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/videoio_c.cpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/videoio_registry.cpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/videoio_registry.hpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/src/wrl.h
Examining data/opencv-4.4.0+dfsg2/modules/videoio/test/test_camera.cpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/test/test_container_avi.cpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/test/test_dynamic.cpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/test/test_ffmpeg.cpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/test/test_gstreamer.cpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/test/test_mfx.cpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/videoio/test/test_video_io.cpp
Examining data/opencv-4.4.0+dfsg2/modules/world/include/opencv2/world.hpp
Examining data/opencv-4.4.0+dfsg2/modules/world/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/modules/world/src/world_init.cpp
Examining data/opencv-4.4.0+dfsg2/samples/android/face-detection/jni/DetectionBasedTracker_jni.cpp
Examining data/opencv-4.4.0+dfsg2/samples/android/face-detection/jni/DetectionBasedTracker_jni.h
Examining data/opencv-4.4.0+dfsg2/samples/android/tutorial-2-mixedprocessing/jni/jni_part.cpp
Examining data/opencv-4.4.0+dfsg2/samples/android/tutorial-4-opencl/jni/CLprocessor.cpp
Examining data/opencv-4.4.0+dfsg2/samples/android/tutorial-4-opencl/jni/common.hpp
Examining data/opencv-4.4.0+dfsg2/samples/android/tutorial-4-opencl/jni/jni.c
Examining data/opencv-4.4.0+dfsg2/samples/cpp/3calibration.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/application_trace.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/bgfg_segm.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/calibration.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/camshiftdemo.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/cloning_demo.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/cloning_gui.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/connected_components.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/contours2.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/convexhull.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/cout_mat.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/create_mask.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/dbt_face_detection.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/delaunay2.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/demhist.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/detect_blob.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/detect_mser.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/dft.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/digits.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/dis_opticalflow.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/distrans.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/drawing.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/edge.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/ela.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/em.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/example_cmake/example.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/facedetect.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/facial_features.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/falsecolor.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/fback.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/ffilldemo.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/filestorage.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/fitellipse.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/grabcut.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/image_alignment.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/imagelist_creator.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/imagelist_reader.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/inpaint.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/intelligent_scissors.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/intersectExample.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/kalman.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/kmeans.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/laplace.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/letter_recog.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/lkdemo.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/logistic_regression.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/mask_tmpl.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/matchmethod_orb_akaze_brisk.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/minarea.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/morphology2.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/neural_network.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/npr_demo.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/opencv_version.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/pca.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/peopledetect.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/phase_corr.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/points_classifier.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/polar_transforms.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/qrcode.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/segment_objects.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/select3dobj.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/simd_basic.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/smiledetect.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/squares.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/stereo_calib.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/stereo_match.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/stitching.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/stitching_detailed.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/text_skewness_correction.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/train_HOG.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/train_svmsgd.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/travelsalesman.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tree_engine.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/HighGUI/AddingImagesTrackbar.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/HighGUI/BasicLinearTransformsTrackbar.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/Histograms_Matching/EqualizeHist_Demo.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/Histograms_Matching/MatchTemplate_Demo.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/Histograms_Matching/calcBackProject_Demo1.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/Histograms_Matching/calcBackProject_Demo2.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/Histograms_Matching/calcHist_Demo.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/Histograms_Matching/compareHist_Demo.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/ImgProc/BasicLinearTransforms.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/ImgProc/HitMiss/HitMiss.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/ImgProc/Morphology_1.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/ImgProc/Morphology_2.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/ImgProc/Pyramids/Pyramids.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/ImgProc/Smoothing/Smoothing.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/ImgProc/Threshold.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/ImgProc/Threshold_inRange.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/ImgProc/anisotropic_image_segmentation/anisotropic_image_segmentation.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/ImgProc/basic_drawing/Drawing_1.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/ImgProc/basic_drawing/Drawing_2.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/ImgProc/changing_contrast_brightness_image/changing_contrast_brightness_image.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/ImgProc/morph_lines_detection/Morphology_3.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/ImgProc/motion_deblur_filter/motion_deblur_filter.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/ImgProc/out_of_focus_deblur_filter/out_of_focus_deblur_filter.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/ImgProc/periodic_noise_removing_filter/periodic_noise_removing_filter.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/ImgTrans/CannyDetector_Demo.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/ImgTrans/Geometric_Transforms_Demo.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/ImgTrans/HoughCircle_Demo.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/ImgTrans/HoughLines_Demo.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/ImgTrans/Laplace_Demo.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/ImgTrans/Remap_Demo.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/ImgTrans/Sobel_Demo.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/ImgTrans/copyMakeBorder_demo.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/ImgTrans/filter2D_demo.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/ImgTrans/houghcircles.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/ImgTrans/houghlines.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/ShapeDescriptors/findContours_demo.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/ShapeDescriptors/generalContours_demo1.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/ShapeDescriptors/generalContours_demo2.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/ShapeDescriptors/hull_demo.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/ShapeDescriptors/moments_demo.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/ShapeDescriptors/pointPolygonTest_demo.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/TrackingMotion/cornerDetector_Demo.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/TrackingMotion/cornerHarris_Demo.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/TrackingMotion/cornerSubPix_Demo.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/TrackingMotion/goodFeaturesToTrack_Demo.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/CsvReader.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/CsvReader.h
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/CsvWriter.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/CsvWriter.h
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Mesh.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Mesh.h
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Model.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Model.h
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/ModelRegistration.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/ModelRegistration.h
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.h
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.h
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.h
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_detection.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_registration.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/compatibility/compatibility_test.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/core/AddingImages/AddingImages.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/core/discrete_fourier_transform/discrete_fourier_transform.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/core/file_input_output/file_input_output.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/core/how_to_scan_images/how_to_scan_images.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/core/how_to_use_OpenCV_parallel_for_/how_to_use_OpenCV_parallel_for_.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/core/mat_mask_operations/mat_mask_operations.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/core/mat_operations/mat_operations.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/core/mat_the_basic_image_container/mat_the_basic_image_container.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/features2D/AKAZE_match.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/features2D/AKAZE_tracking/planar_tracking.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/features2D/AKAZE_tracking/stats.h
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/features2D/AKAZE_tracking/utils.h
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/features2D/Homography/decompose_homography.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/features2D/Homography/homography_from_camera_displacement.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/features2D/Homography/panorama_stitching_rotating_camera.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/features2D/Homography/perspective_correction.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/features2D/Homography/pose_from_homography.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/features2D/feature_description/SURF_matching_Demo.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/features2D/feature_detection/SURF_detection_Demo.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/features2D/feature_flann_matcher/SURF_FLANN_matching_Demo.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/features2D/feature_homography/SURF_FLANN_matching_homography_Demo.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/gapi/age_gender_emotion_recognition/age_gender_emotion_recognition.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/gapi/face_beautification/face_beautification.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/gapi/porting_anisotropic_image_segmentation/porting_anisotropic_image_segmentation_gapi.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/gapi/porting_anisotropic_image_segmentation/porting_anisotropic_image_segmentation_gapi_fluid.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/gapi/security_barrier_camera/security_barrier_camera.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/gpu/gpu-thrust-interop/Thrust_interop.hpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/imgcodecs/GDAL_IO/gdal-image.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/introduction/display_image/display_image.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/introduction/documentation/documentation.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/introduction/windows_visual_studio_opencv/introduction_windows_vs.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/ml/introduction_to_svm/introduction_to_svm.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/ml/non_linear_svms/non_linear_svms.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/objectDetection/objectDetection.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/photo/decolorization/decolor.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/photo/hdr_imaging/hdr_imaging.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/photo/non_photorealistic_rendering/npr_demo.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/photo/seamless_cloning/cloning_demo.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/snippets/core_mat_checkVector.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/snippets/core_merge.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/snippets/core_reduce.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/snippets/core_split.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/snippets/core_various.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/snippets/imgcodecs_imwrite.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/snippets/imgproc_HoughLinesCircles.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/snippets/imgproc_HoughLinesP.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/snippets/imgproc_HoughLinesPointSet.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/snippets/imgproc_applyColorMap.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/snippets/imgproc_calcHist.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/snippets/imgproc_drawContours.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/video/bg_sub.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/video/meanshift/camshift.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/video/meanshift/meanshift.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/video/optical_flow/optical_flow.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/video/optical_flow/optical_flow_dense.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/videoio/video-input-psnr-ssim/video-input-psnr-ssim.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/videoio/video-write/video-write.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/xfeatures2D/LATCH_match.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/videocapture_basic.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/videocapture_camera.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/videocapture_gphoto2_autofocus.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/videocapture_gstreamer_pipeline.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/videocapture_image_sequence.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/videocapture_intelperc.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/videocapture_openni.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/videocapture_starter.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/videowriter_basic.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/warpPerspective_demo.cpp
Examining data/opencv-4.4.0+dfsg2/samples/cpp/watershed.cpp
Examining data/opencv-4.4.0+dfsg2/samples/directx/d3d10_interop.cpp
Examining data/opencv-4.4.0+dfsg2/samples/directx/d3d11_interop.cpp
Examining data/opencv-4.4.0+dfsg2/samples/directx/d3d9_interop.cpp
Examining data/opencv-4.4.0+dfsg2/samples/directx/d3d9ex_interop.cpp
Examining data/opencv-4.4.0+dfsg2/samples/directx/d3dsample.hpp
Examining data/opencv-4.4.0+dfsg2/samples/directx/winapp.hpp
Examining data/opencv-4.4.0+dfsg2/samples/dnn/classification.cpp
Examining data/opencv-4.4.0+dfsg2/samples/dnn/colorization.cpp
Examining data/opencv-4.4.0+dfsg2/samples/dnn/common.hpp
Examining data/opencv-4.4.0+dfsg2/samples/dnn/custom_layers.hpp
Examining data/opencv-4.4.0+dfsg2/samples/dnn/human_parsing.cpp
Examining data/opencv-4.4.0+dfsg2/samples/dnn/object_detection.cpp
Examining data/opencv-4.4.0+dfsg2/samples/dnn/openpose.cpp
Examining data/opencv-4.4.0+dfsg2/samples/dnn/segmentation.cpp
Examining data/opencv-4.4.0+dfsg2/samples/dnn/text_detection.cpp
Examining data/opencv-4.4.0+dfsg2/samples/gpu/alpha_comp.cpp
Examining data/opencv-4.4.0+dfsg2/samples/gpu/bgfg_segm.cpp
Examining data/opencv-4.4.0+dfsg2/samples/gpu/cascadeclassifier.cpp
Examining data/opencv-4.4.0+dfsg2/samples/gpu/farneback_optical_flow.cpp
Examining data/opencv-4.4.0+dfsg2/samples/gpu/generalized_hough.cpp
Examining data/opencv-4.4.0+dfsg2/samples/gpu/hog.cpp
Examining data/opencv-4.4.0+dfsg2/samples/gpu/houghlines.cpp
Examining data/opencv-4.4.0+dfsg2/samples/gpu/morphology.cpp
Examining data/opencv-4.4.0+dfsg2/samples/gpu/multi.cpp
Examining data/opencv-4.4.0+dfsg2/samples/gpu/pyrlk_optical_flow.cpp
Examining data/opencv-4.4.0+dfsg2/samples/gpu/stereo_match.cpp
Examining data/opencv-4.4.0+dfsg2/samples/gpu/stereo_multi.cpp
Examining data/opencv-4.4.0+dfsg2/samples/gpu/super_resolution.cpp
Examining data/opencv-4.4.0+dfsg2/samples/gpu/surf_keypoint_matcher.cpp
Examining data/opencv-4.4.0+dfsg2/samples/gpu/video_reader.cpp
Examining data/opencv-4.4.0+dfsg2/samples/gpu/video_writer.cpp
Examining data/opencv-4.4.0+dfsg2/samples/hal/c_hal/impl.c
Examining data/opencv-4.4.0+dfsg2/samples/hal/c_hal/impl.h
Examining data/opencv-4.4.0+dfsg2/samples/hal/slow_hal/impl.cpp
Examining data/opencv-4.4.0+dfsg2/samples/hal/slow_hal/impl.hpp
Examining data/opencv-4.4.0+dfsg2/samples/opencl/opencl-opencv-interop.cpp
Examining data/opencv-4.4.0+dfsg2/samples/opengl/opengl.cpp
Examining data/opencv-4.4.0+dfsg2/samples/opengl/opengl_interop.cpp
Examining data/opencv-4.4.0+dfsg2/samples/opengl/winapp.hpp
Examining data/opencv-4.4.0+dfsg2/samples/openvx/no_wrappers.cpp
Examining data/opencv-4.4.0+dfsg2/samples/openvx/wrappers.cpp
Examining data/opencv-4.4.0+dfsg2/samples/openvx/wrappers_video.cpp
Examining data/opencv-4.4.0+dfsg2/samples/swift/ios/FaceDetection/FaceDetection/DetectionBasedTracker.h
Examining data/opencv-4.4.0+dfsg2/samples/swift/ios/FaceDetection/FaceDetection/FaceDetection-Bridging-Header.h
Examining data/opencv-4.4.0+dfsg2/samples/tapi/bgfg_segm.cpp
Examining data/opencv-4.4.0+dfsg2/samples/tapi/camshift.cpp
Examining data/opencv-4.4.0+dfsg2/samples/tapi/clahe.cpp
Examining data/opencv-4.4.0+dfsg2/samples/tapi/dense_optical_flow.cpp
Examining data/opencv-4.4.0+dfsg2/samples/tapi/hog.cpp
Examining data/opencv-4.4.0+dfsg2/samples/tapi/opencl_custom_kernel.cpp
Examining data/opencv-4.4.0+dfsg2/samples/tapi/pyrlk_optical_flow.cpp
Examining data/opencv-4.4.0+dfsg2/samples/tapi/squares.cpp
Examining data/opencv-4.4.0+dfsg2/samples/tapi/ufacedetect.cpp
Examining data/opencv-4.4.0+dfsg2/samples/va_intel/va_intel_interop.cpp
Examining data/opencv-4.4.0+dfsg2/samples/winrt/FaceDetection/FaceDetection/App.xaml.cpp
Examining data/opencv-4.4.0+dfsg2/samples/winrt/FaceDetection/FaceDetection/App.xaml.h
Examining data/opencv-4.4.0+dfsg2/samples/winrt/FaceDetection/FaceDetection/MainPage.xaml.cpp
Examining data/opencv-4.4.0+dfsg2/samples/winrt/FaceDetection/FaceDetection/MainPage.xaml.h
Examining data/opencv-4.4.0+dfsg2/samples/winrt/FaceDetection/FaceDetection/pch.cpp
Examining data/opencv-4.4.0+dfsg2/samples/winrt/FaceDetection/FaceDetection/pch.h
Examining data/opencv-4.4.0+dfsg2/samples/winrt/ImageManipulations/AdvancedCapture.xaml.cpp
Examining data/opencv-4.4.0+dfsg2/samples/winrt/ImageManipulations/AdvancedCapture.xaml.h
Examining data/opencv-4.4.0+dfsg2/samples/winrt/ImageManipulations/App.xaml.cpp
Examining data/opencv-4.4.0+dfsg2/samples/winrt/ImageManipulations/App.xaml.h
Examining data/opencv-4.4.0+dfsg2/samples/winrt/ImageManipulations/Constants.cpp
Examining data/opencv-4.4.0+dfsg2/samples/winrt/ImageManipulations/Constants.h
Examining data/opencv-4.4.0+dfsg2/samples/winrt/ImageManipulations/MainPage.xaml.cpp
Examining data/opencv-4.4.0+dfsg2/samples/winrt/ImageManipulations/MainPage.xaml.h
Examining data/opencv-4.4.0+dfsg2/samples/winrt/ImageManipulations/MediaExtensions/Common/AsyncCB.h
Examining data/opencv-4.4.0+dfsg2/samples/winrt/ImageManipulations/MediaExtensions/Common/BufferLock.h
Examining data/opencv-4.4.0+dfsg2/samples/winrt/ImageManipulations/MediaExtensions/Common/CritSec.h
Examining data/opencv-4.4.0+dfsg2/samples/winrt/ImageManipulations/MediaExtensions/Common/LinkList.h
Examining data/opencv-4.4.0+dfsg2/samples/winrt/ImageManipulations/MediaExtensions/Common/OpQueue.h
Examining data/opencv-4.4.0+dfsg2/samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp
Examining data/opencv-4.4.0+dfsg2/samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.h
Examining data/opencv-4.4.0+dfsg2/samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/dllmain.cpp
Examining data/opencv-4.4.0+dfsg2/samples/winrt/ImageManipulations/common/LayoutAwarePage.cpp
Examining data/opencv-4.4.0+dfsg2/samples/winrt/ImageManipulations/common/LayoutAwarePage.h
Examining data/opencv-4.4.0+dfsg2/samples/winrt/ImageManipulations/common/suspensionmanager.cpp
Examining data/opencv-4.4.0+dfsg2/samples/winrt/ImageManipulations/common/suspensionmanager.h
Examining data/opencv-4.4.0+dfsg2/samples/winrt/ImageManipulations/pch.cpp
Examining data/opencv-4.4.0+dfsg2/samples/winrt/ImageManipulations/pch.h
Examining data/opencv-4.4.0+dfsg2/samples/winrt/OcvImageProcessing/OcvImageProcessing/App.xaml.cpp
Examining data/opencv-4.4.0+dfsg2/samples/winrt/OcvImageProcessing/OcvImageProcessing/App.xaml.h
Examining data/opencv-4.4.0+dfsg2/samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp
Examining data/opencv-4.4.0+dfsg2/samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.h
Examining data/opencv-4.4.0+dfsg2/samples/winrt/OcvImageProcessing/OcvImageProcessing/pch.cpp
Examining data/opencv-4.4.0+dfsg2/samples/winrt/OcvImageProcessing/OcvImageProcessing/pch.h
Examining data/opencv-4.4.0+dfsg2/samples/winrt_universal/PhoneTutorial/App.xaml.cpp
Examining data/opencv-4.4.0+dfsg2/samples/winrt_universal/PhoneTutorial/App.xaml.h
Examining data/opencv-4.4.0+dfsg2/samples/winrt_universal/PhoneTutorial/MainPage.xaml.cpp
Examining data/opencv-4.4.0+dfsg2/samples/winrt_universal/PhoneTutorial/MainPage.xaml.h
Examining data/opencv-4.4.0+dfsg2/samples/winrt_universal/PhoneTutorial/pch.cpp
Examining data/opencv-4.4.0+dfsg2/samples/winrt_universal/PhoneTutorial/pch.h
Examining data/opencv-4.4.0+dfsg2/samples/winrt_universal/VideoCaptureXAML/video_capture_xaml/video_capture_xaml.Shared/App.xaml.cpp
Examining data/opencv-4.4.0+dfsg2/samples/winrt_universal/VideoCaptureXAML/video_capture_xaml/video_capture_xaml.Shared/App.xaml.h
Examining data/opencv-4.4.0+dfsg2/samples/winrt_universal/VideoCaptureXAML/video_capture_xaml/video_capture_xaml.Shared/main.cpp
Examining data/opencv-4.4.0+dfsg2/samples/winrt_universal/VideoCaptureXAML/video_capture_xaml/video_capture_xaml.Shared/pch.cpp
Examining data/opencv-4.4.0+dfsg2/samples/winrt_universal/VideoCaptureXAML/video_capture_xaml/video_capture_xaml.Shared/pch.h
Examining data/opencv-4.4.0+dfsg2/samples/winrt_universal/VideoCaptureXAML/video_capture_xaml/video_capture_xaml.Windows/MainPage.xaml.cpp
Examining data/opencv-4.4.0+dfsg2/samples/winrt_universal/VideoCaptureXAML/video_capture_xaml/video_capture_xaml.Windows/MainPage.xaml.h
Examining data/opencv-4.4.0+dfsg2/samples/winrt_universal/VideoCaptureXAML/video_capture_xaml/video_capture_xaml.WindowsPhone/MainPage.xaml.cpp
Examining data/opencv-4.4.0+dfsg2/samples/winrt_universal/VideoCaptureXAML/video_capture_xaml/video_capture_xaml.WindowsPhone/MainPage.xaml.h
Examining data/opencv-4.4.0+dfsg2/samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/BasicTimer.h
Examining data/opencv-4.4.0+dfsg2/samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DBase.cpp
Examining data/opencv-4.4.0+dfsg2/samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DBase.h
Examining data/opencv-4.4.0+dfsg2/samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DContentProvider.cpp
Examining data/opencv-4.4.0+dfsg2/samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DContentProvider.h
Examining data/opencv-4.4.0+dfsg2/samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp
Examining data/opencv-4.4.0+dfsg2/samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.h
Examining data/opencv-4.4.0+dfsg2/samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/DirectXHelper.h
Examining data/opencv-4.4.0+dfsg2/samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/QuadRenderer.cpp
Examining data/opencv-4.4.0+dfsg2/samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/QuadRenderer.h
Examining data/opencv-4.4.0+dfsg2/samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/pch.cpp
Examining data/opencv-4.4.0+dfsg2/samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/pch.h
Examining data/opencv-4.4.0+dfsg2/samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/BasicTimer.h
Examining data/opencv-4.4.0+dfsg2/samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/CubeRenderer.cpp
Examining data/opencv-4.4.0+dfsg2/samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/CubeRenderer.h
Examining data/opencv-4.4.0+dfsg2/samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DBase.cpp
Examining data/opencv-4.4.0+dfsg2/samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DBase.h
Examining data/opencv-4.4.0+dfsg2/samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DContentProvider.cpp
Examining data/opencv-4.4.0+dfsg2/samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DContentProvider.h
Examining data/opencv-4.4.0+dfsg2/samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp
Examining data/opencv-4.4.0+dfsg2/samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.h
Examining data/opencv-4.4.0+dfsg2/samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/DirectXHelper.h
Examining data/opencv-4.4.0+dfsg2/samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/pch.cpp
Examining data/opencv-4.4.0+dfsg2/samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/pch.h
Examining data/opencv-4.4.0+dfsg2/samples/wp8/OpenCVXaml/OpenCVComponent/OpenCVComponent.cpp
Examining data/opencv-4.4.0+dfsg2/samples/wp8/OpenCVXaml/OpenCVComponent/OpenCVComponent.h
Examining data/opencv-4.4.0+dfsg2/samples/wp8/OpenCVXaml/OpenCVComponent/pch.cpp
Examining data/opencv-4.4.0+dfsg2/samples/wp8/OpenCVXaml/OpenCVComponent/pch.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/alphamat/include/opencv2/alphamat.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/alphamat/samples/information_flow_matting.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/alphamat/src/3rdparty/KDTreeVectorOfVectorsAdaptor.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/alphamat/src/3rdparty/nanoflann.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/alphamat/src/cm.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/alphamat/src/cm.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/alphamat/src/infoflow.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/alphamat/src/intraU.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/alphamat/src/intraU.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/alphamat/src/local_info.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/alphamat/src/local_info.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/alphamat/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/aruco/include/opencv2/aruco.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/aruco/include/opencv2/aruco/charuco.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/aruco/include/opencv2/aruco/dictionary.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/aruco/samples/calibrate_camera.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/aruco/samples/calibrate_camera_charuco.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/aruco/samples/create_board.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/aruco/samples/create_board_charuco.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/aruco/samples/create_diamond.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/aruco/samples/create_marker.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/aruco/samples/detect_board.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/aruco/samples/detect_board_charuco.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/aruco/samples/detect_diamonds.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/aruco/samples/detect_markers.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/aruco/samples/tutorial_charuco_create_detect.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/aruco/src/apriltag_quad_thresh.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/aruco/src/apriltag_quad_thresh.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/aruco/src/aruco.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/aruco/src/charuco.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/aruco/src/dictionary.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/aruco/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/aruco/src/predefined_dictionaries.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/aruco/src/predefined_dictionaries_apriltag.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/aruco/src/unionfind.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/aruco/src/zarray.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/aruco/src/zmaxheap.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/aruco/src/zmaxheap.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/aruco/test/test_arucodetection.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/aruco/test/test_boarddetection.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/aruco/test/test_charucodetection.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/aruco/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/aruco/test/test_misc.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/aruco/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bgsegm/include/opencv2/bgsegm.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bgsegm/samples/bgfg.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bgsegm/src/bgfg_gaussmix.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bgsegm/src/bgfg_gmg.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bgsegm/src/bgfg_gsoc.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bgsegm/src/bgfg_subcnt.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bgsegm/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bgsegm/src/synthetic_seq.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bgsegm/test/test_backgroundsubtractor_gbh.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bgsegm/test/test_backgroundsubtractor_lsbp.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bgsegm/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bgsegm/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/include/opencv2/bioinspired.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/include/opencv2/bioinspired/bioinspired.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/include/opencv2/bioinspired/retina.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/include/opencv2/bioinspired/retinafasttonemapping.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/include/opencv2/bioinspired/transientareassegmentationmodule.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/perf/opencl/perf_retina.ocl.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/perf/perf_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/perf/perf_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/samples/OpenEXRimages_HDR_Retina_toneMapping.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/samples/cpp/OpenEXRimages_HDR_Retina_toneMapping.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/samples/cpp/OpenEXRimages_HDR_Retina_toneMapping_video.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/samples/cpp/retinaDemo.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/samples/cpp/tutorial_code/bioinspired/retina_tutorial.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/samples/ocl/retina_ocl.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/samples/retinaDemo.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/src/basicretinafilter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/src/basicretinafilter.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/src/imagelogpolprojection.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/src/imagelogpolprojection.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/src/magnoretinafilter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/src/magnoretinafilter.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/src/parvoretinafilter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/src/parvoretinafilter.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/src/retina.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/src/retina_ocl.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/src/retina_ocl.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/src/retinacolor.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/src/retinacolor.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/src/retinafasttonemapping.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/src/retinafilter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/src/retinafilter.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/src/templatebuffer.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/src/transientareassegmentationmodule.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/test/test_retina_ocl.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ccalib/include/opencv2/ccalib.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ccalib/include/opencv2/ccalib/multicalib.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ccalib/include/opencv2/ccalib/omnidir.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ccalib/include/opencv2/ccalib/randpattern.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ccalib/samples/multi_cameras_calibration.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ccalib/samples/omni_calibration.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ccalib/samples/omni_stereo_calibration.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ccalib/samples/random_pattern_calibration.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ccalib/samples/random_pattern_generator.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ccalib/src/ccalib.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ccalib/src/multicalib.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ccalib/src/omnidir.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ccalib/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ccalib/src/randpattern.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/include/opencv2/cnn_3dobj.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/samples/classify.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/samples/model_analysis.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/samples/sphereview_data.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/samples/video.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/src/cnn_feature.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/src/cnn_sphereview.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/test/test_cnn_3dobj_feature_extract.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaarithm/include/opencv2/cudaarithm.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaarithm/perf/perf_arithm.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaarithm/perf/perf_core.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaarithm/perf/perf_element_operations.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaarithm/perf/perf_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaarithm/perf/perf_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaarithm/perf/perf_reductions.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaarithm/src/arithm.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaarithm/src/core.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaarithm/src/element_operations.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaarithm/src/lut.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaarithm/src/lut.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaarithm/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaarithm/src/reductions.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaarithm/test/test_arithm.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaarithm/test/test_buffer_pool.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaarithm/test/test_core.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaarithm/test/test_element_operations.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaarithm/test/test_gpumat.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaarithm/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaarithm/test/test_opengl.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaarithm/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaarithm/test/test_reductions.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaarithm/test/test_stream.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudabgsegm/include/opencv2/cudabgsegm.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudabgsegm/perf/perf_bgsegm.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudabgsegm/perf/perf_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudabgsegm/perf/perf_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudabgsegm/src/cuda/mog2.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudabgsegm/src/mog.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudabgsegm/src/mog2.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudabgsegm/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudabgsegm/test/test_bgsegm.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudabgsegm/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudabgsegm/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/include/opencv2/cudacodec.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/misc/python/pyopencv_cudacodec.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/perf/perf_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/perf/perf_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/perf/perf_video.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/src/cuvid_video_source.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/src/cuvid_video_source.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/src/ffmpeg_video_source.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/src/ffmpeg_video_source.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/src/frame_queue.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/src/frame_queue.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/src/thread.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/src/thread.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/src/video_decoder.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/src/video_decoder.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/src/video_parser.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/src/video_parser.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/src/video_reader.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/src/video_source.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/src/video_source.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/src/video_writer.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/test/test_video.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudafeatures2d/perf/perf_features2d.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudafeatures2d/perf/perf_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudafeatures2d/perf/perf_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudafeatures2d/src/brute_force_matcher.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudafeatures2d/src/fast.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudafeatures2d/src/feature2d_async.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudafeatures2d/src/orb.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudafeatures2d/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudafeatures2d/test/test_features2d.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudafeatures2d/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudafeatures2d/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudafilters/include/opencv2/cudafilters.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudafilters/perf/perf_filters.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudafilters/perf/perf_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudafilters/perf/perf_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudafilters/src/cuda/column_filter.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudafilters/src/cuda/row_filter.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudafilters/src/filtering.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudafilters/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudafilters/test/test_filters.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudafilters/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudafilters/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/include/opencv2/cudaimgproc.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/perf/perf_bilateral_filter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/perf/perf_blend.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/perf/perf_canny.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/perf/perf_color.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/perf/perf_corners.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/perf/perf_gftt.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/perf/perf_histogram.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/perf/perf_hough.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/perf/perf_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/perf/perf_match_template.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/perf/perf_mean_shift.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/perf/perf_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/src/bilateral_filter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/src/blend.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/src/canny.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/src/color.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/src/corners.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/src/cvt_color_internal.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/src/generalized_hough.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/src/gftt.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/src/histogram.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/src/hough_circles.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/src/hough_lines.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/src/hough_segments.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/src/match_template.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/src/mean_shift.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/src/mssegmentation.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/test/test_bilateral_filter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/test/test_blend.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/test/test_canny.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/test/test_color.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/test/test_corners.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/test/test_gftt.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/test/test_histogram.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/test/test_hough.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/test/test_match_template.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/test/test_mean_shift.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/include/opencv2/cudalegacy.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/include/opencv2/cudalegacy/NCV.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/include/opencv2/cudalegacy/NCVBroxOpticalFlow.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/include/opencv2/cudalegacy/NCVPyramid.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/include/opencv2/cudalegacy/NPP_staging.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/include/opencv2/cudalegacy/private.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/perf/perf_bgsegm.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/perf/perf_calib3d.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/perf/perf_labeling.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/perf/perf_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/perf/perf_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/src/NCV.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/src/bm.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/src/bm_fast.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/src/calib3d.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/src/cuda/NCVAlg.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/src/cuda/NCVColorConversion.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/src/cuda/NCVPixelOperations.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/src/cuda/NCVRuntimeTemplates.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/src/cuda/fgd.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/src/fgd.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/src/gmg.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/src/graphcuts.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/src/image_pyramid.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/src/interpolate_frames.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/src/needle_map.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/NCVAutoTestLister.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/NCVTest.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/NCVTestSourceProvider.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/TestCompact.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/TestCompact.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/TestDrawRects.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/TestDrawRects.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/TestHaarCascadeApplication.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/TestHaarCascadeApplication.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/TestHaarCascadeLoader.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/TestHaarCascadeLoader.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/TestHypothesesFilter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/TestHypothesesFilter.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/TestHypothesesGrow.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/TestHypothesesGrow.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/TestIntegralImage.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/TestIntegralImage.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/TestIntegralImageSquared.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/TestIntegralImageSquared.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/TestRectStdDev.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/TestRectStdDev.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/TestResize.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/TestResize.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/TestTranspose.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/TestTranspose.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/main_nvidia.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/main_test_nvidia.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/test_calib3d.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/test_labeling.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/test_nvidia.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaobjdetect/include/opencv2/cudaobjdetect.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaobjdetect/perf/perf_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaobjdetect/perf/perf_objdetect.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaobjdetect/perf/perf_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaobjdetect/src/cascadeclassifier.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaobjdetect/src/cuda/lbp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaobjdetect/src/hog.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaobjdetect/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaobjdetect/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaobjdetect/test/test_objdetect.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaobjdetect/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaoptflow/include/opencv2/cudaoptflow.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaoptflow/perf/perf_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaoptflow/perf/perf_optflow.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaoptflow/perf/perf_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaoptflow/samples/nvidia_optical_flow.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaoptflow/samples/optical_flow.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaoptflow/src/brox.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaoptflow/src/farneback.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaoptflow/src/nvidiaOpticalFlow.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaoptflow/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaoptflow/src/pyrlk.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaoptflow/src/tvl1flow.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaoptflow/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaoptflow/test/test_optflow.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudaoptflow/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudastereo/include/opencv2/cudastereo.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudastereo/perf/perf_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudastereo/perf/perf_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudastereo/perf/perf_stereo.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudastereo/src/cuda/disparity_bilateral_filter.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudastereo/src/cuda/stereocsbp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudastereo/src/disparity_bilateral_filter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudastereo/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudastereo/src/stereobm.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudastereo/src/stereobp.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudastereo/src/stereocsbp.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudastereo/src/util.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudastereo/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudastereo/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudastereo/test/test_stereo.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudawarping/include/opencv2/cudawarping.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudawarping/perf/perf_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudawarping/perf/perf_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudawarping/perf/perf_warping.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudawarping/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudawarping/src/pyramids.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudawarping/src/remap.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudawarping/src/resize.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudawarping/src/warp.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudawarping/test/interpolation.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudawarping/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudawarping/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudawarping/test/test_pyramids.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudawarping/test/test_remap.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudawarping/test/test_resize.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudawarping/test/test_warp_affine.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudawarping/test/test_warp_perspective.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/block/block.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/block/detail/reduce.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/block/detail/reduce_key_val.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/block/dynamic_smem.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/block/reduce.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/block/scan.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/block/vec_distance.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/common.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/expr/binary_func.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/expr/binary_op.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/expr/color.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/expr/deriv.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/expr/expr.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/expr/per_element_func.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/expr/reduction.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/expr/unary_func.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/expr/unary_op.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/expr/warping.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/functional/color_cvt.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/functional/detail/color_cvt.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/functional/functional.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/functional/tuple_adapter.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/grid/copy.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/grid/detail/copy.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/grid/detail/histogram.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/grid/detail/integral.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/grid/detail/minmaxloc.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/grid/detail/pyr_down.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/grid/detail/pyr_up.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/grid/detail/reduce.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/grid/detail/reduce_to_column.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/grid/detail/reduce_to_row.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/grid/detail/split_merge.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/grid/detail/transform.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/grid/detail/transpose.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/grid/histogram.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/grid/integral.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/grid/pyramids.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/grid/reduce.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/grid/reduce_to_vec.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/grid/split_merge.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/grid/transform.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/grid/transpose.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/ptr2d/constant.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/ptr2d/deriv.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/ptr2d/extrapolation.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/ptr2d/glob.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/ptr2d/gpumat.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/ptr2d/interpolation.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/ptr2d/lut.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/ptr2d/mask.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/ptr2d/remap.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/ptr2d/resize.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/ptr2d/texture.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/ptr2d/traits.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/ptr2d/transform.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/ptr2d/warping.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/ptr2d/zip.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/util/atomic.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/util/detail/tuple.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/util/detail/type_traits.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/util/limits.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/util/saturate_cast.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/util/simd_functions.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/util/tuple.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/util/type_traits.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/util/vec_math.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/util/vec_traits.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/warp/detail/reduce.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/warp/detail/reduce_key_val.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/warp/reduce.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/warp/scan.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/warp/shuffle.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/include/opencv2/cudev/warp/warp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/src/stub.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cudev/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/include/opencv2/cvv.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/include/opencv2/cvv/call_meta_data.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/include/opencv2/cvv/cvv.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/include/opencv2/cvv/debug_mode.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/include/opencv2/cvv/dmatch.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/include/opencv2/cvv/filter.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/include/opencv2/cvv/final_show.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/include/opencv2/cvv/show_image.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/samples/cvv_demo.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/controller/view_controller.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/controller/view_controller.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/extension_api/api.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/extension_api/api.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/gui/call_tab.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/gui/call_window.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/gui/call_window.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/gui/filter_call_tab.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/gui/image_call_tab.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/gui/image_call_tab.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/gui/main_call_window.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/gui/main_call_window.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/gui/match_call_tab.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/gui/multiview_call_tab.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/gui/overview_group_subtable.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/gui/overview_group_subtable.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/gui/overview_panel.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/gui/overview_panel.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/gui/overview_table.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/gui/overview_table.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/gui/overview_table_row.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/gui/overview_table_row.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/gui/rawview_group_subtable.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/gui/rawview_group_subtable.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/gui/rawview_table.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/gui/rawview_table.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/gui/rawview_table_row.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/gui/rawview_table_row.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/gui/tabwidget.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/impl/call.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/impl/call.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/impl/data_controller.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/impl/data_controller.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/impl/dmatch.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/impl/filter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/impl/filter_call.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/impl/filter_call.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/impl/final_show.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/impl/init.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/impl/init.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/impl/match_call.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/impl/match_call.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/impl/show_image.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/impl/single_image_call.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/impl/single_image_call.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/accordion.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/accordion.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/autofilterwidget.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/collapsable.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/collapsable.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/filter/changed_pixels_widget.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/filter/changed_pixels_widget.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/filter/channelreorderfilter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/filter/channelreorderfilter.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/filter/diffFilterWidget.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/filter/diffFilterWidget.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/filter/grayfilterwidget.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/filter/grayfilterwidget.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/filter/overlayfilterwidget.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/filter/overlayfilterwidget.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/filter/sobelfilterwidget.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/filter/sobelfilterwidget.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/filterfunctionwidget.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/filterselectorwidget.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/histogram.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/histogram.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/histogramoptpanel.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/histogramoptpanel.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/intervallselector.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/colorutil.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/cvvkeypoint.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/cvvkeypoint.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/cvvmatch.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/cvvmatch.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/cvvpointmatch.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/cvvpointmatch.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/falsecolorkeypointpen.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/falsecolorkeypointpen.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/falsecolormatchpen.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/falsecolormatchpen.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/keypointintervallselection.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/keypointintervallselection.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/keypointmanagement.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/keypointmanagement.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/keypointportionselector.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/keypointportionselector.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/keypointselection.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/keypointselectionselector.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/keypointselectionselector.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/keypointsettings.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/keypointsettingsselector.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/keypointsettingsselector.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/keypointshowsetting.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/keypointshowsetting.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/keypointvaluechooser.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/keypointvaluechooser.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/matchintervallselection.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/matchintervallselection.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/matchmanagement.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/matchmanagement.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/matchportionselector.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/matchportionselector.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/matchscene.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/matchscene.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/matchselection.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/matchselectionselector.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/matchselectionselector.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/matchsettings.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/matchsettingsselector.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/matchsettingsselector.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/matchshowsetting.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/matchshowsetting.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/rawview_window.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/rawview_window.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/showinrawviewwidget.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/showinrawviewwidget.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/singlecolorkeypointpen.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/singlecolorkeypointpen.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/singlecolormatchpen.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/singlecolormatchpen.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/zoomableproxyobject.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/matchview/zoomableproxyobject.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/portionselector.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/registerhelper.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/signalslot.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/stfl_query_widget.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/stfl_query_widget.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/stfl_query_widget_completer.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/stfl_query_widget_lineedit.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/stfl_query_widget_lineedit.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/synczoomwidget.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/synczoomwidget.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/types.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/util.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/util.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/zoomableimage.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/zoomableimage.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/zoomableimageoptpanel.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/qtutil/zoomableimageoptpanel.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/stfl/element_group.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/stfl/stfl_engine.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/stfl/stringutils.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/stfl/stringutils.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/util/observer_ptr.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/util/util.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/view/defaultfilterview.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/view/defaultfilterview.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/view/dual_filter_view.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/view/dual_filter_view.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/view/filter_view.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/view/image_view.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/view/image_view.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/view/linematchview.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/view/linematchview.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/view/match_view.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/view/pointmatchview.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/view/pointmatchview.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/view/rawview.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/view/rawview.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/view/singlefilterview.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/view/singlefilterview.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/view/translationsmatchview.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/src/view/translationsmatchview.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/test/test_debug_flag.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/test/test_is_any_of.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/test/test_location.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/test/test_observer_ptr.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/cvv/test/test_reference.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/include/opencv2/datasets/ar_hmdb.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/include/opencv2/datasets/ar_sports.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/include/opencv2/datasets/dataset.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/include/opencv2/datasets/fr_adience.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/include/opencv2/datasets/fr_lfw.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/include/opencv2/datasets/gr_chalearn.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/include/opencv2/datasets/gr_skig.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/include/opencv2/datasets/hpe_humaneva.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/include/opencv2/datasets/hpe_parse.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/include/opencv2/datasets/ir_affine.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/include/opencv2/datasets/ir_robot.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/include/opencv2/datasets/is_bsds.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/include/opencv2/datasets/is_weizmann.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/include/opencv2/datasets/msm_epfl.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/include/opencv2/datasets/msm_middlebury.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/include/opencv2/datasets/or_imagenet.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/include/opencv2/datasets/or_mnist.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/include/opencv2/datasets/or_pascal.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/include/opencv2/datasets/or_sun.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/include/opencv2/datasets/pd_caltech.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/include/opencv2/datasets/pd_inria.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/include/opencv2/datasets/slam_kitti.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/include/opencv2/datasets/slam_tumindoor.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/include/opencv2/datasets/sr_bsds.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/include/opencv2/datasets/sr_div2k.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/include/opencv2/datasets/sr_general100.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/include/opencv2/datasets/tr_chars.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/include/opencv2/datasets/tr_icdar.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/include/opencv2/datasets/tr_svt.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/include/opencv2/datasets/track_alov.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/include/opencv2/datasets/track_vot.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/include/opencv2/datasets/util.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/samples/ar_hmdb.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/samples/ar_hmdb_benchmark.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/samples/ar_sports.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/samples/fr_adience.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/samples/fr_lfw.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/samples/fr_lfw_benchmark.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/samples/gr_chalearn.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/samples/gr_skig.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/samples/hpe_humaneva.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/samples/hpe_parse.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/samples/ir_affine.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/samples/ir_robot.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/samples/is_bsds.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/samples/is_weizmann.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/samples/msm_epfl.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/samples/msm_middlebury.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/samples/or_imagenet.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/samples/or_mnist.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/samples/or_pascal.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/samples/or_sun.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/samples/pd_caltech.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/samples/pd_inria.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/samples/slam_kitti.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/samples/slam_tumindoor.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/samples/sr_bsds.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/samples/sr_div2k.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/samples/sr_general100.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/samples/tr_chars.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/samples/tr_chars_benchmark.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/samples/tr_icdar.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/samples/tr_icdar_benchmark.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/samples/tr_svt.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/samples/tr_svt_benchmark.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/samples/track_vot.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/ar_hmdb.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/ar_sports.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/dataset.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/fr_adience.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/fr_lfw.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/gr_chalearn.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/gr_skig.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/hpe_humaneva.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/hpe_parse.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/ir_affine.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/ir_robot.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/is_bsds.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/is_weizmann.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/msm_epfl.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/msm_middlebury.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/or_imagenet.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/or_mnist.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/or_pascal.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/or_sun.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/pd_caltech.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/pd_inria.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/slam_kitti.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/slam_tumindoor.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/sr_bsds.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/sr_div2k.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/sr_general100.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tinyxml2/tinyxml2.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tinyxml2/tinyxml2.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tr_chars.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tr_icdar.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tr_svt.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/track_alov.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/track_vot.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/util.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/dnn_objdetect/include/opencv2/core_detect.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/dnn_objdetect/samples/image_classification.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/dnn_objdetect/samples/obj_detect.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/dnn_objdetect/src/core_detect.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/dnn_objdetect/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/dnn_superres/include/opencv2/dnn_superres.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/dnn_superres/perf/perf_dnn_superres.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/dnn_superres/perf/perf_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/dnn_superres/perf/perf_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/dnn_superres/samples/dnn_superres.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/dnn_superres/samples/dnn_superres_benchmark_quality.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/dnn_superres/samples/dnn_superres_benchmark_time.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/dnn_superres/samples/dnn_superres_multioutput.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/dnn_superres/samples/dnn_superres_video.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/dnn_superres/src/dnn_superres.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/dnn_superres/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/dnn_superres/test/test_dnn_superres.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/dnn_superres/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/dnn_superres/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/dpm/include/opencv2/dpm.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/dpm/samples/cascade_detect_camera.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/dpm/samples/cascade_detect_sequence.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/dpm/src/dpm_cascade.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/dpm/src/dpm_cascade.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/dpm/src/dpm_cascade_detector.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/dpm/src/dpm_convolution.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/dpm/src/dpm_convolution.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/dpm/src/dpm_feature.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/dpm/src/dpm_feature.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/dpm/src/dpm_model.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/dpm/src/dpm_model.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/dpm/src/dpm_nms.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/dpm/src/dpm_nms.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/dpm/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/include/opencv2/face.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/include/opencv2/face/bif.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/include/opencv2/face/face_alignment.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/include/opencv2/face/facemark.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/include/opencv2/face/facemarkAAM.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/include/opencv2/face/facemarkLBF.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/include/opencv2/face/facemark_train.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/include/opencv2/face/facerec.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/include/opencv2/face/mace.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/include/opencv2/face/predict_collector.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/samples/facemark_demo_aam.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/samples/facemark_demo_lbf.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/samples/facemark_lbf_fitting.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/samples/facerec_demo.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/samples/facerec_eigenfaces.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/samples/facerec_fisherfaces.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/samples/facerec_lbph.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/samples/facerec_save_load.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/samples/facerec_video.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/samples/mace_webcam.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/samples/sampleDetectLandmarks.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/samples/sampleDetectLandmarksvideo.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/samples/sample_face_swapping.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/samples/sample_train_landmark_detector.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/samples/sample_train_landmark_detector2.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/samples/samplewriteconfigfile.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/src/bif.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/src/eigen_faces.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/src/face_alignment.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/src/face_alignmentimpl.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/src/face_basic.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/src/face_utils.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/src/facemark.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/src/facemarkAAM.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/src/facemarkLBF.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/src/facerec.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/src/fisher_faces.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/src/getlandmarks.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/src/lbph_faces.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/src/mace.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/src/predict_collector.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/src/regtree.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/src/trainFacemark.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/test/test_bif.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/test/test_face_align.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/test/test_facemark.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/test/test_facemark_aam.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/test/test_facemark_lbf.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/test/test_loadsave.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/test/test_mace.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/face/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/freetype/include/opencv2/freetype.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/freetype/src/freetype.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/freetype/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/fuzzy/include/opencv2/fuzzy.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/fuzzy/include/opencv2/fuzzy/fuzzy_F0_math.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/fuzzy/include/opencv2/fuzzy/fuzzy_F1_math.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/fuzzy/include/opencv2/fuzzy/fuzzy_image.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/fuzzy/include/opencv2/fuzzy/types.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/fuzzy/samples/fuzzy_filtering.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/fuzzy/samples/fuzzy_inpainting.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/fuzzy/src/fuzzy_F0_math.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/fuzzy/src/fuzzy_F1_math.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/fuzzy/src/fuzzy_image.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/fuzzy/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/fuzzy/test/test_f0.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/fuzzy/test/test_f1.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/fuzzy/test/test_image.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/fuzzy/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/fuzzy/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/hdf/include/opencv2/hdf.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/hdf/include/opencv2/hdf/hdf5.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/hdf/samples/create_groups.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/hdf/samples/create_read_write_datasets.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/hdf/samples/read_write_attributes.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/hdf/src/hdf5.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/hdf/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/hdf/test/test_hdf5.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/hdf/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/hdf/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/hfs/include/opencv2/hfs.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/hfs/samples/example.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/hfs/src/hfs.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/hfs/src/hfs_core.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/hfs/src/hfs_core.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/hfs/src/magnitude/magnitude.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/hfs/src/magnitude/magnitude.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/hfs/src/merge/merge.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/hfs/src/merge/merge.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/hfs/src/or_utils/or_image.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/hfs/src/or_utils/or_memory_block.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/hfs/src/or_utils/or_types.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/hfs/src/or_utils/or_vector.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/hfs/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/hfs/src/slic/gslic_engine.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/hfs/src/slic/slic.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/hfs/src/slic/slic.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/img_hash/include/opencv2/img_hash.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/img_hash/include/opencv2/img_hash/average_hash.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/img_hash/include/opencv2/img_hash/block_mean_hash.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/img_hash/include/opencv2/img_hash/color_moment_hash.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/img_hash/include/opencv2/img_hash/img_hash_base.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/img_hash/include/opencv2/img_hash/marr_hildreth_hash.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/img_hash/include/opencv2/img_hash/phash.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/img_hash/include/opencv2/img_hash/radial_variance_hash.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/img_hash/samples/hash_samples.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/img_hash/src/average_hash.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/img_hash/src/block_mean_hash.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/img_hash/src/color_moment_hash.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/img_hash/src/img_hash_base.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/img_hash/src/marr_hildreth_hash.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/img_hash/src/phash.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/img_hash/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/img_hash/src/radial_variance_hash.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/img_hash/test/test_average_hash.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/img_hash/test/test_block_mean_hash.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/img_hash/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/img_hash/test/test_marr_hildreth_hash.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/img_hash/test/test_phash.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/img_hash/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/img_hash/test/test_radial_variance_hash.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/intensity_transform/include/opencv2/intensity_transform.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/intensity_transform/samples/intensity_transform.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/intensity_transform/src/bimef.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/intensity_transform/src/intensity_transform.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/intensity_transform/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/intensity_transform/test/test_intensity_transform.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/intensity_transform/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/intensity_transform/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/julia/include/opencv2/julia.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/julia/src/cv2.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/julia/src/jlcv2.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/julia/src/jlcv2_types.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/julia/src/jlcxx/array.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/include/opencv2/line_descriptor.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/include/opencv2/line_descriptor/descriptor.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/misc/python/pyopencv_LSDDetector.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/perf/perf_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/perf/perf_matching.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/perf/perf_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/samples/compute_descriptors.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/samples/knn_matching.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/samples/lines_extraction.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/samples/lsd_lines_extraction.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/samples/matching.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/samples/radius_matching.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/src/LSDDetector.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/src/binary_descriptor.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/src/binary_descriptor_matcher.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/src/bitarray.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/src/bitops.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/src/draw.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/src/types.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_descriptors_regression.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_detector_regression.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_matcher_regression.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/matlab/generator/templates/functional.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/matlab/generator/templates/template_class_base.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/matlab/generator/templates/template_function_base.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/matlab/include/opencv2/matlab/bridge.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/matlab/include/opencv2/matlab/map.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/matlab/include/opencv2/matlab/mxarray.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/matlab/include/opencv2/matlab/transpose.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/matlab/test/cv_exception.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/matlab/test/exception.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/matlab/test/std_exception.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/matlab/test/test_compiler.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/matlab/test/test_generator.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/include/opencv2/optflow.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/include/opencv2/optflow/motempl.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/include/opencv2/optflow/pcaflow.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/include/opencv2/optflow/rlofflow.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/include/opencv2/optflow/sparse_matching_gpc.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/perf/opencl/perf_optflow_dualTVL1.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/perf/perf_deepflow.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/perf/perf_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/perf/perf_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/perf/perf_rlof.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/perf/perf_tvl1optflow.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/samples/gpc_evaluate.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/samples/gpc_train.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/samples/motempl.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/samples/optical_flow_evaluation.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/samples/pcaflow_demo.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/samples/simpleflow_demo.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/samples/tvl1_optical_flow.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/src/deepflow.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/src/interfaces.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/src/motempl.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/src/pcaflow.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/src/rlof/berlof_invoker.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/src/rlof/geo_interpolation.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/src/rlof/geo_interpolation.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/src/rlof/plk_invoker.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/src/rlof/rlof_invoker.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/src/rlof/rlof_invokerbase.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/src/rlof/rlof_localflow.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/src/rlof/rlof_localflow.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/src/rlofflow.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/src/simpleflow.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/src/sparse_matching_gpc.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/src/sparsetodenseflow.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/src/tvl1flow.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/test/ocl/test_motempl.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/test/ocl/test_optflow_tvl1flow.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/test/test_OF_accuracy.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/test/test_motiontemplates.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/optflow/test/test_tvl1optflow.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ovis/include/opencv2/ovis.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ovis/samples/aruco_ar_demo.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ovis/samples/ovis_demo.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ovis/src/meshes.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ovis/src/ovis.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ovis/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/phase_unwrapping/include/opencv2/phase_unwrapping.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/phase_unwrapping/include/opencv2/phase_unwrapping/histogramphaseunwrapping.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/phase_unwrapping/include/opencv2/phase_unwrapping/phase_unwrapping.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/phase_unwrapping/misc/python/pyopencv_phase_unwrapping.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/phase_unwrapping/samples/unwrap.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/phase_unwrapping/src/histogramphaseunwrapping.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/phase_unwrapping/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/phase_unwrapping/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/phase_unwrapping/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/phase_unwrapping/test/test_unwrapping.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/plot/include/opencv2/plot.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/plot/samples/plot_demo.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/plot/src/plot.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/plot/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/quality/include/opencv2/quality.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/quality/include/opencv2/quality/quality_utils.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/quality/include/opencv2/quality/qualitybase.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/quality/include/opencv2/quality/qualitybrisque.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/quality/include/opencv2/quality/qualitygmsd.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/quality/include/opencv2/quality/qualitymse.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/quality/include/opencv2/quality/qualitypsnr.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/quality/include/opencv2/quality/qualityssim.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/quality/samples/brisque_eval_tid2008.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/quality/samples/brisque_trainer_livedb.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/quality/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/quality/src/qualitybrisque.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/quality/src/qualitygmsd.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/quality/src/qualitymse.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/quality/src/qualityssim.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/quality/test/test_brisque.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/quality/test/test_gmsd.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/quality/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/quality/test/test_mse.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/quality/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/quality/test/test_psnr.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/quality/test/test_ssim.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rapid/include/opencv2/rapid.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rapid/src/histogram.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rapid/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rapid/src/rapid.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rapid/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rapid/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/reg/include/opencv2/reg/map.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/reg/include/opencv2/reg/mapaffine.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/reg/include/opencv2/reg/mapper.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/reg/include/opencv2/reg/mappergradaffine.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/reg/include/opencv2/reg/mappergradeuclid.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/reg/include/opencv2/reg/mappergradproj.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/reg/include/opencv2/reg/mappergradshift.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/reg/include/opencv2/reg/mappergradsimilar.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/reg/include/opencv2/reg/mapperpyramid.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/reg/include/opencv2/reg/mapprojec.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/reg/include/opencv2/reg/mapshift.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/reg/perf/perf_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/reg/perf/perf_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/reg/perf/perf_reg.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/reg/samples/map_test.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/reg/src/map.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/reg/src/mapaffine.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/reg/src/mapper.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/reg/src/mappergradaffine.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/reg/src/mappergradeuclid.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/reg/src/mappergradproj.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/reg/src/mappergradshift.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/reg/src/mappergradsimilar.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/reg/src/mapperpyramid.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/reg/src/mapprojec.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/reg/src/mapshift.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/reg/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/reg/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/reg/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/reg/test/test_reg.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/include/opencv2/rgbd.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/include/opencv2/rgbd/depth.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/include/opencv2/rgbd/dynafu.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/include/opencv2/rgbd/intrinsics.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/include/opencv2/rgbd/kinfu.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/include/opencv2/rgbd/linemod.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/include/opencv2/rgbd/volume.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/misc/python/pyopencv_linemod.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/samples/dynafu_demo.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/samples/kinfu_demo.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/samples/linemod.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/samples/odometry_evaluation.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/src/depth_cleaner.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/src/depth_registration.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/src/depth_to_3d.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/src/depth_to_3d.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/src/dqb.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/src/dqb.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/src/dynafu.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/src/dynafu_tsdf.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/src/dynafu_tsdf.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/src/fast_icp.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/src/fast_icp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/src/hash_tsdf.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/src/hash_tsdf.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/src/kinfu.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/src/kinfu_frame.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/src/kinfu_frame.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/src/linemod.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/src/marchingcubes.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/src/nonrigid_icp.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/src/nonrigid_icp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/src/normal.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/src/odometry.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/src/plane.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/src/tsdf.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/src/tsdf.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/src/utils.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/src/utils.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/src/volume.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/src/warpfield.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/src/warpfield.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/test/test_dynafu.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/test/test_kinfu.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/test/test_normal.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/test/test_odometry.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/test/test_registration.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/test/test_utils.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/saliency/include/opencv2/saliency.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/saliency/include/opencv2/saliency/saliencyBaseClasses.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/saliency/include/opencv2/saliency/saliencySpecializedClasses.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/saliency/samples/computeSaliency.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/saliency/src/BING/CmFile.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/saliency/src/BING/CmFile.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/saliency/src/BING/CmShow.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/saliency/src/BING/CmShow.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/saliency/src/BING/CmTimer.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/saliency/src/BING/FilterTIG.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/saliency/src/BING/ValStructVec.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/saliency/src/BING/kyheader.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/saliency/src/BING/objectnessBING.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/saliency/src/motionSaliency.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/saliency/src/motionSaliencyBinWangApr2014.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/saliency/src/objectness.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/saliency/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/saliency/src/saliency.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/saliency/src/staticSaliency.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/saliency/src/staticSaliencyFineGrained.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/saliency/src/staticSaliencySpectralResidual.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/saliency/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/saliency/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/saliency/test/test_static_saliency_spectral_residual.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/include/opencv2/sfm.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/include/opencv2/sfm/conditioning.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/include/opencv2/sfm/fundamental.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/include/opencv2/sfm/io.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/include/opencv2/sfm/numeric.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/include/opencv2/sfm/projection.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/include/opencv2/sfm/reconstruct.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/include/opencv2/sfm/robust.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/include/opencv2/sfm/simple_pipeline.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/include/opencv2/sfm/triangulation.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/samples/import_reconstruction.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/samples/match_reconstruct.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/samples/recon2v.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/samples/scene_reconstruction.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/samples/trajectory_reconstruction.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/conditioning.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/fundamental.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/io.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/io/io_bundler.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_capi.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/base/vector.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/base/vector_utils.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/correspondence/bipartite_graph.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/correspondence/feature.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/correspondence/feature_matching.cc
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/correspondence/feature_matching.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/correspondence/matches.cc
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/correspondence/matches.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/correspondence/nRobustViewMatching.cc
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/correspondence/nRobustViewMatching.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/correspondence/nViewMatchingInterface.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/logging/logging.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/multiview/conditioning.cc
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/multiview/conditioning.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/multiview/euclidean_resection.cc
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/multiview/euclidean_resection.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/multiview/fundamental.cc
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/multiview/fundamental.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/multiview/fundamental_kernel.cc
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/multiview/fundamental_kernel.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/multiview/homography.cc
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/multiview/homography.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/multiview/homography_error.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/multiview/homography_parameterization.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/multiview/nviewtriangulation.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/multiview/panography.cc
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/multiview/panography.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/multiview/panography_kernel.cc
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/multiview/panography_kernel.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/multiview/projection.cc
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/multiview/projection.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/multiview/random_sample.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/multiview/resection.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/multiview/resection_kernel.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/multiview/robust_estimation.cc
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/multiview/robust_estimation.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/multiview/robust_fundamental.cc
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/multiview/robust_fundamental.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/multiview/robust_resection.cc
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/multiview/robust_resection.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/multiview/triangulation.cc
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/multiview/triangulation.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/multiview/two_view_kernel.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/multiview/twoviewtriangulation.cc
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/multiview/twoviewtriangulation.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/numeric/function_derivative.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/numeric/levenberg_marquardt.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/numeric/numeric.cc
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/numeric/numeric.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/numeric/poly.cc
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/numeric/poly.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/simple_pipeline/bundle.cc
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/simple_pipeline/bundle.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/simple_pipeline/callbacks.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/simple_pipeline/camera_intrinsics.cc
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/simple_pipeline/camera_intrinsics.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/simple_pipeline/camera_intrinsics_impl.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/simple_pipeline/distortion_models.cc
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/simple_pipeline/distortion_models.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/simple_pipeline/initialize_reconstruction.cc
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/simple_pipeline/initialize_reconstruction.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/simple_pipeline/intersect.cc
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/simple_pipeline/intersect.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/simple_pipeline/keyframe_selection.cc
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/simple_pipeline/keyframe_selection.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/simple_pipeline/pipeline.cc
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/simple_pipeline/pipeline.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/simple_pipeline/reconstruction.cc
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/simple_pipeline/reconstruction.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/simple_pipeline/reconstruction_scale.cc
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/simple_pipeline/reconstruction_scale.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/simple_pipeline/resect.cc
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/simple_pipeline/resect.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/simple_pipeline/tracks.cc
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/simple_pipeline/tracks.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/numeric.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/projection.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/reconstruct.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/robust.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/simple_pipeline.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/triangulation.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/test/scene.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/test/scene.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/test/test_common.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/test/test_conditioning.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/test/test_fundamental.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/test/test_numeric.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/test/test_projection.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/test/test_reconstruct.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/test/test_robust.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/test/test_simple_pipeline.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/sfm/test/test_triangulation.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/shape/include/opencv2/shape.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/shape/include/opencv2/shape/emdL1.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/shape/include/opencv2/shape/hist_cost.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/shape/include/opencv2/shape/shape.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/shape/include/opencv2/shape/shape_distance.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/shape/include/opencv2/shape/shape_transformer.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/shape/samples/shape_example.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/shape/src/aff_trans.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/shape/src/emdL1.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/shape/src/emdL1_def.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/shape/src/haus_dis.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/shape/src/hist_cost.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/shape/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/shape/src/sc_dis.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/shape/src/scd_def.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/shape/src/tps_trans.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/shape/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/shape/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/shape/test/test_shape.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/stereo/include/opencv2/stereo.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/stereo/include/opencv2/stereo/descriptor.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/stereo/include/opencv2/stereo/quasi_dense_stereo.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/stereo/include/opencv2/stereo/stereo.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/stereo/perf/perf_bm.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/stereo/perf/perf_descriptor.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/stereo/perf/perf_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/stereo/perf/perf_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/stereo/samples/dense_disparity.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/stereo/samples/export_param_file.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/stereo/samples/sample.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/stereo/src/descriptor.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/stereo/src/descriptor.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/stereo/src/matching.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/stereo/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/stereo/src/quasi_dense_stereo.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/stereo/src/stereo_binary_bm.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/stereo/src/stereo_binary_sgbm.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/stereo/test/test_block_matching.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/stereo/test/test_descriptors.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/stereo/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/stereo/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/structured_light/include/opencv2/structured_light.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/structured_light/include/opencv2/structured_light/graycodepattern.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/structured_light/include/opencv2/structured_light/sinusoidalpattern.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/structured_light/include/opencv2/structured_light/structured_light.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/structured_light/samples/cap_pattern.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/structured_light/samples/capsinpattern.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/structured_light/samples/pointcloud.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/structured_light/samples/projectorcalibration.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/structured_light/src/graycodepattern.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/structured_light/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/structured_light/src/sinusoidalpattern.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/structured_light/test/test_faps.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/structured_light/test/test_getProjPixel.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/structured_light/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/structured_light/test/test_plane.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/structured_light/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/superres/include/opencv2/superres.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/superres/include/opencv2/superres/optical_flow.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/superres/perf/perf_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/superres/perf/perf_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/superres/perf/perf_superres.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/superres/src/btv_l1.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/superres/src/btv_l1_cuda.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/superres/src/frame_source.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/superres/src/input_array_utility.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/superres/src/input_array_utility.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/superres/src/optical_flow.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/superres/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/superres/src/ring_buffer.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/superres/src/super_resolution.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/superres/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/superres/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/superres/test/test_superres.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/surface_matching/include/opencv2/surface_matching.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/surface_matching/include/opencv2/surface_matching/icp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/surface_matching/include/opencv2/surface_matching/pose_3d.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/surface_matching/include/opencv2/surface_matching/ppf_helpers.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/surface_matching/include/opencv2/surface_matching/ppf_match_3d.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/surface_matching/include/opencv2/surface_matching/t_hash_int.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/surface_matching/misc/python/pyopencv_ppf_match_3d.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/surface_matching/samples/ppf_load_match.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/surface_matching/samples/ppf_normal_computation.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/surface_matching/src/c_utils.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/surface_matching/src/hash_murmur.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/surface_matching/src/hash_murmur64.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/surface_matching/src/hash_murmur86.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/surface_matching/src/icp.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/surface_matching/src/pose_3d.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/surface_matching/src/ppf_helpers.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/surface_matching/src/ppf_match_3d.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/surface_matching/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/surface_matching/src/t_hash_int.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/text/cmake/checks/tesseract_test.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/text/include/opencv2/text.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/text/include/opencv2/text/erfilter.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/text/include/opencv2/text/ocr.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/text/include/opencv2/text/swt_text_detection.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/text/include/opencv2/text/textDetector.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/text/samples/character_recognition.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/text/samples/cropped_word_recognition.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/text/samples/dictnet_demo.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/text/samples/end_to_end_recognition.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/text/samples/segmented_word_recognition.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/text/samples/text_recognition_cnn.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/text/samples/textbox_demo.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/text/samples/textdetection.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/text/samples/textdetection_swt.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/text/samples/webcam_demo.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/text/src/erfilter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/text/src/ocr_beamsearch_decoder.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/text/src/ocr_hmm_decoder.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/text/src/ocr_holistic.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/text/src/ocr_tesseract.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/text/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/text/src/text_detectorCNN.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/text/src/text_detector_swt.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/text/test/test_detection.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/text/test/test_detection_swt.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/text/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/text/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/include/opencv2/tracking.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/include/opencv2/tracking/feature.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/include/opencv2/tracking/kalman_filters.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/include/opencv2/tracking/onlineBoosting.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/include/opencv2/tracking/onlineMIL.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/include/opencv2/tracking/tldDataset.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/include/opencv2/tracking/tracker.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/include/opencv2/tracking/tracking.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/include/opencv2/tracking/tracking_by_matching.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/perf/perf_Tracker.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/perf/perf_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/perf/perf_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/samples/benchmark.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/samples/csrt.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/samples/goturnTracker.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/samples/kcf.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/samples/multiTracker_dataset.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/samples/multitracker.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/samples/samples_utility.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/samples/tracker.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/samples/tracker_dataset.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/samples/tracking_by_matching.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/samples/tutorial_customizing_cn_tracker.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/samples/tutorial_introduction_to_tracker.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/samples/tutorial_multitracker.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/PFSolver.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/TrackingFunctionPF.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/augmented_unscented_kalman.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/feature.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/featureColorName.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/gtrTracker.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/gtrTracker.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/gtrUtils.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/gtrUtils.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/kuhn_munkres.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/kuhn_munkres.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/mosseTracker.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/multiTracker.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/multiTracker.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/multiTracker_alt.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/onlineBoosting.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/onlineMIL.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/tldDataset.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/tldDetector.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/tldDetector.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/tldEnsembleClassifier.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/tldEnsembleClassifier.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/tldModel.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/tldModel.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/tldTracker.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/tldTracker.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/tldUtils.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/tldUtils.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/tracker.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerBoosting.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerBoostingModel.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerBoostingModel.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerCSRT.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerCSRTScaleEstimation.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerCSRTScaleEstimation.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerCSRTSegmentation.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerCSRTSegmentation.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerCSRTUtils.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerCSRTUtils.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerFeature.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerFeatureSet.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerKCF.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerMIL.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerMILModel.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerMILModel.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerMedianFlow.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerModel.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerSampler.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerSamplerAlgorithm.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerStateEstimator.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/tracking_by_matching.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/tracking_utils.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/tracking_utils.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/unscented_kalman.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/test/test_aukf.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/test/test_trackerParametersIO.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/test/test_trackers.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/tracking/test/test_ukf.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/videostab/include/opencv2/videostab.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/videostab/include/opencv2/videostab/deblurring.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/videostab/include/opencv2/videostab/fast_marching.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/videostab/include/opencv2/videostab/fast_marching_inl.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/videostab/include/opencv2/videostab/frame_source.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/videostab/include/opencv2/videostab/global_motion.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/videostab/include/opencv2/videostab/inpainting.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/videostab/include/opencv2/videostab/log.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/videostab/include/opencv2/videostab/motion_core.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/videostab/include/opencv2/videostab/motion_stabilizing.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/videostab/include/opencv2/videostab/optical_flow.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/videostab/include/opencv2/videostab/outlier_rejection.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/videostab/include/opencv2/videostab/ring_buffer.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/videostab/include/opencv2/videostab/stabilizer.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/videostab/include/opencv2/videostab/wobble_suppression.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/videostab/samples/videostab.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/videostab/src/clp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/videostab/src/deblurring.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/videostab/src/fast_marching.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/videostab/src/frame_source.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/videostab/src/global_motion.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/videostab/src/inpainting.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/videostab/src/log.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/videostab/src/motion_stabilizing.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/videostab/src/optical_flow.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/videostab/src/outlier_rejection.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/videostab/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/videostab/src/stabilizer.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/videostab/src/wobble_suppression.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/videostab/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/videostab/test/test_motion_estimation.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/videostab/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/videostab/test/test_stabilizer.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/include/opencv2/viz.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/include/opencv2/viz/types.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/include/opencv2/viz/viz3d.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/include/opencv2/viz/vizcore.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/include/opencv2/viz/widget_accessor.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/include/opencv2/viz/widgets.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/samples/creating_widgets.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/samples/histo3D.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/samples/launching_viz.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/samples/transformations.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/samples/widget_pose.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/src/clouds.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/src/shapes.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/src/types.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/src/viz3d.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/src/vizcore.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/src/vizimpl.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/src/vizimpl.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/src/vtk/vtkCloudMatSink.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/src/vtk/vtkCloudMatSink.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/src/vtk/vtkCloudMatSource.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/src/vtk/vtkCloudMatSource.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/src/vtk/vtkImageMatSource.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/src/vtk/vtkImageMatSource.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/src/vtk/vtkOBJWriter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/src/vtk/vtkOBJWriter.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/src/vtk/vtkTrajectorySource.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/src/vtk/vtkTrajectorySource.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/src/vtk/vtkVizInteractorStyle.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/src/vtk/vtkVizInteractorStyle.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/src/vtk/vtkXYZReader.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/src/vtk/vtkXYZReader.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/src/vtk/vtkXYZWriter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/src/vtk/vtkXYZWriter.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/src/widget.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/test/test_common.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/test/test_common.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/test/test_tutorial2.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/test/test_tutorial3.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/test/test_viz3d.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/viz/test/tests_simple.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/include/opencv2/ximgproc.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/include/opencv2/ximgproc/brightedges.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/include/opencv2/ximgproc/color_match.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/include/opencv2/ximgproc/deriche_filter.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/include/opencv2/ximgproc/disparity_filter.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/include/opencv2/ximgproc/edge_filter.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/include/opencv2/ximgproc/edgeboxes.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/include/opencv2/ximgproc/edgepreserving_filter.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/include/opencv2/ximgproc/estimated_covariance.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/include/opencv2/ximgproc/fast_hough_transform.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/include/opencv2/ximgproc/fast_line_detector.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/include/opencv2/ximgproc/fourier_descriptors.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/include/opencv2/ximgproc/lsc.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/include/opencv2/ximgproc/paillou_filter.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/include/opencv2/ximgproc/peilin.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/include/opencv2/ximgproc/ridgefilter.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/include/opencv2/ximgproc/run_length_morphology.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/include/opencv2/ximgproc/seeds.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/include/opencv2/ximgproc/segmentation.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/include/opencv2/ximgproc/slic.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/include/opencv2/ximgproc/sparse_match_interpolator.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/include/opencv2/ximgproc/structured_edge_detection.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/include/opencv2/ximgproc/weighted_median_filter.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/perf/perf_adaptive_manifold.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/perf/perf_bilateral_texture_filter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/perf/perf_disparity_wls_filter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/perf/perf_domain_transform.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/perf/perf_edgepreserving_filter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/perf/perf_fast_hough_transform.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/perf/perf_fgs_filter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/perf/perf_guided_filter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/perf/perf_joint_bilateral_filter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/perf/perf_l0_smooth.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/perf/perf_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/perf/perf_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/perf/perf_ridge_detection_filter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/perf/perf_rolling_guidance_filter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/perf/perf_run_length_morphology.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/perf/perf_weighted_median_filter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/samples/brightedgesexample.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/samples/color_match_template.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/samples/colorize.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/samples/deriche_demo.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/samples/disparity_filtering.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/samples/edgeboxes_demo.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/samples/edgepreserving_filter_demo.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/samples/fast_hough_transform.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/samples/filterdemo.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/samples/fld_lines.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/samples/fourier_descriptors_demo.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/samples/graphsegmentation_demo.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/samples/live_demo.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/samples/niblack_thresholding.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/samples/paillou_demo.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/samples/peilin.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/samples/run_length_morphology_demo.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/samples/seeds.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/samples/selectivesearchsegmentation_demo.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/samples/slic.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/samples/structured_edge_detection.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/samples/thinning.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/adaptive_manifold_filter_n.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/advanced_types.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/anisodiff.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/bilateral_texture_filter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/brightedges.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/deriche_filter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/disparity_filters.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/domain_transform.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/dtfilter_cpu.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/dtfilter_cpu.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/dtfilter_cpu.inl.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/edgeaware_filters_common.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/edgeaware_filters_common.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/edgeboxes.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/edgepreserving_filter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/estimated_covariance.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/fast_hough_transform.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/fast_line_detector.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/fbs_filter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/fgs_filter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/fourier_descriptors.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/graphsegmentation.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/guided_filter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/joint_bilateral_filter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/l0_smooth.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/lsc.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/niblack_thresholding.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/paillou_filter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/peilin.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/quaternion.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/ridgedetectionfilter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/rolling_guidance_filter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/run_length_morphology.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/seeds.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/selectivesearchsegmentation.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/slic.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/sparse_match_interpolators.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/structured_edge_detection.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/thinning.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/weighted_median_filter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_adaptive_manifold.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_adaptive_manifold_ref_impl.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_anisodiff.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_bilateral_texture_filter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_deriche_filter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_disparity_wls_filter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_domain_transform.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_edgeboxes.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_edgepreserving_filter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_fast_hough_transform.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_fbs_filter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_fgs_filter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_fld.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_fourier_descriptors.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_guided_filter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_joint_bilateral_filter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_l0_smooth.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_matchcolortemplate.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_niblack_threshold.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_ridge_detection_filter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_rolling_guidance_filter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_run_length_morphology.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_slic.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_sparse_match_interpolator.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_structured_edge_detection.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_thinning.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_weighted_median_filter.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xobjdetect/include/opencv2/xobjdetect.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xobjdetect/src/cascadeclassifier.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xobjdetect/src/feature_evaluator.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xobjdetect/src/feature_evaluator.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xobjdetect/src/lbpfeatures.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xobjdetect/src/lbpfeatures.h
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xobjdetect/src/precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xobjdetect/src/waldboost.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xobjdetect/src/waldboost.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xobjdetect/src/wbdetector.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xobjdetect/src/wbdetector.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xobjdetect/tools/waldboost_detector/waldboost_detector.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/include/opencv2/xphoto.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/include/opencv2/xphoto/bm3d_image_denoising.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/include/opencv2/xphoto/dct_image_denoising.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/include/opencv2/xphoto/inpainting.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/include/opencv2/xphoto/oilpainting.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/include/opencv2/xphoto/tonemap.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/include/opencv2/xphoto/white_balance.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/perf/perf_grayworld.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/perf/perf_learning_based_color_balance.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/perf/perf_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/perf/perf_precomp.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/samples/bm3d_image_denoising.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/samples/color_balance.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/samples/dct_image_denoising.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/samples/inpainting.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/samples/oil.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/src/advanced_types.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/src/annf.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/src/blending.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/src/bm3d_denoising_invoker_commons.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/src/bm3d_denoising_invoker_step1.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/src/bm3d_denoising_invoker_step2.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/src/bm3d_denoising_invoker_structs.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/src/bm3d_denoising_transforms.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/src/bm3d_denoising_transforms_1D.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/src/bm3d_denoising_transforms_2D.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/src/bm3d_denoising_transforms_haar.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/src/bm3d_image_denoising.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/src/dct_image_denoising.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/src/gcgraph.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/src/grayworld_white_balance.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/src/inpainting.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/src/inpainting_fsr.impl.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/src/kaiser_window.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/src/learning_based_color_balance.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/src/learning_based_color_balance_model.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/src/norm2.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/src/oilpainting.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/src/photomontage.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/src/simple_color_balance.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/src/tonemap.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/src/whs.hpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/test/dct_image_denoising.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/test/simple_color_balance.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/test/test_denoise_bm3d.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/test/test_grayworld.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/test/test_hdr.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/test/test_inpainting.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/test/test_learning_based_color_balance.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/test/test_main.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/test/test_oil_painting.cpp
Examining data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/test/test_precomp.hpp

FINAL RESULTS:

data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:612:50:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
                        const char* ptr0 = this->gets(xml_buf_size);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:705:31:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
            char* buf = this->gets(16);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:806:11:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
    char* gets( size_t maxCount )
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:856:11:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
    char* gets()
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:858:27:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
        char* ptr = this->gets(0);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.hpp:140:19:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
    virtual char* gets() = 0;
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_json.cpp:308:35:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
                        ptr = fs->gets();
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_json.cpp:318:43:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
                                ptr = fs->gets();
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_json.cpp:334:43:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
                                ptr = fs->gets();
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_json.cpp:342:47:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
                                    ptr = fs->gets();
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_json.cpp:371:31:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
                    ptr = fs->gets();
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_json.cpp:523:39:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
                            ptr = fs->gets();
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_xml.cpp:417:27:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
                ptr = fs->gets();
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_yml.cpp:354:27:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
                ptr = fs->gets();
data/opencv-4.4.0+dfsg2/apps/createsamples/utility.cpp:86: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( path, filename );
data/opencv-4.4.0+dfsg2/apps/createsamples/utility.cpp:792:21:  [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( tmp, &(full[0]) );
data/opencv-4.4.0+dfsg2/apps/createsamples/utility.cpp:1158: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( fullname, infoname );
data/opencv-4.4.0+dfsg2/apps/createsamples/utility.cpp:1289: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( fullname, infoname );
data/opencv-4.4.0+dfsg2/apps/createsamples/utility.cpp:1309:12:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
        if(fscanf(info, "%s %d", filename, &count) == 2)
data/opencv-4.4.0+dfsg2/apps/traincascade/cascadeclassifier.cpp:256:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(buf, "%s%d", "stage", i );
data/opencv-4.4.0+dfsg2/apps/traincascade/cascadeclassifier.cpp:541:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf( buf, "%s%d", "stage", si);
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/samples/calibrate_camera.cpp:130:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(buf, "flags: %s%s%s%s",
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/samples/calibrate_camera_charuco.cpp:130:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(buf, "flags: %s%s%s%s",
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/test/test_arucodetection.cpp:112:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf(cvtest::TS::LOG, "Marker not detected");
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/test/test_arucodetection.cpp:120:25:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    ts->printf(cvtest::TS::LOG, "Incorrect marker corners position");
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/test/test_arucodetection.cpp:317:29:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                        ts->printf(cvtest::TS::LOG, "Incorrect number of detected markers");
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/test/test_arucodetection.cpp:319:29:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                        ts->printf(cvtest::TS::LOG, "Incorrect marker id");
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/test/test_arucodetection.cpp:326:33:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                            ts->printf(cvtest::TS::LOG, "Incorrect marker corners position");
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/test/test_arucodetection.cpp:382:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "Error in DetectorParameters::minMarkerPerimeterRate");
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/test/test_arucodetection.cpp:391:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "Error in DetectorParameters::minMarkerPerimeterRate");
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/test/test_arucodetection.cpp:400:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "Error in DetectorParameters::maxMarkerPerimeterRate");
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/test/test_arucodetection.cpp:409:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "Error in DetectorParameters::maxMarkerPerimeterRate");
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/test/test_arucodetection.cpp:476:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf(cvtest::TS::LOG, "Error in bit correction");
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/test/test_arucodetection.cpp:516:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf(cvtest::TS::LOG, "Error in DetectorParameters::errorCorrectionRate");
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/test/test_boarddetection.cpp:206:25:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    ts->printf(cvtest::TS::LOG, "Marker detection failed in Board test");
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/test/test_boarddetection.cpp:226:29:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                        ts->printf(cvtest::TS::LOG, "Marker detected with wrong ID in Board test");
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/test/test_boarddetection.cpp:238:33:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                            ts->printf(cvtest::TS::LOG, "Corner reprojection error too high");
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/test/test_boarddetection.cpp:316:25:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    ts->printf(cvtest::TS::LOG, "Error in refine detected markers");
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/test/test_charucodetection.cpp:253:25:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    ts->printf(cvtest::TS::LOG, "Marker detection failed");
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/test/test_charucodetection.cpp:280:29:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                        ts->printf(cvtest::TS::LOG, "Invalid Charuco corner id");
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/test/test_charucodetection.cpp:289:29:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                        ts->printf(cvtest::TS::LOG, "Charuco corner reprojection error too high");
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/test/test_charucodetection.cpp:351:25:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    ts->printf(cvtest::TS::LOG, "Marker detection failed");
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/test/test_charucodetection.cpp:385:29:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                        ts->printf(cvtest::TS::LOG, "Invalid Charuco corner id");
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/test/test_charucodetection.cpp:394:29:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                        ts->printf(cvtest::TS::LOG, "Charuco corner reprojection error too high");
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/test/test_charucodetection.cpp:460:25:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    ts->printf(cvtest::TS::LOG, "Not enough markers for diamond detection");
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/test/test_charucodetection.cpp:473:25:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    ts->printf(cvtest::TS::LOG, "Diamond not detected correctly");
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/test/test_charucodetection.cpp:480:29:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                        ts->printf(cvtest::TS::LOG, "Incorrect diamond ids");
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/test/test_charucodetection.cpp:503:29:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                        ts->printf(cvtest::TS::LOG, "Diamond corner reprojection error too high");
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/test/test_charucodetection.cpp:528:29:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                        ts->printf(cvtest::TS::LOG, "Charuco pose error too high");
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/test/test_charucodetection.cpp:571:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf(cvtest::TS::LOG,
data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/samples/cpp/OpenEXRimages_HDR_Retina_toneMapping_video.cpp:189:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(currentImageName, filenamePrototype.c_str(), currentFileIndex);
data/opencv-4.4.0+dfsg2/contrib/modules/ccalib/samples/omni_calibration.cpp:94:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf( buf, "flags: %s%s%s%s%s%s%s%s%s",
data/opencv-4.4.0+dfsg2/contrib/modules/ccalib/samples/omni_stereo_calibration.cpp:132:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf( buf, "flags: %s%s%s%s%s%s%s%s%s",
data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/samples/classify.cpp:68:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(childpath, "%s/%s", path, ent->d_name);
data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/samples/sphereview_data.cpp:70:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(childpath, "%s/%s", path, ent->d_name);
data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/samples/video.cpp:32:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(childpath, "%s/%s", path, ent->d_name);
data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/src/cnn_sphereview.cpp: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(a0, headerPath);
data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/src/cnn_sphereview.cpp:159: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(headerPathimg, a0);
data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/src/cnn_sphereview.cpp:160: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(headerPathimg, a1);
data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/src/cnn_sphereview.cpp:162: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(headerPathlab, a0);
data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/src/cnn_sphereview.cpp:163: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(headerPathlab, a2);
data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/src/cnn_sphereview.cpp:182: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(A0, binaryPath);
data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/src/cnn_sphereview.cpp:186: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(binPathimg, A0);
data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/src/cnn_sphereview.cpp:187: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(binPathimg, A1);
data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/src/cnn_sphereview.cpp:189: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(binPathlab, A0);
data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/src/cnn_sphereview.cpp:190: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(binPathlab, A2);
data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/src/cnn_sphereview.cpp:198: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(a0, headerPath);
data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/src/cnn_sphereview.cpp:202: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(headerPathimg, a0);
data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/src/cnn_sphereview.cpp:203: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(headerPathimg,a1);
data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/src/cnn_sphereview.cpp:205: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(headerPathlab, a0);
data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/src/cnn_sphereview.cpp:206: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(headerPathlab,a2);
data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/test/test_cnn_3dobj_feature_extract.cpp:41:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "could not read reference image %s\n", target_img.c_str(), "make sure the path of images are set properly.");
data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/test/test_cnn_3dobj_feature_extract.cpp:58:11:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      ts->printf(cvtest::TS::LOG, "Extracted featrue is not the same from the one extracted from Caffe.");
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/pd_caltech.cpp:153:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(imgName, "/%u.%s", i, ext.c_str());
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/pd_inria.cpp:133:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
            sscanf(line.c_str(), imageSizeFmt.c_str(), &width, &height, &depth);
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/pd_inria.cpp:140:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
            sscanf(line.c_str(), objWithGTFmt.c_str(), &numObjects);
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/pd_inria.cpp:147:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
            sscanf(line.c_str(), boundBoxFmt.c_str(), &xmin, &ymin, &xmax, &ymax);
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tinyxml2/tinyxml2.cpp:1861:9:  [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( _fp, format, va );
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tinyxml2/tinyxml2.cpp:1877:19:  [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.
        int len = vsnprintf( 0, 0, format, va );
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tinyxml2/tinyxml2.cpp:1890:3:  [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.
		vsnprintf( p, len+1, format, va );
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tinyxml2/tinyxml2.h:113:24:  [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 TIXML_SNPRINTF _snprintf
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tinyxml2/tinyxml2.h:114:24:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#define TIXML_SSCANF   sscanf
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tinyxml2/tinyxml2.h:118:24:  [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 TIXML_SNPRINTF snprintf
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tinyxml2/tinyxml2.h:119:24:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#define TIXML_SSCANF   sscanf
data/opencv-4.4.0+dfsg2/contrib/modules/img_hash/test/test_marr_hildreth_hash.cpp:53:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "Wrong hash value \n");
data/opencv-4.4.0+dfsg2/contrib/modules/img_hash/test/test_radial_variance_hash.cpp:113:9:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    ts->printf(cvtest::TS::LOG, "Wrong pixel per line value \n");
data/opencv-4.4.0+dfsg2/contrib/modules/img_hash/test/test_radial_variance_hash.cpp:139:11:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      ts->printf(cvtest::TS::LOG, "Wrong projection value \n");
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_descriptors_regression.cpp:87:11:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      ts->printf( cvtest::TS::LOG, "Valid and computed descriptors matrices must have the same size and type.\n" );
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_descriptors_regression.cpp:210:11:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      ts->printf( cvtest::TS::LOG, "compute() on empty image and empty keypoints must not generate exception (1).\n" );
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_descriptors_regression.cpp:222:11:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      ts->printf( cvtest::TS::LOG, "compute() on nonempty image and empty keylines must not generate exception (1).\n" );
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_descriptors_regression.cpp:237:11:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      ts->printf( cvtest::TS::LOG, "compute() on empty images and empty keylines collection must not generate exception (2).\n" );
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_descriptors_regression.cpp:253:11:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      ts->printf( cvtest::TS::LOG, "Image %s can not be read.\n", imgFilename.c_str() );
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_descriptors_regression.cpp:274:11:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      ts->printf( cvtest::TS::LOG, "\nAverage time of computing one descriptor = %g ms.\n",
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_descriptors_regression.cpp:291:15:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
          ts->printf( cvtest::TS::LOG, "Descriptors can not be written.\n" );
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_descriptors_regression.cpp:300:11:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      ts->printf( cvtest::TS::LOG, "Compute and write keylines.\n" );
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_descriptors_regression.cpp:311:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "File for writting keylines can not be opened.\n" );
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_descriptors_regression.cpp:322:11:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      ts->printf( cvtest::TS::LOG, "Feature detector is empty.\n" );
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_detector_regression.cpp:91:9:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    ts->printf( cvtest::TS::LOG, "detect() on empty image must return empty keylines vector (1).\n" );
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_detector_regression.cpp:97:9:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    ts->printf( cvtest::TS::LOG, "detect() on empty image must return empty keylines vector (1).\n" );
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_detector_regression.cpp:113:9:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    ts->printf( cvtest::TS::LOG, "detect() on empty image vector must not generate exception (2).\n" );
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_detector_regression.cpp:210:9:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    ts->printf( cvtest::TS::LOG, "Bad keylines count ratio (validCount = %d, calcCount = %d).\n", validKeylines.size(), calcKeylines.size() );
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_detector_regression.cpp:240:7:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  ts->printf( cvtest::TS::LOG, "badLineCount = %d; validLineCount = %d; calcLineCount = %d\n", badLineCount, validKeylines.size(),
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_detector_regression.cpp:245:9:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    ts->printf( cvtest::TS::LOG, " - Bad accuracy!\n" );
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_detector_regression.cpp:250:7:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  ts->printf( cvtest::TS::LOG, " - OK\n" );
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_detector_regression.cpp:263:9:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    ts->printf( cvtest::TS::LOG, "Image %s can not be read.\n", imgFilename.c_str() );
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_detector_regression.cpp:285:11:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      ts->printf( cvtest::TS::LOG, "keylines can not be read.\n" );
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_detector_regression.cpp:298:11:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      ts->printf( cvtest::TS::LOG, "File %s can not be opened to write.\n", resFilename.c_str() );
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_detector_regression.cpp:319:9:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    ts->printf( cvtest::TS::LOG, "Feature detector is empty.\n" );
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_matcher_regression.cpp:144:9:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    ts->printf( cvtest::TS::LOG, "match() on empty descriptors must not generate exception (1).\n" );
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_matcher_regression.cpp:155:9:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    ts->printf( cvtest::TS::LOG, "knnMatch() on empty descriptors must not generate exception (1).\n" );
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_matcher_regression.cpp:166:9:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    ts->printf( cvtest::TS::LOG, "radiusMatch() on empty descriptors must not generate exception (1).\n" );
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_matcher_regression.cpp:177:9:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    ts->printf( cvtest::TS::LOG, "add() on empty descriptors must not generate exception.\n" );
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_matcher_regression.cpp:188:9:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    ts->printf( cvtest::TS::LOG, "match() on empty descriptors must not generate exception (2).\n" );
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_matcher_regression.cpp:199:9:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    ts->printf( cvtest::TS::LOG, "knnMatch() on empty descriptors must not generate exception (2).\n" );
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_matcher_regression.cpp:210:9:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    ts->printf( cvtest::TS::LOG, "radiusMatch() on empty descriptors must not generate exception (2).\n" );
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_matcher_regression.cpp:250:11:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      ts->printf( cvtest::TS::LOG, "Incorrect matches count while test match() function (1).\n" );
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_matcher_regression.cpp:265:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "%f - too large bad matches part while test match() function (1).\n",
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_matcher_regression.cpp:279:11:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      ts->printf( cvtest::TS::LOG, "Incorrect matches count while test match() function for the same query and test descriptors (1).\n" );
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_matcher_regression.cpp:289:15:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
          ts->printf(
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_matcher_regression.cpp:316:11:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      ts->printf( cvtest::TS::LOG, "Incorrect matches count while test match() function (2).\n" );
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_matcher_regression.cpp:333:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "%f - too large bad matches part while test match() function (2).\n",
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_matcher_regression.cpp:354:11:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      ts->printf( cvtest::TS::LOG, "Incorrect matches count while test knnMatch() function (1).\n" );
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_matcher_regression.cpp:382:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "%f - too large bad matches part while test knnMatch() function (1).\n",
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_matcher_regression.cpp:409:11:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      ts->printf( cvtest::TS::LOG, "Incorrect matches count while test knnMatch() function (2).\n" );
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_matcher_regression.cpp:448:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "%f - too large bad matches part while test knnMatch() function (2).\n",
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_matcher_regression.cpp:467:11:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      ts->printf( cvtest::TS::LOG, "Incorrect matches count while test radiusMatch() function (1).\n" );
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_matcher_regression.cpp:491:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "%f - too large bad matches part while test radiusMatch() function (1).\n",
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_matcher_regression.cpp:515:11:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      ts->printf( cvtest::TS::LOG, "Incorrect matches count while test radiusMatch() function (1).\n" );
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_matcher_regression.cpp:553:11:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      ts->printf( cvtest::TS::LOG, "%f - too large bad matches part while test radiusMatch() function (2).\n",
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/samples/simpleflow_demo.cpp:40:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    printf(APP_NAME "writeOpticalFlowToFile : problem writing header\n");
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/samples/simpleflow_demo.cpp:50:9:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        printf(APP_NAME "writeOpticalFlowToFile : problem writing data\n");
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/samples/simpleflow_demo.cpp:59:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    printf(APP_NAME "Wrong number of command line arguments for mode `run`: %d (expected %d)\n",
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/samples/simpleflow_demo.cpp:68:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    printf(APP_NAME "Image #1 : %s cannot be read\n", argv[0]);
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/samples/simpleflow_demo.cpp:73:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    printf(APP_NAME "Image #2 : %s cannot be read\n", argv[1]);
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/samples/simpleflow_demo.cpp:78:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    printf(APP_NAME "Images should be of equal sizes\n");
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/samples/simpleflow_demo.cpp:83:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    printf(APP_NAME "Images should be of equal type CV_8UC3\n");
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/samples/simpleflow_demo.cpp:87:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  printf(APP_NAME "Read two images of size [rows = %d, cols = %d]\n",
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/samples/simpleflow_demo.cpp:96:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  printf(APP_NAME "calcOpticalFlowSF : %lf sec\n", (getTickCount() - start) / getTickFrequency());
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/samples/simpleflow_demo.cpp:100:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    printf(APP_NAME "Unable to open file '%s' for writing\n", argv[2]);
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/samples/simpleflow_demo.cpp:103:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  printf(APP_NAME "Writing to file\n");
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/samples/simpleflow_demo.cpp:167:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    printf(APP_NAME "Wrong number of command line arguments for mode `eval` : %d (expected %d)\n",
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/samples/simpleflow_demo.cpp:176:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    printf(APP_NAME "Cannot open file with first flow : %s\n", argv[0]);
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/samples/simpleflow_demo.cpp:180:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    printf(APP_NAME "Cannot read flow data from file %s\n", argv[0]);
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/samples/simpleflow_demo.cpp:187:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    printf(APP_NAME "Cannot open file with first flow : %s\n", argv[1]);
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/samples/simpleflow_demo.cpp:191:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    printf(APP_NAME "Cannot read flow data from file %s\n", argv[1]);
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/samples/simpleflow_demo.cpp:202:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    printf(APP_NAME "Mode is not specified\n");
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/samples/simpleflow_demo.cpp:217:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    printf(APP_NAME "Unknown mode : %s\n", argv[1]);
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/test/test_motiontemplates.cpp:479:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "The angle=%g is outside (%g,%g) range\n",
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/test/test_motiontemplates.cpp:486:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "The angle=%g differs too much from reference value=%g\n",
data/opencv-4.4.0+dfsg2/contrib/modules/plot/src/plot.cpp:441:17:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                sprintf(AxisX_Min_Text, Text, Value);
data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/test/test_odometry.cpp:156:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "Image %s can not be read.\n", imageFilename.c_str() );
data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/test/test_odometry.cpp:162:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "Depth %s can not be read.\n", depthFilename.c_str() );
data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/test/test_odometry.cpp:224:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "Can not find Rt between the same frame");
data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/test/test_odometry.cpp:230:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "Incorrect transformation between the same frame (not the identity matrix), diff = %f", diff);
data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/test/test_odometry.cpp:292:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "\nIncorrect count of accurate poses [1st case]: %f / %f", static_cast<double>(better_1time_count), maxError1 * static_cast<double>(iterCount));
data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/test/test_odometry.cpp:298:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "\nIncorrect count of accurate poses [2nd case]: %f / %f", static_cast<double>(better_5times_count), maxError5 * static_cast<double>(iterCount));
data/opencv-4.4.0+dfsg2/contrib/modules/saliency/src/BING/CmFile.cpp:55: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( buffer, _path.c_str() );
data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/logging/logging.h:28:11:  [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/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/logging/logging.h:28:20:  [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/opencv-4.4.0+dfsg2/contrib/modules/stereo/test/test_block_matching.cpp:89:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "Wrong input data \n");
data/opencv-4.4.0+dfsg2/contrib/modules/stereo/test/test_block_matching.cpp:95:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "Wrong input / output dimension \n");
data/opencv-4.4.0+dfsg2/contrib/modules/stereo/test/test_block_matching.cpp:137:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "Wrong input / output dimension \n");
data/opencv-4.4.0+dfsg2/contrib/modules/stereo/test/test_block_matching.cpp:143:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG,
data/opencv-4.4.0+dfsg2/contrib/modules/stereo/test/test_block_matching.cpp:172:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "Wrong input data \n");
data/opencv-4.4.0+dfsg2/contrib/modules/stereo/test/test_block_matching.cpp:178:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "Wrong input / output dimension \n");
data/opencv-4.4.0+dfsg2/contrib/modules/stereo/test/test_block_matching.cpp:219:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "Wrong input / output dimension \n");
data/opencv-4.4.0+dfsg2/contrib/modules/stereo/test/test_block_matching.cpp:226:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG,
data/opencv-4.4.0+dfsg2/contrib/modules/stereo/test/test_descriptors.cpp:95:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf(cvtest::TS::LOG, "Something wrong with ROI \n");
data/opencv-4.4.0+dfsg2/contrib/modules/stereo/test/test_descriptors.cpp:120:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "Wrong input data \n");
data/opencv-4.4.0+dfsg2/contrib/modules/stereo/test/test_descriptors.cpp:124:9:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    ts->printf(cvtest::TS::LOG, "Data loaded \n");
data/opencv-4.4.0+dfsg2/contrib/modules/stereo/test/test_descriptors.cpp:132:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "Wrong input / output dimension \n");
data/opencv-4.4.0+dfsg2/contrib/modules/stereo/test/test_descriptors.cpp:173:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "The image has all values the same \n");
data/opencv-4.4.0+dfsg2/contrib/modules/stereo/test/test_descriptors.cpp:179:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "For correct image we get all descriptor values the same \n");
data/opencv-4.4.0+dfsg2/contrib/modules/stereo/test/test_descriptors.cpp:208:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "Wrong input / output data \n");
data/opencv-4.4.0+dfsg2/contrib/modules/stereo/test/test_descriptors.cpp:214:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "Wrong kernel size;Kernel should be odd \n");
data/opencv-4.4.0+dfsg2/contrib/modules/stereo/test/test_descriptors.cpp:226:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "Wrong input / output data \n");
data/opencv-4.4.0+dfsg2/contrib/modules/stereo/test/test_descriptors.cpp:232:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "Wrong kernel size;Kernel should be odd \n");
data/opencv-4.4.0+dfsg2/contrib/modules/stereo/test/test_descriptors.cpp:260:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "Wrong input / output data \n");
data/opencv-4.4.0+dfsg2/contrib/modules/stereo/test/test_descriptors.cpp:266:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "Wrong kernel size;Kernel should be odd \n");
data/opencv-4.4.0+dfsg2/contrib/modules/stereo/test/test_descriptors.cpp:277:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "Wrong input / output data \n");
data/opencv-4.4.0+dfsg2/contrib/modules/stereo/test/test_descriptors.cpp:283:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "Wrong kernel size;Kernel should be odd \n");
data/opencv-4.4.0+dfsg2/contrib/modules/stereo/test/test_descriptors.cpp:310:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "Wrong input / output data \n");
data/opencv-4.4.0+dfsg2/contrib/modules/stereo/test/test_descriptors.cpp:316:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "Wrong kernel size;Kernel should be odd \n");
data/opencv-4.4.0+dfsg2/contrib/modules/stereo/test/test_descriptors.cpp:326:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "Wrong input / output data \n");
data/opencv-4.4.0+dfsg2/contrib/modules/stereo/test/test_descriptors.cpp:332:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "Wrong kernel size;Kernel should be odd \n");
data/opencv-4.4.0+dfsg2/contrib/modules/stereo/test/test_descriptors.cpp:359:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "Wrong input / output data \n");
data/opencv-4.4.0+dfsg2/contrib/modules/stereo/test/test_descriptors.cpp:365:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "Wrong kernel size;Kernel should be odd \n");
data/opencv-4.4.0+dfsg2/contrib/modules/stereo/test/test_descriptors.cpp:375:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "Wrong input / output data \n");
data/opencv-4.4.0+dfsg2/contrib/modules/stereo/test/test_descriptors.cpp:381:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "Wrong kernel size;Kernel should be odd \n");
data/opencv-4.4.0+dfsg2/contrib/modules/stereo/test/test_descriptors.cpp:393:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "No input images detected\n");
data/opencv-4.4.0+dfsg2/contrib/modules/stereo/test/test_descriptors.cpp:418:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "The descriptor images are empty \n");
data/opencv-4.4.0+dfsg2/contrib/modules/stereo/test/test_descriptors.cpp:432:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf(cvtest::TS::LOG, "Mismatch for left images %d \n",descriptor_type);
data/opencv-4.4.0+dfsg2/contrib/modules/stereo/test/test_descriptors.cpp:438:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf(cvtest::TS::LOG, "Mismatch for right images %d \n",descriptor_type);
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/samples/multitracker.cpp:107:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  printf(GREEN "Start the tracking process, press ESC to quit.\n" RESET);
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/tldDataset.cpp:154:4:  [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(tldRootPath, rootPath);
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/tldDataset.cpp:156:4:  [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(tldRootPath, folderName);
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/tldDataset.cpp:166:4:  [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(fullPath, tldRootPath);
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/tldDataset.cpp:176:4:  [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(fullPath, numStr);
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/tldUtils.hpp:13:23:  [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.
		#define dfprintf(x) fprintf x
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/tldUtils.hpp:14:22:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		#define dprintf(x) printf x
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerMedianFlow.cpp:55:20:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define dprintf(x) printf x
data/opencv-4.4.0+dfsg2/contrib/modules/videostab/src/log.cpp:57:5:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vprintf(format, args);
data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_fast_hough_transform.cpp:199:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf(TS::LOG,
data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_fast_hough_transform.cpp:234:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf(TS::LOG,
data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_fast_hough_transform.cpp:294:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(TS::LOG,
data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_fast_hough_transform.cpp:395:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(TS::LOG, "Unknown depth %d\n", depth);
data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_fast_hough_transform.cpp:404:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(TS::LOG,
data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_fast_hough_transform.cpp:411:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(TS::LOG, "Unknown failure\n");
data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_fast_hough_transform.cpp:428:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(TS::LOG, "Test %d failed with code %d\n", iTest, code);
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_calibration_hand_eye.cpp:114:25:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    ts->printf(cvtest::TS::LOG, "Invalid accuracy (no noise) for method: %s, rvecDiff: %f, epsilon_rvec: %f, tvecDiff: %f, epsilon_tvec: %f\n",
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_calibration_hand_eye.cpp:153:25:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    ts->printf(cvtest::TS::LOG, "Invalid accuracy (noise) for method: %s, rvecDiff: %f, epsilon_rvec: %f, tvecDiff: %f, epsilon_tvec: %f\n",
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration.cpp:334:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "Could not open file with list of test files: %s\n", filename.c_str() );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration.cpp:346:23:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
        values_read = fscanf(datafile,"%s",i_dat_file);
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration.cpp:355:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG,
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration.cpp:370:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "Image size in test file is incorrect\n" );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration.cpp:381:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "Pattern size in test file is incorrect\n" );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration.cpp:394:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "Number of images in test file is incorrect\n");
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration.cpp:917:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "bad fovx (real=%f, good = %f\n", fovx, goodFovx );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration.cpp:923:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "bad fovy (real=%f, good = %f\n", fovy, goodFovy );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration.cpp:929:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "bad focalLength (real=%f, good = %f\n", focalLength, goodFocalLength );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration.cpp:935:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "bad aspectRatio (real=%f, good = %f\n", aspectRatio, goodAspectRatio );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration.cpp:941:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "bad principalPoint\n" );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration.cpp:1098:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "bad image point\n" );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration.cpp:1121:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "bad dpdrot: too big difference = %g\n", err );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration.cpp:1138:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "bad dpdtvec\n" );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration.cpp:1161:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "bad dpdf\n" );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration.cpp:1182:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "bad dpdc\n" );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration.cpp:1201:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "bad dpddist\n" );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration.cpp:1314:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "Test #%d. The point (%g, %g) was mapped to (%g, %g) which is out of image\n",
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration.cpp:1327:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "Test #%d. The ROI=(%d, %d, %d, %d) is outside of the imge rectangle\n",
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration.cpp:1334:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "Test #%d. The ratio of black pixels inside the valid ROI (~%g%%) is too large\n",
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration.cpp:1361:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "The file %s can not be opened or has invalid content\n", filepath.c_str() );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration.cpp:1384:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "The number of images is 0 or an odd number in the case #%d\n", testcase );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration.cpp:1403:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG, "Can not load images %s and %s, testcase %d\n",
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration.cpp:1413:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG, "The function could not detect boards (%d x %d) on the images %s and %s, testcase %d\n",
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration.cpp:1442:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "The average reprojection error is too big (=%g), testcase %d\n", err, testcase);
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration.cpp:1457:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "The computed (by rectify) R1 and R2 are not orthogonal,"
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration.cpp:1489:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "A point after rectification is reprojected behind the camera, testcase %d\n", testcase);
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration.cpp:1550:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "Points reprojected with a matrix Q and points reconstructed by triangulation are different (tolerance=%g, failed=%d), testcase %d\n",
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration.cpp:1576:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG, "Epipolar constraint is violated after correctMatches, testcase %d\n", testcase);
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration.cpp:1630:25:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    ts->printf( cvtest::TS::LOG, "The distance between %s coordinates is too big(=%g) (used calibrated stereo), testcase %d\n",
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration.cpp:1637:25:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    ts->printf( cvtest::TS::LOG, "The distance between %s coordinates is too big(=%g) (used uncalibrated stereo), testcase %d\n",
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration.cpp:1645:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "Testcase %d. Max distance (calibrated) =%g\n"
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration_artificial.cpp:104:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "Bad shape of camera matrix returned \n");
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration_artificial.cpp:123:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "%d) Expected  [Fx Fy Cx Cy] = [%.3f %.3f %.3f %.3f]\n", r, fx, fy, cx, cy);
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration_artificial.cpp:124:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "%d) Estimated [Fx Fy Cx Cy] = [%.3f %.3f %.3f %.3f]\n", r, fx_e, fy_e, cx_e, cy_e);
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration_artificial.cpp:151:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "%d) DistCoeff exp=(%.2f, %.2f, %.4f, %.4f %.2f)\n", r, k1, k2, p1, p2, k3);
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration_artificial.cpp:152:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "%d) DistCoeff est=(%.2f, %.2f, %.4f, %.4f %.2f)\n", r, k1_e, k2_e, p1_e, p2_e, k3_e);
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration_artificial.cpp:153:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "%d) AbsError = [%.5f %.5f %.5f %.5f %.5f]\n", r, fabs(k1-k1_e), fabs(k2-k2_e), fabs(p1-p1_e), fabs(p2-p2_e), fabs(k3-k3_e));
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration_artificial.cpp:175:29:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                        ts->printf( cvtest::TS::LOG, "%d) ...\n", r);
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration_artificial.cpp:178:29:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                        ts->printf( cvtest::TS::LOG, "%d) Bad accuracy in returned tvecs. Index = %d\n", r, i);
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration_artificial.cpp:179:29:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                        ts->printf( cvtest::TS::LOG, "%d) norm(tvec_est - tvec) = %f, norm(tvec_exp) = %f \n", r, n1, n2);
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration_artificial.cpp:205:29:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                        ts->printf( cvtest::TS::LOG, "%d) ...\n", r);
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration_artificial.cpp:208:29:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                        ts->printf( cvtest::TS::LOG, "%d) Bad accuracy in returned rvecs (rotation matrs). Index = %d\n", r, i);
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration_artificial.cpp:209:29:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                        ts->printf( cvtest::TS::LOG, "%d) norm(rot_mat_est - rot_mat_exp) = %f, norm(rot_mat_exp) = %f \n", r,
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration_artificial.cpp:333:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "%d) Too big reproject error = %f\n", r, rep_error);
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration_artificial.cpp:348:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "%d) Too big reproject error without intrinsics = %f\n", r, rep_errorWOI);
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration_artificial.cpp:352:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "%d) Testing solvePnP...\n", r);
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration_artificial.cpp:402:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "\n");
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration_artificial.cpp:405:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "artificial corners\n");
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration_artificial.cpp:409:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "findChessboard corners\n");
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration_artificial.cpp:413:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "cornersSubPix corners\n");
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration_artificial.cpp:417:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "4quad corners\n");
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_chesscorners.cpp:184:9:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    ts->printf(cvtest::TS::LOG, "\nRunning batch %s\n", filename.c_str());
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_chesscorners.cpp:209:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "%s can not be read or is not valid\n", (folder + filename).c_str() );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_chesscorners.cpp:210:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "fs.isOpened=%d, board_list.empty=%d, board_list.isSeq=%d,board_list.size()%2=%d\n",
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_chesscorners.cpp:231:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "one of chessboard images can't be read: %s\n", img_file.c_str() );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_chesscorners.cpp:269:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf(cvtest::TS::LOG, "chessboard image has a wrong sharpness in %s. Expected %f but measured %f\n", img_file.c_str(),sharpness,s[0]);
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_chesscorners.cpp:277:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "chessboard is detected incorrectly in %s\n", img_file.c_str() );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_chesscorners.cpp:301:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG, "Image %s: bad accuracy of adjusted corners %f\n", img_file.c_str(), err );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_chesscorners.cpp:305:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "Error on %s is %f\n", img_file.c_str(), err);
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_chesscorners.cpp:326:9:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    ts->printf(cvtest::TS::LOG, "Average error is %f (%d patterns have been found)\n", sum_error, count);
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_chesscorners.cpp:395:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "Internal Error: unsupported chessboard pattern" );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_chesscorners.cpp:436:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "Chess board skipped - too small" );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_chesscorners.cpp:450:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "Chess board corners not found\n" );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_chesscorners.cpp:577:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "Internal Error: ray and plane are parallel" );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_chesscorners.cpp:613:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "Chess board corners not found\n" );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_chesscorners.cpp:620:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "bad accuracy of corner guesses" );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_chesscorners_timing.cpp:84:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "chessboard_timing_list.dat can not be read or is not valid" );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_chesscorners_timing.cpp:113:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "one of chessboard images can't be read: %s\n", filename.c_str() );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_chesscorners_timing.cpp:118:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "%s: chessboard %d:\n", imgname.c_str(), is_chessboard);
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_chesscorners_timing.cpp:130:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "Error: chessboard was %sdetected in the image %s\n",
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_chesscorners_timing.cpp:137:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "Warning: results differ cvCheckChessboard %d, cvFindChessboardCorners %d\n",
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_chesscorners_timing.cpp:143:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "    cvCheckChessboard time s: %f, us per pixel: %f\n",
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_chesscorners_timing.cpp:147:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "    cvFindChessboard time s: %f, us per pixel: %f\n",
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_compose_rt.cpp:180:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "Invalid derivates by r1\n" );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_compose_rt.cpp:189:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "Invalid derivates by r2\n" );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_compose_rt.cpp:198:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "Invalid derivates by t1\n" );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_compose_rt.cpp:207:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "Invalid derivates by t2\n" );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cornerssubpix.cpp:159:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "Warning: chessboard was not detected! Writing image to test.png\n");
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cornerssubpix.cpp:160:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "Size = %d, %d\n", pattern_size.width, pattern_size.height);
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cornerssubpix.cpp:161:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "Intrinsic params: fx = %f, fy = %f, cx = %f, cy = %f\n",
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cornerssubpix.cpp:164:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "Distortion matrix: %f, %f, %f, %f, %f\n",
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cornerssubpix.cpp:178:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "findChessboardCorners returns invalid corner coordinates!\n");
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cornerssubpix.cpp:192:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "findCornerSubpix returns invalid corner coordinates!\n");
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cornerssubpix.cpp:197:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "Error after findChessboardCorners: %f, after findCornerSubPix: %f\n",
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cornerssubpix.cpp:205:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "findCornerSubPix increases average error!\n");
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cornerssubpix.cpp:214:9:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    ts->printf(cvtest::TS::LOG, "Average error after findCornerSubpix: %f\n", sum_dist);
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_reproject_image_to_3d.cpp:151:25:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    ts->printf(cvtest::TS::LOG, "Missing values are handled improperly\n");
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_reproject_image_to_3d.cpp:160:29:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                        ts->printf(cvtest::TS::LOG, "case %d. too big error at (%d, %d): %g vs expected %g: res = (%g, %g, %g, w=%g) vs pixel_out = (%g, %g, %g)\n",
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_solvepnp_ransac.cpp:388:25:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    ts->printf(cvtest::TS::LOG, "Invalid accuracy for %s, failed %d tests from %d, %s, "
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_solvepnp_ransac.cpp:676:25:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    ts->printf(cvtest::TS::LOG, "Invalid accuracy for %s, failed %d tests from %d, %s, "
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_stereomatching.cpp:412:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "dataPath is empty" );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_stereomatching.cpp:442:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "file %s can not be read or written\n", fullResultFilename.c_str() );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_stereomatching.cpp:465:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "images or left ground-truth disparities of dataset %s can not be read", datasetName.c_str() );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_stereomatching.cpp:592:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "\nquality of case named %s\n", caseNames[caseIdx].c_str() );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_stereomatching.cpp:593:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "%s\n", RMS_STR.c_str() );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_stereomatching.cpp:595:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "%s\n", BAD_PXLS_FRACTION_STR.c_str() );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_stereomatching.cpp:597:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "%s\n", ROI_STR.c_str() );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_stereomatching.cpp:621:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "datasetsParams can not be read " );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_stereomatching.cpp:642:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "runParams can not be read " );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_stereomatching.cpp:659:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "%s = %f\n", string(ERROR_PREFIXES[i]+errName).c_str(), *it );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_stereomatching.cpp:673:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "%s = %d\n", ROI_PREFIXES[0].c_str(), calcROI.x );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_stereomatching.cpp:674:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "%s = %d\n", ROI_PREFIXES[1].c_str(), calcROI.y );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_stereomatching.cpp:675:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "%s = %d\n", ROI_PREFIXES[2].c_str(), calcROI.width );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_stereomatching.cpp:676:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "%s = %d\n", ROI_PREFIXES[3].c_str(), calcROI.height );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_stereomatching.cpp:709:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "bad accuracy of %s (valid=%f; calc=%f)\n", string(ERROR_PREFIXES[i]+errName).c_str(), *validIt, *calcIt );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_stereomatching.cpp:728:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "bad accuracy of %s (valid=%d; calc=%d)\n", ROI_PREFIXES[i].c_str(), compare[i][1], compare[i][0] );
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/opengl.hpp:236:24:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    Mat mapHost(Access access);
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/operations.hpp:58:82:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#    define CV_FORMAT_PRINTF(string_idx, first_to_check) __attribute__ ((format (printf, string_idx, first_to_check)))
data/opencv-4.4.0+dfsg2/modules/core/src/arithm.cpp:115:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(opts, "-D %s%s -D %s%s -D dstT=%s -D DEPTH_dst=%d -D dstT_C1=%s -D workST=%s -D cn=%d -D rowsPerWI=%d",
data/opencv-4.4.0+dfsg2/modules/core/src/arithm.cpp:513:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(opts, "-D %s%s -D %s -D srcT1=%s -D srcT1_C1=%s -D srcT2=%s -D srcT2_C1=%s "
data/opencv-4.4.0+dfsg2/modules/core/src/downhill_simplex.cpp:44:20:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define dprintf(x) printf x
data/opencv-4.4.0+dfsg2/modules/core/src/gl_core_3_1.cpp:1387:75:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    static GLvoid* CODEGEN_FUNCPTR Switch_MapBuffer(GLenum target, GLenum access)
data/opencv-4.4.0+dfsg2/modules/core/src/gl_core_3_1.cpp:1390:34:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
        return MapBuffer(target, access);
data/opencv-4.4.0+dfsg2/modules/core/src/gl_core_3_1.cpp:1821:120:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    static GLvoid* CODEGEN_FUNCPTR Switch_MapBufferRange(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access)
data/opencv-4.4.0+dfsg2/modules/core/src/gl_core_3_1.cpp:1824:55:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
        return MapBufferRange(target, offset, length, access);
data/opencv-4.4.0+dfsg2/modules/core/src/gl_core_3_1.hpp:1177:71:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    extern GLvoid* (CODEGEN_FUNCPTR *MapBuffer)(GLenum target, GLenum access);
data/opencv-4.4.0+dfsg2/modules/core/src/gl_core_3_1.hpp:1256:116:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    extern GLvoid* (CODEGEN_FUNCPTR *MapBufferRange)(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:86:28:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#   define LOG_BUFFER_POOL printf
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:94:72:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define CV_OPENCL_SVM_TRACE_P printf("line %d (ocl.cpp): ", __LINE__); printf
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:101:87:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define CV_OPENCL_SVM_TRACE_ERROR_P printf("Error on line %d (ocl.cpp): ", __LINE__); printf
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:6177:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(buf, "convert_%s", typestr);
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:6180:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(buf, "convert_%s%s_rte", typestr, (ddepth < CV_32S ? "_sat" : ""));
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:6182:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(buf, "convert_%s_sat", typestr);
data/opencv-4.4.0+dfsg2/modules/core/src/opencl/runtime/opencl_core.cpp:100:21:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    fprintf(stderr, ERROR_MSG_CANT_LOAD);
data/opencv-4.4.0+dfsg2/modules/core/src/opencl/runtime/opencl_core.cpp:104:17:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                fprintf(stderr, ERROR_MSG_INVALID_VERSION);
data/opencv-4.4.0+dfsg2/modules/core/src/opencl/runtime/opencl_core.cpp:139:25:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                        fprintf(stderr, ERROR_MSG_CANT_LOAD);
data/opencv-4.4.0+dfsg2/modules/core/src/opencl/runtime/opencl_core.cpp:143:21:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    fprintf(stderr, ERROR_MSG_INVALID_VERSION);
data/opencv-4.4.0+dfsg2/modules/core/src/opencl/runtime/opencl_core.cpp:172:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(stderr, ERROR_MSG_INVALID_VERSION);
data/opencv-4.4.0+dfsg2/modules/core/src/opencl/runtime/opencl_core.cpp:199:25:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                        fprintf(stderr, ERROR_MSG_CANT_LOAD);
data/opencv-4.4.0+dfsg2/modules/core/src/opengl.cpp:313:26:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    void* mapHost(GLenum access);
data/opencv-4.4.0+dfsg2/modules/core/src/opengl.cpp:413:45:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
void* cv::ogl::Buffer::Impl::mapHost(GLenum access)
data/opencv-4.4.0+dfsg2/modules/core/src/opengl.cpp:418:56:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    GLvoid* data = gl::MapBuffer(gl::COPY_READ_BUFFER, access);
data/opencv-4.4.0+dfsg2/modules/core/src/opengl.cpp:738:37:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
Mat cv::ogl::Buffer::mapHost(Access access)
data/opencv-4.4.0+dfsg2/modules/core/src/opengl.cpp:741:15:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    CV_UNUSED(access);
data/opencv-4.4.0+dfsg2/modules/core/src/opengl.cpp:744:52:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    return Mat(rows_, cols_, type_, impl_->mapHost(access));
data/opencv-4.4.0+dfsg2/modules/core/src/out.cpp:78:32:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        void valueToStr32f() { sprintf(buf, floatFormat, mtx.ptr<float>(row, col)[cn]); }
data/opencv-4.4.0+dfsg2/modules/core/src/out.cpp:79:32:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        void valueToStr64f() { sprintf(buf, floatFormat, mtx.ptr<double>(row, col)[cn]); }
data/opencv-4.4.0+dfsg2/modules/core/src/out.cpp:80:32:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        void valueToStr16f() { sprintf(buf, floatFormat, (float)mtx.ptr<float16_t>(row, col)[cn]); }
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:77:13:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
            sprintf( buf, fmt, value );
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:92: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( buf, (int)ieee754_hi < 0 ? "-.Inf" : ".Inf" );
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:135: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( buf, (int)ieee754 < 0 ? "-.Inf" : ".Inf" );
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:594:25:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                        sprintf(buf, "<?xml version=\"1.0\" encoding=\"%s\"?>\n", encoding);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:1897: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( name, stubname );
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_xml.cpp:302:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf( ptr, "<!-- %s -->", comment );
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_yml.cpp:52:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf( buf, "!!%s %c", type_name, c );
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_yml.cpp:62:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf( buf, "!!%s", type_name );
data/opencv-4.4.0+dfsg2/modules/core/src/system.cpp:204:5:  [4] (format) swprintf:
  Potential format string problem (CWE-134). Make format string constant.
    swprintf(&guidStr[0], sizeof(guidStr)/sizeof(wchar_t), mask,
data/opencv-4.4.0+dfsg2/modules/core/src/system.cpp:1056:12:  [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.
    return vsnprintf(buf, len, fmt, args);
data/opencv-4.4.0+dfsg2/modules/core/src/system.cpp:1268:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(buf, "Unknown %s code %d", status >= 0 ? "status":"error", status);
data/opencv-4.4.0+dfsg2/modules/core/src/trace.cpp:117:10:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    bool printf(const char* format, ...)
data/opencv-4.4.0+dfsg2/modules/core/test/test_ds.cpp:445:9:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    ts->printf( cvtest::TS::LOG, "file %s, line %d: %s\n(\"%s\" failed).\n"
data/opencv-4.4.0+dfsg2/modules/core/test/test_ds.cpp:2043:25:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    ts->printf( cvtest::TS::LOG, "%s", event );
data/opencv-4.4.0+dfsg2/modules/core/test/test_ds.cpp:2047:33:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                            ts->printf( cvtest::TS::LOG, ": (%d,%d)", a, b );
data/opencv-4.4.0+dfsg2/modules/core/test/test_ds.cpp:2049:33:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                            ts->printf( cvtest::TS::LOG, ": %d", a );
data/opencv-4.4.0+dfsg2/modules/core/test/test_ds.cpp:2052:25:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    ts->printf( cvtest::TS::LOG, "\n" );
data/opencv-4.4.0+dfsg2/modules/core/test/test_io.cpp:174:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG, "filename %s can not be read\n", !mem ? filename.c_str() : content.c_str());
data/opencv-4.4.0+dfsg2/modules/core/test/test_io.cpp:187:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG, "the read scalars are not correct\n" );
data/opencv-4.4.0+dfsg2/modules/core/test/test_io.cpp:202:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG, "the read matrix is not correct at (%d, %d)\n",
data/opencv-4.4.0+dfsg2/modules/core/test/test_io.cpp:214:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG, "the read nd-matrix is not correct\n" );
data/opencv-4.4.0+dfsg2/modules/core/test/test_io.cpp:226:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG, "readObj method: the read nd matrix is not correct at (%d,%d)\n",
data/opencv-4.4.0+dfsg2/modules/core/test/test_io.cpp:238:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG, "the read sparse matrix is not correct\n" );
data/opencv-4.4.0+dfsg2/modules/core/test/test_io.cpp:255:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG, "the test list is incorrect\n" );
data/opencv-4.4.0+dfsg2/modules/core/test/test_io.cpp:299:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG, "the test map is incorrect\n" );
data/opencv-4.4.0+dfsg2/modules/core/test/test_mat.cpp:162:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf( msg, "bad accuracy with srcType = %s, dstType = %s, opType = %s, dim = %s",
data/opencv-4.4.0+dfsg2/modules/core/test/test_mat.cpp:164:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, msg );
data/opencv-4.4.0+dfsg2/modules/core/test/test_mat.cpp:648:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "one of cvSetReal3D, cvSetRealND, cvSet3D, cvSetND "
data/opencv-4.4.0+dfsg2/modules/core/test/test_mat.cpp:671:33:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                            ts->printf(cvtest::TS::LOG, "forEach is not correct.\n"
data/opencv-4.4.0+dfsg2/modules/core/test/test_mat.cpp:688:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "forEach is not correct because total is invalid.\n");
data/opencv-4.4.0+dfsg2/modules/core/test/test_mat.cpp:716:41:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                                    ts->printf(cvtest::TS::LOG, "forEach is not correct.\n"
data/opencv-4.4.0+dfsg2/modules/core/test/test_mat.cpp:739:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "forEach is not correct because total is invalid.\n");
data/opencv-4.4.0+dfsg2/modules/core/test/test_mat.cpp:823:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf(cvtest::TS::LOG, "%d. immediately after SparseMat[%s]=%.20g the current value is %.20g\n",
data/opencv-4.4.0+dfsg2/modules/core/test/test_mat.cpp:844:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "%d: The number of non-zero elements before/after converting to/from dense matrix is not correct: %d/%d (while it should be %d)\n",
data/opencv-4.4.0+dfsg2/modules/core/test/test_mat.cpp:854:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "%d: The norms are different: %.20g/%.20g/%.20g vs %.20g/%.20g/%.20g\n",
data/opencv-4.4.0+dfsg2/modules/core/test/test_mat.cpp:885:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf(cvtest::TS::LOG, "SparseMat M[%s] = %g/%g/%g (while it should be %g)\n", sidx.c_str(), val1, val2, val3, val0 );
data/opencv-4.4.0+dfsg2/modules/core/test/test_mat.cpp:911:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf(cvtest::TS::LOG, "SparseMat: after deleting M[%s], it is =%g/%g (while it should be 0)\n", sidx.c_str(), val1, val2 );
data/opencv-4.4.0+dfsg2/modules/core/test/test_mat.cpp:920:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "The number of non-zero elements after removing all the elements = %d (while it should be 0)\n", nz );
data/opencv-4.4.0+dfsg2/modules/core/test/test_mat.cpp:932:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "%d. Sparse: The value and positions of minimum/maximum elements are different from the reference values and positions:\n\t"
data/opencv-4.4.0+dfsg2/modules/core/test/test_mat.cpp:944:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "%d. Dense: The value and positions of minimum/maximum elements are different from the reference values and positions:\n\t"
data/opencv-4.4.0+dfsg2/modules/core/test/test_mat.cpp:1078:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "%s incorrect depth of dst (%d instead of %d)\n",
data/opencv-4.4.0+dfsg2/modules/core/test/test_mat.cpp:1084:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "%s incorrect size of dst (%d x %d instead of %d x %d)\n",
data/opencv-4.4.0+dfsg2/modules/core/test/test_mat.cpp:1090:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "%s: incorrect channels count of dst (%d instead of %d)\n",
data/opencv-4.4.0+dfsg2/modules/core/test/test_mat.cpp:1098:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "%s: there are incorrect elements in dst (part of them is %f)\n",
data/opencv-4.4.0+dfsg2/modules/core/test/test_mat.cpp:1127:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "%s incorrect count of matrices in dst (%d instead of %d)\n",
data/opencv-4.4.0+dfsg2/modules/core/test/test_mat.cpp:1135:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf(cvtest::TS::LOG, "%s incorrect size of dst[%d] (%d x %d instead of %d x %d)\n",
data/opencv-4.4.0+dfsg2/modules/core/test/test_mat.cpp:1141:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf(cvtest::TS::LOG, "%s: incorrect depth of dst[%d] (%d instead of %d)\n",
data/opencv-4.4.0+dfsg2/modules/core/test/test_mat.cpp:1147:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf(cvtest::TS::LOG, "%s: incorrect channels count of dst[%d] (%d instead of %d)\n",
data/opencv-4.4.0+dfsg2/modules/core/test/test_mat.cpp:1156:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "%s: there are incorrect elements in dst (part of them is %f)\n",
data/opencv-4.4.0+dfsg2/modules/core/test/test_math.cpp:2407:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "too big diff = %g\n", div );
data/opencv-4.4.0+dfsg2/modules/core/test/test_math.cpp:2410:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG, "ar2[%d]=%g\n", j, ar2[j]);
data/opencv-4.4.0+dfsg2/modules/core/test/test_math.cpp:2411:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "\n");
data/opencv-4.4.0+dfsg2/modules/core/test/test_math.cpp:2414:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG, "r[%d]=(%g, %g)\n", j, r[j].real(), r[j].imag());
data/opencv-4.4.0+dfsg2/modules/core/test/test_math.cpp:2415:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "\n" );
data/opencv-4.4.0+dfsg2/modules/core/test/test_math.cpp:2417:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG, "ar[%d]=(%g, %g)\n", j, ar[j].real(), ar[j].imag());
data/opencv-4.4.0+dfsg2/modules/core/test/test_math.cpp:2540:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "There are result angles that are out of range [0, 360] (part of them is %f)\n",
data/opencv-4.4.0+dfsg2/modules/core/test/test_math.cpp:2549:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "There are incorrect result angles (in degrees) (part of them is %f)\n",
data/opencv-4.4.0+dfsg2/modules/core/test/test_math.cpp:2558:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "There are incorrect result angles (in radians)\n");
data/opencv-4.4.0+dfsg2/modules/core/test/test_operations.cpp:426:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "%s\n", e.s.c_str());
data/opencv-4.4.0+dfsg2/modules/core/test/test_operations.cpp:454:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "%s\n", e.s.c_str());
data/opencv-4.4.0+dfsg2/modules/core/test/test_operations.cpp:491:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "%s\n", e.s.c_str());
data/opencv-4.4.0+dfsg2/modules/core/test/test_operations.cpp:811:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "%s\n", e.s.c_str());
data/opencv-4.4.0+dfsg2/modules/core/test/test_operations.cpp:952:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "%s\n", e.s.c_str());
data/opencv-4.4.0+dfsg2/modules/core/test/test_operations.cpp:1294:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf(cvtest::TS::LOG, ".");
data/opencv-4.4.0+dfsg2/modules/core/test/test_rand.cpp:181:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "RNG output depends on the array lengths (some generated numbers get lost?)" );
data/opencv-4.4.0+dfsg2/modules/core/test/test_rand.cpp:229:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG, "Uniform RNG gave values out of the range [%g,%g) on channel %d/%d\n",
data/opencv-4.4.0+dfsg2/modules/core/test/test_rand.cpp:236:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG, "Normal RNG gave too many values out of the range (%g+4*%g,%g+4*%g) on channel %d/%d\n",
data/opencv-4.4.0+dfsg2/modules/core/test/test_rand.cpp:245:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG, "RNG failed Chi-square test "
data/opencv-4.4.0+dfsg2/modules/core/test/test_rand.cpp:297:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG, "RNG failed %d-dim sphere volume test (got %g instead of %g)\n",
data/opencv-4.4.0+dfsg2/modules/core/test/test_rand.cpp:299:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG, "depth = %d, N0 = %d\n", depth, N0);
data/opencv-4.4.0+dfsg2/modules/core/test/test_rotatedrect.cpp:101:9:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    ts->printf( cvtest::TS::LOG, "RotatedRect end points don't match those supplied in constructor");
data/opencv-4.4.0+dfsg2/modules/core/test/test_umat.cpp:865:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "%s\n", e.s.c_str());
data/opencv-4.4.0+dfsg2/modules/dnn/src/dnn.cpp:2529:23:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define printf_(args) printf args
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_descriptors_regression.impl.hpp:76:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "Valid and computed descriptors matrices must have the same size and type.\n");
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_descriptors_regression.impl.hpp:132:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "compute() on empty image and empty keypoints must not generate exception (1).\n");
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_descriptors_regression.impl.hpp:144:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "compute() on nonempty image and empty keypoints must not generate exception (1).\n");
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_descriptors_regression.impl.hpp:158:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "compute() on empty images and empty keypoints collection must not generate exception (2).\n");
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_descriptors_regression.impl.hpp:172:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "Image %s can not be read.\n", imgFilename.c_str() );
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_descriptors_regression.impl.hpp:224:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "\nAverage time of computing one descriptor = %g ms.\n", t/((double)getTickFrequency()*1000.)/calcDescriptors.rows);
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_descriptors_regression.impl.hpp:228:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG, "Count of computed descriptors and keypoints count must be equal.\n" );
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_descriptors_regression.impl.hpp:229:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG, "Count of keypoints is            %d.\n", (int)keypoints.size() );
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_descriptors_regression.impl.hpp:230:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG, "Count of computed descriptors is %d.\n", calcDescriptors.rows );
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_descriptors_regression.impl.hpp:237:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG, "Incorrect descriptor size or descriptor type.\n" );
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_descriptors_regression.impl.hpp:238:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG, "Expected size is   %d.\n", dextractor->descriptorSize() );
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_descriptors_regression.impl.hpp:239:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG, "Calculated size is %d.\n", calcDescriptors.cols );
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_descriptors_regression.impl.hpp:240:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG, "Expected type is   %d.\n", dextractor->descriptorType() );
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_descriptors_regression.impl.hpp:241:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG, "Calculated type is %d.\n", calcDescriptors.type() );
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_descriptors_regression.impl.hpp:265:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "Descriptor extractor is empty.\n");
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_detectors_regression.impl.hpp:41:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "detect() on empty image must not generate exception (1).\n" );
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_detectors_regression.impl.hpp:47:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "detect() on empty image must return empty keypoints vector (1).\n" );
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_detectors_regression.impl.hpp:61:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "detect() on empty image vector must not generate exception (2).\n" );
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_detectors_regression.impl.hpp:90:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "Bad keypoints count ratio (validCount = %d, calcCount = %d).\n",
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_detectors_regression.impl.hpp:118:9:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    ts->printf( cvtest::TS::LOG, "badPointCount = %d; validPointCount = %d; calcPointCount = %d\n",
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_detectors_regression.impl.hpp:122:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, " - Bad accuracy!\n" );
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_detectors_regression.impl.hpp:126:9:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    ts->printf( cvtest::TS::LOG, " - OK\n" );
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_detectors_regression.impl.hpp:139:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "Image %s can not be read.\n", imgFilename.c_str() );
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_detectors_regression.impl.hpp:159:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "Keypoints can not be read.\n" );
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_detectors_regression.impl.hpp:171:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "File %s can not be opened to write.\n", resFilename.c_str() );
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_detectors_regression.impl.hpp:190:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "Feature detector is empty.\n" );
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_keypoints.cpp:70:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "Image %s can not be read.\n", imgFilename.c_str());
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_keypoints.cpp:80:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "Detector can't find keypoints in image.\n");
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_keypoints.cpp:92:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf(cvtest::TS::LOG, "KeyPoint::pt is out of image (x=%f, y=%f).\n", kp.pt.x, kp.pt.y);
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_keypoints.cpp:99:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf(cvtest::TS::LOG, "KeyPoint::size is not positive (%f).\n", kp.size);
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_keypoints.cpp:106:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf(cvtest::TS::LOG, "KeyPoint::angle is out of range [0, 360). It's %f.\n", kp.angle);
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_matchers_algorithmic.cpp:96:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "match() on empty descriptors must not generate exception (1).\n" );
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_matchers_algorithmic.cpp:106:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "knnMatch() on empty descriptors must not generate exception (1).\n" );
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_matchers_algorithmic.cpp:116:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "radiusMatch() on empty descriptors must not generate exception (1).\n" );
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_matchers_algorithmic.cpp:126:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "add() on empty descriptors must not generate exception.\n" );
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_matchers_algorithmic.cpp:136:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "match() on empty descriptors must not generate exception (2).\n" );
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_matchers_algorithmic.cpp:146:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "knnMatch() on empty descriptors must not generate exception (2).\n" );
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_matchers_algorithmic.cpp:156:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "radiusMatch() on empty descriptors must not generate exception (2).\n" );
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_matchers_algorithmic.cpp:206:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "Incorrect matches count while test match() function (1).\n");
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_matchers_algorithmic.cpp:220:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG, "%f - too large bad matches part while test match() function (1).\n",
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_matchers_algorithmic.cpp:234:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "Incorrect matches count while test match() function for the same query and test descriptors (1).\n");
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_matchers_algorithmic.cpp:246:25:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    ts->printf( cvtest::TS::LOG, "Bad match (i=%d, queryIdx=%d, trainIdx=%d, distance=%f) while test match() function for the same query and test descriptors (1).\n",
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_matchers_algorithmic.cpp:273:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "Incorrect matches count while test match() function (2).\n");
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_matchers_algorithmic.cpp:298:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG, "%f - too large bad matches part while test match() function (2).\n",
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_matchers_algorithmic.cpp:319:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "Incorrect matches count while test knnMatch() function (1).\n");
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_matchers_algorithmic.cpp:343:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG, "%f - too large bad matches part while test knnMatch() function (1).\n",
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_matchers_algorithmic.cpp:370:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "Incorrect matches count while test knnMatch() function (2).\n");
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_matchers_algorithmic.cpp:407:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG, "%f - too large bad matches part while test knnMatch() function (2).\n",
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_matchers_algorithmic.cpp:426:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "Incorrect matches count while test radiusMatch() function (1).\n");
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_matchers_algorithmic.cpp:445:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG, "%f - too large bad matches part while test radiusMatch() function (1).\n",
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_matchers_algorithmic.cpp:474:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "Incorrect matches count while test radiusMatch() function (1).\n");
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_matchers_algorithmic.cpp:512:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "%f - too large bad matches part while test radiusMatch() function (2).\n",
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_nearestneighbors.cpp:131:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "bad accuracy of GetPoints \n" );
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_nearestneighbors.cpp:138:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "bad accuracy of FindBoxed \n" );
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_nearestneighbors.cpp:145:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "bad accuracy of Find \n" );
data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/logger.h:83:19:  [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.
        int ret = vfprintf(stream, fmt, arglist);
data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/saving.h:92: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(header.signature, FLANN_SIGNATURE_);
data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/saving.h:94: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(header.version, FLANN_VERSION_);
data/opencv-4.4.0+dfsg2/modules/highgui/src/window_w32.cpp:108: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(dest, src);
data/opencv-4.4.0+dfsg2/modules/highgui/src/window_w32.cpp:112: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(dest, src);
data/opencv-4.4.0+dfsg2/modules/highgui/src/window_w32.cpp:1846:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf( pos_text + strlen(pos_text), "%s: %d\n", suffix, pos );
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pam.cpp:696:16:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        tmp += sprintf( buffer + tmp, "TUPLTYPE %s\n", fmt->name );
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_tiff.cpp:96: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/opencv-4.4.0+dfsg2/modules/imgproc/src/box_filter.dispatch.cpp:92:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(build_opts, "-D %s %s", borderMap[borderType], normalize ? "-D NORMALIZE" : "");
data/opencv-4.4.0+dfsg2/modules/imgproc/src/box_filter.dispatch.cpp:199:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(build_options, "-D cn=%d "
data/opencv-4.4.0+dfsg2/modules/imgproc/src/deriv.cpp:387:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(build_opts, "-D %s %s%s", borderMap[borderType],
data/opencv-4.4.0+dfsg2/modules/imgproc/src/deriv.cpp:687:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(build_opts, "-D %s %s", borderMap[borderType],
data/opencv-4.4.0+dfsg2/modules/imgproc/src/filter.dispatch.cpp:640:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(build_options, "-D cn=%d "
data/opencv-4.4.0+dfsg2/modules/imgproc/src/smooth.dispatch.cpp:360:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(build_opts, "-D %s %s%s", borderMap[borderType & ~BORDER_ISOLATED],
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_approxpoly.cpp:327:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG,
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_approxpoly.cpp:336:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG,
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_bilateral_filter.cpp:272:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::CONSOLE, "actual error: %g, expected: %g", e, eps);
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_canny.cpp:107:9:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    ts->printf(cvtest::TS::LOG, "Canny(size = %d x %d, aperture_size = %d, threshold1 = %g, threshold2 = %g, L2 = %s) test_cpp = %s (test case #%d)\n",
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_canny.cpp:299:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "Some of the pixels, produced by Canny, are not 0's or 255's; the difference is %g\n", err );
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_canny.cpp:308:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "Too high percentage of non-matching edge pixels = %g%%\n", err);
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_color.cpp:1969:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::SUMMARY, "No input image\n");
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_color.cpp:1996:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::SUMMARY, "\nReference channels: %d\n"
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_color.cpp:1998:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::SUMMARY, "\nReference depth: %d\n"
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_color.cpp:2000:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::SUMMARY, "\nReference rows: %d\n"
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_color.cpp:2002:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::SUMMARY, "\nReference cols: %d\n"
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_color.cpp:2016:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::SUMMARY, "\nCount non zero in absdiff: %d\n", nonZero);
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_color.cpp:2067:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf(cvtest::TS::SUMMARY, "Error in: (%d, %d)\n", x / cn,  y);
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_color.cpp:2068:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf(cvtest::TS::SUMMARY, "Reference value: %f\n", rD[x]);
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_color.cpp:2069:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf(cvtest::TS::SUMMARY, "Actual value: %f\n", D[x]);
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_color.cpp:2071:25:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    ts->printf(cvtest::TS::SUMMARY, "Src value: %f\n", src.ptr<float>(y)[x]);
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_color.cpp:2072:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf(cvtest::TS::SUMMARY, "Size: (%d, %d)\n", reference.rows, reference.cols);
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_color.cpp:2914:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf(SUM, "\nReference value: %d\n", static_cast<int>(R[x]));
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_color.cpp:2915:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf(SUM, "Actual value: %d\n", static_cast<int>(A[x]));
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_color.cpp:2916:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf(SUM, "(y, x): (%d, %d)\n", y, x / reference.channels());
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_color.cpp:2917:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf(SUM, "Channel pos: %d\n", x % reference.channels());
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_color.cpp:2918:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf(SUM, "Pattern: %s\n", type);
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_color.cpp:2919:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf(SUM, "Bayer image type: %s", bayer_type);
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_color.cpp:2947:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::SUMMARY, "No input image\n");
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_color.cpp:3023:25:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    ts->printf(cvtest::TS::SUMMARY, "Error in: (%d, %d)\n", x / cn,  y);
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_color.cpp:3024:25:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    ts->printf(cvtest::TS::SUMMARY, "Reference value: %d\n", rD[x]);
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_color.cpp:3025:25:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    ts->printf(cvtest::TS::SUMMARY, "Actual value: %d\n", D[x]);
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_color.cpp:3026:25:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    ts->printf(cvtest::TS::SUMMARY, "Src value: %d\n", raw.ptr<uchar>(y)[x]);
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_color.cpp:3027:25:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    ts->printf(cvtest::TS::SUMMARY, "Size: (%d, %d)\n", reference.rows, reference.cols);
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_contours.cpp:296:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "The number of contours retrieved with different "
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_contours.cpp:337:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG,
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_contours.cpp:358:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG,
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_contours.cpp:370:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG,
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_contours.cpp:387:25:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    ts->printf( cvtest::TS::LOG,
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_convhull.cpp:607:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG, "Invalid convex hull point #%d\n", i );
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_convhull.cpp:628:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG, "The convex hull is not convex or has a wrong orientation (vtx %d)\n", i );
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_convhull.cpp:645:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "The point #%d is outside of the convex hull\n", i );
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_convhull.cpp:656:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "Not every convex hull vertex coincides with some input point\n" );
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_convhull.cpp:732:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "The bounding box is not a rectangle\n" );
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_convhull.cpp:765:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "The point #%d is outside of the box\n", i );
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_convhull.cpp:783:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "Not every box side has a point nearby\n" );
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_convhull.cpp:910:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG,
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_convhull.cpp:916:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG,
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_convhull.cpp:922:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG,
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_convhull.cpp:1006:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "The point #%d is outside of the circle\n", i );
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_convhull.cpp:1017:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG,
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_convhull.cpp:1080:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "Delta center and calcCenter > %f\n", eps );
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_convhull.cpp:1262:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "cvArcLength() returned invalid value (%g)\n", result );
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_convhull.cpp:1267:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "The function returned %g, while the correct result is %g\n", result, result0 );
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_convhull.cpp:1401:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "Some of the computed ellipse parameters are invalid (x=%g,y=%g,w=%g,h=%g,angle=%g)\n",
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_convhull.cpp:1418:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "The computed ellipse center and/or size are incorrect:\n\t"
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_convhull.cpp:1432:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "Incorrect ellipse angle (=%1.f, should be %1.f)\n",
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_convhull.cpp:1699:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "Some of the computed line parameters are invalid (line[%d]=%g)\n",
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_convhull.cpp:1726:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG,
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_convhull.cpp:1730:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG,
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_convhull.cpp:1747:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG,
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_convhull.cpp:1751:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG,
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_convhull.cpp:1941:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG,
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_convhull.cpp:1949:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG,
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_convhull.cpp:2044:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG,
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_drawing.cpp:73:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( ts->LOG, "test image can not be read");
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_drawing.cpp:77:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( ts->LOG, "PNG image support is not available");
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_drawing.cpp:89:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( ts->LOG, "NORM_L1 between testImg and valImg is equal %f (larger than %f)\n", err, Eps );
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_drawing.cpp:243:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( ts->LOG, "LineIterator works incorrect" );
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_drawing.cpp:273:16:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
           ts->printf( ts->LOG, "virtual LineIterator works incorrectly" );
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_drawing.cpp:285:25:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    ts->printf( ts->LOG, "virtual LineIterator works incorrectly" );
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_emd.cpp:81:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG,
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_filter.cpp:1951:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(cvtest::TS::LOG, "Combination of depths %d => %d in %s is not supported (yet it should be)",
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_goodfeaturetotrack.cpp:474:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::CONSOLE, "actual error: %g, expected: %g", e, eps);
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_grabcut.cpp:67:9:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    ts->printf( cvtest::TS::LOG, "nonIntersectArea/expArea = %f\n", curRatio );
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_grabcut.cpp:119:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "sumBgdModel = %f, sumFgdModel = %f\n", sumBgdModel, sumFgdModel);
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_histograms.cpp:537:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "The bin #%d has invalid value\n", i );
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_histograms.cpp:542:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "The bin #%d = %g, while it should be %g\n", i, v, v0 );
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_histograms.cpp:548:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "The bin index = (" );
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_histograms.cpp:550:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG, "%d%s", indices.at<int>(i*cdims + j),
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_histograms.cpp:640:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG,
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_histograms.cpp:647:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG,
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_histograms.cpp:659:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG,
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_histograms.cpp:758:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG,
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_histograms.cpp:764:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG,
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_histograms.cpp:902:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG, "The %d-th bin is invalid (=%g)\n", i, v );
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_histograms.cpp:908:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG, "The %d-th bin is incorrect (=%g, should be =%g)\n", i, v, v0 );
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_histograms.cpp:919:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG,
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_histograms.cpp:1083:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "The comparison result using the method #%d (%s) is invalid (=%g)\n",
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_histograms.cpp:1090:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "The comparison result using the method #%d (%s)\n\tis inaccurate (=%g, should be =%g)\n",
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_histograms.cpp:1358:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "The histogram does not match to the reference one\n" );
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_histograms.cpp:1892:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG,
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_histograms.cpp:1900:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG,
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_imgwarp.cpp:1115:36:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                cvtest::TS::ptr()->printf(cvtest::TS::SUMMARY, "Inf norm: %f\n", static_cast<float>(cvtest::norm(actual, expected, NORM_INF)));
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_imgwarp.cpp:1116:36:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                cvtest::TS::ptr()->printf(cvtest::TS::SUMMARY, "Error in : (%d, %d)\n", dx, dy);
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_imgwarp_strict.cpp:51:5:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    vsprintf (buffer, fmt, args);
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_imgwarp_strict.cpp:52:24:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    cvtest::TS::ptr()->printf(cvtest::TS::SUMMARY, buffer);
data/opencv-4.4.0+dfsg2/modules/objdetect/src/detection_based_tracker.cpp:72:27:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define LOGD0(_str, ...) (printf(_str , ## __VA_ARGS__), printf("\n"), fflush(stdout))
data/opencv-4.4.0+dfsg2/modules/objdetect/src/detection_based_tracker.cpp:73:27:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define LOGI0(_str, ...) (printf(_str , ## __VA_ARGS__), printf("\n"), fflush(stdout))
data/opencv-4.4.0+dfsg2/modules/objdetect/src/detection_based_tracker.cpp:74:27:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define LOGW0(_str, ...) (printf(_str , ## __VA_ARGS__), printf("\n"), fflush(stdout))
data/opencv-4.4.0+dfsg2/modules/objdetect/src/detection_based_tracker.cpp:75:27:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define LOGE0(_str, ...) (printf(_str , ## __VA_ARGS__), printf("\n"), fflush(stdout))
data/opencv-4.4.0+dfsg2/modules/objdetect/test/test_cascadeandhog.cpp:246:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "validation file is not determined or not correct" );
data/opencv-4.4.0+dfsg2/modules/objdetect/test/test_cascadeandhog.cpp:266:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, msg.c_str() );
data/opencv-4.4.0+dfsg2/modules/objdetect/test/test_cascadeandhog.cpp:446:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "cascade %s can not be opened");
data/opencv-4.4.0+dfsg2/modules/objdetect/test/test_cascadeandhog.cpp:1054:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::SUMMARY, "Found locations are not equal (see detect function)\n");
data/opencv-4.4.0+dfsg2/modules/objdetect/test/test_cascadeandhog.cpp:1065:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::SUMMARY, "Weights for found locations aren't equal.\n"
data/opencv-4.4.0+dfsg2/modules/objdetect/test/test_cascadeandhog.cpp:1067:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "Channels: %d\n", img.channels());
data/opencv-4.4.0+dfsg2/modules/objdetect/test/test_cascadeandhog.cpp:1146:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::SUMMARY, "Norm of the difference: %lf\n", diff_norm);
data/opencv-4.4.0+dfsg2/modules/objdetect/test/test_cascadeandhog.cpp:1147:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::SUMMARY, "Found descriptors are not equal (see compute function)\n");
data/opencv-4.4.0+dfsg2/modules/objdetect/test/test_cascadeandhog.cpp:1149:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(cvtest::TS::LOG, "Channels: %d\n", img.channels());
data/opencv-4.4.0+dfsg2/modules/objdetect/test/test_cascadeandhog.cpp:1298:16:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
           ts->printf(cvtest::TS::LOG, "%s matrices are not equal\n"
data/opencv-4.4.0+dfsg2/modules/objdetect/test/test_cascadeandhog.cpp:1300:16:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
           ts->printf(cvtest::TS::LOG, "Channels: %d\n", img.channels());
data/opencv-4.4.0+dfsg2/modules/python/src2/cv2.cpp:100:5:  [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.
    vsnprintf(str, sizeof(str), fmt, ap);
data/opencv-4.4.0+dfsg2/modules/python/src2/cv2.cpp:113:5:  [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.
    vsnprintf(str, sizeof(str), fmt, ap);
data/opencv-4.4.0+dfsg2/modules/ts/include/opencv2/ts.hpp:526:18:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    virtual void printf( int streams, const char* fmt, ... );
data/opencv-4.4.0+dfsg2/modules/ts/include/opencv2/ts.hpp:527:18:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    virtual void vprintf( int streams, const char* fmt, va_list arglist );
data/opencv-4.4.0+dfsg2/modules/ts/include/opencv2/ts.hpp:707:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf(TS::LOG, "%s (test case #%d): the error code %d is different from the expected %d\n",
data/opencv-4.4.0+dfsg2/modules/ts/include/opencv2/ts.hpp:715:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(TS::LOG, "%s  (test case #%d): unknown exception was thrown (the function has likely crashed)\n",
data/opencv-4.4.0+dfsg2/modules/ts/include/opencv2/ts.hpp:721:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(TS::LOG, "%s  (test case #%d): no expected exception was thrown\n",
data/opencv-4.4.0+dfsg2/modules/ts/include/opencv2/ts/ts_gtest.h:3857:20:  [4] (buffer) StrNCpy:
  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).
inline const char* StrNCpy(char* dest, const char* src, size_t n) {
data/opencv-4.4.0+dfsg2/modules/ts/include/opencv2/ts/ts_gtest.h:3928:26:  [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 GTEST_SNPRINTF_ _snprintf
data/opencv-4.4.0+dfsg2/modules/ts/include/opencv2/ts/ts_gtest.h:3930:26:  [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 GTEST_SNPRINTF_ snprintf
data/opencv-4.4.0+dfsg2/modules/ts/include/opencv2/ts/ts_gtest.h:9531:5:  [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(\
data/opencv-4.4.0+dfsg2/modules/ts/include/opencv2/ts/ts_perf.hpp:20:30:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define LOGD(_str, ...) do{printf(_str , ## __VA_ARGS__); printf("\n");fflush(stdout);} while(0)
data/opencv-4.4.0+dfsg2/modules/ts/include/opencv2/ts/ts_perf.hpp:21:30:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define LOGI(_str, ...) do{printf(_str , ## __VA_ARGS__); printf("\n");fflush(stdout);} while(0)
data/opencv-4.4.0+dfsg2/modules/ts/include/opencv2/ts/ts_perf.hpp:22:30:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define LOGW(_str, ...) do{printf(_str , ## __VA_ARGS__); printf("\n");fflush(stdout);} while(0)
data/opencv-4.4.0+dfsg2/modules/ts/include/opencv2/ts/ts_perf.hpp:23:30:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define LOGE(_str, ...) do{printf(_str , ## __VA_ARGS__); printf("\n");fflush(stdout);} while(0)
data/opencv-4.4.0+dfsg2/modules/ts/src/ts.cpp:313:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf( buf, "OpenCV Error:\n\t%s (%s%s) in %s, file %s, line %d",
data/opencv-4.4.0+dfsg2/modules/ts/src/ts.cpp:316:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(TS::LOG, "%s\n", buf);
data/opencv-4.4.0+dfsg2/modules/ts/src/ts.cpp:323:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(TS::LOG, "General failure:\n\t%s (%d)\n", errorStr.c_str(), fc);
data/opencv-4.4.0+dfsg2/modules/ts/src/ts.cpp:329:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(TS::LOG, "Unknown failure\n");
data/opencv-4.4.0+dfsg2/modules/ts/src/ts.cpp:371:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( TS::LOG, "%s", s.c_str());
data/opencv-4.4.0+dfsg2/modules/ts/src/ts.cpp:410:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( TS::CONSOLE, "." );
data/opencv-4.4.0+dfsg2/modules/ts/src/ts.cpp:416:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( TS::CONSOLE, "." );
data/opencv-4.4.0+dfsg2/modules/ts/src/ts.cpp:458:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf(TS::LOG, "%s (test case #%d): the error code %d is different from the expected %d\n",
data/opencv-4.4.0+dfsg2/modules/ts/src/ts.cpp:466:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(TS::LOG, "%s  (test case #%d): unknown exception was thrown (the function has likely crashed)\n",
data/opencv-4.4.0+dfsg2/modules/ts/src/ts.cpp:473:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf(TS::LOG, "%s  (test case #%d): no expected exception was thrown\n",
data/opencv-4.4.0+dfsg2/modules/ts/src/ts.cpp:545:9:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    ts->printf(TS::LOG, "OpenCV Error:\n\t%s (%s%s) in %s, file %s, line %d\n", cvErrorStr(status), delim, err_msg, func_name[0] != 0 ? func_name : "unknown function", file_name, line);
data/opencv-4.4.0+dfsg2/modules/ts/src/ts.cpp:648:8:  [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.
#undef vsnprintf
data/opencv-4.4.0+dfsg2/modules/ts/src/ts.cpp:649:9:  [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.
#define vsnprintf _vsnprintf
data/opencv-4.4.0+dfsg2/modules/ts/src/ts.cpp:652:10:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
void TS::vprintf( int streams, const char* fmt, va_list l )
data/opencv-4.4.0+dfsg2/modules/ts/src/ts.cpp:655:5:  [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.
    vsnprintf( str, sizeof(str)-1, fmt, l );
data/opencv-4.4.0+dfsg2/modules/ts/src/ts.cpp:670:10:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
void TS::printf( int streams, const char* fmt, ... )
data/opencv-4.4.0+dfsg2/modules/ts/src/ts.cpp:676:9:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        vprintf( streams, fmt, l );
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_arrtest.cpp:321:29:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                        ts->printf( TS::LOG, "%s array %d type=%sC%d, size=(%s)\n",
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_func.cpp:2157:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf( msg, "%s: Too big difference (=%g > %g)", desc, diff, success_err_level );
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_func.cpp:2161:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf( msg, "%s: Invalid output", desc );
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_func.cpp:2165:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf( msg, "%s: Invalid reference output", desc );
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_func.cpp:2176:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( TS::LOG, "%s\n", msg );
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_func.cpp:2180:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( TS::LOG, "%s at element %d\n", msg, idx[0] + idx[1] );
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_func.cpp:2185:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( TS::LOG, "%s at (%s)\n", msg, idxstr.c_str() );
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:1606:10:  [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.
# define vsnprintf _vsnprintf
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:4513:5:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vprintf(fmt, args);
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:4534:3:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vprintf(fmt, args);
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:4541:3:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vprintf(fmt, args);
data/opencv-4.4.0+dfsg2/modules/video/test/test_camshift.cpp:277:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "Invalid CvBox2D or CvConnectedComp was returned by cvCamShift\n" );
data/opencv-4.4.0+dfsg2/modules/video/test/test_camshift.cpp:287:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "Incorrect CvBox2D size (=%.1f x %.1f, should be %.1f x %.1f)\n",
data/opencv-4.4.0+dfsg2/modules/video/test/test_camshift.cpp:296:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "Incorrect CvBox2D position (=(%.1f, %.1f), should be (%.1f, %.1f))\n",
data/opencv-4.4.0+dfsg2/modules/video/test/test_camshift.cpp:310:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "Incorrect CvBox2D angle (=%1.f, should be %1.f)\n",
data/opencv-4.4.0+dfsg2/modules/video/test/test_camshift.cpp:417:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "Incorrect CvBox2D position (=(%.1f, %.1f), should be (%.1f, %.1f))\n",
data/opencv-4.4.0+dfsg2/modules/video/test/test_camshift.cpp:430:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG,
data/opencv-4.4.0+dfsg2/modules/video/test/test_ecc.cpp:117:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( ts->LOG, "test image can not be read");
data/opencv-4.4.0+dfsg2/modules/video/test/test_ecc.cpp:153:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( ts->LOG, "RMS = %f",
data/opencv-4.4.0+dfsg2/modules/video/test/test_ecc.cpp:192:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( ts->LOG, "test image can not be read");
data/opencv-4.4.0+dfsg2/modules/video/test/test_ecc.cpp:228:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( ts->LOG, "RMS = %f",
data/opencv-4.4.0+dfsg2/modules/video/test/test_ecc.cpp:266:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( ts->LOG, "test image can not be read");
data/opencv-4.4.0+dfsg2/modules/video/test/test_ecc.cpp:303:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( ts->LOG, "RMS = %f",
data/opencv-4.4.0+dfsg2/modules/video/test/test_ecc.cpp:342:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( ts->LOG, "test image can not be read");
data/opencv-4.4.0+dfsg2/modules/video/test/test_ecc.cpp:378:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( ts->LOG, "RMS = %f",
data/opencv-4.4.0+dfsg2/modules/video/test/test_ecc.cpp:414:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( ts->LOG, "test image can not be read");
data/opencv-4.4.0+dfsg2/modules/video/test/test_ecc.cpp:461:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( ts->LOG, "RMS = %f",
data/opencv-4.4.0+dfsg2/modules/video/test/test_ecc.cpp:477:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( ts->LOG, "RMS = %f",
data/opencv-4.4.0+dfsg2/modules/video/test/test_estimaterigid.cpp:129:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "Threshold = %f, norm of difference = %f", thres, d );
data/opencv-4.4.0+dfsg2/modules/video/test/test_estimaterigid.cpp:142:12:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
       ts->printf( ts->LOG, "test image can not be read");
data/opencv-4.4.0+dfsg2/modules/video/test/test_estimaterigid.cpp:161:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "Threshold = %f, norm of difference = %f", thres,
data/opencv-4.4.0+dfsg2/modules/video/test/test_optflowpyrlk.cpp:82:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf( filename, "%soptflow/%s", ts->get_data_path().c_str(), "lk_prev.dat" );
data/opencv-4.4.0+dfsg2/modules/video/test/test_optflowpyrlk.cpp:89:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "could not read %s\n", filename );
data/opencv-4.4.0+dfsg2/modules/video/test/test_optflowpyrlk.cpp:95:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf( filename, "%soptflow/%s", ts->get_data_path().c_str(), "lk_next.dat" );
data/opencv-4.4.0+dfsg2/modules/video/test/test_optflowpyrlk.cpp:102:17:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            ts->printf( cvtest::TS::LOG, "could not read %s\n", filename );
data/opencv-4.4.0+dfsg2/modules/video/test/test_optflowpyrlk.cpp:112:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "the loaded matrices of points are not valid\n" );
data/opencv-4.4.0+dfsg2/modules/video/test/test_optflowpyrlk.cpp:119:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf( filename, "%soptflow/%s", ts->get_data_path().c_str(), "rock_1.bmp" );
data/opencv-4.4.0+dfsg2/modules/video/test/test_optflowpyrlk.cpp:124:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "could not read %s\n", filename );
data/opencv-4.4.0+dfsg2/modules/video/test/test_optflowpyrlk.cpp:130:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf( filename, "%soptflow/%s", ts->get_data_path().c_str(), "rock_2.bmp" );
data/opencv-4.4.0+dfsg2/modules/video/test/test_optflowpyrlk.cpp:135:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "could not read %s\n", filename );
data/opencv-4.4.0+dfsg2/modules/video/test/test_optflowpyrlk.cpp:185:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                ts->printf( cvtest::TS::LOG, "The algorithm lost the point #%d\n", i );
data/opencv-4.4.0+dfsg2/modules/video/test/test_optflowpyrlk.cpp:196:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG,
data/opencv-4.4.0+dfsg2/modules/video/test/test_optflowpyrlk.cpp:204:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "Maximum tracking error is too big (=%g) at %d\n", max_err, merr_i );
data/opencv-4.4.0+dfsg2/modules/video/test/test_optflowpyrlk.cpp:211:13:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        ts->printf( cvtest::TS::LOG, "NAN tracking result with status != 0 (%d times)\n", merr_nan );
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:325:13:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            vprintf(format, args);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_ffmpeg_impl.hpp:845:5:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vprintf(fmt, vargs);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_ximea.cpp:1787:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf( buf, "%s : %d, %s\n", msg, errNum, error_message.c_str());
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_xine.cpp:114:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(configfile, "%s%s", xine_get_homedir(), "/.xine/config");
data/opencv-4.4.0+dfsg2/samples/cpp/calibration.cpp:228:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf( buf, "flags: %s%s%s%s",
data/opencv-4.4.0+dfsg2/samples/cpp/select3dobj.cpp:472:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(cmd, "mkdir %s", outprefix.c_str());
data/opencv-4.4.0+dfsg2/samples/cpp/select3dobj.cpp:478:26:  [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.
            int result = system(cmd);
data/opencv-4.4.0+dfsg2/samples/cpp/select3dobj.cpp:571:25:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                        sprintf(path, "%s%04d.jpg", outprefix.c_str(), frameIdx);
data/opencv-4.4.0+dfsg2/samples/directx/d3d9_interop.cpp:261:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(buf, "mode: %s", m_modeStr[mode].c_str());
data/opencv-4.4.0+dfsg2/samples/directx/d3d9_interop.cpp:266:13:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
            sprintf(buf, m_demo_processing ? "blur frame" : "copy frame");
data/opencv-4.4.0+dfsg2/samples/directx/d3d9_interop.cpp:276:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(buf, "OpenCL device: %s", oclDevName.c_str());
data/opencv-4.4.0+dfsg2/samples/directx/d3d9ex_interop.cpp:262:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(buf, "mode: %s", m_modeStr[mode].c_str());
data/opencv-4.4.0+dfsg2/samples/directx/d3d9ex_interop.cpp:267:13:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
            sprintf(buf, m_demo_processing ? "blur frame" : "copy frame");
data/opencv-4.4.0+dfsg2/samples/directx/d3d9ex_interop.cpp:277:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(buf, "OpenCL device: %s", oclDevName.c_str());
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/src/apriltag_quad_thresh.cpp:1443: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.
            r = bias + (random() % (200-bias));
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/src/apriltag_quad_thresh.cpp:1444: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.
            g = bias + (random() % (200-bias));
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/src/apriltag_quad_thresh.cpp:1445: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.
            b = bias + (random() % (200-bias));
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/src/apriltag_quad_thresh.cpp:1478: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.
    r = bias + (random() % (200-bias));
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/src/apriltag_quad_thresh.cpp:1479: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.
    g = bias + (random() % (200-bias));
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/src/apriltag_quad_thresh.cpp:1480: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.
    b = bias + (random() % (200-bias));
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/src/apriltag_quad_thresh.cpp:1539:1:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
srandom(0);
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/src/apriltag_quad_thresh.cpp:1549: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.
        rgb[i] = bias + (random() % (255-bias));
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/src/aruco.cpp:944:5:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    srandom(0);
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/src/aruco.cpp:951: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.
        int color = bias + (random() % (255-bias));
data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/src/retinacolor.cpp:171: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)time(NULL));
data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/samples/sphereview_data.cpp:264: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((int)time(0));
data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/src/video_writer.cpp:742:45:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
                static HMODULE cvFFOpenCV = LoadLibrary(module_name);
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/NCVTestSourceProvider.hpp:77: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(seed);
data/opencv-4.4.0+dfsg2/contrib/modules/cudaoptflow/src/nvidiaOpticalFlow.cpp:141:31:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
        HMODULE hCudaModule = LoadLibrary(CUDA_MODULENAME);
data/opencv-4.4.0+dfsg2/contrib/modules/cudaoptflow/src/nvidiaOpticalFlow.cpp:167:29:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
        HMODULE hOFModule = LoadLibrary(OF_MODULENAME);
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/samples/knn_matching.cpp: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( (unsigned int) time( NULL ) );
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/src/draw.cpp:72: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/opencv-4.4.0+dfsg2/contrib/modules/surface_matching/src/ppf_helpers.cpp:646: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(0));
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerBoosting.cpp:124: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 (1);
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerMIL.cpp:141: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 (1);
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/test/test_trackers.cpp:401: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( 1 );
data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/sparse_match_interpolators.cpp:1653: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/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:882: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* envPath = getenv("OPENCV_OPENCL_RUNTIME");
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:1739:33:  [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* configuration = getenv("OPENCV_OPENCL_DEVICE");
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:1943:32:  [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* envValue = getenv("OPENCV_OPENCL_SVM_CAPABILITIES_MASK");
data/opencv-4.4.0+dfsg2/modules/core/src/ocl_deprecated.hpp:563:35:  [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* oclpath = getenv("OPENCV_OPENCL_RUNTIME");
data/opencv-4.4.0+dfsg2/modules/core/src/opencl/runtime/opencl_core.cpp:69: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.
    const char* envPath = getenv("OPENCV_OPENCL_RUNTIME");
data/opencv-4.4.0+dfsg2/modules/core/src/system.cpp:407:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        if (getenv("OPENCV_DUMP_CONFIG"))
data/opencv-4.4.0+dfsg2/modules/core/src/system.cpp:602:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        if (getenv("OPENCV_SKIP_CPU_BASELINE_CHECK"))
data/opencv-4.4.0+dfsg2/modules/core/src/system.cpp:660: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.
                getenv("OPENCV_CPU_DISABLE");
data/opencv-4.4.0+dfsg2/modules/core/src/system.cpp:933:28:  [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 *temp_dir = getenv("OPENCV_TEMP_PATH");
data/opencv-4.4.0+dfsg2/modules/core/src/system.cpp:1934:12:  [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.
    return getenv(name);
data/opencv-4.4.0+dfsg2/modules/core/src/system.cpp:2263: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* pIppEnv = getenv("OPENCV_IPP");
data/opencv-4.4.0+dfsg2/modules/core/src/utils/filesystem.cpp:110:30:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
    const char* result_str = realpath(path.c_str(), NULL);
data/opencv-4.4.0+dfsg2/modules/core/src/utils/filesystem.cpp:450:34:  [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* tmpdir_env = getenv("TMPDIR");
data/opencv-4.4.0+dfsg2/modules/core/src/utils/filesystem.cpp:464:41:  [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* xdg_cache_env = getenv("XDG_CACHE_HOME");
data/opencv-4.4.0+dfsg2/modules/core/src/utils/filesystem.cpp:472:36:  [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* home_env = getenv("HOME");
data/opencv-4.4.0+dfsg2/modules/dnn/perf/perf_main.cpp:7:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        getenv("OPENCV_DNN_TEST_DATA_PATH");
data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/vulkan/vk_loader.cpp:18:31:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
#define LOAD_VK_LIBRARY(path) LoadLibrary(path)
data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/vulkan/vk_loader.cpp:102: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.
    const char* envPath = getenv("OPENCV_VULKAN_RUNTIME");
data/opencv-4.4.0+dfsg2/modules/dnn/test/test_common.impl.hpp:379:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        getenv("OPENCV_DNN_TEST_DATA_PATH");
data/opencv-4.4.0+dfsg2/modules/dnn/test/test_ie_models.cpp:47:40:  [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* dldtTestDataPath = getenv("INTEL_CVSDK_DIR");
data/opencv-4.4.0+dfsg2/modules/dnn/test/test_ie_models.cpp:51:35:  [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* omzDataPath = getenv("OPENCV_OPEN_MODEL_ZOO_DATA_PATH");
data/opencv-4.4.0+dfsg2/modules/dnn/test/test_ie_models.cpp:54:35:  [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* dnnDataPath = getenv("OPENCV_DNN_TEST_DATA_PATH");
data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/random.h:68:10:  [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.
    std::srand(seed);
data/opencv-4.4.0+dfsg2/modules/gapi/src/compiler/gcompiler.cpp:94:37:  [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 = std::getenv("GRAPH_DUMP_PATH");
data/opencv-4.4.0+dfsg2/modules/gapi/test/common/gapi_tests_common.hpp:67:40:  [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* testDataPath = getenv("OPENCV_TEST_DATA_PATH");
data/opencv-4.4.0+dfsg2/modules/gapi/test/cpu/gapi_ocv_stateful_kernel_tests.cpp:51:40:  [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* testDataPath = getenv("OPENCV_TEST_DATA_PATH");
data/opencv-4.4.0+dfsg2/modules/gapi/test/gapi_plaidml_pipelines.cpp:26:32:  [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* raw = std::getenv(env);
data/opencv-4.4.0+dfsg2/modules/gapi/test/infer/gapi_infer_ie_test.cpp:33:35:  [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* omzDataPath = getenv("OPENCV_OPEN_MODEL_ZOO_DATA_PATH");
data/opencv-4.4.0+dfsg2/modules/gapi/test/infer/gapi_infer_ie_test.cpp:36:35:  [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* dnnDataPath = getenv("OPENCV_DNN_TEST_DATA_PATH");
data/opencv-4.4.0+dfsg2/modules/gapi/test/streaming/gapi_streaming_tests.cpp:33:36:  [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* testDataPath = getenv("OPENCV_TEST_DATA_PATH");
data/opencv-4.4.0+dfsg2/modules/highgui/src/window.cpp:276:22:  [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.
        use_legacy = getenv("OPENCV_LEGACY_WAITKEY") != NULL ? 1 : 0;
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_cvtyuv.cpp:638: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.
        Size sz(random.uniform(1, 641), random.uniform(1, 481));
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_cvtyuv.cpp:638: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.
        Size sz(random.uniform(1, 641), random.uniform(1, 481));
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_cvtyuv.cpp:650: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.fill(src, RNG::UNIFORM, 0, 256);
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_cvtyuv.cpp:676: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.
        Size sz(random.uniform(1, 641), random.uniform(1, 481));
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_cvtyuv.cpp:676: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.
        Size sz(random.uniform(1, 641), random.uniform(1, 481));
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_cvtyuv.cpp:681:30:  [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.
        int roi_offset_top = random.uniform(0, 6);
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_cvtyuv.cpp:682: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.
        int roi_offset_bottom = random.uniform(0, 6);
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_cvtyuv.cpp:683:31:  [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.
        int roi_offset_left = random.uniform(0, 6);
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_cvtyuv.cpp:684:32:  [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.
        int roi_offset_right = random.uniform(0, 6);
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_cvtyuv.cpp:693: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.fill(src_full, RNG::UNIFORM, 0, 256);
data/opencv-4.4.0+dfsg2/modules/photo/include/opencv2/photo.hpp:559: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.
    CV_WRAP virtual void setRandom(bool random) = 0;
data/opencv-4.4.0+dfsg2/modules/photo/src/calibrate.cpp:58: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(_random),
data/opencv-4.4.0+dfsg2/modules/photo/src/calibrate.cpp:89: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.
        if(random) {
data/opencv-4.4.0+dfsg2/modules/photo/src/calibrate.cpp:167: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.
    bool getRandom() const CV_OVERRIDE { return random; }
data/opencv-4.4.0+dfsg2/modules/photo/src/calibrate.cpp:176:44:  [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" << static_cast<int>(random);
data/opencv-4.4.0+dfsg2/modules/photo/src/calibrate.cpp:193: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.
    bool random;  // whether to sample locations randomly or in a grid shape
data/opencv-4.4.0+dfsg2/modules/photo/src/calibrate.cpp:197:78:  [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.
Ptr<CalibrateDebevec> createCalibrateDebevec(int samples, float lambda, bool random)
data/opencv-4.4.0+dfsg2/modules/photo/src/calibrate.cpp:199:59:  [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 makePtr<CalibrateDebevecImpl>(samples, lambda, random);
data/opencv-4.4.0+dfsg2/modules/photo/test/test_hdr.cpp:133: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(static_cast<unsigned>(time(0)));
data/opencv-4.4.0+dfsg2/modules/ts/include/opencv2/ts/ts_gtest.h:3896: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.
  const char* const env = getenv(name);
data/opencv-4.4.0+dfsg2/modules/ts/include/opencv2/ts/ts_gtest.h:3899:10:  [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.
  return getenv(name);
data/opencv-4.4.0+dfsg2/modules/ts/include/opencv2/ts/ts_gtest.h:20847: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.
  void ShuffleTests(internal::Random* random);
data/opencv-4.4.0+dfsg2/modules/ts/src/ts.cpp:555:26:  [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* datapath_dir = getenv("OPENCV_TEST_DATA_PATH");
data/opencv-4.4.0+dfsg2/modules/ts/src/ts.cpp:901:26:  [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.
        test_ipp_check = getenv("OPENCV_IPP_CHECK") != NULL;
data/opencv-4.4.0+dfsg2/modules/ts/src/ts.cpp:991:26:  [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* datapath_dir = getenv("OPENCV_TEST_DATA_PATH");
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:724:37:  [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.
void ShuffleRange(internal::Random* random, int begin, int end,
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:745: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.
inline void Shuffle(internal::Random* random, std::vector<E>* v) {
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:746: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.
  ShuffleRange(random, 0, static_cast<int>(v->size()), v);
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:1212: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.
  internal::Random* random() { return &random_; }
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:4304: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.
void TestCase::ShuffleTests(internal::Random* random) {
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:4305: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.
  Shuffle(random, &test_indices_);
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:6638:7:  [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()->Reseed(random_seed_);
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:6994: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.
  ShuffleRange(random(), 0, last_death_test_case_ + 1, &test_case_indices_);
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:6997: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.
  ShuffleRange(random(), last_death_test_case_ + 1,
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:7002:34:  [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.
    test_cases_[i]->ShuffleTests(random());
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:9707:5:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  ::InitializeCriticalSection(critical_section_);
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:9725:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  ::EnterCriticalSection(critical_section_);
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:9798:11:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
        ::InitializeCriticalSection(critical_section_);
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_perf.cpp:197:33:  [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 *data_path_dir = getenv("OPENCV_TEST_DATA_PATH");
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_perf.cpp:1046:63:  [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.
    test_ipp_check      = !args.get<bool>("perf_ipp_check") ? getenv("OPENCV_IPP_CHECK") != NULL : true;
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_perf.cpp:1130:28:  [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("OPENCV_PERF_VALIDATION_DIR");
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_perf.cpp:1955:33:  [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 *data_path_dir = getenv("OPENCV_TEST_DATA_PATH");
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:308: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* s = getenv("OPENCV_DSHOW_DEBUG");
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:654:9:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
        InitializeCriticalSection(&critSection);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:717:17:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
                EnterCriticalSection(&critSection);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:1557:13:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
            EnterCriticalSection(&VDList[id]->sgCallback->critSection);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:1645:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection(&VDList[id]->sgCallback->critSection);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2951:34:  [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* graph_filename = getenv("OPENCV_DSHOW_SAVEGRAPH_FILENAME");
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_ffmpeg_impl.hpp:703:11:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
        ::InitializeCriticalSection(&cs);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_ffmpeg_impl.hpp:709:19:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    void lock() { EnterCriticalSection(&cs); }
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_ffmpeg_impl.hpp:872:30:  [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* debug_option = getenv("OPENCV_FFMPEG_DEBUG");
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_ffmpeg_impl.hpp:911:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    char* options = getenv("OPENCV_FFMPEG_CAPTURE_OPTIONS");
data/opencv-4.4.0+dfsg2/samples/cpp/train_HOG.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( (unsigned int)time( NULL ) );
data/opencv-4.4.0+dfsg2/samples/dnn/common.hpp:61:33:  [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* extraPaths[] = {getenv("OPENCV_DNN_TEST_DATA_PATH"),
data/opencv-4.4.0+dfsg2/samples/dnn/common.hpp:62:33:  [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.
                                getenv("OPENCV_TEST_DATA_PATH")};
data/opencv-4.4.0+dfsg2/samples/winrt/ImageManipulations/MediaExtensions/Common/CritSec.h:26:9:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
        EnterCriticalSection(&m_criticalSection);
data/opencv-4.4.0+dfsg2/samples/winrt/ImageManipulations/MediaExtensions/Common/OpQueue.h:143:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection(&m_critsec);
data/opencv-4.4.0+dfsg2/samples/winrt/ImageManipulations/MediaExtensions/Common/OpQueue.h:193:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection(&m_critsec);
data/opencv-4.4.0+dfsg2/samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp:241:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection(&m_critSec);
data/opencv-4.4.0+dfsg2/samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp:288:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection(&m_critSec);
data/opencv-4.4.0+dfsg2/samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp:334:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection(&m_critSec);
data/opencv-4.4.0+dfsg2/samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp:415:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection(&m_critSec);
data/opencv-4.4.0+dfsg2/samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp:463:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection(&m_critSec);
data/opencv-4.4.0+dfsg2/samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp:509:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection(&m_critSec);
data/opencv-4.4.0+dfsg2/samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp:571:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection(&m_critSec);
data/opencv-4.4.0+dfsg2/samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp:633:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection(&m_critSec);
data/opencv-4.4.0+dfsg2/samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp:670:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection(&m_critSec);
data/opencv-4.4.0+dfsg2/samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp:706:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection(&m_critSec);
data/opencv-4.4.0+dfsg2/samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp:750:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection(&m_critSec);
data/opencv-4.4.0+dfsg2/samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp:808:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection(&m_critSec);
data/opencv-4.4.0+dfsg2/samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp:887:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection(&m_critSec);
data/opencv-4.4.0+dfsg2/samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp:975:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection(&m_critSec);
data/opencv-4.4.0+dfsg2/apps/createsamples/createsamples.cpp:123:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            num = atoi( argv[++i] );
data/opencv-4.4.0+dfsg2/apps/createsamples/createsamples.cpp:127: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).
            bgcolor = atoi( argv[++i] );
data/opencv-4.4.0+dfsg2/apps/createsamples/createsamples.cpp:131:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            bgthreshold = atoi( argv[++i] );
data/opencv-4.4.0+dfsg2/apps/createsamples/createsamples.cpp:143:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            maxintensitydev = atoi( argv[++i] );
data/opencv-4.4.0+dfsg2/apps/createsamples/createsamples.cpp:170: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).
            width = atoi( argv[++i] );
data/opencv-4.4.0+dfsg2/apps/createsamples/createsamples.cpp:174:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            height = atoi( argv[++i] );
data/opencv-4.4.0+dfsg2/apps/createsamples/createsamples.cpp:182: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).
            rngseed = atoi(argv[++i]);
data/opencv-4.4.0+dfsg2/apps/createsamples/utility.cpp:73:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char path[PATH_MAX];
data/opencv-4.4.0+dfsg2/apps/createsamples/utility.cpp:719:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char full[PATH_MAX];
data/opencv-4.4.0+dfsg2/apps/createsamples/utility.cpp:744:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    input = fopen( filename, "r" );
data/opencv-4.4.0+dfsg2/apps/createsamples/utility.cpp:1044: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).
        output = fopen( filename, "wb" );
data/opencv-4.4.0+dfsg2/apps/createsamples/utility.cpp:1141: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 fullname[PATH_MAX];
data/opencv-4.4.0+dfsg2/apps/createsamples/utility.cpp:1157:20:  [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).
            info = fopen( infoname, "w" );
data/opencv-4.4.0+dfsg2/apps/createsamples/utility.cpp:1202: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( filename, "%04d_%04d_%04d_%04d_%04d.jpg",
data/opencv-4.4.0+dfsg2/apps/createsamples/utility.cpp:1233:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char fullname[PATH_MAX];
data/opencv-4.4.0+dfsg2/apps/createsamples/utility.cpp:1258: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).
    info = fopen( infoname, "r" );
data/opencv-4.4.0+dfsg2/apps/createsamples/utility.cpp:1269:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    vec = fopen( vecfilename, "wb" );
data/opencv-4.4.0+dfsg2/apps/createsamples/utility.cpp:1403: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).
    file.input = fopen( filename, "rb" );
data/opencv-4.4.0+dfsg2/apps/interactive-calibration/calibController.cpp:289: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 buf[256];
data/opencv-4.4.0+dfsg2/apps/interactive-calibration/calibPipeline.cpp:34:18:  [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).
        mCapture.open(mCaptureParams.camID);
data/opencv-4.4.0+dfsg2/apps/interactive-calibration/calibPipeline.cpp:55:18:  [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).
        mCapture.open(mCaptureParams.videoFileName);
data/opencv-4.4.0+dfsg2/apps/interactive-calibration/parametersController.cpp:31: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).
    reader.open(inputFileName, cv::FileStorage::READ);
data/opencv-4.4.0+dfsg2/apps/traincascade/boost.cpp:291: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).
        max_depth = atoi( val.c_str() );
data/opencv-4.4.0+dfsg2/apps/traincascade/boost.cpp:295:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        weak_count = atoi( val.c_str() );
data/opencv-4.4.0+dfsg2/apps/traincascade/cascadeclassifier.cpp:116:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        winSize.width = atoi( val.c_str() );
data/opencv-4.4.0+dfsg2/apps/traincascade/cascadeclassifier.cpp:120: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).
        winSize.height = atoi( val.c_str() );
data/opencv-4.4.0+dfsg2/apps/traincascade/cascadeclassifier.cpp:255: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[10];
data/opencv-4.4.0+dfsg2/apps/traincascade/cascadeclassifier.cpp: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 cmnt[30];
data/opencv-4.4.0+dfsg2/apps/traincascade/cascadeclassifier.cpp:372: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( cmnt, "stage %d", i );
data/opencv-4.4.0+dfsg2/apps/traincascade/cascadeclassifier.cpp:538:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[16] = {0};
data/opencv-4.4.0+dfsg2/apps/traincascade/cascadeclassifier.cpp:542: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( cascadeDirName + buf + ".xml", FileStorage::READ );
data/opencv-4.4.0+dfsg2/apps/traincascade/imagestorage.cpp:132: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( _filename.c_str(), "rb" );
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml_data.cpp:151: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 str_delimiter[3] = { ' ', delimiter, '\0' };
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml_data.cpp:163: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( filename, "rt" );
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml_inner_functions.cpp:522: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 buf[100];
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml_inner_functions.cpp:523: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( buf, "response #%d is not integral", idx );
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml_inner_functions.cpp:1104: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( dst + dst_step*(idx ? idx[i] : i), src, full_width );
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml_inner_functions.cpp:1537: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 (out_data, first, old_n * sizeof (int));
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml_tree.cpp:170:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char err[100];
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml_tree.cpp:445:29:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                            sprintf( err, "%d-th value of %d-th (categorical) "
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml_tree.cpp:453:25:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                        sprintf( err, "%d-th value of %d-th (categorical) "
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml_tree.cpp:560:25:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                        sprintf( err, "%d-th value of %d-th (ordered) "
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml_tree.cpp:1907: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(bestSplit.get(), finder.bestSplit.get(), splitSize);
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml_tree.cpp:1942: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( bestSplit.get(), split.get(), splitSize );
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml_tree.cpp:1949: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( bestSplit.get(), rhs.bestSplit.get(), splitSize );
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml_tree.cpp:1964: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( bestSplit, finder.bestSplit, finder.splitSize );
data/opencv-4.4.0+dfsg2/apps/traincascade/traincascade.cpp:70:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            numPos = atoi( argv[++i] );
data/opencv-4.4.0+dfsg2/apps/traincascade/traincascade.cpp:74:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            numNeg = atoi( argv[++i] );
data/opencv-4.4.0+dfsg2/apps/traincascade/traincascade.cpp:78:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            numStages = atoi( argv[++i] );
data/opencv-4.4.0+dfsg2/apps/traincascade/traincascade.cpp:82:33:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            precalcValBufSize = atoi( argv[++i] );
data/opencv-4.4.0+dfsg2/apps/traincascade/traincascade.cpp:86:33:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            precalcIdxBufSize = atoi( argv[++i] );
data/opencv-4.4.0+dfsg2/apps/traincascade/traincascade.cpp:94: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).
          numThreads = atoi(argv[++i]);
data/opencv-4.4.0+dfsg2/apps/visualisation/opencv_visualisation.cpp:114:24:  [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).
    bool model_ok = fs.open(model, FileStorage::READ);
data/opencv-4.4.0+dfsg2/apps/visualisation/opencv_visualisation.cpp:173:22:  [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).
        result_video.open(output_video.str(), VideoWriter::fourcc('X','V','I','D'), 15, Size(reference_image.cols * resize_factor, reference_image.rows * resize_factor), false);
data/opencv-4.4.0+dfsg2/cmake/checks/runtime/cpu_vsx_aligned.cpp:30: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 __attribute__ ((aligned (16))) rbuf[16];
data/opencv-4.4.0+dfsg2/cmake/checks/runtime/cpu_vsx_aligned.cpp:31: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 __attribute__ ((aligned (16))) wbuf[16];
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/samples/calibrate_camera.cpp:119:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[1024];
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/samples/calibrate_camera.cpp:201:20:  [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).
        inputVideo.open(video);
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/samples/calibrate_camera.cpp:204:20:  [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).
        inputVideo.open(camId);
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/samples/calibrate_camera_charuco.cpp:119:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[1024];
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/samples/calibrate_camera_charuco.cpp:203:20:  [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).
        inputVideo.open(video);
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/samples/calibrate_camera_charuco.cpp:206:20:  [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).
        inputVideo.open(camId);
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/samples/create_diamond.cpp:104: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).
        ids[i] = atoi(splittedIds[i].c_str());
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/samples/detect_board.cpp:166:20:  [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).
        inputVideo.open(video);
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/samples/detect_board.cpp:169:20:  [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).
        inputVideo.open(camId);
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/samples/detect_board_charuco.cpp:164:20:  [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).
        inputVideo.open(video);
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/samples/detect_board_charuco.cpp:167:20:  [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).
        inputVideo.open(camId);
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/samples/detect_diamonds.cpp:166:20:  [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).
        inputVideo.open(video);
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/samples/detect_diamonds.cpp:169:20:  [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).
        inputVideo.open(camId);
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/samples/detect_markers.cpp:167:20:  [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).
        inputVideo.open(video);
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/samples/detect_markers.cpp:170:20:  [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).
        inputVideo.open(camId);
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/samples/tutorial_charuco_create_detect.cpp:42: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).
    inputVideo.open(0);
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/samples/tutorial_charuco_create_detect.cpp:105: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).
    inputVideo.open(0);
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/src/apriltag_quad_thresh.cpp:97: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(_tmp_stack.data(), pts, sizeof(struct pt) * sz);
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/src/apriltag_quad_thresh.cpp: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(&pts[outpos], &as[apos], (asz-apos)*sizeof(struct pt));
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/src/apriltag_quad_thresh.cpp:127: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(&pts[outpos], &bs[bpos], (bsz-bpos)*sizeof(struct pt));
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/src/apriltag_quad_thresh.cpp:687: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(out, p, sizeof(struct pt));
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/src/apriltag_quad_thresh.cpp:764: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(&lfps[i], &lfps[i-1], sizeof(struct line_fit_pt));
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/src/zarray.hpp: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(&za->data[za->size*za->el_sz], p, za->el_sz);
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/src/zarray.hpp:112: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(p, &za->data[idx*za->el_sz], za->el_sz);
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/src/zarray.hpp:143: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(outp, &za->data[idx*za->el_sz], za->el_sz);
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/src/zarray.hpp: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(&za->data[idx*za->el_sz], p, za->el_sz);
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/src/zmaxheap.cpp:52: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(tmp.data(), &heap->data[a*heap->el_sz], heap->el_sz);
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/src/zmaxheap.cpp:53: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(&heap->data[a*heap->el_sz], &heap->data[b*heap->el_sz], heap->el_sz);
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/src/zmaxheap.cpp:54: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(&heap->data[b*heap->el_sz], tmp.data(), heap->el_sz);
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/src/zmaxheap.cpp:119: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(&heap->data[idx*heap->el_sz], p, heap->el_sz);
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/src/zmaxheap.cpp:149: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(p, &heap->data[idx*heap->el_sz], heap->el_sz);
data/opencv-4.4.0+dfsg2/contrib/modules/aruco/src/zmaxheap.cpp:161: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(&heap->data[idx*heap->el_sz], &heap->data[heap->el_sz * heap->size], heap->el_sz);
data/opencv-4.4.0+dfsg2/contrib/modules/bgsegm/samples/bgfg.cpp:53: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).
    cap.open(videoPath);
data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/samples/cpp/retinaDemo.cpp:81:30:  [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).
                videoCapture.open(0);
data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/samples/cpp/retinaDemo.cpp:85:30:  [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).
                videoCapture.open(argv[2]);
data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/samples/cpp/tutorial_code/bioinspired/retina_tutorial.cpp:70:30:  [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).
                videoCapture.open(0);
data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/samples/cpp/tutorial_code/bioinspired/retina_tutorial.cpp:74:30:  [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).
                videoCapture.open(argv[2]);
data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/samples/retinaDemo.cpp:65:22:  [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).
        videoCapture.open(parser.get<cv::String>("video"));
data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/samples/retinaDemo.cpp:69:22:  [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).
        videoCapture.open(parser.get<int>("camera"));
data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/src/imagelogpolprojection.cpp:292: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(&_transformTable[0], &tempTransformTable[0], sizeof(unsigned int)*_usefullpixelIndex);
data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/src/imagelogpolprojection.cpp:389: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(&_transformTable[0], &tempTransformTable[0], sizeof(unsigned int)*_usefullpixelIndex);
data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/src/retina.cpp:441: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(&_retinaParameters, &newConfiguration, sizeof(RetinaParameters));
data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/src/retina_ocl.cpp:200: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(&_retinaParameters, &newConfiguration, sizeof(cv::bioinspired::RetinaParameters));
data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/src/retinacolor.cpp:542: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(destinationBuffer, &_tempMultiplexedFrame[0], sizeof(float)*_filterOutput.getNBpixels());
data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/src/templatebuffer.hpp:482: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(outputBuffer, inputBuffer, sizeof(type)*nbPixels);
data/opencv-4.4.0+dfsg2/contrib/modules/bioinspired/src/transientareassegmentationmodule.cpp:359: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(&_segmentationParameters, &newParameters, sizeof(cv::bioinspired::SegmentationParameters));
data/opencv-4.4.0+dfsg2/contrib/modules/ccalib/samples/omni_calibration.cpp: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 buf[1024];
data/opencv-4.4.0+dfsg2/contrib/modules/ccalib/samples/omni_stereo_calibration.cpp:122:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[1024];
data/opencv-4.4.0+dfsg2/contrib/modules/ccalib/samples/random_pattern_calibration.cpp: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[1024];
data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/samples/classify.cpp:55:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char childpath[512];
data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/samples/classify.cpp:88: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).
    ouF.open(fname.c_str(), std::ofstream::binary);
data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/samples/sphereview_data.cpp:57:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char childpath[512];
data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/samples/sphereview_data.cpp:221: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).
    imglabel.open(labeldir.c_str(), fstream::app|fstream::out);
data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/samples/sphereview_data.cpp:251:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char temp[1024];
data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/samples/sphereview_data.cpp:278: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 (temp,"%02i_%02i_%04i_%04i_%04i_%02i", label_class, label_item, label_x, label_y, label_z, static_cast<int>(obj_dist/100));
data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/samples/video.cpp:19:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char childpath[512];
data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/src/cnn_sphereview.cpp:192:18:  [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).
        img_file.open(binPathimg,ios::in);
data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/src/cnn_sphereview.cpp:193:18:  [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).
        lab_file.open(binPathlab,ios::in);
data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/src/cnn_sphereview.cpp:208:22:  [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).
            img_file.open(binPathimg,ios::out|ios::binary|ios::app);
data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/src/cnn_sphereview.cpp:209:22:  [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).
            lab_file.open(binPathlab,ios::out|ios::binary|ios::app);
data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/src/cnn_sphereview.cpp:236:22:  [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).
            img_file.open(binPathimg,ios::out|ios::binary|ios::app);
data/opencv-4.4.0+dfsg2/contrib/modules/cnn_3dobj/src/cnn_sphereview.cpp:237:22:  [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).
            lab_file.open(binPathlab,ios::out|ios::binary|ios::app);
data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/perf/perf_video.cpp:144:24:  [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).
                writer.open(outputFile, CV_FOURCC('X', 'V', 'I', 'D'), FPS, frame.size());
data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/src/ffmpeg_video_source.cpp:59:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 c[4];
data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/src/ffmpeg_video_source.cpp:120: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).
    cap.open(fname, CAP_FFMPEG);
data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/test/test_video.cpp:113: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).
    reader.open(outputFile);
data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/test/test_mean_shift.cpp:101: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(std::string(cvtest::TS::ptr()->get_data_path()) + "meanshift/spmap.yaml", cv::FileStorage::READ);
data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/test/test_mean_shift.cpp:103: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(std::string(cvtest::TS::ptr()->get_data_path()) + "meanshift/spmap_CC1X.yaml", cv::FileStorage::READ);
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/perf/perf_bgsegm.cpp:175:21:  [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).
                cap.open(inputFile);
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/perf/perf_bgsegm.cpp:207:21:  [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).
                cap.open(inputFile);
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/src/NCV.cpp:194: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(dst, src, sz);
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/src/NCV.cpp:265: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((char*)dst + i * dstPitch, (char*)src + i * srcPitch, widthbytes);
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/src/NCV.cpp:787: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(&rects[0], hypotheses.ptr(), numHypotheses * sizeof(NcvRect32u));
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/src/NCV.cpp:802: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(hypotheses.ptr(), &rects[0], numHypotheses * sizeof(NcvRect32u));
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/src/NCV.cpp:807: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(hypothesesWeights->ptr(), &weights[0], numHypotheses * sizeof(Ncv32u));
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/NCVTestSourceProvider.hpp:135: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(dst.ptr() + i * dst.stride() + j * this->dataWidth,
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/NCVTestSourceProvider.hpp:141: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(dst.ptr() + i * dst.stride() + srcFullChunks * this->dataWidth,
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/NCVTestSourceProvider.hpp:164: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(dst.ptr() + j * srcLen, this->data.get()->ptr(), srcLen * sizeof(T));
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/NCVTestSourceProvider.hpp: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(dst.ptr() + srcFullChunks * srcLen, this->data.get()->ptr(), srcLastChunk * sizeof(T));
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/TestHypothesesFilter.cpp:182: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(&tmpRects[0], h_vecSrc.ptr(), numHypothesesSrc * sizeof(NcvRect32u));
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/TestHypothesesGrow.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(h_vecDst_d.ptr(), h_vecDst.ptr(), h_vecDst.length() * sizeof(NcvRect32u));
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/main_nvidia.cpp:61: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 testName[80];
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/main_nvidia.cpp:62: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(testName, "LinIntImgW%dH%d", i, 2);
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/main_nvidia.cpp:68: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 testName[80];
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/main_nvidia.cpp:69: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(testName, "LinIntImgW%dH%d", 2, i);
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/main_nvidia.cpp:82: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 testName[80];
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/main_nvidia.cpp:83: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(testName, "SqIntImgW%dH%d", i, 32);
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/main_nvidia.cpp:89: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 testName[80];
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/main_nvidia.cpp:90: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(testName, "SqIntImgW%dH%d", 32, i);
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/main_nvidia.cpp:105: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 testName[80];
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/main_nvidia.cpp:106: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(testName, "RectStdDevW%dH%d", i*2, i);
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/main_nvidia.cpp:121: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 testName[80];
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/main_nvidia.cpp:122: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(testName, "TestResize_VGA_s%d", i);
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/main_nvidia.cpp:129: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 testName[80];
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/main_nvidia.cpp:130: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(testName, "TestResize_1080_s%d", i);
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/main_nvidia.cpp:142: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 testName[80];
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/main_nvidia.cpp: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(testName, "Compaction%d", i);
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/main_nvidia.cpp:148: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 testName[80];
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/main_nvidia.cpp:149: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(testName, "Compaction%d", i);
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/main_nvidia.cpp:156: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 testName[80];
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/main_nvidia.cpp:157: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(testName, "Compaction%d", i);
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/main_nvidia.cpp:162: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 testName[80];
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/main_nvidia.cpp: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(testName, "Compaction%d", i);
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/main_nvidia.cpp:176: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 testName[80];
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/main_nvidia.cpp: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(testName, "TestTranspose_%dx%d", i, j);
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/main_nvidia.cpp:186: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 testName[80];
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/main_nvidia.cpp:187: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(testName, "TestTranspose_%dx%d", i, j);
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/main_nvidia.cpp:210: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 testName[80];
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/main_nvidia.cpp:211: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(testName, "DrawRectsW%dH%d", i, j);
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/main_nvidia.cpp:237: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 testName[80];
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/main_nvidia.cpp:238: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(testName, "VectorGrow%d", i);
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/main_nvidia.cpp:253: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 testName[80];
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/main_nvidia.cpp:254: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(testName, "HypFilter%d", i);
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/main_nvidia.cpp:279: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 testName[80];
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/main_nvidia.cpp:280: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(testName, "HaarAppl%d_%d", i, j);
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/main_nvidia.cpp:287: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 testName[80];
data/opencv-4.4.0+dfsg2/contrib/modules/cudalegacy/test/main_nvidia.cpp:288: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(testName, "HaarAppl%d", i);
data/opencv-4.4.0+dfsg2/contrib/modules/cudaobjdetect/test/test_objdetect.cpp:160:7:  [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).
    f.open((std::string(cvtest::TS::ptr()->get_data_path()) + "hog/expected_output.bin").c_str(), std::ios_base::binary);
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/samples/hpe_humaneva.cpp:72: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 number[2];
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/samples/hpe_humaneva.cpp:73: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(number, "%u", i);
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/ar_hmdb.cpp:120: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 tmp[2];
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/ar_hmdb.cpp:121: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", number+1);
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/ar_sports.cpp:80:36:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            curr->labels.push_back(atoi((*it).c_str()));
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/fr_adience.cpp:120:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        curr->face_id = atoi(elems[2].c_str());
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/fr_adience.cpp:133:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        curr->x = atoi(elems[5].c_str());
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/fr_adience.cpp:134:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        curr->y = atoi(elems[6].c_str());
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/fr_adience.cpp:135: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).
        curr->dx = atoi(elems[7].c_str());
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/fr_adience.cpp:136: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).
        curr->dy = atoi(elems[8].c_str());
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/fr_adience.cpp:137: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).
        curr->tilt_ang = atoi(elems[9].c_str());
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/fr_adience.cpp:138:36:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        curr->fiducial_yaw_angle = atoi(elems[10].c_str());
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/fr_adience.cpp:139: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).
        curr->fiducial_score = atoi(elems[11].c_str());
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/fr_adience.cpp:197: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 tmp[3];
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/fr_adience.cpp:198: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/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/fr_adience.cpp:207: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 tmp[3];
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/fr_adience.cpp:208: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/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/fr_lfw.cpp:124:37:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if 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 imageNumber1 = atoi(elems[1].c_str())-1;
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/fr_lfw.cpp:132: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).
            imageNumber2 = atoi(elems[2].c_str())-1;
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/fr_lfw.cpp:137: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).
            imageNumber2 = atoi(elems[3].c_str())-1;
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/fr_lfw.cpp:159:37:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if 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 imageNumber1 = atoi(elems[1].c_str())-1;
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/fr_lfw.cpp:167: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).
            imageNumber2 = atoi(elems[2].c_str())-1;
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/fr_lfw.cpp:172: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).
            imageNumber2 = atoi(elems[3].c_str())-1;
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/fr_lfw.cpp:193:37:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if 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 imageNumber1 = atoi(elems[1].c_str())-1;
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/fr_lfw.cpp:201: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).
            imageNumber2 = atoi(elems[2].c_str())-1;
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/fr_lfw.cpp:206: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).
            imageNumber2 = atoi(elems[3].c_str())-1;
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/gr_chalearn.cpp:96:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        curr->numFrames = atoi(elems[0].c_str());
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/gr_chalearn.cpp:97: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).
        curr->fps = atoi(elems[1].c_str());
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/gr_chalearn.cpp:98: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).
        curr->depth = atoi(elems[2].c_str());
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/gr_chalearn.cpp:111:45:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                currGroundTruth.gestureID = atoi(elems2[0].c_str());
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/gr_chalearn.cpp:112:48:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                currGroundTruth.initialFrame = atoi(elems2[1].c_str());
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/gr_chalearn.cpp:113:45:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                currGroundTruth.lastFrame = atoi(elems2[2].c_str());
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/gr_skig.cpp:85: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 number[2];
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/gr_skig.cpp:86: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(number, "%u", i);
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/gr_skig.cpp:113:47:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                curr->person = (unsigned char)atoi( file.substr(posPerson + strlen("person_"), 1).c_str() );
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/gr_skig.cpp:114:52:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                curr->background = (backgroundType)atoi( file.substr(posBackground + strlen("backgroud_"), 1).c_str() );
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/gr_skig.cpp:115:56:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                curr->illumination = (illuminationType)atoi( file.substr(posIllumination + strlen("illumination_"), 1).c_str() );
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/gr_skig.cpp:116:40:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                curr->pose = (poseType)atoi( file.substr(posPose + strlen("pose_"), 1).c_str() );
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/gr_skig.cpp:117:42:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                curr->type = (actionType)atoi( file.substr(posType + strlen("actionType_"), 2).c_str() );
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/hpe_humaneva.cpp:85: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 number[2];
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/hpe_humaneva.cpp:86: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(number, "%u", i);
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/hpe_humaneva.cpp:106:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            curr->type1 = atoi(elems[1].c_str());
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/hpe_humaneva.cpp:165: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 number[2];
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/hpe_humaneva.cpp:166: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(number, "%u", i*2); // 2 & 4
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/hpe_humaneva.cpp:186:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            curr->type1 = atoi(elems[1].c_str());
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/ir_affine.cpp:99: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 tmp[2];
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/ir_affine.cpp:100: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/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/ir_robot.cpp:96: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).
            int imageNum = atoi( fileName.substr(3, 3).c_str() );
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/or_imagenet.cpp: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 numberStr[9];
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/or_imagenet.cpp:82: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(numberStr, "%u", number);
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/or_imagenet.cpp:104:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        int number = atoi(elems[1].c_str());
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/or_imagenet.cpp:131: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).
        curr->id = atoi(line.c_str());
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/or_imagenet.cpp:142: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).
        testGT.push_back(atoi(line.c_str()));
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/or_mnist.cpp:79:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *f = fopen(imagesFile.c_str(), "rb");
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/or_mnist.cpp:90:9:  [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).
    f = fopen(labelsFile.c_str(), "rb");
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/or_pascal.cpp:160:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if 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 width = atoi(sz->FirstChildElement("width")->GetText());
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/or_pascal.cpp:161: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).
    int height = atoi(sz->FirstChildElement("height")->GetText());
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/or_pascal.cpp:162:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if 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 depth = atoi(sz->FirstChildElement("depth")->GetText());
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/or_pascal.cpp:176: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).
        pascal_obj.truncated = atoi(parseNodeText(xml_obj, "truncated", "0")) > 0;
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/or_pascal.cpp:177: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).
        pascal_obj.difficult = atoi(parseNodeText(xml_obj, "difficult", "0")) > 0;
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/or_pascal.cpp:178:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        pascal_obj.occluded = atoi(parseNodeText(xml_obj, "occluded", "0")) > 0;
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/or_pascal.cpp:182:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        pascal_obj.xmin = atoi(xml_bndbox->FirstChildElement("xmin")->GetText());
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/or_pascal.cpp:183:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        pascal_obj.ymin = atoi(xml_bndbox->FirstChildElement("ymin")->GetText());
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/or_pascal.cpp:184:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        pascal_obj.xmax = atoi(xml_bndbox->FirstChildElement("xmax")->GetText());
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/or_pascal.cpp:185:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        pascal_obj.ymax = atoi(xml_bndbox->FirstChildElement("ymax")->GetText());
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/or_pascal.cpp:197: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).
            pascal_part.xmin = atoi(xml_bndbox->FirstChildElement("xmin")->GetText());
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/or_pascal.cpp:198: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).
            pascal_part.ymin = atoi(xml_bndbox->FirstChildElement("ymin")->GetText());
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/or_pascal.cpp:199: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).
            pascal_part.xmax = atoi(xml_bndbox->FirstChildElement("xmax")->GetText());
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/or_pascal.cpp:200: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).
            pascal_part.ymax = atoi(xml_bndbox->FirstChildElement("ymax")->GetText());
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/or_sun.cpp:135: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 tmp[3];
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/or_sun.cpp:136: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/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/pd_caltech.cpp:102: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).
            FILE *f = fopen((seqImagesPath + seqName).c_str(), "rb");
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/pd_caltech.cpp:152: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 imgName[20];
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/slam_kitti.cpp:103: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 tmp[2];
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/slam_kitti.cpp:104: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", i);
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tinyxml2/tinyxml2.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( _start, str, len+1 );
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tinyxml2/tinyxml2.cpp:219:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                        char buf[10] = { 0 };
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tinyxml2/tinyxml2.cpp: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 endTag[2] = { *p, 0 };
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tinyxml2/tinyxml2.cpp:1165:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[BUF_SIZE];
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tinyxml2/tinyxml2.cpp:1173:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[BUF_SIZE];
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tinyxml2/tinyxml2.cpp:1181:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[BUF_SIZE];
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tinyxml2/tinyxml2.cpp:1188:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[BUF_SIZE];
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tinyxml2/tinyxml2.cpp:1195:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[BUF_SIZE];
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tinyxml2/tinyxml2.cpp:1278:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[BUF_SIZE];
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tinyxml2/tinyxml2.cpp:1286:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[BUF_SIZE];
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tinyxml2/tinyxml2.cpp:1294:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[BUF_SIZE];
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tinyxml2/tinyxml2.cpp:1302:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[BUF_SIZE];
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tinyxml2/tinyxml2.cpp:1310:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[BUF_SIZE];
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tinyxml2/tinyxml2.cpp:1676:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE* fp = fopen( filepath, mode );
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tinyxml2/tinyxml2.cpp:1775: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( _charBuffer, p, len );
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tinyxml2/tinyxml2.cpp:1813: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 buf1[LEN] = { 0 };
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tinyxml2/tinyxml2.cpp:1814: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 buf2[LEN] = { 0 };
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tinyxml2/tinyxml2.cpp:1987:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[BUF_SIZE];
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tinyxml2/tinyxml2.cpp:1995:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[BUF_SIZE];
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tinyxml2/tinyxml2.cpp:2003:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[BUF_SIZE];
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tinyxml2/tinyxml2.cpp:2011:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[BUF_SIZE];
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tinyxml2/tinyxml2.cpp:2069:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[BUF_SIZE];
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tinyxml2/tinyxml2.cpp:2077:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[BUF_SIZE];
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tinyxml2/tinyxml2.cpp:2085:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[BUF_SIZE];
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tinyxml2/tinyxml2.cpp:2093:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[BUF_SIZE];
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tinyxml2/tinyxml2.cpp:2101:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[BUF_SIZE];
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tinyxml2/tinyxml2.h:292: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( newMem, _mem, sizeof(T)*_size );	// warning: not using constructors, only works for PODs
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tinyxml2/tinyxml2.h:409: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    mem[SIZE];
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tr_chars.cpp:82: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).
    unsigned int ind = atoi(elems[number].c_str());
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tr_chars.cpp:175:33:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            allLabels.push_back(atoi(s.c_str()));
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tr_chars.cpp:179:33:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            allLabels.push_back(atoi(line.c_str()));
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tr_icdar.cpp:96: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).
        w.x      = atoi(fields[0].c_str());
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tr_icdar.cpp:97: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).
        w.y      = atoi(fields[1].c_str());
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tr_icdar.cpp:98: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).
        w.width  = atoi(fields[2].c_str()) - atoi(fields[0].c_str());
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tr_icdar.cpp:98:46:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        w.width  = atoi(fields[2].c_str()) - atoi(fields[0].c_str());
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tr_icdar.cpp:99: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).
        w.height = atoi(fields[7].c_str()) - atoi(fields[1].c_str());
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tr_icdar.cpp:99:46:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        w.height = atoi(fields[7].c_str()) - atoi(fields[1].c_str());
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tr_icdar.cpp:106: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).
    infile.open(lex100FileName.str().c_str());
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tr_icdar.cpp:125: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).
    infile.open(lexFullFileName.str().c_str());
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tr_svt.cpp:105: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).
                    t.height = atoi(childTagged->Attribute("height"));
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tr_svt.cpp:106:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                    t.width = atoi(childTagged->Attribute("width"));
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tr_svt.cpp:107:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                    t.x = atoi(childTagged->Attribute("x"));
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tr_svt.cpp:108:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                    t.y = atoi(childTagged->Attribute("y"));
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/track_alov.cpp: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 videoNum[9];
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/track_alov.cpp:106: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(videoNum, "%u", videoID+1);
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/track_alov.cpp:107:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char frameNum[9];
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/track_alov.cpp:108: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(frameNum, "%u", frameID);
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/track_alov.cpp: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 videoNum[9];
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/track_alov.cpp:133: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(videoNum, "%u", videoID+1);
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/track_vot.cpp:94: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 numberStr[20];
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/track_vot.cpp:95: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(numberStr, "%u", number);
data/opencv-4.4.0+dfsg2/contrib/modules/dnn_superres/samples/dnn_superres.cpp:31:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if 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 scale = atoi(argv[3]);
data/opencv-4.4.0+dfsg2/contrib/modules/dnn_superres/samples/dnn_superres_benchmark_quality.cpp:117:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if 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 scale = atoi(argv[4]);
data/opencv-4.4.0+dfsg2/contrib/modules/dnn_superres/samples/dnn_superres_benchmark_time.cpp:89:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if 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 scale = atoi(argv[4]);
data/opencv-4.4.0+dfsg2/contrib/modules/dnn_superres/samples/dnn_superres_multioutput.cpp:40: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).
            scales.push_back(atoi(token.c_str()));
data/opencv-4.4.0+dfsg2/contrib/modules/dnn_superres/samples/dnn_superres_video.cpp:32:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if 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 scale = atoi(argv[4]);
data/opencv-4.4.0+dfsg2/contrib/modules/dnn_superres/samples/dnn_superres_video.cpp:41:18:  [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_video.open(output_path, ex, input_video.get(CAP_PROP_FPS), S, true);
data/opencv-4.4.0+dfsg2/contrib/modules/dpm/src/dpm_model.cpp:87: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).
    fs.open(filename, FileStorage::WRITE);
data/opencv-4.4.0+dfsg2/contrib/modules/dpm/src/dpm_model.cpp:148:21:  [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).
    bool is_ok = fs.open(filename, FileStorage::READ);
data/opencv-4.4.0+dfsg2/contrib/modules/face/samples/facemark_lbf_fitting.cpp:90:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buff[255];
data/opencv-4.4.0+dfsg2/contrib/modules/face/samples/facemark_lbf_fitting.cpp:136: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(buff, "faces: %i %03.2f fps, fit:%03.0f ms",nfaces,fps,fittime*1000);
data/opencv-4.4.0+dfsg2/contrib/modules/face/samples/facerec_demo.cpp:46:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if 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 label = atoi(classlabel.c_str());
data/opencv-4.4.0+dfsg2/contrib/modules/face/samples/facerec_eigenfaces.cpp:63: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).
            labels.push_back(atoi(classlabel.c_str()));
data/opencv-4.4.0+dfsg2/contrib/modules/face/samples/facerec_fisherfaces.cpp:63: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).
            labels.push_back(atoi(classlabel.c_str()));
data/opencv-4.4.0+dfsg2/contrib/modules/face/samples/facerec_lbph.cpp:44: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).
            labels.push_back(atoi(classlabel.c_str()));
data/opencv-4.4.0+dfsg2/contrib/modules/face/samples/facerec_save_load.cpp:63: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).
            labels.push_back(atoi(classlabel.c_str()));
data/opencv-4.4.0+dfsg2/contrib/modules/face/samples/facerec_video.cpp:46: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).
            labels.push_back(atoi(classlabel.c_str()));
data/opencv-4.4.0+dfsg2/contrib/modules/face/samples/facerec_video.cpp:64: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).
    int deviceId = atoi(argv[3]);
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/facemark.cpp:63: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).
    infile.open(imageList.c_str(), std::ios::in);
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/facemark.cpp:65: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).
    ss_gt.open(groundTruth.c_str(), std::ios::in);
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/facemark.cpp:95: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).
    infile.open(filename.c_str(), std::ios::in);
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/facemark.cpp:143: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).
    infile.open(imageList.c_str(), std::ios::in);
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/facemark.cpp:228: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).
        f1.open(filename[j].c_str(),ios::in);
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/facemarkLBF.cpp:304:20:  [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).
            infile.open(params.cascade_face.c_str(), std::ios::in);
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/facemarkLBF.cpp:485: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).
    infile.open(s.c_str(), std::ios::in);
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/trainFacemark.cpp:54: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).
    fs.open(filename, FileStorage::READ);
data/opencv-4.4.0+dfsg2/contrib/modules/hdf/include/opencv2/hdf/hdf5.hpp:802:26:  [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).
  CV_EXPORTS_W Ptr<HDF5> open( const String& HDF5Filename );
data/opencv-4.4.0+dfsg2/contrib/modules/hdf/samples/create_groups.cpp:29:32:  [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).
    Ptr<hdf::HDF5> h5io = hdf::open("mytest.h5");
data/opencv-4.4.0+dfsg2/contrib/modules/hdf/samples/create_read_write_datasets.cpp:30:32:  [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).
    Ptr<hdf::HDF5> h5io = hdf::open(filename);
data/opencv-4.4.0+dfsg2/contrib/modules/hdf/samples/create_read_write_datasets.cpp:62:32:  [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).
    Ptr<hdf::HDF5> h5io = hdf::open(filename);
data/opencv-4.4.0+dfsg2/contrib/modules/hdf/samples/create_read_write_datasets.cpp:100:32:  [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).
    Ptr<hdf::HDF5> h5io = hdf::open(filename);
data/opencv-4.4.0+dfsg2/contrib/modules/hdf/samples/read_write_attributes.cpp:32:32:  [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).
    Ptr<hdf::HDF5> h5io = hdf::open(filename);
data/opencv-4.4.0+dfsg2/contrib/modules/hdf/src/hdf5.cpp:1431:22:  [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).
CV_EXPORTS Ptr<HDF5> open( const String& HDF5Filename )
data/opencv-4.4.0+dfsg2/contrib/modules/hdf/test/test_hdf5.cpp:54:21:  [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).
    m_hdf_io = hdf::open(m_filename);
data/opencv-4.4.0+dfsg2/contrib/modules/hdf/test/test_hdf5.cpp:73:21:  [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).
    m_hdf_io = hdf::open(m_filename);
data/opencv-4.4.0+dfsg2/contrib/modules/hdf/test/test_hdf5.cpp:90:21:  [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).
    m_hdf_io = hdf::open(m_filename);
data/opencv-4.4.0+dfsg2/contrib/modules/hdf/test/test_hdf5.cpp:135:21:  [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).
    m_hdf_io = hdf::open(m_filename);
data/opencv-4.4.0+dfsg2/contrib/modules/hdf/test/test_hdf5.cpp:172:21:  [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).
    m_hdf_io = hdf::open(m_filename);
data/opencv-4.4.0+dfsg2/contrib/modules/hdf/test/test_hdf5.cpp:220:21:  [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).
    m_hdf_io = hdf::open(m_filename);
data/opencv-4.4.0+dfsg2/contrib/modules/hdf/test/test_hdf5.cpp:247:21:  [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).
    m_hdf_io = hdf::open(m_filename);
data/opencv-4.4.0+dfsg2/contrib/modules/hdf/test/test_hdf5.cpp:265:21:  [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).
    m_hdf_io = hdf::open(m_filename);
data/opencv-4.4.0+dfsg2/contrib/modules/hdf/test/test_hdf5.cpp:283:21:  [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).
    m_hdf_io = hdf::open(m_filename);
data/opencv-4.4.0+dfsg2/contrib/modules/hdf/test/test_hdf5.cpp:301:21:  [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).
    m_hdf_io = hdf::open(m_filename);
data/opencv-4.4.0+dfsg2/contrib/modules/hdf/test/test_hdf5.cpp:350:21:  [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).
    m_hdf_io = hdf::open(m_filename);
data/opencv-4.4.0+dfsg2/contrib/modules/hfs/src/hfs_core.cpp:53: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(w1.data(), weight1, sizeof(weight1));
data/opencv-4.4.0+dfsg2/contrib/modules/hfs/src/hfs_core.cpp:54: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(w2.data(), weight2, sizeof(weight2));
data/opencv-4.4.0+dfsg2/contrib/modules/hfs/src/or_utils/or_memory_block.hpp:84: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(this->data_cpu, source->data_cpu,
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_descriptors_regression.cpp:301: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).
      fs.open( std::string( ts->get_data_path() ) + LINE_DESCRIPTOR_DIR + "/edl_detector_keylines_cameraman.yaml", FileStorage::WRITE );
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/test/test_detector_regression.cpp:295: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).
    fs.open( resFilename, FileStorage::WRITE );
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/samples/gpc_evaluate.cpp: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 buf[256];
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/samples/gpc_evaluate.cpp:156: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( buf, "Average EPE: %.2f", error );
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/samples/gpc_evaluate.cpp:158: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( buf, "Number of matches: %u", (unsigned)corr.size() );
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/samples/motempl.cpp:142:13:  [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).
        cap.open(argc == 2 ? argv[1][0] - '0' : 0);
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/samples/motempl.cpp:144:13:  [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).
        cap.open(argv[1]);
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/samples/pcaflow_demo.cpp:90: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 buf[256];
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/samples/pcaflow_demo.cpp:91:3:  [2] (buffer) sprintf:
  Does not 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, "Average EPE: %.2f", calcEPE( flow, gt ) );
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/samples/pcaflow_demo.cpp:93:3:  [2] (buffer) sprintf:
  Does not 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, "Time: %.2fs", meter.getTimeSec() );
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/samples/simpleflow_demo.cpp:98:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE* file = fopen(argv[2], "wb");
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/samples/simpleflow_demo.cpp:109: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 header[5];
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/samples/simpleflow_demo.cpp:174: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).
  FILE* flow_file_1 = fopen(argv[0], "rb");
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/samples/simpleflow_demo.cpp:185: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).
  FILE* flow_file_2 = fopen(argv[1], "rb");
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/src/pcaflow.cpp:415: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( A2.ptr<float>(), A1.ptr<float>(), features.size() * basisSize.area() * sizeof( float ) );
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/src/pcaflow.cpp:500:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *f = fopen( pathToPrior, "rb" );
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/src/pcaflow.cpp:522: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( A1, L1.ptr<float>(), L1.size().area() * sizeof( float ) );
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/src/pcaflow.cpp:523: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( A2, L2.ptr<float>(), L2.size().area() * sizeof( float ) );
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/src/pcaflow.cpp:524: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( b1, c1.ptr<float>(), c1.size().area() * sizeof( float ) );
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/src/pcaflow.cpp:525: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( b2, c2.ptr<float>(), c2.size().area() * sizeof( float ) );
data/opencv-4.4.0+dfsg2/contrib/modules/plot/src/plot.cpp:425: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 AxisX_Min_Text[20];
data/opencv-4.4.0+dfsg2/contrib/modules/plot/src/plot.cpp:428: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(AxisX_Min_Text, "%g", Value);
data/opencv-4.4.0+dfsg2/contrib/modules/plot/src/plot.cpp:438: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 AxisX_Min_Text[20];
data/opencv-4.4.0+dfsg2/contrib/modules/quality/samples/brisque_trainer_livedb.cpp:81:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fid = fopen((foldername + "orgs.txt").c_str(), "r");
data/opencv-4.4.0+dfsg2/contrib/modules/quality/samples/brisque_trainer_livedb.cpp:87:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fid = fopen((foldername + "dmos.txt").c_str(), "r");
data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/src/linemod.cpp:1002:43:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
CV_DECL_ALIGNED(16) static const unsigned char SIMILARITY_LUT[256] = {0, 4, 3, 4, 2, 4, 3, 4, 1, 4, 3, 4, 2, 4, 3, 4, 0, 0, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 0, 3, 4, 4, 3, 3, 4, 4, 2, 3, 4, 4, 3, 3, 4, 4, 0, 1, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 0, 2, 3, 3, 4, 4, 4, 4, 3, 3, 3, 3, 4, 4, 4, 4, 0, 2, 1, 2, 0, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 0, 1, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 0, 3, 2, 3, 1, 3, 2, 3, 0, 3, 2, 3, 1, 3, 2, 3, 0, 0, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 0, 4, 3, 4, 2, 4, 3, 4, 1, 4, 3, 4, 2, 4, 3, 4, 0, 1, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 0, 3, 4, 4, 3, 3, 4, 4, 2, 3, 4, 4, 3, 3, 4, 4, 0, 2, 1, 2, 0, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 0, 2, 3, 3, 4, 4, 4, 4, 3, 3, 3, 3, 4, 4, 4, 4, 0, 3, 2, 3, 1, 3, 2, 3, 0, 3, 2, 3, 1, 3, 2, 3, 0, 1, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4};
data/opencv-4.4.0+dfsg2/contrib/modules/saliency/samples/computeSaliency.cpp:83:7:  [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).
  cap.open( video_name );
data/opencv-4.4.0+dfsg2/contrib/modules/saliency/src/BING/CmFile.cpp:54:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char buffer[1024];
data/opencv-4.4.0+dfsg2/contrib/modules/saliency/src/BING/FilterTIG.cpp:79: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( residuals, w1f.data, sizeof(float) * D );
data/opencv-4.4.0+dfsg2/contrib/modules/saliency/src/BING/objectnessBING.cpp:404:7:  [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).
  ofs.open( ( fName + ".txt" ).c_str(), std::ofstream::out );
data/opencv-4.4.0+dfsg2/contrib/modules/sfm/samples/trajectory_reconstruction.cpp: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 buffer[50];
data/opencv-4.4.0+dfsg2/contrib/modules/sfm/samples/trajectory_reconstruction.cpp: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 (buffer, "%d", static_cast<int>(i));
data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_capi.h:90: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 severity_fatal[32];
data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_capi.h:112: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 val[10];
data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/base/vector.h:124:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(data, data_, sizeof(*data)*size_);
data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/simple_pipeline/camera_intrinsics.cc:45: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(offset_, from.offset_, sizeof(Offset) * width_ * height_);
data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/simple_pipeline/pipeline.cc: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 message[256];
data/opencv-4.4.0+dfsg2/contrib/modules/sfm/src/libmv_light/libmv/simple_pipeline/pipeline.cc: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 line[N];
data/opencv-4.4.0+dfsg2/contrib/modules/sfm/test/test_precomp.hpp:15: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).
      FS.open(FNAME, FileStorage::READ); \
data/opencv-4.4.0+dfsg2/contrib/modules/stereo/samples/sample.cpp:47: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 *b[7] = { "CV_DENSE_CENSUS", "CV_SPARSE_CENSUS", "CV_CS_CENSUS", "CV_MODIFIED_CS_CENSUS",
data/opencv-4.4.0+dfsg2/contrib/modules/stereo/src/quasi_dense_stereo.cpp:514: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(filepath, cv::FileStorage::READ);
data/opencv-4.4.0+dfsg2/contrib/modules/superres/src/frame_source.cpp:152:13:  [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).
        vc_.open(fileName_);
data/opencv-4.4.0+dfsg2/contrib/modules/superres/src/frame_source.cpp:175:13:  [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).
        vc_.open(deviceId_);
data/opencv-4.4.0+dfsg2/contrib/modules/surface_matching/src/icp.cpp:180: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(t, r, m*sizeof(float));
data/opencv-4.4.0+dfsg2/contrib/modules/surface_matching/src/pose_3d.cpp:215:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE* f = fopen(FileName.c_str(), "wb");
data/opencv-4.4.0+dfsg2/contrib/modules/surface_matching/src/pose_3d.cpp:228:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE* f = fopen(FileName.c_str(), "rb");
data/opencv-4.4.0+dfsg2/contrib/modules/surface_matching/src/pose_3d.cpp:291:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE* f = fopen(FileName.c_str(), "wb");
data/opencv-4.4.0+dfsg2/contrib/modules/surface_matching/src/pose_3d.cpp:304:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE* f = fopen(FileName.c_str(), "rb");
data/opencv-4.4.0+dfsg2/contrib/modules/surface_matching/src/ppf_helpers.cpp:91: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).
        numVertices = atoi(tokens[2].c_str());
data/opencv-4.4.0+dfsg2/contrib/modules/text/samples/textdetection.cpp:122: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 buff[20]; char *buff_ptr = buff;
data/opencv-4.4.0+dfsg2/contrib/modules/text/samples/textdetection.cpp:123: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(buff, "channel %d", c);
data/opencv-4.4.0+dfsg2/contrib/modules/text/samples/webcam_demo.cpp:123:17:  [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).
            cap.open(input[0] - '0');
data/opencv-4.4.0+dfsg2/contrib/modules/text/samples/webcam_demo.cpp:125:17:  [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).
            cap.open(input);
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/perf/perf_Tracker.cpp:75:6:  [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( datasetMeta, FileStorage::READ );
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/perf/perf_Tracker.cpp:86:6:  [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).
  gt.open( gtFile.c_str() );
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/perf/perf_Tracker.cpp:103: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).
        Rect( atoi( tokens.at( 0 ).c_str() ), atoi( tokens.at( 1 ).c_str() ), atoi( tokens.at( 2 ).c_str() ), atoi( tokens.at( 3 ).c_str() ) ) );
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/perf/perf_Tracker.cpp:103:47:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        Rect( atoi( tokens.at( 0 ).c_str() ), atoi( tokens.at( 1 ).c_str() ), atoi( tokens.at( 2 ).c_str() ), atoi( tokens.at( 3 ).c_str() ) ) );
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/perf/perf_Tracker.cpp:103:79:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        Rect( atoi( tokens.at( 0 ).c_str() ), atoi( tokens.at( 1 ).c_str() ), atoi( tokens.at( 2 ).c_str() ), atoi( tokens.at( 3 ).c_str() ) ) );
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/perf/perf_Tracker.cpp:103:111:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        Rect( atoi( tokens.at( 0 ).c_str() ), atoi( tokens.at( 1 ).c_str() ), atoi( tokens.at( 2 ).c_str() ), atoi( tokens.at( 3 ).c_str() ) ) );
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/perf/perf_Tracker.cpp:165:7:  [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).
    c.open( getDataPath( TRACKING_DIR + "/" + video + "/" + FOLDER_IMG + "/" + video + ".webm" ) );
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/perf/perf_Tracker.cpp:236:7:  [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).
    c.open( getDataPath( TRACKING_DIR + "/" + video + "/" + FOLDER_IMG + "/" + video + ".webm" ) );
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/perf/perf_Tracker.cpp:306:7:  [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).
    c.open( getDataPath( TRACKING_DIR + "/" + video + "/" + FOLDER_IMG + "/" + video + ".webm" ) );
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/perf/perf_Tracker.cpp:376:7:  [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).
    c.open(getDataPath(TRACKING_DIR + "/" + video + "/" + FOLDER_IMG + "/" + video + ".webm"));
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/samples/benchmark.cpp:207: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 one[30];
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/samples/benchmark.cpp:269: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).
    cap.open(videoFile);
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/samples/multitracker.cpp:66: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 buffer [50];
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/samples/multitracker.cpp:143: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 (buffer, "speed: %.0f fps", fps);
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/samples/tracker.cpp:58:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if 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 num=atoi(initBoundingBox.substr(pos,(ctr==3)?(string::npos):(npos-pos)).c_str());
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/samples/tracker.cpp:75:7:  [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).
  cap.open( video_name );
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/samples/tracking_by_matching.cpp:161: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).
    cap.open( video_name );
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/tldDataset.cpp:48: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 tldRootPath[100];
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/tldDataset.cpp:164: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 fullPath[100];
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/tldDataset.cpp:165: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 numStr[10];
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/tldDataset.cpp:169: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(fullPath, "000");
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/tldDataset.cpp:170:23:  [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.
			if (frameNum < 10) strcat(fullPath, "0000");
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/tldDataset.cpp:171:29:  [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.
			else if (frameNum < 100) strcat(fullPath, "000");
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/tldDataset.cpp:172:30:  [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.
			else if (frameNum < 1000) strcat(fullPath, "00");
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/tldDataset.cpp:175:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(numStr, "%d", frameNum);
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/tldDataset.cpp:177:17:  [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.
			if (flagPNG) strcat(fullPath, ".png");
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/tldDataset.cpp:178: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.
			else strcat(fullPath, ".jpg");
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/test/test_trackers.cpp:263:5:  [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).
  c.open( folder + "/" + video + ".webm" );
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/test/test_trackers.cpp:317:6:  [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( cvtest::TS::ptr()->get_data_path() + TRACKING_DIR + "/" + video + "/" + video + ".yml", FileStorage::READ );
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/test/test_trackers.cpp:326:6:  [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).
  gt.open( gtFile.c_str() );
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/test/test_trackers.cpp:348: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).
  omit.open( omitFile.c_str() );
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/test/test_trackers.cpp:355: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 s_start = atoi( tokens.at( 0 ).c_str() );
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/test/test_trackers.cpp:356:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      int s_end = atoi( tokens.at( 1 ).c_str() );
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/test/test_trackers.cpp:374:7:  [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).
  gt2.open( gtFile.c_str() );
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/test/test_trackers.cpp:384: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).
    Rect bb( atoi( tokens.at( 0 ).c_str() ), atoi( tokens.at( 1 ).c_str() ), atoi( tokens.at( 2 ).c_str() ), atoi( tokens.at( 3 ).c_str() ) );
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/test/test_trackers.cpp:384:46:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    Rect bb( atoi( tokens.at( 0 ).c_str() ), atoi( tokens.at( 1 ).c_str() ), atoi( tokens.at( 2 ).c_str() ), atoi( tokens.at( 3 ).c_str() ) );
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/test/test_trackers.cpp:384:78:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    Rect bb( atoi( tokens.at( 0 ).c_str() ), atoi( tokens.at( 1 ).c_str() ), atoi( tokens.at( 2 ).c_str() ), atoi( tokens.at( 3 ).c_str() ) );
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/test/test_trackers.cpp:384:110:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    Rect bb( atoi( tokens.at( 0 ).c_str() ), atoi( tokens.at( 1 ).c_str() ), atoi( tokens.at( 2 ).c_str() ), atoi( tokens.at( 3 ).c_str() ) );
data/opencv-4.4.0+dfsg2/contrib/modules/videostab/samples/videostab.cpp:52:24:  [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).
                writer.open(outputPath, VideoWriter::fourcc('X','V','I','D'),
data/opencv-4.4.0+dfsg2/contrib/modules/videostab/src/frame_source.cpp:69: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).
        vc.open(path_);
data/opencv-4.4.0+dfsg2/contrib/modules/videostab/src/global_motion.cpp:671: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).
    file_.open(path.c_str());
data/opencv-4.4.0+dfsg2/contrib/modules/videostab/src/global_motion.cpp:691: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).
    file_.open(path.c_str());
data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/samples/fast_hough_transform.cpp:94:35:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    houghDepth      = argc >= 3 ? atoi(argv[2]) : CV_32S;
data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/samples/fast_hough_transform.cpp:95:35:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    houghAngleRange = argc >= 4 ? atoi(argv[3]) : 6;//ARO_315_135
data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/samples/fast_hough_transform.cpp:96:35:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    houghOperator   = argc >= 5 ? atoi(argv[4]) : 2;//FHT_ADD
data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/samples/fast_hough_transform.cpp:97:35:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    houghSkew       = argc >= 6 ? atoi(argv[5]) : 1;//HDO_DESKEW
data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/samples/filterdemo.cpp:65:13:  [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).
        cap.open(argv[1]);
data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/samples/filterdemo.cpp:67:13:  [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).
        cap.open(0);
data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/samples/graphsegmentation_demo.cpp:100:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        gs->setK((float)atoi(argv[4]));
data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/samples/graphsegmentation_demo.cpp:103: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).
        gs->setMinSize(atoi(argv[5]));
data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/samples/seeds.cpp:49:13:  [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).
        cap.open(argc == 2 ? argv[1][0] - '0' : 0);
data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/samples/slic.cpp:49:18:  [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).
        if( !cap.open(capture) )
data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/adaptive_manifold_filter_n.cpp:585:22:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                std::memcpy(minDistRow, dstRow, srcSize.width*sizeof(float));
data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/estimated_covariance.cpp:138: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(&combinationsTable[comb_idx++], &comb, sizeof(Combination));
data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/estimated_covariance.cpp:152: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(&combinationsTable[comb_idx++], &comb, sizeof(Combination));
data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/fast_hough_transform.cpp:96: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(pLine0, pLine1 + wLine - dLine, dLine);
data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/fast_hough_transform.cpp:97: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(pLine0 + dLine, pLine1, wLine - dLine);
data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/fast_hough_transform.cpp:101: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(img0.data + img0.step * y0,
data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/fast_hough_transform.cpp:499: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(pBuf, pLine, len);
data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/fast_hough_transform.cpp:500: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(pLine + shift, pBuf, len - shift);
data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/fast_hough_transform.cpp:502: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(pLine, pBuf + len - shift, shift);
data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/seeds.cpp:440: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(parent[level - 1], parent_pre_init[level - 1],
data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_matchcolortemplate.cpp:22: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).
    fs.open(openCVExtraDir + "cv/ximgproc/qdftData.yml.gz", FileStorage::WRITE);
data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_matchcolortemplate.cpp:35:7:  [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).
    f.open(dataPath, FileStorage::READ);
data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_matchcolortemplate.cpp:72: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).
    fs.open(dataPath, FileStorage::WRITE);
data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_matchcolortemplate.cpp:77:7:  [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).
    f.open(dataPath, FileStorage::READ);
data/opencv-4.4.0+dfsg2/contrib/modules/xobjdetect/tools/waldboost_detector/waldboost_detector.cpp:35:25:  [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 *fhandle = fopen(argv[5], "a");
data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/src/learning_based_color_balance.cpp:100:42:  [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).
        if (!path_to_model.empty() && fs.open(path_to_model, FileStorage::READ))
data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/src/learning_based_color_balance_model.hpp:8:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
unsigned char _feature_idx[_num_trees * num_features * 2 * (_num_tree_nodes - 1)] = {
data/opencv-4.4.0+dfsg2/modules/calib3d/src/calibration.cpp:1309: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( _allH->data.db + i*9, H, sizeof(H) );
data/opencv-4.4.0+dfsg2/modules/calib3d/src/calibration.cpp:2877: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( E2.data.db, U.data.db + 6, sizeof(e2));
data/opencv-4.4.0+dfsg2/modules/calib3d/src/calibration.cpp:2922: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( E2.data.db, U.data.db + 6, sizeof(e2));
data/opencv-4.4.0+dfsg2/modules/calib3d/src/calibration.cpp:3770:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        std::memcpy(stdDeviationsIntrinsicsMat.ptr(), stdDeviationsM.ptr(),
data/opencv-4.4.0+dfsg2/modules/calib3d/src/calibration.cpp:3778:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        std::memcpy(stdDeviationsExtrinsicsMat.ptr(),
data/opencv-4.4.0+dfsg2/modules/calib3d/src/calibration.cpp:3787:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        std::memcpy( stdDeviationsObjPointsMat.ptr(), stdDeviationsM.ptr()
data/opencv-4.4.0+dfsg2/modules/calib3d/src/calibration.cpp:3799: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(rv.ptr(), rvecM.ptr(i), 3*sizeof(double));
data/opencv-4.4.0+dfsg2/modules/calib3d/src/calibration.cpp:3805: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(tv.ptr(), tvecM.ptr(i), 3*sizeof(double));
data/opencv-4.4.0+dfsg2/modules/calib3d/src/fisheye.cpp:858: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(rvecs.getMat(i).ptr(), omc[i].val, sizeof(Vec3d));
data/opencv-4.4.0+dfsg2/modules/calib3d/src/fisheye.cpp:859: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(tvecs.getMat(i).ptr(), Tc[i].val, sizeof(Vec3d));
data/opencv-4.4.0+dfsg2/modules/calib3d/src/five-point.cpp:140: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(e + count * 9, Evec.ptr(), 9 * sizeof(double));
data/opencv-4.4.0+dfsg2/modules/calib3d/src/p3p.cpp:395: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(U, Id, 16 * sizeof(double));
data/opencv-4.4.0+dfsg2/modules/calib3d/src/p3p.cpp:398: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(D, B, 4 * sizeof(double));
data/opencv-4.4.0+dfsg2/modules/calib3d/src/p3p.cpp:461: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(D, B, 4 * sizeof(double));
data/opencv-4.4.0+dfsg2/modules/calib3d/src/rho.cpp:964: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(curr.H, arg.guessH, HSIZE);
data/opencv-4.4.0+dfsg2/modules/calib3d/src/rho.cpp:1682: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(arg.finalH, best.H, HSIZE);
data/opencv-4.4.0+dfsg2/modules/calib3d/src/rho.cpp:1684: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(arg.inl, best.inl, arg.N);
data/opencv-4.4.0+dfsg2/modules/calib3d/src/rho.cpp:2132: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(best.H, newH, sizeof(newH));
data/opencv-4.4.0+dfsg2/modules/calib3d/src/stereosgbm.cpp:2181: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_row,src_row,disp1.cols*sizeof(short));
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration.cpp:324:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char            i_dat_file[100];
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration.cpp:331: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).
    datafile = fopen( filename.c_str(), "r" );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration.cpp:349:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        file = fopen(filename.c_str(),"r");
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration.cpp:1353: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[1000];
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration.cpp:1355:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        f = fopen(filepath.c_str(), "rt");
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_solvepnp_ransac.cpp:474: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(epsilon_trans, eps, SOLVEPNP_MAX_COUNT * sizeof(*epsilon_trans));
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_solvepnp_ransac.cpp:477: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(epsilon_rot, eps, SOLVEPNP_MAX_COUNT * sizeof(*epsilon_rot));
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_stereomatching.cpp:439: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).
        resFS.open( fullResultFilename, FileStorage::WRITE );
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_stereomatching.cpp:631:55:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        String sf = fn[i+1]; params.dispScaleFactor = atoi(sf.c_str());
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_stereomatching.cpp:632:51:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        String uv = fn[i+2]; params.dispUnknVal = atoi(uv.c_str());
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_stereomatching.cpp:765:52:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            String ndisp = fn[i+2]; params.ndisp = atoi(ndisp.c_str());
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_stereomatching.cpp:766:56:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            String mindisp = fn[i+3]; params.mindisp = atoi(mindisp.c_str());
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_stereomatching.cpp:767:56:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            String winSize = fn[i+4]; params.winSize = atoi(winSize.c_str());
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_stereomatching.cpp:891:52:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            String ndisp = fn[i+2]; params.ndisp = atoi(ndisp.c_str());
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_stereomatching.cpp:892:56:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            String winSize = fn[i+3]; params.winSize = atoi(winSize.c_str());
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_stereomatching.cpp:893:50:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            String mode = fn[i+4]; params.mode = atoi(mode.c_str());
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/hal/intrin_cpp.hpp:377:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        std::memcpy(&c.s[0], &s[0], bytes);
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/hal/intrin_wasm.hpp:353:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        std::memcpy(&c.s[0], &s[0], bytes);
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:361:26:  [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).
    CV_WRAP virtual bool open(const String& filename, int flags, const String& encoding=String());
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/traits.hpp:365: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.
    typedef char CV_NO[1]; \
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/traits.hpp:366: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.
    typedef char CV_YES[2]; \
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/types_c.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 colorModel[4];     /**< Ignored by OpenCV */
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/types_c.h: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 channelSeq[4];     /**< ditto */
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/types_c.h:1870: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((writer).ptr, elem_ptr, (writer).seq->elem_size);\
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/types_c.h:1882: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((writer).ptr, &(elem), sizeof(elem));      \
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/types_c.h:1910: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( &(elem), (reader).ptr, sizeof((elem)));            \
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/types_c.h:1918: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(&(elem), (reader).ptr, sizeof((elem)));               \
data/opencv-4.4.0+dfsg2/modules/core/src/arithm.cpp: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 opts[1024];
data/opencv-4.4.0+dfsg2/modules/core/src/arithm.cpp: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 cvtstr[4][32], opts[1024];
data/opencv-4.4.0+dfsg2/modules/core/src/arithm.cpp:1118:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cvt[40];
data/opencv-4.4.0+dfsg2/modules/core/src/array.cpp:557: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( arr->size, sizes, dims*sizeof(sizes[0]));
data/opencv-4.4.0+dfsg2/modules/core/src/array.cpp:724: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(CV_NODE_IDX(mat,node), idx, mat->dims*sizeof(idx[0]));
data/opencv-4.4.0+dfsg2/modules/core/src/array.cpp:1145: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( sizes, mat->size, dims*sizeof(sizes[0]));
data/opencv-4.4.0+dfsg2/modules/core/src/array.cpp:1522: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((char*)data + offset, data, pix_size);
data/opencv-4.4.0+dfsg2/modules/core/src/array.cpp:2634: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( header, mat, sizeof(*header));
data/opencv-4.4.0+dfsg2/modules/core/src/array.cpp:3135: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, src, sizeof(*src));
data/opencv-4.4.0+dfsg2/modules/core/src/array.cpp:3150: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( dst->imageData, src->imageData, size );
data/opencv-4.4.0+dfsg2/modules/core/src/convert.simd.hpp:164: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, src, len );
data/opencv-4.4.0+dfsg2/modules/core/src/convert_scale.dispatch.cpp:55:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cvt[2][50];
data/opencv-4.4.0+dfsg2/modules/core/src/convert_scale.dispatch.cpp:159: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 cvt[2][40];
data/opencv-4.4.0+dfsg2/modules/core/src/copy.cpp:302: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(dptr, sptr, sz.width);
data/opencv-4.4.0+dfsg2/modules/core/src/copy.cpp:320: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(ptrs[1], ptrs[0], sz);
data/opencv-4.4.0+dfsg2/modules/core/src/copy.cpp:447: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( dptr + j, scalar, sz );
data/opencv-4.4.0+dfsg2/modules/core/src/copy.cpp:454: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( dptr, data, elsize );
data/opencv-4.4.0+dfsg2/modules/core/src/copy.cpp:559: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(ptrs[0], scbuf, blockSize);
data/opencv-4.4.0+dfsg2/modules/core/src/copy.cpp:1107: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( dst.ptr(y) + x, src.ptr(y), ssize.width );
data/opencv-4.4.0+dfsg2/modules/core/src/copy.cpp:1111: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.ptr(y), dst.ptr(y - ssize.height), dsize.width );
data/opencv-4.4.0+dfsg2/modules/core/src/copy.cpp:1230: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(dstInner, src, srcroi.width*elemSize);
data/opencv-4.4.0+dfsg2/modules/core/src/copy.cpp:1256: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 + (i - top)*dststep, dst + j*dststep, dstroi.width);
data/opencv-4.4.0+dfsg2/modules/core/src/copy.cpp:1262: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 + (i + srcroi.height)*dststep, dst + j*dststep, dstroi.width);
data/opencv-4.4.0+dfsg2/modules/core/src/copy.cpp:1293: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( dstInner, src, srcroi.width );
data/opencv-4.4.0+dfsg2/modules/core/src/copy.cpp:1294: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( dstInner - left, constBuf, left );
data/opencv-4.4.0+dfsg2/modules/core/src/copy.cpp:1295: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( dstInner + srcroi.width, constBuf, right );
data/opencv-4.4.0+dfsg2/modules/core/src/copy.cpp:1301: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 + (i - top)*dststep, constBuf, dstroi.width);
data/opencv-4.4.0+dfsg2/modules/core/src/copy.cpp:1304: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 + (i + srcroi.height)*dststep, constBuf, dstroi.width);
data/opencv-4.4.0+dfsg2/modules/core/src/copy.cpp:1486: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( dst1->size, src1->size, src1->dims*sizeof(src1->size[0]));
data/opencv-4.4.0+dfsg2/modules/core/src/copy.cpp:1506: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( node_copy, node, dst1->heap->elem_size );
data/opencv-4.4.0+dfsg2/modules/core/src/datastructs.cpp:568: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, reader.ptr, count );
data/opencv-4.4.0+dfsg2/modules/core/src/datastructs.cpp:1152: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( ptr, element, elem_size );
data/opencv-4.4.0+dfsg2/modules/core/src/datastructs.cpp:1177: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( element, ptr, elem_size );
data/opencv-4.4.0+dfsg2/modules/core/src/datastructs.cpp:1214: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( ptr, element, elem_size );
data/opencv-4.4.0+dfsg2/modules/core/src/datastructs.cpp:1239: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( element, block->data, elem_size );
data/opencv-4.4.0+dfsg2/modules/core/src/datastructs.cpp:1304: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( block->data, prev_block->data + block_size - elem_size, elem_size );
data/opencv-4.4.0+dfsg2/modules/core/src/datastructs.cpp:1318: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( ret_ptr, element, elem_size );
data/opencv-4.4.0+dfsg2/modules/core/src/datastructs.cpp:1343: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( block->data + block_size - elem_size, next_block->data, elem_size );
data/opencv-4.4.0+dfsg2/modules/core/src/datastructs.cpp:1356: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( ret_ptr, element, elem_size );
data/opencv-4.4.0+dfsg2/modules/core/src/datastructs.cpp:1416: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( ptr + block_size - elem_size, next_block->data, elem_size );
data/opencv-4.4.0+dfsg2/modules/core/src/datastructs.cpp:1436: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( block->data, prev_block->data + block_size - elem_size, elem_size );
data/opencv-4.4.0+dfsg2/modules/core/src/datastructs.cpp:1480: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( seq->ptr, elements, delta );
data/opencv-4.4.0+dfsg2/modules/core/src/datastructs.cpp:1515: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( block->data, elements + count*elem_size, delta );
data/opencv-4.4.0+dfsg2/modules/core/src/datastructs.cpp:1555: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( elements, seq->ptr, delta );
data/opencv-4.4.0+dfsg2/modules/core/src/datastructs.cpp:1579: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( elements, seq->first->data, delta );
data/opencv-4.4.0+dfsg2/modules/core/src/datastructs.cpp:1717: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( reader_to.ptr, reader_from.ptr, elem_size );
data/opencv-4.4.0+dfsg2/modules/core/src/datastructs.cpp:1735: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( reader_to.ptr, reader_from.ptr, elem_size );
data/opencv-4.4.0+dfsg2/modules/core/src/datastructs.cpp:1805: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( reader_to.ptr, reader_from.ptr, elem_size );
data/opencv-4.4.0+dfsg2/modules/core/src/datastructs.cpp:1823: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( reader_to.ptr, reader_from.ptr, elem_size );
data/opencv-4.4.0+dfsg2/modules/core/src/datastructs.cpp:1832: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( reader_to.ptr, reader_from.ptr, elem_size );
data/opencv-4.4.0+dfsg2/modules/core/src/datastructs.cpp:2534: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( free_elem, element, set->elem_size );
data/opencv-4.4.0+dfsg2/modules/core/src/datastructs.cpp:2626: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( vertex + 1, _vertex + 1, graph->elem_size - sizeof(CvGraphVtx) );
data/opencv-4.4.0+dfsg2/modules/core/src/datastructs.cpp:2797: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( edge + 1, _edge + 1, delta );
data/opencv-4.4.0+dfsg2/modules/core/src/datastructs.cpp:3277: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( result + sizeof(CvGraph), graph + sizeof(CvGraph),
data/opencv-4.4.0+dfsg2/modules/core/src/dxt.cpp:2903: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( dptr0, dptr + dptr_offset, dst_full_len );
data/opencv-4.4.0+dfsg2/modules/core/src/dxt.cpp:2983: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( dbuf0 + elem_size, dbuf0, elem_size );
data/opencv-4.4.0+dfsg2/modules/core/src/dxt.cpp:2988: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( dbuf1 + elem_size, dbuf1, elem_size );
data/opencv-4.4.0+dfsg2/modules/core/src/glob.cpp:83:9:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        wchar_t wfull_path[MAX_PATH];
data/opencv-4.4.0+dfsg2/modules/core/src/glob.cpp:151:9:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        wchar_t wpath[MAX_PATH];
data/opencv-4.4.0+dfsg2/modules/core/src/lda.cpp:1000: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(pDst, pSrc, n * sizeof(double));
data/opencv-4.4.0+dfsg2/modules/core/src/mathfuncs.cpp:646:26:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    std::memcpy(x, buf[0], sizeof(float) * len);
data/opencv-4.4.0+dfsg2/modules/core/src/mathfuncs.cpp:647:26:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    std::memcpy(y, buf[1], sizeof(float) * len);
data/opencv-4.4.0+dfsg2/modules/core/src/mathfuncs.cpp:1313: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(x, x0, bsz*esz1);
data/opencv-4.4.0+dfsg2/modules/core/src/mathfuncs.cpp:1340: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(x, x0, bsz*esz1);
data/opencv-4.4.0+dfsg2/modules/core/src/matmul.dispatch.cpp: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 cvt[2][50];
data/opencv-4.4.0+dfsg2/modules/core/src/matmul.dispatch.cpp:698: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( _data.ptr(i), data[i].ptr(), sz*esz );
data/opencv-4.4.0+dfsg2/modules/core/src/matrix.cpp:50: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(ptrs[1], ptrs[0], planesz);
data/opencv-4.4.0+dfsg2/modules/core/src/matrix.cpp:81: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(ptrs[1], ptrs[0], planesz);
data/opencv-4.4.0+dfsg2/modules/core/src/matrix.cpp:116: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(ptrs[1], ptrs[0], planesz);
data/opencv-4.4.0+dfsg2/modules/core/src/matrix.cpp:611: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(data + r*step.p[0], elem, esz);
data/opencv-4.4.0+dfsg2/modules/core/src/matrix.cpp:746: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(data + r*step.p[0], elems.data, elems.total()*elems.elemSize());
data/opencv-4.4.0+dfsg2/modules/core/src/matrix_operations.cpp:562: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(data + (i*step + j*esz), data + (j*step + i*esz), esz);
data/opencv-4.4.0+dfsg2/modules/core/src/matrix_operations.cpp:888: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 * const ops[4] = { "OCL_CV_REDUCE_SUM", "OCL_CV_REDUCE_AVG",
data/opencv-4.4.0+dfsg2/modules/core/src/matrix_operations.cpp:899: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 cvt[3][40];
data/opencv-4.4.0+dfsg2/modules/core/src/matrix_operations.cpp:933: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 cvt[2][40];
data/opencv-4.4.0+dfsg2/modules/core/src/matrix_operations.cpp:1156: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(dptr, sptr, sizeof(T) * len);
data/opencv-4.4.0+dfsg2/modules/core/src/mean.dispatch.cpp:230: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 cvt[2][40];
data/opencv-4.4.0+dfsg2/modules/core/src/minmax.cpp:1023:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cvt[2][40];
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:642: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).
        f.open(fileName_.c_str(), std::ios::in|std::ios::out|std::ios::binary);
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:755: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).
            f.open(fileName_.c_str(), std::ios::in|std::ios::out|std::ios::binary);
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:758:19:  [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).
                f.open(fileName_.c_str(), std::ios::out|std::ios::binary);
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:783: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).
            f.open(fileName_.c_str(), std::ios::in|std::ios::out|std::ios::binary);
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:1143: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 buf[1000];
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:1225:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    major = atoi(temp.c_str());
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:1227:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    minor = atoi(temp.c_str());
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:1319: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[4096];
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:1766: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).
            deviceID = atoi(deviceName.c_str());
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:1948:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        mask = atoi(envValue);
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:3817: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 kernels_buffer[4096] = {0};
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:3933: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 kernels_buffer[4096] = {0};
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:4468: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(ptr_, originPtr_, size_);
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:4485: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(originPtr_, ptr_, size_);
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:4523: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(ptr_ + i*step_, originPtr_ + i*step_, cols_);
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:4541: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(originPtr_ + i*step_, ptr_ + i*step_, cols_);
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:4769: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(handle, u->origdata, u->size);
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:4922: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(u->origdata, u->handle, u->size);
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:5335: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(dstptr, (uchar*)u->handle + srcrawofs, total);
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:5361: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(ptrs[1], ptrs[0], planesz);
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:5396: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( (uchar*)dstptr + i*new_dststep[0], ptr + i*new_srcstep[0] + membuf_ofs, new_sz[0]);
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:5469: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((uchar*)u->handle + dstrawofs, srcptr, total);
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:5495: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(ptrs[1], ptrs[0], planesz);
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:5535: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( ptr + i*new_dststep[0] + membuf_ofs, (uchar*)srcptr + i*new_srcstep[0], new_sz[0]);
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:5663: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(ptrs[1], ptrs[0], planesz);
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:5720: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( dstptr + dstmembuf_ofs + i*new_dststep[0],
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:6009: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[1024];
data/opencv-4.4.0+dfsg2/modules/core/src/out.cpp:55: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 floatFormat[8];
data/opencv-4.4.0+dfsg2/modules/core/src/out.cpp:56: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[32];   // enough for double with precision up to 20
data/opencv-4.4.0+dfsg2/modules/core/src/out.cpp:70: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 braces[5];
data/opencv-4.4.0+dfsg2/modules/core/src/out.cpp:73:32:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        void valueToStr8u()  { sprintf(buf, "%3d", (int)mtx.ptr<uchar>(row, col)[cn]); }
data/opencv-4.4.0+dfsg2/modules/core/src/out.cpp:74:32:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        void valueToStr8s()  { sprintf(buf, "%3d", (int)mtx.ptr<schar>(row, col)[cn]); }
data/opencv-4.4.0+dfsg2/modules/core/src/out.cpp:75:32:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        void valueToStr16u() { sprintf(buf, "%d", (int)mtx.ptr<ushort>(row, col)[cn]); }
data/opencv-4.4.0+dfsg2/modules/core/src/out.cpp:76:32:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        void valueToStr16s() { sprintf(buf, "%d", (int)mtx.ptr<short>(row, col)[cn]); }
data/opencv-4.4.0+dfsg2/modules/core/src/out.cpp:77:32:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        void valueToStr32s() { sprintf(buf, "%d", mtx.ptr<int>(row, col)[cn]); }
data/opencv-4.4.0+dfsg2/modules/core/src/out.cpp:85:52:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        FormattedImpl(String pl, String el, Mat m, char br[5], bool sLine, bool aOrder, int precision)
data/opencv-4.4.0+dfsg2/modules/core/src/out.cpp:93: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(braces, br, 5);
data/opencv-4.4.0+dfsg2/modules/core/src/out.cpp:154:25:  [2] (buffer) sprintf:
  Does not 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, "\n(:, :, %d) = \n", cn+1);
data/opencv-4.4.0+dfsg2/modules/core/src/out.cpp:157:21:  [2] (buffer) sprintf:
  Does not 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, "(:, :, %d) = \n", cn+1);
data/opencv-4.4.0+dfsg2/modules/core/src/out.cpp:296: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 braces[5] = {'\0', '\0', ';', '\0', '\0'};
data/opencv-4.4.0+dfsg2/modules/core/src/out.cpp:308: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 braces[5] = {'\0', '\0', ';', '\0', '\0'};
data/opencv-4.4.0+dfsg2/modules/core/src/out.cpp:320: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 braces[5] = {'[', ']', ',', '[', ']'};
data/opencv-4.4.0+dfsg2/modules/core/src/out.cpp:338: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 braces[5] = {'[', ']', ',', '[', ']'};
data/opencv-4.4.0+dfsg2/modules/core/src/out.cpp:353: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 braces[5] = {'\0', '\0', '\0', '\0', '\0'};
data/opencv-4.4.0+dfsg2/modules/core/src/out.cpp:366: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 braces[5] = {'\0', '\0', ',', '\0', '\0'};
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:69: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( buf, "%d.0", ivalue );
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:71: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( buf, "%d.", ivalue );
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:90: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( buf, ".Nan" );
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:111: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( buf, "%d.0", ivalue );
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:113: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( buf, "%d.", ivalue );
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:119: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(buf, "%.4e", value);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:121: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(buf, "%.8e", value);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:133: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( buf, ".Nan" );
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:141: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.
static const char symbols[9] = "ucwsifdh";
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:164: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(dt, "%d%c", cn, symbol);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:449: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).
    bool open( const char* filename_or_buf, int _flags, const char* encoding )
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:504:24:  [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(filename.c_str(), !write_mode ? "rt" : !append ? "wt" : "a+t" );
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:593:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                        char buf[1100];
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:632:28:  [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( filename.c_str(), "r+t" );
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:677:32:  [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( filename.c_str(), "r+t" );
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:826: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(&buffer[0], instr + strbufpos, maxCount);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:1063: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[256] = "";
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:1405: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(&str_hash_data[0] + strofs, &key[0], keysize);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:1641: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 dt[BASE64_HDR_SIZE+1] = {0};
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:1796:18:  [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).
    bool ok = p->open(filename.c_str(), flags, encoding.c_str());
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:1824:19:  [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).
bool FileStorage::open(const String& filename, int flags, const String& encoding)
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:1828:22:  [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).
        bool ok = p->open(filename.c_str(), flags, encoding.c_str());
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:2356: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(p + 4, str, len);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_json.cpp:22: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 data[CV_FS_MAX_LEN + 1024];
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_json.cpp:83: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[128];
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_json.cpp:89: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[128];
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_json.cpp:95: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[CV_FS_MAX_LEN*4+16];
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_json.cpp:225: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( ptr, data, data_len );
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_json.cpp:256: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( ptr, comment, eol - comment + 1 );
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_json.cpp:265: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( ptr, comment, len );
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_json.cpp:489:33:  [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(buf + i, beg, sz);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_json.cpp:520:33:  [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(buf + i, beg, sz);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_json.cpp:537:33:  [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(buf + i, beg, sz);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_json.cpp:773:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[CV_FS_MAX_LEN+1024];
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_types.cpp:13:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char dt[16];
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_types.cpp: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 dt[16];
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_xml.cpp:100: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( ptr, attrlist[i].c_str(), len0 );
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_xml.cpp:105: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( ptr, attrlist[i+1].c_str(), len1 );
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_xml.cpp:144: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[128], *ptr = fs::itoa( value, buf, 10 );
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_xml.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 buf[128];
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_xml.cpp:156: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[CV_FS_MAX_LEN*6+16];
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_xml.cpp:186: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(data, "lt", 2);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_xml.cpp:191: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(data, "gt", 2);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_xml.cpp:196: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(data, "amp", 3);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_xml.cpp:201: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(data, "apos", 4);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_xml.cpp:206: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( data, "quot", 4);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_xml.cpp:211:25:  [2] (buffer) sprintf:
  Does not 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, "#x%02x", (uchar)c );
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_xml.cpp:248: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( ptr, data, len );
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_xml.cpp:270: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( ptr, data, len );
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_xml.cpp:307: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( ptr, "<!--" );
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_xml.cpp:321: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( ptr, comment, eol - comment + 1 );
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_xml.cpp:330: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( ptr, comment, len );
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_xml.cpp:337: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( ptr, "-->" );
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_xml.cpp:632:41:  [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( strbuf + i, ptr-1, len + 2 );
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_xml.cpp:837:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[CV_FS_MAX_LEN+16];
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_yml.cpp:28: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[CV_FS_MAX_LEN + 1024];
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_yml.cpp:43: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, "!!binary |");
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_yml.cpp:95: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( ptr, FileNode::isMap(struct_flags) ? "{}" : "[]", 2 );
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_yml.cpp:106: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[128];
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_yml.cpp:112: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[128];
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_yml.cpp:118: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[CV_FS_MAX_LEN*4+16];
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_yml.cpp:155:25:  [2] (buffer) sprintf:
  Does not 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, "x%02x", c );
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_yml.cpp:263: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( ptr, data, datalen );
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_yml.cpp:294: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( ptr, comment, eol - comment + 1 );
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_yml.cpp:303: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( ptr, comment, len );
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_yml.cpp:846:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[CV_FS_MAX_LEN+1024];
data/opencv-4.4.0+dfsg2/modules/core/src/split.simd.hpp:123: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(dst0, src, len * sizeof(T));
data/opencv-4.4.0+dfsg2/modules/core/src/sum.dispatch.cpp:64:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 char * const opMap[3] = { "OP_SUM", "OP_SUM_ABS", "OP_SUM_SQR" };
data/opencv-4.4.0+dfsg2/modules/core/src/sum.dispatch.cpp: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 cvt[2][40];
data/opencv-4.4.0+dfsg2/modules/core/src/system.cpp:200:5:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    wchar_t guidStr[40];
data/opencv-4.4.0+dfsg2/modules/core/src/system.cpp:556:23:  [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 cpufile = open("/proc/self/auxv", O_RDONLY);
data/opencv-4.4.0+dfsg2/modules/core/src/system.cpp:948:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char aname[MAX_PATH];
data/opencv-4.4.0+dfsg2/modules/core/src/system.cpp:955:5:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    wchar_t temp_dir[kMaxPathSize] = {0};
data/opencv-4.4.0+dfsg2/modules/core/src/system.cpp:956:5:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    wchar_t temp_file[kMaxPathSize] = {0};
data/opencv-4.4.0+dfsg2/modules/core/src/system.cpp:962: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 aname[MAX_PATH];
data/opencv-4.4.0+dfsg2/modules/core/src/system.cpp:968:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char temp_dir2[MAX_PATH] = { 0 };
data/opencv-4.4.0+dfsg2/modules/core/src/system.cpp:969:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char temp_file[MAX_PATH] = { 0 };
data/opencv-4.4.0+dfsg2/modules/core/src/system.cpp:1002:20:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
    const int fd = mkstemp((char*)fname.c_str());
data/opencv-4.4.0+dfsg2/modules/core/src/system.cpp:1063:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[1 << 12];
data/opencv-4.4.0+dfsg2/modules/core/src/system.cpp:1230:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[256];
data/opencv-4.4.0+dfsg2/modules/core/src/trace.cpp:97:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 char buf[64] =
data/opencv-4.4.0+dfsg2/modules/core/src/trace.cpp:108:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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];
data/opencv-4.4.0+dfsg2/modules/core/src/umatrix.cpp:1004: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 cvt[2][40];
data/opencv-4.4.0+dfsg2/modules/core/src/umatrix.cpp:1151:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cvt[40];
data/opencv-4.4.0+dfsg2/modules/core/src/utils/datafile.cpp:118:9:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        TCHAR path[MAX_PATH];
data/opencv-4.4.0+dfsg2/modules/core/src/utils/datafile.cpp:125: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 char_path[MAX_PATH];
data/opencv-4.4.0+dfsg2/modules/core/src/utils/datafile.cpp:172:9:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        wchar_t path[4096];
data/opencv-4.4.0+dfsg2/modules/core/src/utils/datafile.cpp:198:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE* f = fopen(path.c_str(), "rb"); \
data/opencv-4.4.0+dfsg2/modules/core/src/utils/filesystem.cpp:130:9:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        wchar_t wpath[MAX_PATH];
data/opencv-4.4.0+dfsg2/modules/core/src/utils/filesystem.cpp:224:5:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    wchar_t wpath[MAX_PATH];
data/opencv-4.4.0+dfsg2/modules/core/src/utils/filesystem.cpp:352:20:  [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).
        handle = ::open(fname, O_RDWR);
data/opencv-4.4.0+dfsg2/modules/core/src/utils/filesystem.cpp:441: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 tmp_path_buf[MAX_PATH+1] = {0};
data/opencv-4.4.0+dfsg2/modules/core/test/test_arithm.cpp:843: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(dptr, sptr, width);
data/opencv-4.4.0+dfsg2/modules/core/test/test_ds.cpp:62: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( seq->array + from_idx*elem_size, elem, (to_idx - from_idx)*elem_size );
data/opencv-4.4.0+dfsg2/modules/core/test/test_ds.cpp:146: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( set_header->array + idx2 + 1, elem, set_header->elem_size - 1 );
data/opencv-4.4.0+dfsg2/modules/core/test/test_ds.cpp:247: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( graph->matrix + ofs + 1, edge, graph->edge_size - 1 );
data/opencv-4.4.0+dfsg2/modules/core/test/test_ds.cpp:710: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( elem, reader.ptr, sseq->elem_size );
data/opencv-4.4.0+dfsg2/modules/core/test/test_ds.cpp:1309: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( (schar*)elem2 + sizeof(int), elem_data, pure_elem_size );
data/opencv-4.4.0+dfsg2/modules/core/test/test_ds.cpp:1535: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( vtx2 + 1, vtx + 1, pure_vtx_size );
data/opencv-4.4.0+dfsg2/modules/core/test/test_ds.cpp:1677: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( edge2 + 1, edge + 1, pure_edge_size );
data/opencv-4.4.0+dfsg2/modules/core/test/test_hal_core.cpp:155:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(x.ptr(), b.ptr(), bsize);
data/opencv-4.4.0+dfsg2/modules/core/test/test_hal_core.cpp:156: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(a.ptr(), a0.ptr(), asize);
data/opencv-4.4.0+dfsg2/modules/core/test/test_io.cpp:96:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 * suffixs[3] = {".yml", ".xml", ".json" };
data/opencv-4.4.0+dfsg2/modules/core/test/test_io.cpp:172:20:  [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).
            if(!fs.open(mem ? content : filename, FileStorage::READ + (mem ? FileStorage::MEMORY : 0)))
data/opencv-4.4.0+dfsg2/modules/core/test/test_io.cpp:404:20:  [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(fname, FileStorage::READ);
data/opencv-4.4.0+dfsg2/modules/core/test/test_io.cpp:487:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char arr[66];
data/opencv-4.4.0+dfsg2/modules/core/test/test_io.cpp:488: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(arr, "sprintf is hell %d", 666);
data/opencv-4.4.0+dfsg2/modules/core/test/test_io.cpp:1509: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).
    fs.open("opencv_storage.xml", FileStorage::WRITE | FileStorage::MEMORY);
data/opencv-4.4.0+dfsg2/modules/core/test/test_io.cpp:1516: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).
    fs.open("opencv_storage.xml.gz", FileStorage::WRITE | FileStorage::MEMORY);
data/opencv-4.4.0+dfsg2/modules/core/test/test_io.cpp:1523: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).
    fs.open("opencv_storage.json", FileStorage::WRITE | FileStorage::MEMORY);
data/opencv-4.4.0+dfsg2/modules/core/test/test_io.cpp:1530: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).
    fs.open("opencv_storage.json.gz", FileStorage::WRITE | FileStorage::MEMORY);
data/opencv-4.4.0+dfsg2/modules/core/test/test_io.cpp:1537: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).
    fs.open("opencv_storage.yaml", FileStorage::WRITE | FileStorage::MEMORY);
data/opencv-4.4.0+dfsg2/modules/core/test/test_io.cpp:1544: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).
    fs.open("opencv_storage.yaml.gz", FileStorage::WRITE | FileStorage::MEMORY);
data/opencv-4.4.0+dfsg2/modules/core/test/test_io.cpp:1551: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).
    fs.open("opencv_storage.yml", FileStorage::WRITE | FileStorage::MEMORY);
data/opencv-4.4.0+dfsg2/modules/core/test/test_io.cpp:1558: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).
    fs.open("opencv_storage.yml.gz", FileStorage::WRITE | FileStorage::MEMORY);
data/opencv-4.4.0+dfsg2/modules/core/test/test_io.cpp:1627: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).
    testFile.open(fileName.c_str(), std::fstream::out);
data/opencv-4.4.0+dfsg2/modules/core/test/test_io.cpp:1648: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).
    fs.open(filename, FileStorage::WRITE);
data/opencv-4.4.0+dfsg2/modules/core/test/test_io.cpp:1652: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).
    fs.open(filename, FileStorage::APPEND);
data/opencv-4.4.0+dfsg2/modules/core/test/test_io.cpp:1656: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).
    fs.open(filename, FileStorage::READ);
data/opencv-4.4.0+dfsg2/modules/core/test/test_io.cpp:1700: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 key[16], val0[16];
data/opencv-4.4.0+dfsg2/modules/core/test/test_io.cpp:1704: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(key, "KEY%d", i);
data/opencv-4.4.0+dfsg2/modules/core/test/test_io.cpp:1705: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(val0, "VALUE%d", i);
data/opencv-4.4.0+dfsg2/modules/core/test/test_io.cpp:1755: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(fname, FileStorage::READ);
data/opencv-4.4.0+dfsg2/modules/core/test/test_mat.cpp:152: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 msg[100];
data/opencv-4.4.0+dfsg2/modules/core/test/test_mat.cpp:467: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).
    fs.open( "PCA_store.yml", FileStorage::READ );
data/opencv-4.4.0+dfsg2/modules/core/test/test_mat.cpp: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[256];
data/opencv-4.4.0+dfsg2/modules/core/test/test_mat.cpp:498: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(ptr, "%4d ", idx[k]);
data/opencv-4.4.0+dfsg2/modules/core/test/test_math.cpp:2861:29:  [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(data.ptr(i), data0.ptr(rng.uniform(0, N0)), dims * sizeof(float));
data/opencv-4.4.0+dfsg2/modules/core/test/test_math.cpp:2867:29:  [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(data.ptr() + i * dims * sizeof(float), data0.ptr(rng.uniform(0, N0)), dims * sizeof(float));
data/opencv-4.4.0+dfsg2/modules/core/test/test_math.cpp:2881:29:  [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(data.ptr(i), data0.ptr(rng.uniform(0, N0)), dims * sizeof(float));
data/opencv-4.4.0+dfsg2/modules/dnn/include/opencv2/dnn/dnn.inl.hpp:107: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).
        return std::atoi((*ps)[idx].c_str());
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:4994: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(&num_, &from.num_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:6224: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(&across_spatial_, &from.across_spatial_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:6612: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(&img_size_, &from.img_size_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:7495: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(&num_classes_, &from.num_classes_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:8107: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(&channels_, &from.channels_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:8599: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(&value_, &from.value_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:9149: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(&force_backward_, &from.force_backward_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:9835: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(&test_interval_, &from.test_interval_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:11698: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(&iter_, &from.iter_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:12089: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(&level_, &from.level_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:12441: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(&phase_, &from.phase_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:12879: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(&share_mode_, &from.share_mode_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:16704: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(&crop_size_, &from.crop_size_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:17194: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(&ignore_label_, &from.ignore_label_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:17531: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(&ignore_label_, &from.ignore_label_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:17861: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(&out_max_val_, &from.out_max_val_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:18190: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(&concat_dim_, &from.concat_dim_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:18484: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(&use_global_stats_, &from.use_global_stats_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:18852: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(&axis_, &from.axis_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:19186: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(&legacy_version_, &from.legacy_version_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:19508: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(&num_output_, &from.num_output_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:20721: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(&batch_size_, &from.batch_size_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:21350: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(&top_k_, &from.top_k_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:22227: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(&dropout_ratio_, &from.dropout_ratio_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:22975: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(&operation_, &from.operation_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:23571: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(&num_output_, &from.num_output_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:23985: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(&shift_, &from.shift_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:24308: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(&axis_, &from.axis_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:24605: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(&batch_size_, &from.batch_size_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:25489: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(&crop_size_, &from.crop_size_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:26484: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(&num_output_, &from.num_output_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:27177: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(&shift_, &from.shift_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:27504: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(&norm_region_, &from.norm_region_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:27956: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(&batch_size_, &from.batch_size_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:28321: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(&across_channels_, &from.across_channels_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:28910: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(&pool_, &from.pool_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:29614: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(&shift_, &from.shift_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:30384: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(&num_output_, &from.num_output_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:30794: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(&axis_, &from.axis_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:31128: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(&negative_slope_, &from.negative_slope_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:31435: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(&axis_, &from.axis_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:31787: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(&bias_term_, &from.bias_term_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:32452: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(&slice_dim_, &from.slice_dim_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:32785: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(&engine_, &from.engine_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:33334: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(&tiles_, &from.tiles_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:33895: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(&batch_size_, &from.batch_size_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:34661: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(&pyramid_height_, &from.pyramid_height_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:37406: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(&num_output_, &from.num_output_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:39448: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(&xmin_, &from.xmin_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:39939: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(&pooled_h_, &from.pooled_h_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:40276: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(&feat_stride_, &from.feat_stride_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/caffe/opencv-caffe.pb.cc:40797: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(&spatial_scale_, &from.spatial_scale_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/onnx/opencv-onnx.pb.cc:862: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(&i_, &from.i_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/onnx/opencv-onnx.pb.cc:2694: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(&ir_version_, &from.ir_version_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/onnx/opencv-onnx.pb.cc:4205: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(&begin_, &from.begin_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/tensorflow/op_def.pb.cc:362: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(&type_, &from.type_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/tensorflow/op_def.pb.cc:1003: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(&minimum_, &from.minimum_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/tensorflow/op_def.pb.cc:1596: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(&is_commutative_, &from.is_commutative_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/tensorflow/tensor.pb.cc: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(&dtype_, &from.dtype_,
data/opencv-4.4.0+dfsg2/modules/dnn/misc/tensorflow/versions.pb.cc:151: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(&producer_, &from.producer_,
data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/csl/memory.hpp:145:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    void memcpy(T *dest, const ManagedPtr<T>& src) {
data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/csl/memory.hpp:146: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<T>(dest, src.get(), src.size());
data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/csl/memory.hpp:160:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    void memcpy(const ManagedPtr<T>& dest, const T* src) {
data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/csl/memory.hpp:161: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<T>(dest.get(), src, dest.size());
data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/csl/memory.hpp:175:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    void memcpy(const ManagedPtr<T>& dest, const ManagedPtr<T>& src) {
data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/csl/memory.hpp:176: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<T>(dest.get(), src.get(), std::min(dest.size(), src.size()));
data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/csl/memory.hpp:204:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    void memcpy(T *dest, const ManagedPtr<T>& src, const Stream& stream) {
data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/csl/memory.hpp:206: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<T>(dest, src.get(), src.size(), stream);
data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/csl/memory.hpp:222:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    void memcpy(const ManagedPtr<T>& dest, const T* src, const Stream& stream) {
data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/csl/memory.hpp: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<T>(dest.get(), src, dest.size(), stream);
data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/csl/memory.hpp:239:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    void memcpy(ManagedPtr<T>& dest, const ManagedPtr<T>& src, const Stream& stream) {
data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/csl/memory.hpp: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<T>(dest.get(), src.get(), std::min(dest.size(), src.size()), stream);
data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/csl/pointer.hpp:262:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    void memcpy(T *dest, DevicePtr<const T> src, std::size_t n) {
data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/csl/pointer.hpp:281:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    void memcpy(DevicePtr<T> dest, const T* src, std::size_t n) {
data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/csl/pointer.hpp:300:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    void memcpy(DevicePtr<T> dest, DevicePtr<const T> src, std::size_t n) {
data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/csl/pointer.hpp:340:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    void memcpy(T *dest, DevicePtr<const T> src, std::size_t n, const Stream& stream) {
data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/csl/pointer.hpp:361:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    void memcpy(DevicePtr<T> dest, const T *src, std::size_t n, const Stream& stream) {
data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/csl/pointer.hpp:381:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    void memcpy(DevicePtr<T> dest, DevicePtr<const T> src, std::size_t n, const Stream& stream) {
data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/csl/tensor_ops.hpp:44: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(dest.get(), src.get(), dest.size(), stream);
data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/primitives/prior_box.hpp:81:18:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            csl::memcpy(paramsTensor.get(), merged_params.data(), total, stream); /* synchronous copy */
data/opencv-4.4.0+dfsg2/modules/dnn/src/darknet/darknet_io.cpp:819:41:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if 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 from = std::atoi(bottom_layer.c_str());
data/opencv-4.4.0+dfsg2/modules/dnn/src/darknet/darknet_io.cpp:828:41:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if 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 from = std::atoi(bottom_layer.c_str());
data/opencv-4.4.0+dfsg2/modules/dnn/src/dnn.cpp:3855:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        std::memcpy(weightsBlobPtr->buffer(), (uchar*)bufferWeightsPtr, bufferWeightsSize);
data/opencv-4.4.0+dfsg2/modules/dnn/src/layers/concat_layer.cpp:188: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(outptr + ofs0, ptrs[ch] + ofs, blockSize*sizeof(outptr[0]));
data/opencv-4.4.0+dfsg2/modules/dnn/src/layers/fully_connected_layer.cpp:226: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(sptr, sptr_, vecsize*sizeof(sptr[0]));
data/opencv-4.4.0+dfsg2/modules/dnn/src/layers/softmax_layer.cpp:239: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(bufPtr + bufOffset, srcPtr + srcOffset, innerSize * sizeof(float));
data/opencv-4.4.0+dfsg2/modules/dnn/src/ocl4dnn/src/ocl4dnn_conv_spatial.cpp:688: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(pDst + x * xStride * 2,                         // NOLINT
data/opencv-4.4.0+dfsg2/modules/dnn/src/ocl4dnn/src/ocl4dnn_conv_spatial.cpp:690: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(pDst + x * xStride * 2 + xStride,               // NOLINT
data/opencv-4.4.0+dfsg2/modules/dnn/src/ocl4dnn/src/ocl4dnn_conv_spatial.cpp:697: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(pDst + x * xStride * 2,                          // NOLINT
data/opencv-4.4.0+dfsg2/modules/dnn/src/ocl4dnn/src/ocl4dnn_conv_spatial.cpp:699: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(pDst + x * xStride * 2 + xStride,                // NOLINT
data/opencv-4.4.0+dfsg2/modules/dnn/src/ocl4dnn/src/ocl4dnn_conv_spatial.cpp:702: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(pDst + x * xStride * 2,                            // NOLINT
data/opencv-4.4.0+dfsg2/modules/dnn/src/ocl4dnn/src/ocl4dnn_conv_spatial.cpp:716: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(pDst + x * 2, pSrc + x, stride * sizeof(Dtype));    // NOLINT
data/opencv-4.4.0+dfsg2/modules/dnn/src/ocl4dnn/src/ocl4dnn_conv_spatial.cpp:719: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(pDst + x * 2, pSrc + x, remaining * sizeof(Dtype));  // NOLINT
data/opencv-4.4.0+dfsg2/modules/dnn/src/ocl4dnn/src/ocl4dnn_conv_spatial.cpp:1916:18:  [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).
    outputKernel.open(outputFile.c_str());
data/opencv-4.4.0+dfsg2/modules/dnn/src/onnx/onnx_graph_simplifier.cpp:517: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(aligned_val.data(), val, sz);
data/opencv-4.4.0+dfsg2/modules/dnn/src/op_cuda.hpp:92: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<half>(destTensor.get(), reinterpret_cast<half*>(temp.data), destTensor.size(), stream);
data/opencv-4.4.0+dfsg2/modules/dnn/src/op_cuda.hpp:104: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<float>(destTensor.get(), reinterpret_cast<float*>(temp.data), destTensor.size(), stream);
data/opencv-4.4.0+dfsg2/modules/dnn/src/op_cuda.hpp:135: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<half>(reinterpret_cast<half*>(temp.data), srcTensor.get(), srcTensor.size(), stream);
data/opencv-4.4.0+dfsg2/modules/dnn/src/op_cuda.hpp:148: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<float>(reinterpret_cast<float*>(temp.data), srcTensor.get(), srcTensor.size(), stream);
data/opencv-4.4.0+dfsg2/modules/dnn/src/op_cuda.hpp:237:28:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            cuda4dnn::csl::memcpy<float>(reinterpret_cast<float*>(mat.data), temp_span.data(), view.size(), stream);
data/opencv-4.4.0+dfsg2/modules/dnn/src/op_cuda.hpp:242:28:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            cuda4dnn::csl::memcpy<float>(reinterpret_cast<float*>(mat.data), view.data(), view.size(), stream);
data/opencv-4.4.0+dfsg2/modules/dnn/src/op_cuda.hpp:265:28:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            cuda4dnn::csl::memcpy<float>(reinterpret_cast<float*>(mat.data), temp_span.data(), view.size(), d2h_stream);
data/opencv-4.4.0+dfsg2/modules/dnn/src/op_cuda.hpp:272:28:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            cuda4dnn::csl::memcpy<float>(reinterpret_cast<float*>(mat.data), view.data(), view.size(), d2h_stream);
data/opencv-4.4.0+dfsg2/modules/dnn/src/op_cuda.hpp:284:28:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            cuda4dnn::csl::memcpy<float>(temp_span.data(), reinterpret_cast<float*>(mat.data), span.size(), stream);
data/opencv-4.4.0+dfsg2/modules/dnn/src/op_cuda.hpp:290:28:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            cuda4dnn::csl::memcpy<float>(span.data(), reinterpret_cast<float*>(mat.data), span.size(), stream);
data/opencv-4.4.0+dfsg2/modules/dnn/src/op_inf_engine.cpp:321: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).
                inpPortId = atoi(portIdStr.c_str());
data/opencv-4.4.0+dfsg2/modules/dnn/src/tengine4dnn/src/tengine_graph_convolution.cpp:317: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(teg_weight+i*kernel_inwh, kernel_+i*wstep, kernel_inwh*FLOAT_TO_REALSIZE);
data/opencv-4.4.0+dfsg2/modules/dnn/src/torch/THDiskFile.cpp:488: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).
  handle = fopen(name.c_str(),"rb");
data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/src/buffer.cpp:61: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, data, size_in_bytes);
data/opencv-4.4.0+dfsg2/modules/dnn/src/vkcom/src/tensor.cpp:93: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(p, data, size_in_byte_);
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_agast.cpp:99: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(xml, FileStorage::WRITE);
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_agast.cpp:108: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(xml, FileStorage::READ);
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_descriptors_regression.impl.hpp:12:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE* f = fopen( filename.c_str(), "wb");
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_descriptors_regression.impl.hpp:29:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE* f = fopen( filename.c_str(), "rb" );
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_descriptors_regression.impl.hpp:186: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(keypoints_filename, FileStorage::WRITE);
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_detectors_regression.impl.hpp:168: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( resFilename, FileStorage::WRITE );
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_fast.cpp:99: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(xml, FileStorage::WRITE);
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_fast.cpp:108: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(xml, FileStorage::READ);
data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/dist.h:595: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(&a_final, a2, modulo);
data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/dist.h:596: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(&b_final, b2, modulo);
data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/dist.h:643: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(&a_final, a2, modulo);
data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/flann_base.hpp:78:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE* fin = fopen(filename.c_str(), "rb");
data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/flann_base.hpp:141:22:  [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* fout = fopen(filename.c_str(), "wb");
data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/logger.h:72:22:  [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).
            stream = fopen(name,"w");
data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/lsh_table.h:424: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(&tmp, feature_block_ptr, feature_size_ - i); // preserve bytes order
data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/saving.h:73:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char signature[16];
data/opencv-4.4.0+dfsg2/modules/flann/include/opencv2/flann/saving.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 version[16];
data/opencv-4.4.0+dfsg2/modules/flann/src/miniflann.cpp:684: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).
    FILE* fout = fopen(filename.c_str(), "wb");
data/opencv-4.4.0+dfsg2/modules/flann/src/miniflann.cpp:753:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE* fin = fopen(filename.c_str(), "rb");
data/opencv-4.4.0+dfsg2/modules/gapi/samples/api_example.cpp:10:23:  [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).
    if (argc > 1) cap.open(argv[1]);
data/opencv-4.4.0+dfsg2/modules/gapi/samples/api_example.cpp:11: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).
    else cap.open(0);
data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/common/serialization.cpp:558: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(&tmp, &atom, sizeof(float));
data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/common/serialization.cpp:564: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(tmp, &atom, sizeof(double));
data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/common/serialization.cpp:633: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(&atom, &tmp, sizeof(float));
data/opencv-4.4.0+dfsg2/modules/gapi/src/backends/common/serialization.cpp:639: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(&atom, tmp, sizeof(double));
data/opencv-4.4.0+dfsg2/modules/gapi/test/streaming/gapi_streaming_tests.cpp:732: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).
    cap.open(video_path);
data/opencv-4.4.0+dfsg2/modules/gapi/test/streaming/gapi_streaming_tests.cpp:778: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).
    cap.open(video_path);
data/opencv-4.4.0+dfsg2/modules/highgui/src/window_QT.cpp:1353:13:  [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).
    if (qss.open(QFile::ReadOnly))
data/opencv-4.4.0+dfsg2/modules/highgui/src/window_w32.cpp:326:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char szKey[1024];
data/opencv-4.4.0+dfsg2/modules/highgui/src/window_w32.cpp:386:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char szKey[1024];
data/opencv-4.4.0+dfsg2/modules/highgui/src/window_w32.cpp: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 rootKey[1024];
data/opencv-4.4.0+dfsg2/modules/highgui/src/window_w32.cpp:396: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 oldestKey[1024];
data/opencv-4.4.0+dfsg2/modules/highgui/src/window_w32.cpp:397: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 currentKey[1024];
data/opencv-4.4.0+dfsg2/modules/highgui/src/window_w32.cpp:906: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( window->name, name, len + 1 );
data/opencv-4.4.0+dfsg2/modules/highgui/src/window_w32.cpp:1817:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char pos_text[32];
data/opencv-4.4.0+dfsg2/modules/highgui/src/window_w32.cpp:1837: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( pos_text, trackbar->name, start_len );
data/opencv-4.4.0+dfsg2/modules/highgui/src/window_w32.cpp:1838: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( pos_text + start_len, "...", 3 );
data/opencv-4.4.0+dfsg2/modules/highgui/src/window_w32.cpp:1839: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( pos_text + start_len + 3, trackbar->name + name_len - end_len, end_len + 1 );
data/opencv-4.4.0+dfsg2/modules/highgui/src/window_w32.cpp:1843: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( pos_text, trackbar->name, name_len + 1);
data/opencv-4.4.0+dfsg2/modules/highgui/src/window_w32.cpp:1936:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char szFileName[MAX_PATH] = "";
data/opencv-4.4.0+dfsg2/modules/highgui/src/window_w32.cpp:2095:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char slider_name[32];
data/opencv-4.4.0+dfsg2/modules/highgui/src/window_w32.cpp:2216: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( trackbar->name, trackbar_name, len + 1 );
data/opencv-4.4.0+dfsg2/modules/highgui/src/window_w32.cpp:2219: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(slider_name, "Trackbar%p", val);
data/opencv-4.4.0+dfsg2/modules/highgui/src/window_w32.cpp:2228: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(slider_name,"Buddy%p", val);
data/opencv-4.4.0+dfsg2/modules/highgui/src/window_winrt_bridge.cpp:95:22:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
    int bufferSize = MultiByteToWideChar(CP_UTF8, 0, data, -1, nullptr, 0);
data/opencv-4.4.0+dfsg2/modules/highgui/src/window_winrt_bridge.cpp:97:14:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
    if (0 == MultiByteToWideChar(CP_UTF8, 0, data, -1, wide.get(), bufferSize))
data/opencv-4.4.0+dfsg2/modules/highgui/src/window_winrt_bridge.cpp: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(dstPixels, src->data.ptr, CV_ELEM_SIZE(src->type) * src->cols*src->rows);
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/bitstrm.cpp:114:20:  [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).
bool  RBaseStream::open( const String& filename )
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/bitstrm.cpp:119:14:  [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).
    m_file = fopen( filename.c_str(), "rb" );
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/bitstrm.cpp:129:20:  [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).
bool  RBaseStream::open( const Mat& buf )
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/bitstrm.cpp:245: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( data, m_current, l );
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/bitstrm.cpp:392: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( &(*m_buf)[sz], m_start, size );
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/bitstrm.cpp:403:20:  [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).
bool  WBaseStream::open( const String& filename )
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/bitstrm.cpp:408:14:  [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).
    m_file = fopen( filename.c_str(), "wb" );
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/bitstrm.cpp:418:20:  [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).
bool  WBaseStream::open( std::vector<uchar>& buf )
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/bitstrm.cpp:489: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( m_current, data, l );
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/bitstrm.hpp:76:19:  [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).
    virtual bool  open( const String& filename );
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/bitstrm.hpp:77:19:  [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).
    virtual bool  open( const Mat& buf );
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/bitstrm.hpp:133:19:  [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).
    virtual bool  open( const String& filename );
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/bitstrm.hpp:134:19:  [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).
    virtual bool  open( std::vector<uchar>& buf );
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/exif.cpp:127: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 appMarker[markerSize];
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/exif.cpp:204: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 fieldSize[2];
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_bmp.cpp:86:21:  [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).
        if( !m_strm.open( m_buf ) )
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_bmp.cpp:89:22:  [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).
    else if( !m_strm.open( m_filename ))
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_bmp.cpp:475: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( data, src, m_width*3 );
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_bmp.cpp:490: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(data, src, m_width * 4);
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_bmp.cpp:534:19:  [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).
        if( !strm.open( *m_buf ) )
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_bmp.cpp:537:20:  [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).
    else if( !strm.open( m_filename ))
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_hdr.cpp:72: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(m_filename.c_str(), "rb");
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_hdr.cpp:145: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).
    FILE *fout = fopen(m_filename.c_str(), "wb");
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_jpeg.cpp:240:19:  [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).
            m_f = fopen( m_filename.c_str(), "rb" );
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_jpeg.cpp:274:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
unsigned char my_jpeg_odml_dht[0x1a4] = {
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_jpeg.cpp:348: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 bits[17];
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_jpeg.cpp:349: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 huffval[256] = {0};
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_jpeg.cpp:386:8:  [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 ((*hufftbl)->bits, bits, sizeof (*hufftbl)->bits);
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_jpeg.cpp:387:8:  [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 ((*hufftbl)->huffval, huffval, sizeof (*hufftbl)->huffval);
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_jpeg.cpp:478: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( data, buffer[0], m_width );
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_jpeg.cpp:515: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( &(*dest->dst)[0] + sz, &(*dest->buf)[0], bufsz);
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_jpeg.cpp:525: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( &(*dest->dst)[0] + sz, &(*dest->buf)[0], bufsz);
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_jpeg.cpp:587: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).
        fw.f = fopen( m_filename.c_str(), "wb" );
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_jpeg.cpp:727: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 jmsg_buf[JMSG_LENGTH_MAX];
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_jpeg2000.cpp:113:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 signature_[12] = { 0, 0, 0, 0x0c, 'j', 'P', ' ', ' ', 13, 10, 0x87, 10};
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_jpeg2000_openjpeg.cpp:438: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(dist, buffer->pos, bytesToRead);
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pam.cpp: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 identifier[MAX_PAM_HEADER_IDENITFIER_LENGTH+1];
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pam.cpp: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 name[MAX_PAM_HEADER_VALUE_LENGTH+1];
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pam.cpp:227:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        CV_OUT char value[MAX_PAM_HEADER_VALUE_LENGTH+1])
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pam.cpp:230:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char ident[MAX_PAM_HEADER_IDENITFIER_LENGTH+1] = {};
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pam.cpp:376:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char value[MAX_PAM_HEADER_VALUE_LENGTH+1];
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pam.cpp:381:21:  [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).
        if( !m_strm.open(m_buf) )
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pam.cpp:384:22:  [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).
    else if( !m_strm.open( m_filename ))
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pam.cpp:598: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 (data, src, imp_stride);
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pam.cpp:673:19:  [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).
        if( !strm.open(*m_buf) )
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pam.cpp:677:20:  [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).
    else if( !strm.open(m_filename) )
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pam.cpp:690: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.
    tmp += sprintf( buffer, "P7\n");
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pam.cpp:691: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.
    tmp += sprintf( buffer + tmp, "WIDTH %d\n", width);
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pam.cpp:692: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.
    tmp += sprintf( buffer + tmp, "HEIGHT %d\n", height);
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pam.cpp:693: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.
    tmp += sprintf( buffer + tmp, "DEPTH %d\n", img.channels());
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pam.cpp:694: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.
    tmp += sprintf( buffer + tmp, "MAXVAL %d\n", (1 << img.elemSize1()*8) - 1);
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pam.cpp:697: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( buffer + tmp, "ENDHDR\n" );
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pam.cpp:707: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( buffer, img.ptr(y), stride );
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pfm.cpp:44:62:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
template<> int atoT<int>(const std::string& s) { return std::atoi(s.c_str()); }
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pfm.cpp:90:17:  [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).
    if (!m_strm.open(m_filename)) {
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pfm.cpp:94:17:  [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).
    if (!m_strm.open(m_buf)) {
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pfm.cpp:199: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).
    if (!strm.open(*m_buf)) {
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pfm.cpp:204:20:  [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).
  } else if (!strm.open(m_filename)) {
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_png.cpp:138: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( dst, decoder->m_buf.ptr() + decoder->m_buf_pos, size );
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_png.cpp:167:27:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                    m_f = fopen( m_filename.c_str(), "rb" );
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_png.cpp:331:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy( &(*encoder->m_buf)[cursz], src, size );
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_png.cpp:367:25:  [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).
                    f = fopen( m_filename.c_str(), "wb" );
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pxm.cpp:147:21:  [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).
        if( !m_strm.open(m_buf) )
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pxm.cpp:150:22:  [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).
    else if( !m_strm.open( m_filename ))
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pxm.cpp:337: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(data, src, img.elemSize1()*m_width);
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pxm.cpp:442:19:  [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).
        if( !strm.open(*m_buf) )
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pxm.cpp:449:20:  [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).
    else if( !strm.open(m_filename) )
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pxm.cpp:470:21:  [2] (buffer) sprintf:
  Does 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 header_sz = sprintf(buffer, "P%c\n%d %d\n",
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pxm.cpp:475:18:  [2] (buffer) sprintf:
  Does 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 sz = sprintf(&buffer[header_sz], "%d\n", (1 << depth) - 1);
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pxm.cpp:531: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( buffer, data, fileStep );
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pxm.cpp:563:29:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                            sprintf( ptr, "% 4d", data[x + 2] );
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pxm.cpp:565:29:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                            sprintf( ptr, "% 4d", data[x + 1] );
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pxm.cpp:567:29:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                            sprintf( ptr, "% 4d", data[x] );
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pxm.cpp:577:29:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                            sprintf( ptr, "% 6d", ((const ushort *)data)[x + 2] );
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pxm.cpp:579:29:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                            sprintf( ptr, "% 6d", ((const ushort *)data)[x + 1] );
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pxm.cpp:581:29:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                            sprintf( ptr, "% 6d", ((const ushort *)data)[x] );
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pxm.cpp:594:29:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                            sprintf( ptr, "% 4d", data[x] );
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pxm.cpp:602:29:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                            sprintf( ptr, "% 6d", ((const ushort *)data)[x] );
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_sunras.cpp:85:17:  [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).
    if( !m_strm.open( m_filename )) return false;
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_sunras.cpp:348: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(data, src, std::min(step, (size_t)src_pitch));
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_sunras.cpp:411: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).
    if( strm.open(m_filename) )
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_tiff.cpp:176: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(buffer, buf.ptr() + pos, n);
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_tiff.cpp:454: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 errmsg[1024];
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_tiff.cpp:620:41:  [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(img.ptr<ushort>(img_y + i, x),
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_tiff.cpp:717: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).
    TIFF* open ()
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_tiff.cpp:742: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(&(*helper->m_buf)[begin], buffer, n);
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_tiff.cpp:808:26:  [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).
        tif = buf_helper.open();
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_tiff.cpp:942: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(buffer, img.ptr(y), scanlineSize);
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_webp.cpp:108: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(m_filename.c_str(), std::ios::binary);
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_webp.cpp:309: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(&(*m_buf)[0], out, size);
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_webp.cpp:313:20:  [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 *fd = fopen(m_filename.c_str(), "wb");
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/loadsave.cpp:221:14:  [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* f= fopen( filename.c_str(), "rb" );
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/loadsave.cpp:260: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( (void*)signature.c_str(), buf.data, maxlen );
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/loadsave.cpp:705: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).
            FILE* f = fopen( filename.c_str(), "wb" );
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/loadsave.cpp:781:19:  [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* f = fopen( filename.c_str(), "wb" );
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/loadsave.cpp:953:19:  [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* f = fopen( filename.c_str(), "rb" );
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/rgbe.cpp:107:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
float2rgbe(unsigned char rgbe[4], float red, float green, float blue)
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/rgbe.cpp:131:60:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
rgbe2float(float *red, float *green, float *blue, unsigned char rgbe[4])
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/rgbe.cpp:173: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 buf[128];
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/rgbe.cpp:239:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char rgbe[4];
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/rgbe.cpp:254:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char rgbe[4];
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/rgbe.cpp:275:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char buf[2];
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/rgbe.cpp:326:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char rgbe[4];
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/rgbe.cpp:372:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char rgbe[4], *scanline_buffer, *ptr, *ptr_end;
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/rgbe.cpp:374:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char buf[2];
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/rgbe.hpp:54: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 programtype[16]; /* listed at beginning of file to identify it
data/opencv-4.4.0+dfsg2/modules/imgcodecs/test/test_grfmt.cpp:271:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *f = fopen(full_name.c_str(), "rb");
data/opencv-4.4.0+dfsg2/modules/imgcodecs/test/test_read_write.cpp:123:19:  [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 *f = fopen(dst_name.c_str(), "rb");
data/opencv-4.4.0+dfsg2/modules/imgcodecs/test/test_read_write.cpp:184:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *f = fopen(fname.c_str(), "rb");
data/opencv-4.4.0+dfsg2/modules/imgcodecs/test/test_tiff.cpp:77:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        FILE* fp = fopen(filename.c_str(), "wb");
data/opencv-4.4.0+dfsg2/modules/imgcodecs/test/test_webp.cpp:26:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    wfile = fopen(output.c_str(), "rb");
data/opencv-4.4.0+dfsg2/modules/imgproc/src/accum.cpp:126: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 * const opMap[4] = { "ACCUMULATE", "ACCUMULATE_SQUARE", "ACCUMULATE_PRODUCT",
data/opencv-4.4.0+dfsg2/modules/imgproc/src/accum.cpp:129:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cvt[40];
data/opencv-4.4.0+dfsg2/modules/imgproc/src/bilateral_filter.dispatch.cpp: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 cvt[3][40];
data/opencv-4.4.0+dfsg2/modules/imgproc/src/blend.cpp: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 cvt[30];
data/opencv-4.4.0+dfsg2/modules/imgproc/src/box_filter.dispatch.cpp:91:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char build_opts[1024];
data/opencv-4.4.0+dfsg2/modules/imgproc/src/box_filter.dispatch.cpp:198: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 build_options[1024], cvt[2][40];
data/opencv-4.4.0+dfsg2/modules/imgproc/src/box_filter.dispatch.cpp:238: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 cvt[2][50];
data/opencv-4.4.0+dfsg2/modules/imgproc/src/canny.cpp:186: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 cvt[40];
data/opencv-4.4.0+dfsg2/modules/imgproc/src/color_rgb.simd.hpp:576: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( coeffs, _coeffs ? _coeffs : coeffs0, 3*sizeof(coeffs[0]) );
data/opencv-4.4.0+dfsg2/modules/imgproc/src/contours.cpp:530: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( deltas + 8, deltas, 8 * sizeof( deltas[0] ));
data/opencv-4.4.0+dfsg2/modules/imgproc/src/contours.cpp:639: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( deltas + 8, deltas, 8 * sizeof( deltas[0] ));
data/opencv-4.4.0+dfsg2/modules/imgproc/src/contours.cpp:703: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( deltas + 8, deltas, 8 * sizeof( deltas[0] ));
data/opencv-4.4.0+dfsg2/modules/imgproc/src/contours.cpp:829: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( deltas + 8, deltas, 8 * sizeof( deltas[0] ));
data/opencv-4.4.0+dfsg2/modules/imgproc/src/contours.cpp:896: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( deltas + 8, deltas, 8 * sizeof( deltas[0] ));
data/opencv-4.4.0+dfsg2/modules/imgproc/src/convhull.cpp:294: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(hullbuf, stack, nout*sizeof(hullbuf[0]));
data/opencv-4.4.0+dfsg2/modules/imgproc/src/deriv.cpp:386:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char build_opts[1024];
data/opencv-4.4.0+dfsg2/modules/imgproc/src/deriv.cpp:581: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 cvt[2][40];
data/opencv-4.4.0+dfsg2/modules/imgproc/src/deriv.cpp:627:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cvt[2][40];
data/opencv-4.4.0+dfsg2/modules/imgproc/src/deriv.cpp:686:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char build_opts[1024];
data/opencv-4.4.0+dfsg2/modules/imgproc/src/drawing.cpp:294: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( *iterator, color, pix_size );
data/opencv-4.4.0+dfsg2/modules/imgproc/src/drawing.cpp:1072: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(hline_ptr, color, pix_size);
data/opencv-4.4.0+dfsg2/modules/imgproc/src/drawing.cpp:1078: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(hline_ptr, hline_min_ptr, sizeToCopy);
data/opencv-4.4.0+dfsg2/modules/imgproc/src/drawing.cpp:1487: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( ptr + (x)*pix_size, color, pix_size );
data/opencv-4.4.0+dfsg2/modules/imgproc/src/drawing.cpp:2688: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( _pts, &pts[0], pts.size()*sizeof(_pts[0]) );
data/opencv-4.4.0+dfsg2/modules/imgproc/src/filter.dispatch.cpp: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 cvt[2][40];
data/opencv-4.4.0+dfsg2/modules/imgproc/src/filter.dispatch.cpp:639: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 build_options[1024];
data/opencv-4.4.0+dfsg2/modules/imgproc/src/filter.dispatch.cpp:767:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cvt[40];
data/opencv-4.4.0+dfsg2/modules/imgproc/src/filter.dispatch.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 cvt[2][40];
data/opencv-4.4.0+dfsg2/modules/imgproc/src/filter.dispatch.cpp:894:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cvt[2][40];
data/opencv-4.4.0+dfsg2/modules/imgproc/src/filter.simd.hpp:157: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(dst, constVal, this_.dx1*esz);
data/opencv-4.4.0+dfsg2/modules/imgproc/src/filter.simd.hpp:158: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(dst + (this_.roi.width + this_.ksize.width - 1 - this_.dx2)*esz, constVal, this_.dx2*esz);
data/opencv-4.4.0+dfsg2/modules/imgproc/src/filter.simd.hpp:241: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( row + _dx1*esz, src, (width1 - _dx2 - _dx1)*esz );
data/opencv-4.4.0+dfsg2/modules/imgproc/src/histogram.cpp:1234:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cvt[40];
data/opencv-4.4.0+dfsg2/modules/imgproc/src/histogram.cpp:1986: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(hsz, &H0.size[0], H0.dims*sizeof(hsz[0]));
data/opencv-4.4.0+dfsg2/modules/imgproc/src/imgwarp.cpp:1343: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 cvt[3][40];
data/opencv-4.4.0+dfsg2/modules/imgproc/src/imgwarp.cpp:2376: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 * const warp_op[2] = { "Affine", "Perspective" };
data/opencv-4.4.0+dfsg2/modules/imgproc/src/imgwarp.cpp:2377: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 * const interpolationMap[3] = { "nearest", "linear", "cubic" };
data/opencv-4.4.0+dfsg2/modules/imgproc/src/imgwarp.cpp:2455: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 * const interpolationMap[3] = { "NEAREST", "LINEAR", "CUBIC" };
data/opencv-4.4.0+dfsg2/modules/imgproc/src/imgwarp.cpp:2478: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 cvt[2][50];
data/opencv-4.4.0+dfsg2/modules/imgproc/src/linefit.cpp:415: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(line, _line, 4 * sizeof(line[0]));
data/opencv-4.4.0+dfsg2/modules/imgproc/src/linefit.cpp:442: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( _lineprev, _line, 4 * sizeof( float ));
data/opencv-4.4.0+dfsg2/modules/imgproc/src/linefit.cpp:451: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( line, _line, 4 * sizeof(line[0]));
data/opencv-4.4.0+dfsg2/modules/imgproc/src/linefit.cpp:562: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(line, _line, 6 * sizeof(line[0]));
data/opencv-4.4.0+dfsg2/modules/imgproc/src/linefit.cpp:589: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( _lineprev, _line, 6 * sizeof( float ));
data/opencv-4.4.0+dfsg2/modules/imgproc/src/linefit.cpp:598: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( line, _line, 6 * sizeof(line[0]));
data/opencv-4.4.0+dfsg2/modules/imgproc/src/morph.dispatch.cpp:620:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cvt[2][40];
data/opencv-4.4.0+dfsg2/modules/imgproc/src/morph.dispatch.cpp:840:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cvt[2][50];
data/opencv-4.4.0+dfsg2/modules/imgproc/src/pyramids.cpp: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 cvt[2][50];
data/opencv-4.4.0+dfsg2/modules/imgproc/src/pyramids.cpp:1082:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cvt[2][50];
data/opencv-4.4.0+dfsg2/modules/imgproc/src/resize.cpp:2040:29:  [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( rows[k], rows[k1], bufstep*sizeof(rows[0][0]) );
data/opencv-4.4.0+dfsg2/modules/imgproc/src/resize.cpp:3182: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[2][32];
data/opencv-4.4.0+dfsg2/modules/imgproc/src/resize.cpp:3204: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[2][32];
data/opencv-4.4.0+dfsg2/modules/imgproc/src/resize.cpp:3295: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 cvt[2][40];
data/opencv-4.4.0+dfsg2/modules/imgproc/src/rotcalipers.cpp:96:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[32] = {};
data/opencv-4.4.0+dfsg2/modules/imgproc/src/shapedescr.cpp:1174: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( *buf2, *buf3, bb * sizeof( double ));
data/opencv-4.4.0+dfsg2/modules/imgproc/src/shapedescr.cpp:1185: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( *buf1, *buf3, bb * sizeof( double ));
data/opencv-4.4.0+dfsg2/modules/imgproc/src/smooth.dispatch.cpp:359:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char build_opts[1024];
data/opencv-4.4.0+dfsg2/modules/imgproc/src/templmatch.cpp:90:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cvt[40];
data/opencv-4.4.0+dfsg2/modules/imgproc/src/templmatch.cpp: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 cvt[40];
data/opencv-4.4.0+dfsg2/modules/imgproc/src/templmatch.cpp: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 cvt1[40];
data/opencv-4.4.0+dfsg2/modules/imgproc/src/templmatch.cpp: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 cvt[40];
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_color.cpp:400: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( dst2.ptr(i), src.ptr(i), width_n );
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_convhull.cpp:522: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(hull2->data.ptr, &_hull[0], n*sizeof(_hull[0]));
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_convhull.cpp:529: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(hull2->data.ptr, &_hull[0], n*sizeof(_hull[0]));
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_convhull.cpp:536: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(hull2->data.ptr, &_hull[0], n*sizeof(_hull[0]));
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_histograms.cpp:831: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( values.ptr<float>(), cvPtr1D( hist[0]->bins, 0 ), total_size*sizeof(float) );
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_imgwarp_strict.cpp:50:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[256];
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_imgwarp_strict.cpp:613: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(_extended_src_row.ptr() + elemsize * ksize, srow, _src.step);
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_imgwarp_strict.cpp:616: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(_extended_src_row.ptr() + k * elemsize, srow, elemsize);
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_imgwarp_strict.cpp:617: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(_extended_src_row.ptr() + (ksize + k) * elemsize + _src.step, srow + _src.step - elemsize, elemsize);
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_moments.cpp:273: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( mdata, &m, sizeof(m));
data/opencv-4.4.0+dfsg2/modules/java/generator/src/cpp/Mat.cpp:2144: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(m->ptr(row, col), buff + offset, count);
data/opencv-4.4.0+dfsg2/modules/java/generator/src/cpp/Mat.cpp:2151: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(data, buff + offset, num);
data/opencv-4.4.0+dfsg2/modules/java/generator/src/cpp/Mat.cpp:2187: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(m->ptr(idx.data()), buff + offset, count);
data/opencv-4.4.0+dfsg2/modules/java/generator/src/cpp/Mat.cpp:2194: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(data, buff + offset, num);
data/opencv-4.4.0+dfsg2/modules/java/generator/src/cpp/Mat.cpp:2470: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(buff, m->ptr(row, col), bytesToCopy);
data/opencv-4.4.0+dfsg2/modules/java/generator/src/cpp/Mat.cpp:2477: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(buff, m->ptr(row, col), len);
data/opencv-4.4.0+dfsg2/modules/java/generator/src/cpp/Mat.cpp:2503: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(buff, m->ptr(idx.data()), count);
data/opencv-4.4.0+dfsg2/modules/java/generator/src/cpp/Mat.cpp:2510: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(buff, data, num);
data/opencv-4.4.0+dfsg2/modules/ml/src/ann_mlp.cpp:1524: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).
    fs.open(filepath, FileStorage::READ);
data/opencv-4.4.0+dfsg2/modules/ml/src/data.cpp:509:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 delimiters[3] = { ' ', delimiter, '\0' };
data/opencv-4.4.0+dfsg2/modules/ml/src/data.cpp:515:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        file = fopen( filename.c_str(), "rt" );
data/opencv-4.4.0+dfsg2/modules/ml/src/knearest.cpp:523: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).
    fs.open(filepath, FileStorage::READ);
data/opencv-4.4.0+dfsg2/modules/ml/src/svm.cpp:1493: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(temp_samples.ptr(k), _samples.ptr(sidx_all[idx]), samplesize);
data/opencv-4.4.0+dfsg2/modules/ml/src/svm.cpp:1545: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(sv.ptr(sv_tab[i]-1), _samples.ptr(i), samplesize);
data/opencv-4.4.0+dfsg2/modules/ml/src/svm.cpp:1691: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(temp_train_samples.ptr(i), samples.ptr(j), sample_size);
data/opencv-4.4.0+dfsg2/modules/ml/src/svm.cpp:1705: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(temp_test_samples.ptr(i), samples.ptr(j), sample_size);
data/opencv-4.4.0+dfsg2/modules/ml/src/svm.cpp:2351: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).
    fs.open(filepath, FileStorage::READ);
data/opencv-4.4.0+dfsg2/modules/ml/src/tree.cpp:298: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(&subsets[split.subsetOfs], &w->wsubsets[wsplit.subsetOfs], ssize*sizeof(int));
data/opencv-4.4.0+dfsg2/modules/ml/test/test_ann.cpp:134: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(cvtest::TS::ptr()->get_data_path() + weight_name, FileStorage::WRITE + FileStorage::BASE64);
data/opencv-4.4.0+dfsg2/modules/ml/test/test_ann.cpp:145: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(weight_file, FileStorage::READ);
data/opencv-4.4.0+dfsg2/modules/objdetect/src/cascadedetect.cpp:954: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).
    newfs.open(newfs_content, FileStorage::READ+FileStorage::MEMORY);
data/opencv-4.4.0+dfsg2/modules/objdetect/src/hog.cpp:1518: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(dst, src, blockHistogramSize * sizeof(float));
data/opencv-4.4.0+dfsg2/modules/objdetect/test/test_cascadeandhog.cpp:154:35:  [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).
    write_results = !validationFS.open( vs_filename, FileStorage::READ );
data/opencv-4.4.0+dfsg2/modules/objdetect/test/test_cascadeandhog.cpp:176:22:  [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).
        validationFS.open( vs_filename, FileStorage::WRITE );
data/opencv-4.4.0+dfsg2/modules/objdetect/test/test_cascadeandhog.cpp:512: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).
    fs.open(tempfilename, FileStorage::READ);
data/opencv-4.4.0+dfsg2/modules/photo/src/fast_nlmeans_denoising_opencl.hpp:60:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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];
data/opencv-4.4.0+dfsg2/modules/photo/src/fast_nlmeans_denoising_opencl.hpp:97:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[4][40];
data/opencv-4.4.0+dfsg2/modules/python/src2/cv2.cpp:96:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/opencv-4.4.0+dfsg2/modules/python/src2/cv2.cpp: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 str[1000];
data/opencv-4.4.0+dfsg2/modules/python/src2/pycompat.hpp:210: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 str[1000]; \
data/opencv-4.4.0+dfsg2/modules/python/src2/pycompat.hpp:211: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, "<"#NAME" %p>", self); \
data/opencv-4.4.0+dfsg2/modules/python/src2/pycompat.hpp:266: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 str[1000]; \
data/opencv-4.4.0+dfsg2/modules/python/src2/pycompat.hpp:267: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, "<"#NAME" %p>", self); \
data/opencv-4.4.0+dfsg2/modules/ts/include/opencv2/ts.hpp:858:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        f = fopen(filename, modeStr.c_str());
data/opencv-4.4.0+dfsg2/modules/ts/include/opencv2/ts.hpp:897: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).
        open(filename, mode);
data/opencv-4.4.0+dfsg2/modules/ts/include/opencv2/ts.hpp:900: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).
    void open(const char* filename, ios_base::openmode mode = ios_base::out)
data/opencv-4.4.0+dfsg2/modules/ts/include/opencv2/ts.hpp:907:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        f = fopen(filename, modeStr.c_str());
data/opencv-4.4.0+dfsg2/modules/ts/include/opencv2/ts/ts_gtest.h:3869:10:  [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).
  return fopen(path, mode);
data/opencv-4.4.0+dfsg2/modules/ts/src/ts.cpp:310: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 buf[1 << 16];
data/opencv-4.4.0+dfsg2/modules/ts/src/ts.cpp: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 seedstr[32];
data/opencv-4.4.0+dfsg2/modules/ts/src/ts.cpp:604: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(seedstr, "%08x%08x", (unsigned)(current_test_info.rng_seed>>32),
data/opencv-4.4.0+dfsg2/modules/ts/src/ts.cpp:654:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[1 << 14];
data/opencv-4.4.0+dfsg2/modules/ts/src/ts.cpp:923:5:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    wchar_t wpath[MAX_PATH];
data/opencv-4.4.0+dfsg2/modules/ts/src/ts.cpp:964:19:  [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* f = fopen(path.c_str(), "rb"); \
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_func.cpp: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 buf[32];
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_func.cpp:32: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, "%d", v[i]);
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_func.cpp:351: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(planes[1].ptr(), planes[0].ptr(), planeSize);
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_func.cpp:424: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(dptr, dst.ptr(), planeSize);
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_func.cpp:2149:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msg[100];
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:2380:7:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
      MultiByteToWideChar(CP_ACP, 0, ansi, length,
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:2383:3:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  MultiByteToWideChar(CP_ACP, 0, ansi, length,
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:3199: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 error_text[kBufSize] = { '\0' };
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:3283: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 str[5];  // Big enough for the largest valid code point.
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:5826:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:5832:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char line[1024];
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:7838: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 buffer[256];
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:8259: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 executable_path[_MAX_PATH + 1];  // NOLINT
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:8740:22:  [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).
  const int cwd_fd = open(".", O_RDONLY);
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:9173: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 cwd[GTEST_PATH_MAX_ + 1] = { '\0' };
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:9176: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 cwd[GTEST_PATH_MAX_ + 1] = { '\0' };
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:9584:18:  [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).
  const int fd = open("/proc/self/as", O_RDONLY);
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:10371: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(buffer, regex, len);
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:10445:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char temp_dir_path[MAX_PATH + 1] = { '\0' };  // NOLINT
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:10446:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char temp_file_path[MAX_PATH + 1] = { '\0' };  // NOLINT
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:10483:29:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
    const int captured_fd = mkstemp(name_template);
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:10829: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 text[5] = "";
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_perf.cpp:229:23:  [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).
        if (storageIn.open(storageInPath, cv::FileStorage::READ))
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_perf.cpp:268:20:  [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).
        storageOut.open(storageOutPath, mode);
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_perf.cpp:1980:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE* fp = fopen(path.c_str(), "r");
data/opencv-4.4.0+dfsg2/modules/video/src/bgfg_KNN.cpp:368: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(&m_aModel[offsetLong],&m_aModel[offsetMid],ndata*sizeof(unsigned char));
data/opencv-4.4.0+dfsg2/modules/video/src/bgfg_KNN.cpp:377: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(&m_aModel[offsetMid],&m_aModel[offsetShort],ndata*sizeof(unsigned char));
data/opencv-4.4.0+dfsg2/modules/video/src/bgfg_KNN.cpp:386: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(&m_aModel[offsetShort],data,nchannels*sizeof(unsigned char));
data/opencv-4.4.0+dfsg2/modules/video/src/optical_flow_io.cpp:107:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char header[headerSize];
data/opencv-4.4.0+dfsg2/modules/video/src/optical_flow_io.cpp:108: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(header, FLOW_TAG_STRING, 4);
data/opencv-4.4.0+dfsg2/modules/video/src/optical_flow_io.cpp:110: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(header + 4, reinterpret_cast<const char*>(&nCols), sizeof(nCols));
data/opencv-4.4.0+dfsg2/modules/video/src/optical_flow_io.cpp:111: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(header + 8, reinterpret_cast<const char*>(&nRows), sizeof(nRows));
data/opencv-4.4.0+dfsg2/modules/video/src/variational_refinement.cpp:285: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(r_buf_border, b_buf, buf_w * sizeof(float));
data/opencv-4.4.0+dfsg2/modules/video/src/variational_refinement.cpp:286: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_buf_border, r_buf, buf_w * sizeof(float));
data/opencv-4.4.0+dfsg2/modules/video/src/variational_refinement.cpp:293: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(r_buf_border, b_buf, buf_w * sizeof(float));
data/opencv-4.4.0+dfsg2/modules/video/src/variational_refinement.cpp:294: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_buf_border, r_buf, buf_w * sizeof(float));
data/opencv-4.4.0+dfsg2/modules/video/src/variational_refinement.cpp:373: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(r_buf_border, b_buf, buf_w * sizeof(float));
data/opencv-4.4.0+dfsg2/modules/video/src/variational_refinement.cpp:374: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_buf_border, r_buf, buf_w * sizeof(float));
data/opencv-4.4.0+dfsg2/modules/video/src/variational_refinement.cpp:381: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(r_buf_border, b_buf, buf_w * sizeof(float));
data/opencv-4.4.0+dfsg2/modules/video/src/variational_refinement.cpp:382: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_buf_border, r_buf, buf_w * sizeof(float));
data/opencv-4.4.0+dfsg2/modules/video/test/test_optflowpyrlk.cpp:71:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[1000];
data/opencv-4.4.0+dfsg2/modules/videoio/include/opencv2/videoio.hpp:676:26:  [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).
    CV_WRAP virtual bool open(const String& filename, int apiPreference = CAP_ANY);
data/opencv-4.4.0+dfsg2/modules/videoio/include/opencv2/videoio.hpp:687:26:  [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).
    CV_WRAP virtual bool open(int index, int apiPreference = CAP_ANY);
data/opencv-4.4.0+dfsg2/modules/videoio/include/opencv2/videoio.hpp:927:26:  [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).
    CV_WRAP virtual bool open(const String& filename, int fourcc, double fps,
data/opencv-4.4.0+dfsg2/modules/videoio/include/opencv2/videoio.hpp:932:18:  [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).
    CV_WRAP bool open(const String& filename, int apiPreference, int fourcc, double fps,
data/opencv-4.4.0+dfsg2/modules/videoio/include/opencv2/videoio.hpp:937:18:  [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).
    CV_WRAP bool open(const String& filename, int fourcc, double fps, const Size& frameSize,
data/opencv-4.4.0+dfsg2/modules/videoio/include/opencv2/videoio.hpp:942:18:  [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).
    CV_WRAP bool open(const String& filename, int apiPreference, int fourcc, double fps,
data/opencv-4.4.0+dfsg2/modules/videoio/perf/perf_input.cpp:32:20:  [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).
  TEST_CYCLE() cap.open(filename);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap.cpp:75:5:  [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).
    open(filename, apiPreference);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap.cpp:81:5:  [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).
    open(index, apiPreference);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap.cpp:90:20:  [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).
bool VideoCapture::open(const String& filename, int apiPreference)
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap.cpp:183:20:  [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).
bool VideoCapture::open(int cameraNum, int apiPreference)
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap.cpp:451:5:  [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).
    open(filename, _fourcc, fps, frameSize, isColor);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap.cpp:458:5:  [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).
    open(filename, apiPreference, _fourcc, fps, frameSize, isColor);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap.cpp:464:5:  [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).
    open(filename, fourcc, fps, frameSize, params);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap.cpp:470:5:  [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).
    open(filename, apiPreference, fourcc, fps, frameSize, params);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap.cpp:483:19:  [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).
bool VideoWriter::open(const String& filename, int _fourcc, double fps, Size frameSize,
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap.cpp:486: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).
    return open(filename, CAP_ANY, _fourcc, fps, frameSize,
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap.cpp:490:19:  [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).
bool VideoWriter::open(const String& filename, int apiPreference, int _fourcc, double fps,
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap.cpp:493: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).
    return open(filename, apiPreference, _fourcc, fps, frameSize,
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap.cpp:498:19:  [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).
bool VideoWriter::open(const String& filename, int fourcc, double fps, const Size& frameSize,
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap.cpp:501: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).
    return open(filename, CAP_ANY, fourcc, fps, frameSize, params);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap.cpp:504:19:  [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).
bool VideoWriter::open(const String& filename, int apiPreference, int fourcc, double fps,
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_android_mediandk.cpp:173:18:  [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(filename, O_RDONLY);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_aravis.cpp:105:18:  [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).
    virtual bool open(int);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_aravis.cpp:259:27:  [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).
bool CvCaptureCAM_Aravis::open( int index )
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_aravis.cpp:632:17:  [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).
    if(capture->open(index)) {
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dc1394_v2.cpp:101:18:  [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).
    virtual bool open(int index);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dc1394_v2.cpp:350:34:  [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).
bool CvCaptureCAM_DC1394_v2_CPP::open(int index)
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dc1394_v2.cpp:699:18:  [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).
    if (capture->open(index))
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:309:35:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        gs_verbose = s != NULL && atoi(s) != 0;
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:446: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  nDeviceName[255];
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:599:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 deviceNames[VI_MAX_CAMERAS][255];
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:718:23:  [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(pixels, ptrBuffer, latestBufferLength);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:921: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 buffer[255];
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:1567: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(dst, src, width * height);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:1572: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(dst, src, width * height * 2);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:1599:53:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 * src = (unsigned char * )VDList[id]->pBuffer;
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:1763:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char propStr[16];
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:1829:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char propStr[16];
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:1923: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 propStr[16];
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:1990:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char propStr[16];
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2251: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(dst + (y * widthInBytes), src + ( (height -y -1) * widthInBytes), widthInBytes);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2255: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(dst, src, numBytes);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2305:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmpStr[8];
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2306:41:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    if( type == MEDIASUBTYPE_RGB24)     sprintf(tmpStr, "RGB24");
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2307:41:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    else if(type == MEDIASUBTYPE_RGB32) sprintf(tmpStr, "RGB32");
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2308:41:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    else if(type == MEDIASUBTYPE_RGB555)sprintf(tmpStr, "RGB555");
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2309:41:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    else if(type == MEDIASUBTYPE_RGB565)sprintf(tmpStr, "RGB565");
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2310:41:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    else if(type == MEDIASUBTYPE_YUY2)  sprintf(tmpStr, "YUY2");
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2311:41:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    else if(type == MEDIASUBTYPE_YVYU)  sprintf(tmpStr, "YVYU");
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2312:41:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    else if(type == MEDIASUBTYPE_YUYV)  sprintf(tmpStr, "YUYV");
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2313:41:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    else if(type == MEDIASUBTYPE_IYUV)  sprintf(tmpStr, "IYUV");
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2314:41:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    else if(type == MEDIASUBTYPE_UYVY)  sprintf(tmpStr, "UYVY");
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2315:41:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    else if(type == MEDIASUBTYPE_YV12)  sprintf(tmpStr, "YV12");
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2316:41:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    else if(type == MEDIASUBTYPE_YVU9)  sprintf(tmpStr, "YVU9");
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2317:41:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    else if(type == MEDIASUBTYPE_Y411)  sprintf(tmpStr, "Y411");
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2318:41:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    else if(type == MEDIASUBTYPE_Y41P)  sprintf(tmpStr, "Y41P");
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2319:41:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    else if(type == MEDIASUBTYPE_Y211)  sprintf(tmpStr, "Y211");
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2320:41:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    else if(type == MEDIASUBTYPE_AYUV)  sprintf(tmpStr, "AYUV");
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2321:41:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    else if(type == MEDIASUBTYPE_MJPG)  sprintf(tmpStr, "MJPG");
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2322:41:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    else if(type == MEDIASUBTYPE_Y800)  sprintf(tmpStr, "Y800");
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2323:41:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    else if(type == MEDIASUBTYPE_Y8)    sprintf(tmpStr, "Y8");
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2324:41:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    else if(type == MEDIASUBTYPE_GREY)  sprintf(tmpStr, "GREY");
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2325:41:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    else if(type == MEDIASUBTYPE_I420)  sprintf(tmpStr, "I420");
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2326:41:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    else if (type == MEDIASUBTYPE_BY8)  sprintf(tmpStr, "BY8");
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2327:41:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    else if (type == MEDIASUBTYPE_Y16)  sprintf(tmpStr, "Y16");
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2328:10:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    else sprintf(tmpStr, "OTHER");
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2330: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(typeAsString, tmpStr, sizeof(char)*8);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2352:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmpStr[16];
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2354:41:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    if ( prop==VideoProcAmp_Brightness) sprintf(tmpStr, "Brightness");
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2355:44:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    else if ( prop==VideoProcAmp_Contrast) sprintf(tmpStr, "Contrast");
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2356:46:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    else if ( prop==VideoProcAmp_Saturation) sprintf(tmpStr, "Saturation");
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2357:39:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    else if ( prop==VideoProcAmp_Hue) sprintf(tmpStr, "Hue");
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2358:40:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    else if ( prop==VideoProcAmp_Gain) sprintf(tmpStr, "Gain");
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2359:41:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    else if ( prop==VideoProcAmp_Gamma) sprintf(tmpStr, "Gamma");
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2360:47:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    else if ( prop==VideoProcAmp_ColorEnable) sprintf(tmpStr, "ColorEnable");
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2361:45:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    else if ( prop==VideoProcAmp_Sharpness) sprintf(tmpStr, "Sharpness");
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2362:10:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    else sprintf(tmpStr, "%u",prop);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2364: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(propertyAsString, tmpStr, sizeof(char)*16);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2455:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmpStr[16];
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2457: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.
    if ( prop==CameraControl_Pan) sprintf(tmpStr, "Pan");
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2458:41:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    else if ( prop==CameraControl_Tilt) sprintf(tmpStr, "Tilt");
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2459:41:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    else if ( prop==CameraControl_Roll) sprintf(tmpStr, "Roll");
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2460:41:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    else if ( prop==CameraControl_Zoom) sprintf(tmpStr, "Zoom");
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2461:45:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    else if ( prop==CameraControl_Exposure) sprintf(tmpStr, "Exposure");
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2462:41:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    else if ( prop==CameraControl_Iris) sprintf(tmpStr, "Iris");
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2463:42:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    else if ( prop==CameraControl_Focus) sprintf(tmpStr, "Focus");
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2464:10:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    else sprintf(tmpStr, "%u",prop);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2466: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(propertyAsString, tmpStr, sizeof(char)*16);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2754: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 guidStr[8];
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:3346:5:  [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).
    open(index);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:3583:26:  [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).
void VideoCapture_DShow::open(int index)
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.hpp:35: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).
    void open(int index);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_ffmpeg.cpp:70:77:  [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).
    CvCapture_FFMPEG_proxy(const cv::String& filename) { ffmpegCapture = 0; open(filename); }
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_ffmpeg.cpp:96:18:  [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).
    virtual bool open( const cv::String& filename )
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_ffmpeg.cpp:135:138:  [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).
    CvVideoWriter_FFMPEG_proxy(const cv::String& filename, int fourcc, double fps, cv::Size frameSize, bool isColor) { ffmpegWriter = 0; open(filename, fourcc, fps, frameSize, isColor); }
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_ffmpeg.cpp:148:18:  [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).
    virtual bool open( const cv::String& filename, int fourcc, double fps, cv::Size frameSize, bool isColor )
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_ffmpeg_impl.hpp:481: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).
    bool open( const char* filename );
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_ffmpeg_impl.hpp:890:24:  [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).
bool CvCapture_FFMPEG::open( const char* _filename )
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_ffmpeg_impl.hpp:1625: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).
    bool open( const char* filename, int fourcc,
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_ffmpeg_impl.hpp:2062: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(aligned_input + y*aligned_step, data + (height-1-y)*step, step);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_ffmpeg_impl.hpp:2065: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(aligned_input + y*aligned_step, data + y*step, step);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_ffmpeg_impl.hpp:2239:28:  [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).
bool CvVideoWriter_FFMPEG::open( const char * filename, int fourcc,
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_ffmpeg_impl.hpp:2608:18:  [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).
    if( capture->open( filename ))
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_ffmpeg_impl.hpp:2654:17:  [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).
    if( writer->open( filename, fourcc, fps, width, height, isColor != 0 ))
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_gphoto2.cpp:149: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).
    bool open(int index);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_gphoto2.cpp:360: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).
        open(index);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_gphoto2.cpp:372: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).
        open(index);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_gphoto2.cpp:401:28:  [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).
bool DigitalCameraCapture::open(int index)
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_gphoto2.cpp:669: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[128] = "";
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_gphoto2.cpp: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(buf, "cannot get property: %d", propertyId);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_gphoto2.cpp:812: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[128] = "";
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_gphoto2.cpp:813: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, "cannot set property: %d to %f", propertyId, value);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_gphoto2.cpp:1118: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 timebuf[200];
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_gstreamer.cpp:277: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).
    bool open(int id);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_gstreamer.cpp:278: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).
    bool open(const String &filename_);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_gstreamer.cpp:660:24:  [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).
bool GStreamerCapture::open(int id)
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_gstreamer.cpp:670: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).
    return open(desc.str());
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_gstreamer.cpp:673:24:  [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).
bool GStreamerCapture::open(const String &filename_)
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_gstreamer.cpp:1199:21:  [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).
    if (cap && cap->open(filename))
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_gstreamer.cpp:1207:21:  [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).
    if (cap && cap->open(index))
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_gstreamer.cpp:1244: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).
    bool open(const std::string &filename, int fourcc,
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_gstreamer.cpp:1389:31:  [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).
bool CvVideoWriter_GStreamer::open( const std::string &filename, int fourcc,
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_gstreamer.cpp:1654: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(info.data, (guint8*)image->imageData, size);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_gstreamer.cpp:1683:18:  [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).
        if (wrt->open(filename, fourcc, fps, frameSize, isColor))
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_gstreamer.cpp:1803:24:  [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).
            res = cap->open(std::string(filename));
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_gstreamer.cpp:1805:24:  [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).
            res = cap->open(camera_index);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_gstreamer.cpp:1911:24:  [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).
        if(wrt && wrt->open(filename, fourcc, fps, sz, isColor))
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_images.cpp:83: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).
        open(_filename);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_images.cpp:97: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).
    bool open(const String&);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_images.cpp:288:24:  [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).
bool CvCapture_Images::open(const std::string& _filename)
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_images.cpp:361:18:  [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).
    virtual bool open( const char* _filename );
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_images.cpp:399:28:  [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).
bool CvVideoWriter_Images::open( const char* _filename )
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_images.cpp:439:21:  [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).
        if( writer->open( filename.c_str() ))
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_mfx_common.cpp:65: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).
    file = open(filename.c_str(), O_RDWR);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_mfx_common.cpp:164: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).
    input.open(filename, std::ios::in | std::ios::binary);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_mfx_common.cpp:209: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).
    output.open(filename, std::ios::out | std::ios::binary);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_mjpeg_decoder.cpp:60: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).
    bool open(const String&);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_mjpeg_decoder.cpp:187:5:  [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).
    open(filename);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_mjpeg_decoder.cpp:201:25:  [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).
bool MotionJpegCapture::open(const String& filename)
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_mjpeg_encoder.cpp:293: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(&m_output_buffer[current_pos], buffer.get_data(), sizeof(buffer.get_data()[0])*buffer.get_len());
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_mjpeg_encoder.cpp:299: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(&m_output_buffer[current_pos], buffer.get_data(), sizeof(buffer.get_data()[0])*(buffer.get_len() - 1 ));
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_mjpeg_encoder.cpp:401: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).
        open(filename, fps, size, iscolor);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_mjpeg_encoder.cpp:421: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).
    bool open(const String& filename, double fps, Size size, bool iscolor)
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_msmf.cpp:281: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 fourcc[5] = { 0 };
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_msmf.cpp:282: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(fourcc, &fmt.Data1, 4);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_msmf.cpp:579:18:  [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).
    virtual bool open(int);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_msmf.cpp:580:18:  [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).
    virtual bool open(const cv::String&);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_msmf.cpp:753:57:  [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).
                        return reopen ? (prevcam >= 0 ? open(prevcam) : open(prevfile.c_str())) : true;
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_msmf.cpp:753:73:  [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).
                        return reopen ? (prevcam >= 0 ? open(prevcam) : open(prevfile.c_str())) : true;
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_msmf.cpp:769:41:  [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).
        return reopen ? (prevcam >= 0 ? open(prevcam) : open(prevfile.c_str())) : true;
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_msmf.cpp:769:57:  [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).
        return reopen ? (prevcam >= 0 ? open(prevcam) : open(prevfile.c_str())) : true;
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_msmf.cpp:823:22:  [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).
bool CvCapture_MSMF::open(int index)
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_msmf.cpp:856:22:  [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).
bool CvCapture_MSMF::open(const cv::String& _filename)
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_msmf.cpp:865:5:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
    MultiByteToWideChar(CP_ACP, 0, _filename.c_str(), -1, unicodeFileName.data(), (int)_filename.length() + 1);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_msmf.cpp:1422:18:  [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).
        capture->open(index);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_msmf.cpp:1434:18:  [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).
        capture->open(filename);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_msmf.cpp:1452:18:  [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).
    virtual bool open(const cv::String& filename, int fourcc,
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_msmf.cpp:1557:26:  [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).
bool CvVideoWriter_MSMF::open( const cv::String& filename, int fourcc,
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_msmf.cpp:1598:9:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
        MultiByteToWideChar(CP_ACP, 0, filename.c_str(), -1, unicodeFileName.data(), (int)filename.length() + 1);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_msmf.cpp:1673:17:  [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).
        writer->open(filename, fourcc, fps, frameSize, isColor);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_msmf.cpp:1703:24:  [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).
            res = cap->open(std::string(filename));
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_msmf.cpp:1705:24:  [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).
            res = cap->open(camera_index);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_msmf.cpp:1809:25:  [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).
        if (wrt && wrt->open(filename, fourcc, fps, sz, isColor != 0))
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_openni2.cpp:285:21:  [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).
    status = device.open(deviceURI);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_pvapi.cpp:83:18:  [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).
    virtual bool open( int index );
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_pvapi.cpp:144:26:  [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).
bool CvCaptureCAM_PvAPI::open( int index )
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_pvapi.cpp:250: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 mEnable[2];
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_pvapi.cpp:251: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 mIp[11];
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_pvapi.cpp:269: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 triggerMode[256];
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_pvapi.cpp:296: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 pixelFormat[256];
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_pvapi.cpp:522:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char pixelFormat[256];
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_pvapi.cpp:607:19:  [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).
    if ( capture->open( index ))
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_v4l.cpp:377: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).
    bool open(int _index);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_v4l.cpp:378: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).
    bool open(const char* deviceName);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_v4l.cpp:860:24:  [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).
bool CvCaptureCAM_V4L::open(int _index)
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_v4l.cpp:870:23:  [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 h = ::open(name.c_str(), O_RDONLY);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_v4l.cpp:890: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).
    bool res = open(name.c_str());
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_v4l.cpp:898:24:  [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).
bool CvCaptureCAM_V4L::open(const char* _deviceName)
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_v4l.cpp:916:22:  [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).
    deviceHandle = ::open(deviceName.c_str(), O_RDWR /* required */ | O_NONBLOCK, 0);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_v4l.cpp:1622: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((char *)frame.imageData, (char *)currentBuffer.start,
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_v4l.cpp:2127:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        frame.imageData = (char *)buffers[MAX_V4L_BUFFERS].start;
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_v4l.cpp:2128: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(buffers[MAX_V4L_BUFFERS].start, currentBuffer.start,
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_v4l.cpp:2145:18:  [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).
    if (capture->open(index))
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_v4l.cpp:2156:18:  [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).
    if (capture->open(filename.c_str()))
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_ximea.cpp:20:18:  [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).
    virtual bool open( int index );
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_ximea.cpp:21: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).
    bool open( const char* deviceName );
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_ximea.cpp:49:18:  [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).
    if( capture->open( index ))
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_ximea.cpp:60:18:  [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).
    if( capture->open( serialNumber.c_str() ))
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_ximea.cpp:89:26:  [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).
bool CvCaptureCAM_XIMEA::open( int wIndex )
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_ximea.cpp:113:26:  [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).
bool CvCaptureCAM_XIMEA::open( const char* serialNumber )
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_ximea.cpp:238:27:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    case XI_RAW8        : memcpy( frame->imageData, image.bp, image.width*image.height); break;
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_ximea.cpp:240:27:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    case XI_RAW16       : memcpy( frame->imageData, image.bp, image.width*image.height*sizeof(WORD)); break;
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_ximea.cpp:242:27:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    case XI_RGB_PLANAR  : memcpy( frame->imageData, image.bp, image.width*image.height*3); break;
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_ximea.cpp:243:27:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    case XI_RGB32       : memcpy( frame->imageData, image.bp, image.width*image.height*4); break;
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_ximea.cpp:1786:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[512]="";
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_xine.cpp:108: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).
    bool open(const char *filename)
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_xine.cpp:111: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 configfile[2048] = {0};
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_xine.cpp:352:21:  [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).
    if (res && res->open(filename.c_str()))
data/opencv-4.4.0+dfsg2/modules/videoio/src/container_avi.cpp:138: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).
    bool open(const String& filename);
data/opencv-4.4.0+dfsg2/modules/videoio/src/container_avi.cpp:210:5:  [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).
    open(filename);
data/opencv-4.4.0+dfsg2/modules/videoio/src/container_avi.cpp:218:24:  [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).
bool VideoInputStream::open(const String& filename)
data/opencv-4.4.0+dfsg2/modules/videoio/src/container_avi.cpp:221: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).
    input.open(filename.c_str(), std::ios_base::binary);
data/opencv-4.4.0+dfsg2/modules/videoio/src/container_avi.cpp:602: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).
    bool open(const String& filename);
data/opencv-4.4.0+dfsg2/modules/videoio/src/container_avi.cpp:644:17:  [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).
bool BitStream::open(const String& filename)
data/opencv-4.4.0+dfsg2/modules/videoio/src/container_avi.cpp:647: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).
    output.open(filename.c_str(), std::ios_base::binary);
data/opencv-4.4.0+dfsg2/modules/videoio/src/container_avi.cpp:697: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(m_current, data, l);
data/opencv-4.4.0+dfsg2/modules/videoio/src/container_avi.cpp:826:25:  [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).
    bool result = strm->open(filename);
data/opencv-4.4.0+dfsg2/modules/videoio/src/container_avi.cpp:969:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char strm_indx[2];
data/opencv-4.4.0+dfsg2/modules/videoio/test/test_dynamic.cpp:31:20:  [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).
            writer.open(filename, be, fourcc, FPS, FRAME_SIZE, true);
data/opencv-4.4.0+dfsg2/modules/videoio/test/test_dynamic.cpp:56:17:  [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).
            cap.open(filename, be);
data/opencv-4.4.0+dfsg2/modules/videoio/test/test_dynamic.cpp:93:38:  [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).
        EXPECT_NO_THROW(res = writer.open(filename, be, VideoWriter::fourcc('A', 'B', 'C', 'D'), 1, Size(640, 480), true));
data/opencv-4.4.0+dfsg2/modules/videoio/test/test_dynamic.cpp:98:38:  [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).
        EXPECT_NO_THROW(res = writer.open(String(), be, VideoWriter::fourcc('H', '2', '6', '4'), 1, Size(640, 480), true));
data/opencv-4.4.0+dfsg2/modules/videoio/test/test_dynamic.cpp:101:38:  [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).
        EXPECT_NO_THROW(res = writer.open(String(), be, VideoWriter::fourcc('M', 'J', 'P', 'G'), 1, Size(640, 480), true));
data/opencv-4.4.0+dfsg2/modules/videoio/test/test_dynamic.cpp:106:38:  [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).
        EXPECT_NO_THROW(res = writer.open(filename, be, VideoWriter::fourcc('H', '2', '6', '4'), 0, Size(640, 480), true));
data/opencv-4.4.0+dfsg2/modules/videoio/test/test_dynamic.cpp:119:38:  [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).
        EXPECT_NO_THROW(res = writer.open(std::string(), VideoWriter::fourcc('H', '2', '6', '4'), 1, Size(640, 480)));
data/opencv-4.4.0+dfsg2/modules/videoio/test/test_dynamic.cpp:122:38:  [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).
        EXPECT_NO_THROW(res = writer.open(std::string(), VideoWriter::fourcc('M', 'J', 'P', 'G'), 1, Size(640, 480)));
data/opencv-4.4.0+dfsg2/modules/videoio/test/test_gstreamer.cpp:27:25:  [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).
    ASSERT_NO_THROW(cap.open(pipeline.str(), CAP_GSTREAMER));
data/opencv-4.4.0+dfsg2/modules/videoio/test/test_gstreamer.cpp:87:28:  [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).
    EXPECT_NO_THROW(writer.open(pipeline, apiPref, 0/*fourcc*/, 30/*fps*/, frame_size, true));
data/opencv-4.4.0+dfsg2/modules/videoio/test/test_mfx.cpp:15:25:  [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).
    ASSERT_NO_THROW(cap.open("nonexistent-file", CAP_INTEL_MFX));
data/opencv-4.4.0+dfsg2/modules/videoio/test/test_mfx.cpp:30:34:  [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).
    ASSERT_NO_THROW(res = writer.open(filename, CAP_INTEL_MFX, VideoWriter::fourcc('H', '2', '6', '4'), 1, Size(641, 480), true));
data/opencv-4.4.0+dfsg2/modules/videoio/test/test_mfx.cpp:33:34:  [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).
    ASSERT_NO_THROW(res = writer.open(filename, CAP_INTEL_MFX, VideoWriter::fourcc('H', '2', '6', '4'), 1, Size(640, 481), true));
data/opencv-4.4.0+dfsg2/modules/videoio/test/test_mfx.cpp:36:34:  [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).
    ASSERT_NO_THROW(res = writer.open(filename, CAP_INTEL_MFX, VideoWriter::fourcc('A', 'B', 'C', 'D'), 1, Size(640, 480), true));
data/opencv-4.4.0+dfsg2/modules/videoio/test/test_mfx.cpp:39:34:  [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).
    ASSERT_NO_THROW(res = writer.open(String(), CAP_INTEL_MFX, VideoWriter::fourcc('H', '2', '6', '4'), 1, Size(640, 480), true));
data/opencv-4.4.0+dfsg2/modules/videoio/test/test_mfx.cpp:42:34:  [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).
    ASSERT_NO_THROW(res = writer.open(filename, CAP_INTEL_MFX, VideoWriter::fourcc('H', '2', '6', '4'), 0, Size(640, 480), true));
data/opencv-4.4.0+dfsg2/modules/videoio/test/test_mfx.cpp:46:34:  [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).
    ASSERT_NO_THROW(res = writer.open(filename, CAP_INTEL_MFX, VideoWriter::fourcc('H', '2', '6', '4'), 30, Size(640, 480), true));
data/opencv-4.4.0+dfsg2/modules/videoio/test/test_mfx.cpp:105: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).
    writer.open(filename, CAP_INTEL_MFX, fourcc, FPS, FRAME_SIZE, isColor);
data/opencv-4.4.0+dfsg2/modules/videoio/test/test_mfx.cpp:119: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).
    cap.open(filename, CAP_INTEL_MFX);
data/opencv-4.4.0+dfsg2/modules/videoio/test/test_video_io.cpp:91:29:  [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).
        ASSERT_NO_THROW(cap.open(video_file, apiPref));
data/opencv-4.4.0+dfsg2/modules/videoio/test/test_video_io.cpp:184:29:  [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).
        EXPECT_NO_THROW(cap.open(video_file, apiPref));
data/opencv-4.4.0+dfsg2/modules/videoio/test/test_video_io.cpp:277:32:  [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).
        EXPECT_NO_THROW(writer.open(video_file, apiPref, fourcc, fps, frame_size, true));
data/opencv-4.4.0+dfsg2/modules/videoio/test/test_video_io.cpp:470:28:  [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).
    EXPECT_NO_THROW(writer.open(video_file, apiPref, fourcc, fps, frame_size, true));
data/opencv-4.4.0+dfsg2/modules/videoio/test/test_video_io.cpp:513:22:  [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).
    EXPECT_FALSE(cap.open("this_does_not_exist.avi", CAP_OPENCV_MJPEG));
data/opencv-4.4.0+dfsg2/modules/videoio/test/test_video_io.cpp:520:22:  [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).
    EXPECT_THROW(cap.open("this_does_not_exist.avi", CAP_OPENCV_MJPEG), Exception);
data/opencv-4.4.0+dfsg2/modules/videoio/test/test_video_io.cpp:532:28:  [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).
    EXPECT_NO_THROW(writer.open(video_file, apiPref, fourcc, fps, frame_size, true));
data/opencv-4.4.0+dfsg2/samples/cpp/3calibration.cpp:285: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).
    fs.open(outputFilename, FileStorage::WRITE);
data/opencv-4.4.0+dfsg2/samples/cpp/application_trace.cpp:43:17:  [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).
        capture.open(parser.get<int>("@video"));
data/opencv-4.4.0+dfsg2/samples/cpp/application_trace.cpp:45:17:  [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).
        capture.open(samples::findFileOrKeep(video));  // keep GStreamer pipelines
data/opencv-4.4.0+dfsg2/samples/cpp/bgfg_segm.cpp:39:13:  [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).
        cap.open(camera);
data/opencv-4.4.0+dfsg2/samples/cpp/bgfg_segm.cpp:43:13:  [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).
        cap.open(file.c_str());
data/opencv-4.4.0+dfsg2/samples/cpp/calibration.cpp:210:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[1024];
data/opencv-4.4.0+dfsg2/samples/cpp/calibration.cpp:452:21:  [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).
            capture.open(samples::findFileOrKeep(inputFilename));
data/opencv-4.4.0+dfsg2/samples/cpp/calibration.cpp:455:17:  [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).
        capture.open(cameraId);
data/opencv-4.4.0+dfsg2/samples/cpp/camshiftdemo.cpp:89: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).
    cap.open(camNum);
data/opencv-4.4.0+dfsg2/samples/cpp/dis_opticalflow.cpp:17: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).
    cap.open(filename);
data/opencv-4.4.0+dfsg2/samples/cpp/example_cmake/example.cpp:17:13:  [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).
    capture.open(0);
data/opencv-4.4.0+dfsg2/samples/cpp/facedetect.cpp:79:21:  [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).
        if(!capture.open(camera))
data/opencv-4.4.0+dfsg2/samples/cpp/facedetect.cpp:90:26:  [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).
            if (!capture.open(samples::findFileOrKeep(inputName)))
data/opencv-4.4.0+dfsg2/samples/cpp/facedetect.cpp:137: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).
            FILE* f = fopen( inputName.c_str(), "rt" );
data/opencv-4.4.0+dfsg2/samples/cpp/facedetect.cpp:140: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 buf[1000+1];
data/opencv-4.4.0+dfsg2/samples/cpp/intersectExample.cpp: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 caption[bufSize];
data/opencv-4.4.0+dfsg2/samples/cpp/laplace.cpp:34:13:  [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).
        cap.open(parser.get<int>("c"));
data/opencv-4.4.0+dfsg2/samples/cpp/laplace.cpp:36:13:  [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).
        cap.open(samples::findFileOrKeep(camera));
data/opencv-4.4.0+dfsg2/samples/cpp/letter_recog.cpp: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 buf[M+2];
data/opencv-4.4.0+dfsg2/samples/cpp/letter_recog.cpp:52:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE* f = fopen( filename.c_str(), "rt" );
data/opencv-4.4.0+dfsg2/samples/cpp/letter_recog.cpp:270: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(new_data_row, data_row, var_count*sizeof(data_row[0]));
data/opencv-4.4.0+dfsg2/samples/cpp/lkdemo.cpp:53:13:  [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).
        cap.open(input[0] - '0');
data/opencv-4.4.0+dfsg2/samples/cpp/lkdemo.cpp:55:13:  [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).
        cap.open(input);
data/opencv-4.4.0+dfsg2/samples/cpp/logistic_regression.cpp:98: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).
        if(f.open(filename, FileStorage::READ))
data/opencv-4.4.0+dfsg2/samples/cpp/peopledetect.cpp:73:13:  [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).
        cap.open(camera);
data/opencv-4.4.0+dfsg2/samples/cpp/peopledetect.cpp:77:13:  [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).
        cap.open(file);
data/opencv-4.4.0+dfsg2/samples/cpp/polar_transforms.cpp:19:17:  [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).
        capture.open( arg[0] - '0' );
data/opencv-4.4.0+dfsg2/samples/cpp/polar_transforms.cpp:21:17:  [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).
        capture.open(samples::findFileOrKeep(arg));
data/opencv-4.4.0+dfsg2/samples/cpp/segment_objects.cpp:74:13:  [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).
        cap.open(0);
data/opencv-4.4.0+dfsg2/samples/cpp/segment_objects.cpp:76:13:  [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).
        cap.open(samples::findFileOrKeep(input));
data/opencv-4.4.0+dfsg2/samples/cpp/select3dobj.cpp:455:22:  [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).
            !capture.open(inputName))
data/opencv-4.4.0+dfsg2/samples/cpp/select3dobj.cpp:462:17:  [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).
        capture.open(cameraId);
data/opencv-4.4.0+dfsg2/samples/cpp/select3dobj.cpp:471: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 cmd[1000];
data/opencv-4.4.0+dfsg2/samples/cpp/select3dobj.cpp:568:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    char path[1000];
data/opencv-4.4.0+dfsg2/samples/cpp/select3dobj.cpp:572:35:  [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* f = fopen(path, "rb");
data/opencv-4.4.0+dfsg2/samples/cpp/smiledetect.cpp:80:21:  [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).
        if(!capture.open(c))
data/opencv-4.4.0+dfsg2/samples/cpp/smiledetect.cpp:86:21:  [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).
        if(!capture.open( inputName ))
data/opencv-4.4.0+dfsg2/samples/cpp/stereo_calib.cpp:231: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).
    fs.open("extrinsics.yml", FileStorage::WRITE);
data/opencv-4.4.0+dfsg2/samples/cpp/stereo_match.cpp:31:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE* fp = fopen(filename, "wt");
data/opencv-4.4.0+dfsg2/samples/cpp/stereo_match.cpp:184: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(extrinsic_filename, FileStorage::READ);
data/opencv-4.4.0+dfsg2/samples/cpp/stitching_detailed.cpp:305:35:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            expos_comp_nr_feeds = atoi(argv[i + 1]);
data/opencv-4.4.0+dfsg2/samples/cpp/stitching_detailed.cpp:310:39:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            expos_comp_nr_filtering = atoi(argv[i + 1]);
data/opencv-4.4.0+dfsg2/samples/cpp/stitching_detailed.cpp:315:37:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            expos_comp_block_size = atoi(argv[i + 1]);
data/opencv-4.4.0+dfsg2/samples/cpp/stitching_detailed.cpp:366:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            range_width = atoi(argv[i + 1]);
data/opencv-4.4.0+dfsg2/samples/cpp/train_HOG.cpp:156:17:  [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).
            cap.open( videofilename[0] - '0' );
data/opencv-4.4.0+dfsg2/samples/cpp/train_HOG.cpp:158:17:  [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).
            cap.open( videofilename );
data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/HighGUI/AddingImagesTrackbar.cpp:62: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 TrackbarName[50];
data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/HighGUI/AddingImagesTrackbar.cpp:63:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
   sprintf( TrackbarName, "Alpha x %d", alpha_slider_max );
data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/ImgProc/Threshold_inRange.cpp:59:33:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    VideoCapture cap(argc > 1 ? atoi(argv[1]) : 0);
data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/ImgTrans/HoughLines_Demo.cpp:60: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 thresh_label[50];
data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/ImgTrans/HoughLines_Demo.cpp:61:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
   sprintf( thresh_label, "Thres: %d + input", min_threshold );
data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp:116:30:  [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).
                inputCapture.open(cameraID);
data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp:118:30:  [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).
                inputCapture.open(input);
data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp:620:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[1024];
data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/CsvReader.cpp:5: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).
    _file.open(path.c_str(), ifstream::in);
data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/CsvWriter.cpp:4: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).
    _file.open(path.c_str(), ofstream::out);
data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_detection.cpp:184: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).
    cap.open(video_read_path);                  // open a recorded video
data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/core/file_input_output/file_input_output.cpp:127: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(filename, FileStorage::READ);
data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/features2D/AKAZE_tracking/planar_tracking.cpp:139:18:  [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).
        video_in.open( camera_no );
data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/features2D/AKAZE_tracking/planar_tracking.cpp:142:18:  [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).
        video_in.open(video_name);
data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/gapi/face_beautification/face_beautification.cpp:814:17:  [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).
            cap.open(parser.get<cv::String>("input"));
data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/gapi/face_beautification/face_beautification.cpp:817:23:  [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).
        else if (!cap.open(0))
data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/objectDetection/objectDetection.cpp:48:13:  [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).
    capture.open( camera_device );
data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/videoio/video-write/video-write.cpp:54:21:  [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).
        outputVideo.open(NAME, ex=-1, inputVideo.get(CAP_PROP_FPS), S, true);
data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/videoio/video-write/video-write.cpp:56:21:  [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).
        outputVideo.open(NAME, ex, inputVideo.get(CAP_PROP_FPS), S, true);
data/opencv-4.4.0+dfsg2/samples/cpp/videocapture_basic.cpp:28: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).
    cap.open(deviceID, apiID);
data/opencv-4.4.0+dfsg2/samples/cpp/videocapture_gphoto2_autofocus.cpp:328:21:  [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).
        videoWriter.open(GlobalArgs.output, fourCC, GlobalArgs.fps, S, true);
data/opencv-4.4.0+dfsg2/samples/cpp/videocapture_intelperc.cpp:267:13:  [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).
    capture.open(CAP_INTELPERC);
data/opencv-4.4.0+dfsg2/samples/cpp/videocapture_openni.cpp:122:17:  [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).
        capture.open( filename );
data/opencv-4.4.0+dfsg2/samples/cpp/videocapture_openni.cpp:125:17:  [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).
        capture.open( CAP_OPENNI2 );
data/opencv-4.4.0+dfsg2/samples/cpp/videocapture_openni.cpp:127:21:  [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).
            capture.open( CAP_OPENNI );
data/opencv-4.4.0+dfsg2/samples/cpp/videocapture_starter.cpp:40: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 filename[200];
data/opencv-4.4.0+dfsg2/samples/cpp/videocapture_starter.cpp:60: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(filename,"filename%.3d.jpg",n++);
data/opencv-4.4.0+dfsg2/samples/cpp/videocapture_starter.cpp:86:17:  [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).
        capture.open(atoi(arg.c_str()));
data/opencv-4.4.0+dfsg2/samples/cpp/videocapture_starter.cpp:86:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        capture.open(atoi(arg.c_str()));
data/opencv-4.4.0+dfsg2/samples/cpp/videowriter_basic.cpp:41: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).
    writer.open(filename, codec, fps, src.size(), isColor);
data/opencv-4.4.0+dfsg2/samples/directx/d3d9_interop.cpp:257: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 buf[256];
data/opencv-4.4.0+dfsg2/samples/directx/d3d9_interop.cpp:271: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, "time: %4.1f msec", time);
data/opencv-4.4.0+dfsg2/samples/directx/d3d9ex_interop.cpp:258: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 buf[256];
data/opencv-4.4.0+dfsg2/samples/directx/d3d9ex_interop.cpp:272: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, "time: %4.1f msec", time);
data/opencv-4.4.0+dfsg2/samples/directx/d3dsample.hpp:138:13:  [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).
        cap.open(camera_id);
data/opencv-4.4.0+dfsg2/samples/directx/d3dsample.hpp:140:13:  [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).
        cap.open(file.c_str());
data/opencv-4.4.0+dfsg2/samples/dnn/classification.cpp:95:13:  [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).
        cap.open(parser.get<String>("input"));
data/opencv-4.4.0+dfsg2/samples/dnn/classification.cpp:97:13:  [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).
        cap.open(0);
data/opencv-4.4.0+dfsg2/samples/dnn/object_detection.cpp:165:13:  [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).
        cap.open(parser.get<String>("input"));
data/opencv-4.4.0+dfsg2/samples/dnn/object_detection.cpp:167:13:  [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).
        cap.open(parser.get<int>("device"));
data/opencv-4.4.0+dfsg2/samples/dnn/segmentation.cpp:122:13:  [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).
        cap.open(parser.get<String>("input"));
data/opencv-4.4.0+dfsg2/samples/dnn/segmentation.cpp:124:13:  [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).
        cap.open(parser.get<int>("device"));
data/opencv-4.4.0+dfsg2/samples/dnn/text_detection.cpp:78:50:  [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).
    bool openSuccess = parser.has("input") ? cap.open(parser.get<String>("input")) : cap.open(0);
data/opencv-4.4.0+dfsg2/samples/dnn/text_detection.cpp:78:90:  [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).
    bool openSuccess = parser.has("input") ? cap.open(parser.get<String>("input")) : cap.open(0);
data/opencv-4.4.0+dfsg2/samples/gpu/bgfg_segm.cpp:54:13:  [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).
        cap.open(0);
data/opencv-4.4.0+dfsg2/samples/gpu/bgfg_segm.cpp:56:13:  [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).
        cap.open(file);
data/opencv-4.4.0+dfsg2/samples/gpu/cascadeclassifier.cpp:192:17:  [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).
        capture.open(inputName);
data/opencv-4.4.0+dfsg2/samples/gpu/cascadeclassifier.cpp:197:17:  [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).
        capture.open(atoi(inputName.c_str()));
data/opencv-4.4.0+dfsg2/samples/gpu/cascadeclassifier.cpp:197:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        capture.open(atoi(inputName.c_str()));
data/opencv-4.4.0+dfsg2/samples/gpu/hog.cpp:200:61:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        else if (string(argv[i]) == "--width") args.width = atoi(argv[++i]);
data/opencv-4.4.0+dfsg2/samples/gpu/hog.cpp:201:63:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        else if (string(argv[i]) == "--height") args.height = atoi(argv[++i]);
data/opencv-4.4.0+dfsg2/samples/gpu/hog.cpp:208:65:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        else if (string(argv[i]) == "--nlevels") args.nlevels = atoi(argv[++i]);
data/opencv-4.4.0+dfsg2/samples/gpu/hog.cpp:209:69:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        else if (string(argv[i]) == "--win_width") args.win_width = atoi(argv[++i]);
data/opencv-4.4.0+dfsg2/samples/gpu/hog.cpp:210:83:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        else if (string(argv[i]) == "--win_stride_width") args.win_stride_width = atoi(argv[++i]);
data/opencv-4.4.0+dfsg2/samples/gpu/hog.cpp:211:85:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        else if (string(argv[i]) == "--win_stride_height") args.win_stride_height = atoi(argv[++i]);
data/opencv-4.4.0+dfsg2/samples/gpu/hog.cpp:212:73:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        else if (string(argv[i]) == "--block_width") args.block_width = atoi(argv[++i]);
data/opencv-4.4.0+dfsg2/samples/gpu/hog.cpp:213:87:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        else if (string(argv[i]) == "--block_stride_width") args.block_stride_width = atoi(argv[++i]);
data/opencv-4.4.0+dfsg2/samples/gpu/hog.cpp:214:89:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        else if (string(argv[i]) == "--block_stride_height") args.block_stride_height = atoi(argv[++i]);
data/opencv-4.4.0+dfsg2/samples/gpu/hog.cpp:215:71:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        else if (string(argv[i]) == "--cell_width") args.cell_width = atoi(argv[++i]);
data/opencv-4.4.0+dfsg2/samples/gpu/hog.cpp:216:61:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        else if (string(argv[i]) == "--nbins") args.nbins = atoi(argv[++i]);
data/opencv-4.4.0+dfsg2/samples/gpu/hog.cpp:217:75:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        else if (string(argv[i]) == "--gr_threshold") args.gr_threshold = atoi(argv[++i]);
data/opencv-4.4.0+dfsg2/samples/gpu/hog.cpp:224:68:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        else if (string(argv[i]) == "--camera") { args.camera_id = atoi(argv[++i]); args.src_is_camera = true; }
data/opencv-4.4.0+dfsg2/samples/gpu/hog.cpp:338: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).
            vc.open(args.src.c_str());
data/opencv-4.4.0+dfsg2/samples/gpu/hog.cpp:353: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).
            vc.open(args.camera_id);
data/opencv-4.4.0+dfsg2/samples/gpu/hog.cpp:441:34:  [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).
                    video_writer.open(args.dst_video, VideoWriter::fourcc('x','v','i','d'), args.dst_video_fps,
data/opencv-4.4.0+dfsg2/samples/gpu/stereo_match.cpp:132:58:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        else if (string(argv[i]) == "--ndisp") p.ndisp = atoi(argv[++i]);
data/opencv-4.4.0+dfsg2/samples/gpu/super_resolution.cpp:155:24:  [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).
                writer.open(outputVideoName, VideoWriter::fourcc('X', 'V', 'I', 'D'), 25.0, result.size());
data/opencv-4.4.0+dfsg2/samples/gpu/video_writer.cpp:63:25:  [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).
            if (!writer.open("output_cpu.avi", cv::VideoWriter::fourcc('X', 'V', 'I', 'D'), FPS, frame.size()))
data/opencv-4.4.0+dfsg2/samples/opencl/opencl-opencv-interop.cpp:656:19:  [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).
            m_cap.open(m_file_name.c_str());
data/opencv-4.4.0+dfsg2/samples/opencl/opencl-opencv-interop.cpp:662:19:  [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).
            m_cap.open(m_camera_id);
data/opencv-4.4.0+dfsg2/samples/opengl/opengl_interop.cpp:226: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 buf[256+1];
data/opencv-4.4.0+dfsg2/samples/opengl/opengl_interop.cpp:247: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[256+1];
data/opencv-4.4.0+dfsg2/samples/opengl/opengl_interop.cpp:497:13:  [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).
        cap.open(camera_id);
data/opencv-4.4.0+dfsg2/samples/opengl/opengl_interop.cpp:499:13:  [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).
        cap.open(file.c_str());
data/opencv-4.4.0+dfsg2/samples/tapi/bgfg_segm.cpp:48:13:  [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).
        cap.open(0);
data/opencv-4.4.0+dfsg2/samples/tapi/bgfg_segm.cpp:50:13:  [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).
        cap.open(file);
data/opencv-4.4.0+dfsg2/samples/tapi/camshift.cpp:81: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).
    cap.open(camNum);
data/opencv-4.4.0+dfsg2/samples/tapi/clahe.cpp:77:17:  [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).
        capture.open(camid);
data/opencv-4.4.0+dfsg2/samples/tapi/dense_optical_flow.cpp:78:13:  [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).
        cap.open(camera);
data/opencv-4.4.0+dfsg2/samples/tapi/dense_optical_flow.cpp:80:13:  [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).
        cap.open(filename);
data/opencv-4.4.0+dfsg2/samples/tapi/hog.cpp:154: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).
            vc.open(vdo_source.c_str());
data/opencv-4.4.0+dfsg2/samples/tapi/hog.cpp:161: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).
            vc.open(camera_id);
data/opencv-4.4.0+dfsg2/samples/tapi/hog.cpp:232:38:  [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).
                        video_writer.open(output, VideoWriter::fourcc('x','v','i','d'), 24,
data/opencv-4.4.0+dfsg2/samples/tapi/pyrlk_optical_flow.cpp:127:21:  [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).
            capture.open( inputName );
data/opencv-4.4.0+dfsg2/samples/tapi/pyrlk_optical_flow.cpp:129:21:  [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).
            capture.open(vdofile.c_str());
data/opencv-4.4.0+dfsg2/samples/tapi/ufacedetect.cpp:79:21:  [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).
        if(!capture.open(camera))
data/opencv-4.4.0+dfsg2/samples/tapi/ufacedetect.cpp:88:25:  [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).
            if(!capture.open( inputName ))
data/opencv-4.4.0+dfsg2/samples/tapi/ufacedetect.cpp:121: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).
            FILE* f = fopen( inputName.c_str(), "rt" );
data/opencv-4.4.0+dfsg2/samples/tapi/ufacedetect.cpp:124: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 buf[1000+1];
data/opencv-4.4.0+dfsg2/samples/va_intel/va_intel_interop.cpp:52: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 str[256]; \
data/opencv-4.4.0+dfsg2/samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp:84: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(Lena.data, srcPixels->Data, 4*frameWidth*frameHeight);
data/opencv-4.4.0+dfsg2/samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp:176: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(dstPixels, image.data, image.step.buf[1]*image.cols*image.rows);
data/opencv-4.4.0+dfsg2/samples/winrt_universal/PhoneTutorial/MainPage.xaml.cpp:83: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(mat.data, pPixels, 4 * height*width);
data/opencv-4.4.0+dfsg2/samples/winrt_universal/PhoneTutorial/MainPage.xaml.cpp:93: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(pPixels, mat.data, 4 * height*width);
data/opencv-4.4.0+dfsg2/samples/winrt_universal/VideoCaptureXAML/video_capture_xaml/video_capture_xaml.Shared/main.cpp:65:13:  [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).
        cam.open(0);
data/opencv-4.4.0+dfsg2/samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp:80: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(m_backFrame.get()->data, buffer, 4 * height*width);
data/opencv-4.4.0+dfsg2/samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/QuadRenderer.cpp:69: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(mappedData + (i*mappedResource.RowPitch), buffer + (i*nRowSpan), nRowSpan);
data/opencv-4.4.0+dfsg2/samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/CubeRenderer.cpp:70: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(mappedData + (i*mappedResource.RowPitch), buffer + (i*nRowSpan), nRowSpan);
data/opencv-4.4.0+dfsg2/samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp:150: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(Lena.data, buffer->Data, 4 * height*width);
data/opencv-4.4.0+dfsg2/samples/wp8/OpenCVXaml/OpenCVComponent/OpenCVComponent.cpp:54: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(data, (void*) &value, 4);
data/opencv-4.4.0+dfsg2/apps/createsamples/createsamples.cpp:160: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).
            if( i+1 < argc && strlen( argv[i+1] ) > 0 && argv[i+1][0] != '-' )
data/opencv-4.4.0+dfsg2/apps/createsamples/utility.cpp:93: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).
        if( pos == (int) strlen( p ) ) break;
data/opencv-4.4.0+dfsg2/apps/createsamples/utility.cpp:740:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy( &(full[0]), filename, (dir - filename + 1) );
data/opencv-4.4.0+dfsg2/apps/createsamples/utility.cpp:756: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).
            len = (int)strlen( imgfilename );
data/opencv-4.4.0+dfsg2/apps/createsamples/utility.cpp:763:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                datasize += sizeof( char ) * (strlen( &(full[0]) ) + 1);
data/opencv-4.4.0+dfsg2/apps/createsamples/utility.cpp:785: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).
                len = (int)strlen( imgfilename );
data/opencv-4.4.0+dfsg2/apps/createsamples/utility.cpp:793: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).
                    tmp += strlen( &(full[0]) ) + 1;
data/opencv-4.4.0+dfsg2/apps/traincascade/boost.cpp:211:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool CvCascadeBoostParams::read( const FileNode &node )
data/opencv-4.4.0+dfsg2/apps/traincascade/boost.cpp:1000:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void CvCascadeBoostTree::read( const FileNode &node, CvBoost* _ensemble,
data/opencv-4.4.0+dfsg2/apps/traincascade/boost.cpp:1688:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool CvCascadeBoost::read( const FileNode &node,
data/opencv-4.4.0+dfsg2/apps/traincascade/boost.cpp:1705:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        tree->read( *it, this, data );
data/opencv-4.4.0+dfsg2/apps/traincascade/boost.h:17:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bool read( const cv::FileNode &node );
data/opencv-4.4.0+dfsg2/apps/traincascade/boost.h:58:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read( const cv::FileNode &node, CvBoost* _ensemble, CvDTreeTrainData* _data );
data/opencv-4.4.0+dfsg2/apps/traincascade/boost.h:74:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bool read( const cv::FileNode &node, const CvFeatureEvaluator* _featureEvaluator,
data/opencv-4.4.0+dfsg2/apps/traincascade/cascadeclassifier.cpp:40:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool CvCascadeParams::read( const FileNode &node )
data/opencv-4.4.0+dfsg2/apps/traincascade/cascadeclassifier.cpp:383:42:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if ( !node.isMap() || !cascadeParams.read( node ) )
data/opencv-4.4.0+dfsg2/apps/traincascade/cascadeclassifier.cpp:388:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if ( !stageParams->read( rnode ) )
data/opencv-4.4.0+dfsg2/apps/traincascade/cascadeclassifier.cpp:393:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if ( !featureParams->read( rnode ) )
data/opencv-4.4.0+dfsg2/apps/traincascade/cascadeclassifier.cpp:408:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if ( !tempStage->read( *it, featureEvaluator, *stageParams) )
data/opencv-4.4.0+dfsg2/apps/traincascade/cascadeclassifier.cpp:548:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if ( !tempStage->read( node, featureEvaluator, *stageParams ))
data/opencv-4.4.0+dfsg2/apps/traincascade/cascadeclassifier.h:74:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bool read( const cv::FileNode &node );
data/opencv-4.4.0+dfsg2/apps/traincascade/features.cpp:49:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool CvFeatureParams::read( const FileNode &node )
data/opencv-4.4.0+dfsg2/apps/traincascade/haarfeatures.cpp:36:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool CvHaarFeatureParams::read( const FileNode &node )
data/opencv-4.4.0+dfsg2/apps/traincascade/haarfeatures.cpp:38:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if( !CvFeatureParams::read( node ) )
data/opencv-4.4.0+dfsg2/apps/traincascade/haarfeatures.h:22:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual bool read( const cv::FileNode &node );
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml.hpp:148:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual void read( const cv::FileNode& node );
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml.hpp:214:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual void read( const cv::FileNode& node );
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml.hpp:525:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual void read( const cv::FileNode& node );
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml.hpp:803:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual void read( CvFileStorage* fs, CvFileNode* node );
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml.hpp:807:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual void read( CvFileStorage* fs, CvFileNode* node,
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml.hpp:879:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual void read( CvFileStorage* fs, CvFileNode* node, CvRTrees* forest, CvDTreeTrainData* _data );
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml.hpp:889:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual void read( CvFileStorage* fs, CvFileNode* node );
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml.hpp:890:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual void read( CvFileStorage* fs, CvFileNode* node,
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml.hpp:952:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual void read( CvFileStorage* fs, CvFileNode* node );
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml.hpp:1070:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual void read( CvFileStorage* fs, CvFileNode* node,
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml.hpp:1082:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual void read( CvFileStorage* fs, CvFileNode* node );
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml.hpp:1083:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual void read( CvFileStorage* fs, CvFileNode* node,
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml.hpp:1164:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual void read( CvFileStorage* storage, CvFileNode* node );
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml.hpp:1575:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual void read( CvFileStorage* fs, CvFileNode* node );
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml.hpp:1849:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual void read( CvFileStorage* fs, CvFileNode* node );
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml_boost.cpp:879:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void CvBoostTree::read( CvFileStorage* fs, CvFileNode* fnode, CvBoost* _ensemble, CvDTreeTrainData* _data )
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml_boost.cpp:881:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    CvDTree::read( fs, fnode, _data );
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml_boost.cpp:885:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void CvBoostTree::read( CvFileStorage*, CvFileNode* )
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml_boost.cpp:890:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void CvBoostTree::read( CvFileStorage* _fs, CvFileNode* _node,
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml_boost.cpp:893:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    CvDTree::read( _fs, _node, _data );
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml_boost.cpp:1982:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
CvBoost::read( CvFileStorage* fs, CvFileNode* node )
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml_boost.cpp:2016:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        CV_CALL(tree->read( fs, (CvFileNode*)reader.ptr, this, data ));
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml_data.cpp:137:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        for(char *tail = head + strlen(head) - 1; tail >= head; --tail)
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml_data.cpp:306:36:  [1] (buffer) strlen:
  Does not handle 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 ( *stopstring == miss_ch && strlen(stopstring) == 1 ) // missed value
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml_data.cpp:442: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 ( !ord && strlen(cat) == 3 ) // str == "cat"
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml_data.cpp:448: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 ( !cat && strlen(ord) == 3 ) // str == "ord"
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml_inner_functions.cpp:104:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read( fs, model_node );
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml_inner_functions.cpp:117:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void CvStatModel::read( CvFileStorage*, CvFileNode* )
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml_tree.cpp:4111:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void CvDTree::read( CvFileStorage* fs, CvFileNode* fnode )
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml_tree.cpp:4116:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read( fs, fnode, _data );
data/opencv-4.4.0+dfsg2/apps/traincascade/old_ml_tree.cpp:4122:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void CvDTree::read( CvFileStorage* fs, CvFileNode* node, CvDTreeTrainData* _data )
data/opencv-4.4.0+dfsg2/apps/traincascade/traincascade_features.h:54:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual bool read( const cv::FileNode &node ) = 0;
data/opencv-4.4.0+dfsg2/apps/traincascade/traincascade_features.h:69:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual bool read( const cv::FileNode &node );
data/opencv-4.4.0+dfsg2/contrib/modules/bgsegm/src/bgfg_gaussmix.cpp:151:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual void read(const FileNode& fn) CV_OVERRIDE
data/opencv-4.4.0+dfsg2/contrib/modules/bgsegm/src/bgfg_gmg.cpp:155:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual void read(const FileNode& fn) CV_OVERRIDE
data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/src/thread.cpp:166:7:  [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(ms * 1000);
data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/src/video_writer.cpp:844:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(fs["P_Interval"     ], P_Interval, 3);
data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/src/video_writer.cpp:845:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(fs["IDR_Period"     ], IDR_Period, 15);
data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/src/video_writer.cpp:846:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(fs["DynamicGOP"     ], DynamicGOP, 0);
data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/src/video_writer.cpp:847:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(fs["RCType"         ], RCType, 1);
data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/src/video_writer.cpp:848:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(fs["AvgBitrate"     ], AvgBitrate, 4000000);
data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/src/video_writer.cpp:849:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(fs["PeakBitrate"    ], PeakBitrate, 10000000);
data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/src/video_writer.cpp:850:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(fs["QP_Level_Intra" ], QP_Level_Intra, 25);
data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/src/video_writer.cpp:851:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(fs["QP_Level_InterP"], QP_Level_InterP, 28);
data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/src/video_writer.cpp:852:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(fs["QP_Level_InterB"], QP_Level_InterB, 31);
data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/src/video_writer.cpp:853:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(fs["DeblockMode"    ], DeblockMode, 1);
data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/src/video_writer.cpp:854:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(fs["ProfileLevel"   ], ProfileLevel, 65357);
data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/src/video_writer.cpp:855:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(fs["ForceIntra"     ], ForceIntra, 0);
data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/src/video_writer.cpp:856:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(fs["ForceIDR"       ], ForceIDR, 0);
data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/src/video_writer.cpp:857:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(fs["ClearStat"      ], ClearStat, 0);
data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/src/video_writer.cpp:858:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(fs["DIMode"         ], DIMode, 1);
data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/src/video_writer.cpp:859:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(fs["Presets"        ], Presets, 2);
data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/src/video_writer.cpp:860:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(fs["DisableCabac"   ], DisableCabac, 0);
data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/src/video_writer.cpp:861:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(fs["NaluFramingType"], NaluFramingType, 0);
data/opencv-4.4.0+dfsg2/contrib/modules/cudacodec/src/video_writer.cpp:862:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(fs["DisableSPSPPS"  ], DisableSPSPPS, 0);
data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/src/canny.cpp:105:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        void read(const FileNode& fn)
data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/src/hough_circles.cpp:113:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        void read(const FileNode& fn)
data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/src/hough_lines.cpp:107:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        void read(const FileNode& fn)
data/opencv-4.4.0+dfsg2/contrib/modules/cudaimgproc/src/hough_segments.cpp:110:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        void read(const FileNode& fn)
data/opencv-4.4.0+dfsg2/contrib/modules/cudaobjdetect/test/test_objdetect.cpp:91:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        f.read((char*)&rows, sizeof(rows));
data/opencv-4.4.0+dfsg2/contrib/modules/cudaobjdetect/test/test_objdetect.cpp:92:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        f.read((char*)&cols, sizeof(cols));
data/opencv-4.4.0+dfsg2/contrib/modules/cudaobjdetect/test/test_objdetect.cpp:98:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                f.read((char*)&val, sizeof(val));
data/opencv-4.4.0+dfsg2/contrib/modules/cudaobjdetect/test/test_objdetect.cpp:103:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        f.read((char*)&nlocations, sizeof(nlocations));
data/opencv-4.4.0+dfsg2/contrib/modules/cudaobjdetect/test/test_objdetect.cpp:109:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            f.read((char*)&location, sizeof(location));
data/opencv-4.4.0+dfsg2/contrib/modules/cudaoptflow/test/test_optflow.cpp:98:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    f.read((char*) &rows, sizeof(rows));
data/opencv-4.4.0+dfsg2/contrib/modules/cudaoptflow/test/test_optflow.cpp:99:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    f.read((char*) &cols, sizeof(cols));
data/opencv-4.4.0+dfsg2/contrib/modules/cudaoptflow/test/test_optflow.cpp:104:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        f.read(u_gold.ptr<char>(i), u_gold.cols * sizeof(float));
data/opencv-4.4.0+dfsg2/contrib/modules/cudaoptflow/test/test_optflow.cpp:109:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        f.read(v_gold.ptr<char>(i), v_gold.cols * sizeof(float));
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/samples/track_vot.cpp:70:3:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		getchar();
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/samples/track_vot.cpp:97:2:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	getchar();
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/gr_skig.cpp:113:77:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                curr->person = (unsigned char)atoi( file.substr(posPerson + strlen("person_"), 1).c_str() );
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/gr_skig.cpp:114:86:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                curr->background = (backgroundType)atoi( file.substr(posBackground + strlen("backgroud_"), 1).c_str() );
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/gr_skig.cpp:115:92:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                curr->illumination = (illuminationType)atoi( file.substr(posIllumination + strlen("illumination_"), 1).c_str() );
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/gr_skig.cpp:116:68:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                curr->pose = (poseType)atoi( file.substr(posPose + strlen("pose_"), 1).c_str() );
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/gr_skig.cpp:117:70:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                curr->type = (actionType)atoi( file.substr(posType + strlen("actionType_"), 2).c_str() );
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/or_imagenet.cpp:83: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).
    for (unsigned int i=0; i<8-strlen(numberStr); ++i)
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/slam_tumindoor.cpp:120:34:  [1] (buffer) strlen:
  Does not handle 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 (curr->name.substr(0, strlen("dslr_left")) == "dslr_left")
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/slam_tumindoor.cpp:124:34:  [1] (buffer) strlen:
  Does not handle 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 (curr->name.substr(0, strlen("dslr_right")) == "dslr_right")
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tinyxml2/tinyxml2.cpp:105: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).
    size_t len = strlen( str );
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tinyxml2/tinyxml2.cpp:119: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 length = strlen( endTag );
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tinyxml2/tinyxml2.cpp:1700:10:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if ( fgetc( fp ) == EOF && ferror( fp ) != 0 ) {
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tinyxml2/tinyxml2.cpp:1721:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if ( read != size ) {
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/tinyxml2/tinyxml2.cpp:1772: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( p );
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/track_alov.cpp:111: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).
    for (unsigned int i = 0; i < 5 - strlen(videoNum); ++i)
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/track_alov.cpp:119: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).
    for (unsigned int i = 0; i < 8 - strlen(frameNum); ++i)
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/track_alov.cpp:136: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).
    for (unsigned int i = 0; i < 5 - strlen(videoNum); ++i)
data/opencv-4.4.0+dfsg2/contrib/modules/datasets/src/track_vot.cpp:96:46:  [1] (buffer) strlen:
  Does not handle 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 (unsigned int i = 0; i < 8 - strlen(numberStr); ++i)
data/opencv-4.4.0+dfsg2/contrib/modules/dpm/samples/cascade_detect_camera.cpp:105:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while( capture.read(frame) )
data/opencv-4.4.0+dfsg2/contrib/modules/face/include/opencv2/face.hpp:332:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    CV_WRAP virtual void read(const String& filename);
data/opencv-4.4.0+dfsg2/contrib/modules/face/include/opencv2/face.hpp:341:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual void read(const FileNode& fn) CV_OVERRIDE = 0;
data/opencv-4.4.0+dfsg2/contrib/modules/face/include/opencv2/face/facemarkAAM.hpp:60:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        void read(const FileNode& /*fn*/);
data/opencv-4.4.0+dfsg2/contrib/modules/face/include/opencv2/face/facemarkLBF.hpp:91:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        void read(const FileNode& /*fn*/);
data/opencv-4.4.0+dfsg2/contrib/modules/face/include/opencv2/face/facerec.hpp:37:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual void read(const FileNode& fn) CV_OVERRIDE;
data/opencv-4.4.0+dfsg2/contrib/modules/face/include/opencv2/face/facerec.hpp:41:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    using FaceRecognizer::read;
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/face_alignmentimpl.hpp:82:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual void read( const FileNode& ) CV_OVERRIDE {}
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/face_basic.cpp:53:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void BasicFaceRecognizer::read(const FileNode& fs)
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/face_utils.hpp:83:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(const cv::FileNode& node)
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/face_utils.hpp:100:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
inline void read(const cv::FileNode& node, LabelInfo& x, const LabelInfo& default_value = LabelInfo())
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/face_utils.hpp:105:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        x.read(node);
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/facemarkAAM.cpp:65:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void FacemarkAAM::Params::read( const cv::FileNode& fn ){
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/facemarkAAM.cpp:95:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read( const FileNode& /*fn*/ ) CV_OVERRIDE;
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/facemarkAAM.cpp:173:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void FacemarkAAMImpl::read( const cv::FileNode& fn ){
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/facemarkAAM.cpp:174:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    params.read( fn );
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/facemarkLBF.cpp:89:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void FacemarkLBF::Params::read( const cv::FileNode& fn ){
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/facemarkLBF.cpp:105:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read( const FileNode& /*fn*/ ) CV_OVERRIDE;
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/facemarkLBF.cpp:170:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        void read(FileStorage fs, int forestId, int i, int j);
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/facemarkLBF.cpp:193:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        void read(FileStorage fs, int forestId);
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/facemarkLBF.cpp:223:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        void read(FileStorage fs, Params & config);
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/facemarkLBF.cpp:474:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void FacemarkLBFImpl::read( const cv::FileNode& fn ){
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/facemarkLBF.cpp:475:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    params.read( fn );
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/facemarkLBF.cpp:491:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    regressor.read(fs, params);
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/facemarkLBF.cpp:938:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void FacemarkLBFImpl::RandomTree::read(FileStorage fs, int k, int i, int j) {
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/facemarkLBF.cpp:1052:37:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void FacemarkLBFImpl::RandomForest::read(FileStorage fs,int k)
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/facemarkLBF.cpp:1057:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            random_trees[i][j].read(fs,k,i,j);
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/facemarkLBF.cpp:1422:34:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void FacemarkLBFImpl::Regressor::read(FileStorage fs, Params & config){
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/facemarkLBF.cpp:1447:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        random_forests[k].read(fs,k);
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/facerec.cpp:57:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void FaceRecognizer::read(const String &filename)
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/facerec.cpp:62:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    this->read(fs.getFirstTopLevelNode());
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/getlandmarks.cpp:29:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    is.read((char*)&vec.index1, sizeof(vec.index1));
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/getlandmarks.cpp:30:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    is.read((char*)&vec.index2, sizeof(vec.index2));
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/getlandmarks.cpp:31:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    is.read((char*)&vec.thresh, sizeof(vec.thresh));
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/getlandmarks.cpp:33:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    is.read((char*)&dummy_, sizeof(dummy_)); // buggy writer structure alignment
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/getlandmarks.cpp:39:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    is.read((char*)&size, sizeof(size));
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/getlandmarks.cpp:41:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    is.read((char*)&leaf[0], leaf.size() * sizeof(Point2f));
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/getlandmarks.cpp:45:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    is.read((char*)&loaded_pixel_coordinates[(unsigned long)index][0], loaded_pixel_coordinates[(unsigned long)index].size() * sizeof(Point2f));
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/getlandmarks.cpp:60:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    f.read((char*)&len, sizeof(len));
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/getlandmarks.cpp:62:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    f.read(temp, len);
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/getlandmarks.cpp:72:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    f.read((char*)&cascade_size,sizeof(cascade_size));
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/getlandmarks.cpp:74:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    f.read((char*)&len, sizeof(len));
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/getlandmarks.cpp:76:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    f.read(temp, len);
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/getlandmarks.cpp:87:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    f.read((char*)&num_pixels,sizeof(num_pixels));
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/getlandmarks.cpp:92:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    f.read((char*)&len, sizeof(len));
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/getlandmarks.cpp:94:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    f.read(temp, len);
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/getlandmarks.cpp:104:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    f.read((char*)&mean_shape_size,sizeof(mean_shape_size));
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/getlandmarks.cpp:106:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    f.read((char*)&meanshape[0], meanshape.size() * sizeof(Point2f));
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/getlandmarks.cpp:109:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    f.read((char*)&len, sizeof(len));
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/getlandmarks.cpp:111:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    f.read(temp, len);
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/getlandmarks.cpp:121:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    f.read((char*)&num_trees,sizeof(num_trees));
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/getlandmarks.cpp:125:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            f.read((char*)&len, sizeof(len));
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/getlandmarks.cpp:127:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            f.read(temp2, len);
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/getlandmarks.cpp:137:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            f.read((char*)&num_nodes,sizeof(num_nodes));
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/getlandmarks.cpp:140:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                f.read((char*)&len, sizeof(len));
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/getlandmarks.cpp:142:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                f.read(temp3, len);
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/lbph_faces.cpp:49:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    using FaceRecognizer::read;
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/lbph_faces.cpp:98:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(const FileNode& fn) CV_OVERRIDE;
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/lbph_faces.cpp:126:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void LBPH::read(const FileNode& fs) {
data/opencv-4.4.0+dfsg2/contrib/modules/face/src/mace.cpp:253:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(const cv::FileNode &fn) CV_OVERRIDE {
data/opencv-4.4.0+dfsg2/contrib/modules/face/test/test_loadsave.cpp:65:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    model2->read("fr.xml");
data/opencv-4.4.0+dfsg2/contrib/modules/face/test/test_loadsave.cpp:79:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    model2->read("fr.xml");
data/opencv-4.4.0+dfsg2/contrib/modules/img_hash/test/test_radial_variance_hash.cpp:109:16:  [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.
          std::equal(expectResult, expectResult + pixPerLine.total(),
data/opencv-4.4.0+dfsg2/contrib/modules/img_hash/test/test_radial_variance_hash.cpp:135:18:  [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.
            std::equal(expectResult, expectResult + proj.total(),
data/opencv-4.4.0+dfsg2/contrib/modules/julia/src/cv2.cpp:162:128:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    mod.method("jlopencv_cv_cv_VideoCapture_cv_VideoCapture_read", [](cv::VideoCapture &cobj, Mat &image) { auto retval = cobj.read(image);  return make_tuple(move(retval),move(image)); });
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/include/opencv2/line_descriptor/descriptor.hpp:205:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read( const FileNode& fn );
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/include/opencv2/line_descriptor/descriptor.hpp:256:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  virtual void read( const cv::FileNode& fn ) CV_OVERRIDE;
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/src/binary_descriptor.cpp:192:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void BinaryDescriptor::Params::read( const cv::FileNode& fn )
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/src/binary_descriptor.cpp:310:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void BinaryDescriptor::read( const cv::FileNode& fn )
data/opencv-4.4.0+dfsg2/contrib/modules/line_descriptor/src/binary_descriptor.cpp:312:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  params.read( fn );
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/include/opencv2/optflow/sparse_matching_gpc.hpp:180:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  void read( const FileNode &fn ) CV_OVERRIDE;
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/include/opencv2/optflow/sparse_matching_gpc.hpp:281:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  void read( const FileNode &fn ) CV_OVERRIDE
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/include/opencv2/optflow/sparse_matching_gpc.hpp:286:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      tree[i].read( *it );
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/include/opencv2/optflow/sparse_matching_gpc.hpp:369:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
CV_EXPORTS void read( const FileNode &fn, optflow::GPCTree::Node &node, optflow::GPCTree::Node );
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/samples/motempl.cpp:141:36:  [1] (buffer) strlen:
  Does not handle 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 (argc == 1 || (argc == 2 && strlen(argv[1]) == 1 && isdigit(argv[1][0])))
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/src/sparse_matching_gpc.cpp:657:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void GPCTree::read( const FileNode &fn )
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/src/sparse_matching_gpc.cpp:781:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void read( const FileNode &fn, optflow::GPCTree::Node &node, optflow::GPCTree::Node )
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/test/test_tvl1optflow.cpp:84:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        file.read((char*) &tag, sizeof(float));
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/test/test_tvl1optflow.cpp:89:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        file.read((char*) &size.width, sizeof(int));
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/test/test_tvl1optflow.cpp:90:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        file.read((char*) &size.height, sizeof(int));
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/test/test_tvl1optflow.cpp:100:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                file.read((char*) &u.x, sizeof(float));
data/opencv-4.4.0+dfsg2/contrib/modules/optflow/test/test_tvl1optflow.cpp:101:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                file.read((char*) &u.y, sizeof(float));
data/opencv-4.4.0+dfsg2/contrib/modules/ovis/samples/aruco_ar_demo.cpp:54:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    cap.read(img);
data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/include/opencv2/rgbd/linemod.hpp:35:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  void read(const FileNode& fn);
data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/include/opencv2/rgbd/linemod.hpp:48:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  void read(const FileNode& fn);
data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/include/opencv2/rgbd/linemod.hpp:140:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  CV_WRAP virtual void read(const FileNode& fn) =0;
data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/include/opencv2/rgbd/linemod.hpp:188:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  virtual void read(const FileNode& fn) CV_OVERRIDE;
data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/include/opencv2/rgbd/linemod.hpp:229:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  virtual void read(const FileNode& fn) CV_OVERRIDE;
data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/include/opencv2/rgbd/linemod.hpp:385:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  CV_WRAP void read(const FileNode& fn);
data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/samples/linemod.cpp:120:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  detector->read(fs.root());
data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/src/linemod.cpp:36:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void Feature::read(const FileNode& fn)
data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/src/linemod.cpp:102:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void Template::read(const FileNode& fn)
data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/src/linemod.cpp:113:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    features[i].read(*it);
data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/src/linemod.cpp:180:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  modality->read(fn);
data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/src/linemod.cpp:570:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void ColorGradient::read(const FileNode& fn)
data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/src/linemod.cpp:892:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void DepthNormal::read(const FileNode& fn)
data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/src/linemod.cpp:1687:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void Detector::read(const FileNode& fn)
data/opencv-4.4.0+dfsg2/contrib/modules/rgbd/src/linemod.cpp:1759:31:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      tps[template_id][idx++].read(*templ_it);
data/opencv-4.4.0+dfsg2/contrib/modules/saliency/include/opencv2/saliency/saliencySpecializedClasses.hpp:89:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  CV_WRAP void read( const FileNode& fn ) CV_OVERRIDE;
data/opencv-4.4.0+dfsg2/contrib/modules/saliency/include/opencv2/saliency/saliencySpecializedClasses.hpp:311:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  CV_WRAP void read();
data/opencv-4.4.0+dfsg2/contrib/modules/saliency/src/BING/objectnessBING.cpp:456:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void ObjectnessBING::read()
data/opencv-4.4.0+dfsg2/contrib/modules/saliency/src/staticSaliencySpectralResidual.cpp:66:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void StaticSaliencySpectralResidual::read( const cv::FileNode& /*fn*/)
data/opencv-4.4.0+dfsg2/contrib/modules/shape/src/aff_trans.cpp:89:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual void read(const FileNode& fn) CV_OVERRIDE
data/opencv-4.4.0+dfsg2/contrib/modules/shape/src/haus_dis.cpp:86:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual void read(const FileNode& fn) CV_OVERRIDE
data/opencv-4.4.0+dfsg2/contrib/modules/shape/src/hist_cost.cpp:109:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual void read(const FileNode& fn) CV_OVERRIDE
data/opencv-4.4.0+dfsg2/contrib/modules/shape/src/hist_cost.cpp:237:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual void read(const FileNode& fn) CV_OVERRIDE
data/opencv-4.4.0+dfsg2/contrib/modules/shape/src/hist_cost.cpp:365:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual void read(const FileNode& fn) CV_OVERRIDE
data/opencv-4.4.0+dfsg2/contrib/modules/shape/src/hist_cost.cpp:484:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual void read(const FileNode& fn) CV_OVERRIDE
data/opencv-4.4.0+dfsg2/contrib/modules/shape/src/sc_dis.cpp:156:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual void read(const FileNode& fn) CV_OVERRIDE
data/opencv-4.4.0+dfsg2/contrib/modules/shape/src/tps_trans.cpp:91:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual void read(const FileNode& fn) CV_OVERRIDE
data/opencv-4.4.0+dfsg2/contrib/modules/stereo/src/stereo_binary_bm.cpp:480:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            void read(const FileNode& fn) CV_OVERRIDE
data/opencv-4.4.0+dfsg2/contrib/modules/stereo/src/stereo_binary_sgbm.cpp:773:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            void read(const FileNode& fn) CV_OVERRIDE
data/opencv-4.4.0+dfsg2/contrib/modules/surface_matching/include/opencv2/surface_matching/ppf_match_3d.hpp:143:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  void read(const FileNode& fn);
data/opencv-4.4.0+dfsg2/contrib/modules/text/samples/webcam_demo.cpp:135:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        cap.read(frame);
data/opencv-4.4.0+dfsg2/contrib/modules/text/samples/webcam_demo.cpp:325:45:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if ((image_file_name == "") && !cap.read(frame))
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/include/opencv2/tracking/feature.hpp:129:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  virtual bool read( const FileNode &node ) = 0;
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/include/opencv2/tracking/feature.hpp:150:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  virtual bool read( const FileNode &node ) CV_OVERRIDE;
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/include/opencv2/tracking/feature.hpp:207:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  virtual bool read( const FileNode &node ) CV_OVERRIDE;
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:549:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  virtual void read( const FileNode& fn ) CV_OVERRIDE = 0;
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1080:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read( const FileNode& fn );
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1114:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read( const FileNode& fn );
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1157:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read( const FileNode& /*fn*/ );
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1190:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read( const FileNode& /*fn*/ );
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1237:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(const FileNode& /*fn*/);
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1293:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(const FileNode& /*fn*/);
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1492:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(const FileNode& /*fn*/);
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/samples/tracker_dataset.cpp:151:3:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		getchar();
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/feature.cpp:93:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool CvFeatureParams::read( const FileNode &node )
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/feature.cpp:156:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool CvHaarFeatureParams::read( const FileNode &node )
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/feature.cpp:158:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if( !CvFeatureParams::read( node ) )
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/gtrTracker.cpp:50:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void TrackerGOTURN::Params::read(const cv::FileNode& /*fn*/){}
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/gtrTracker.cpp:93:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void TrackerGOTURNImpl::read(const cv::FileNode& fn)
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/gtrTracker.cpp:95:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    params.read(fn);
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/gtrTracker.hpp:67:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(const FileNode& fn) CV_OVERRIDE;
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/mosseTracker.cpp:235:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual void read( const FileNode& ) CV_OVERRIDE {}
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/tldDataset.cpp:155:4:  [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(tldRootPath, "\\");
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/tldDataset.cpp:167:4:  [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(fullPath, "\\");
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/tldDataset.cpp:173:31:  [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.
			else if (frameNum < 10000) strcat(fullPath, "0");
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/tldTracker.cpp:49:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	void TrackerTLD::Params::read(const cv::FileNode& /*fn*/){}
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/tldTracker.cpp:74:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void TrackerTLDImpl::read(const cv::FileNode& fn)
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/tldTracker.cpp:76:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  params.read( fn );
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/tldTracker.hpp:122:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	void read(const FileNode& fn) CV_OVERRIDE;
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerBoosting.cpp:52:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  void read( const FileNode& fn ) CV_OVERRIDE;
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerBoosting.cpp:79:31:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void TrackerBoosting::Params::read( const cv::FileNode& fn )
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerBoosting.cpp:112:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void TrackerBoostingImpl::read( const cv::FileNode& fn )
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerBoosting.cpp:114:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  params.read( fn );
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerCSRT.cpp:31:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(const FileNode& fn) CV_OVERRIDE;
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerCSRT.cpp:92:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void TrackerCSRTImpl::read(const cv::FileNode& fn)
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerCSRT.cpp:94:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    params.read(fn);
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerCSRT.cpp:655:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void TrackerCSRT::Params::read(const FileNode& fn)
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerKCF.cpp:76:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read( const FileNode& /*fn*/ ) CV_OVERRIDE;
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerKCF.cpp:198:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  void TrackerKCFImpl::read( const cv::FileNode& fn ){
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerKCF.cpp:199:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    params.read( fn );
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerKCF.cpp:928:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  void TrackerKCF::Params::read( const cv::FileNode& fn ){
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerMIL.cpp:52:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  void read( const FileNode& fn ) CV_OVERRIDE;
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerMIL.cpp:82:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void TrackerMIL::Params::read( const cv::FileNode& fn )
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerMIL.cpp:120:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void TrackerMILImpl::read( const cv::FileNode& fn )
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerMIL.cpp:122:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  params.read( fn );
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerMedianFlow.cpp:78:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read( const FileNode& fn ) CV_OVERRIDE;
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerMedianFlow.cpp:134:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void TrackerMedianFlowImpl::read( const cv::FileNode& fn )
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerMedianFlow.cpp:136:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    params.read( fn );
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/src/trackerMedianFlow.cpp:410:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void TrackerMedianFlow::Params::read( const cv::FileNode& fn ){
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/test/test_trackerParametersIO.cpp:29:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    readParameters.read(fsReader.root());
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/test/test_trackerParametersIO.cpp:49:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    readParameters.read(fsReader.root());
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/test/test_trackerParametersIO.cpp:87:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    readParameters.read(fsReader.root());
data/opencv-4.4.0+dfsg2/contrib/modules/tracking/test/test_trackerParametersIO.cpp:111:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    readParameters.read(fsReader.root());
data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/samples/seeds.cpp:47:36:  [1] (buffer) strlen:
  Does not handle 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( argc == 1 || (argc == 2 && strlen(argv[1]) == 1 && isdigit(argv[1][0])) )
data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/graphsegmentation.cpp:130:34:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                    virtual void read(const FileNode& fn) CV_OVERRIDE {
data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/src/selectivesearchsegmentation.cpp:704:34:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                    virtual void read(const FileNode& fn) CV_OVERRIDE {
data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_sparse_match_interpolator.cpp:26:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    file.read((char*) &tag, sizeof(float));
data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_sparse_match_interpolator.cpp:32:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    file.read((char*) &width, 4);
data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_sparse_match_interpolator.cpp:33:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    file.read((char*) &height, 4);
data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_sparse_match_interpolator.cpp:42:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            file.read((char*) &u.x, sizeof(float));
data/opencv-4.4.0+dfsg2/contrib/modules/ximgproc/test/test_sparse_match_interpolator.cpp:43:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            file.read((char*) &u.y, sizeof(float));
data/opencv-4.4.0+dfsg2/contrib/modules/xobjdetect/include/opencv2/xobjdetect.hpp:66:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual void read(const FileNode &node) = 0;
data/opencv-4.4.0+dfsg2/contrib/modules/xobjdetect/src/feature_evaluator.cpp:90:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool CvFeatureParams::read( const FileNode &node )
data/opencv-4.4.0+dfsg2/contrib/modules/xobjdetect/src/feature_evaluator.hpp:100:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual bool read( const cv::FileNode &node ) = 0;
data/opencv-4.4.0+dfsg2/contrib/modules/xobjdetect/src/feature_evaluator.hpp:115:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual bool read( const cv::FileNode &node ) CV_OVERRIDE;
data/opencv-4.4.0+dfsg2/contrib/modules/xobjdetect/src/waldboost.cpp:407:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void WaldBoost::read(const FileNode &node)
data/opencv-4.4.0+dfsg2/contrib/modules/xobjdetect/src/waldboost.hpp:76:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(const FileNode &node);
data/opencv-4.4.0+dfsg2/contrib/modules/xobjdetect/src/wbdetector.cpp:92:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void WBDetectorImpl::read(const FileNode& node)
data/opencv-4.4.0+dfsg2/contrib/modules/xobjdetect/src/wbdetector.cpp:94:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    boost_.read(node);
data/opencv-4.4.0+dfsg2/contrib/modules/xobjdetect/src/wbdetector.hpp:57:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual void read(const FileNode &node) CV_OVERRIDE;
data/opencv-4.4.0+dfsg2/contrib/modules/xobjdetect/tools/waldboost_detector/waldboost_detector.cpp:32:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        detector->read(fs.getFirstTopLevelNode());
data/opencv-4.4.0+dfsg2/contrib/modules/xphoto/src/tonemap.cpp:100:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(const FileNode& fn) CV_OVERRIDE
data/opencv-4.4.0+dfsg2/modules/calib3d/src/stereobm.cpp:1358:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(const FileNode& fn) CV_OVERRIDE
data/opencv-4.4.0+dfsg2/modules/calib3d/src/stereosgbm.cpp:2281:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(const FileNode& fn) CV_OVERRIDE
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_cameracalibration.cpp:1372: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 len = strlen(buf);
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_chesscorners_timing.cpp:99:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        std::string imgname; read(*bl_it++, imgname, "dummy.txt");
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_chesscorners_timing.cpp:101:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read(*bl_it++, is_chessboard, 0);
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_chesscorners_timing.cpp:102:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read(*bl_it++, pattern_size.width, -1);
data/opencv-4.4.0+dfsg2/modules/calib3d/test/test_chesscorners_timing.cpp:103:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read(*bl_it++, pattern_size.height, -1);
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core.hpp:2529:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(const FileNode& fn);
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core.hpp:3097:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    CV_WRAP virtual void read(const FileNode& fn) { CV_UNUSED(fn); }
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core.hpp:3114:44:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    template<typename _Tp> static Ptr<_Tp> read(const FileNode& fn)
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core.hpp:3117:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        obj->read(fn);
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core.hpp:3140:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        obj->read(fn);
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core.hpp:3159:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        obj->read(fn);
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/ocl.hpp:498:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    CV_DEPRECATED bool read(const String& buf, const String& buildflags); // removed, use ProgramSource instead
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:722:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
CV_EXPORTS void read(const FileNode& node, int& value, int default_value);
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:723:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
CV_EXPORTS void read(const FileNode& node, float& value, float default_value);
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:724:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
CV_EXPORTS void read(const FileNode& node, double& value, double default_value);
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:725:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
CV_EXPORTS void read(const FileNode& node, std::string& value, const std::string& default_value);
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:726:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
CV_EXPORTS void read(const FileNode& node, Mat& mat, const Mat& default_mat = Mat() );
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:727:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
CV_EXPORTS void read(const FileNode& node, SparseMat& mat, const SparseMat& default_mat = SparseMat() );
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:729:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
CV_EXPORTS void read(const FileNode& node, std::vector<KeyPoint>& keypoints);
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:730:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
CV_EXPORTS void read(const FileNode& node, std::vector<DMatch>& matches);
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:732:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
CV_EXPORTS void read(const FileNode& node, KeyPoint& value, const KeyPoint& default_value);
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:733:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
CV_EXPORTS void read(const FileNode& node, DMatch& value, const DMatch& default_value);
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:735:43:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
template<typename _Tp> static inline void read(const FileNode& node, Point_<_Tp>& value, const Point_<_Tp>& default_value)
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:741:43:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
template<typename _Tp> static inline void read(const FileNode& node, Point3_<_Tp>& value, const Point3_<_Tp>& default_value)
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:748:43:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
template<typename _Tp> static inline void read(const FileNode& node, Size_<_Tp>& value, const Size_<_Tp>& default_value)
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:754:43:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
template<typename _Tp> static inline void read(const FileNode& node, Complex<_Tp>& value, const Complex<_Tp>& default_value)
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:760:43:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
template<typename _Tp> static inline void read(const FileNode& node, Rect_<_Tp>& value, const Rect_<_Tp>& default_value)
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:767:51:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
template<typename _Tp, int cn> static inline void read(const FileNode& node, Vec<_Tp, cn>& value, const Vec<_Tp, cn>& default_value)
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:773:57:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
template<typename _Tp, int m, int n> static inline void read(const FileNode& node, Matx<_Tp, m, n>& value, const Matx<_Tp, m, n>& default_matx = Matx<_Tp, m, n>())
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:776:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(node, temp); // read as a Mat class
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:784:43:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
template<typename _Tp> static inline void read(const FileNode& node, Scalar_<_Tp>& value, const Scalar_<_Tp>& default_value)
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:791:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
static inline void read(const FileNode& node, Range& value, const Range& default_value)
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:794:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(node, temp, default_temp);
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:855:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                read(**it, vec[i], _Tp());
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:1126:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void read(const FileNode& node, bool& value, bool default_value)
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:1129:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(node, temp, (int)default_value);
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:1134:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void read(const FileNode& node, uchar& value, uchar default_value)
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:1137:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(node, temp, (int)default_value);
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:1142:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void read(const FileNode& node, schar& value, schar default_value)
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:1145:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(node, temp, (int)default_value);
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:1150:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void read(const FileNode& node, ushort& value, ushort default_value)
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:1153:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(node, temp, (int)default_value);
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:1158:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void read(const FileNode& node, short& value, short default_value)
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:1161:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(node, temp, (int)default_value);
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:1166:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void read( FileNodeIterator& it, std::vector<_Tp>& vec, size_t maxCount = (size_t)INT_MAX )
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:1173:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
static inline void read(const FileNode& node, _Tp& value, const _Tp& default_value = static_cast<_Tp>(0))
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:1176:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(node, temp, static_cast<int>(default_value));
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:1181:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void read( const FileNode& node, std::vector<_Tp>& vec, const std::vector<_Tp>& default_value = std::vector<_Tp>() )
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:1188:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read( it, vec );
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:1193:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void read( const FileNode& node, std::vector<KeyPoint>& vec, const std::vector<KeyPoint>& default_value )
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:1198:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read(node, vec);
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:1202:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void read( const FileNode& node, std::vector<DMatch>& vec, const std::vector<DMatch>& default_value )
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:1207:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read(node, vec);
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:1256:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read( *it, value, _Tp());
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:1280:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read( n, value, _Tp());
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:1306:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(n, vec);
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/persistence.hpp:1311:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(n, vec);
data/opencv-4.4.0+dfsg2/modules/core/include/opencv2/core/types_c.h:2111:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    CvReadFunc read; /**< reads object from file storage */
data/opencv-4.4.0+dfsg2/modules/core/src/alloc.cpp:144:21:  [1] (free) memalign:
  On some systems (though not Linux-based systems) an attempt to free()
  results from memalign() may fail. This may, on a few systems, be
  exploitable. Also note that memalign() may not check that the boundary
  parameter is correct (CWE-676). Use posix_memalign instead (defined in
  POSIX's 1003.1d). Don't switch to valloc(); it is marked as obsolete in BSD
  4.3, as legacy in SUSv2, and is no longer defined in SUSv3. In some cases,
  malloc()'s alignment may be sufficient.
        void* ptr = memalign(CV_MALLOC_ALIGN, size);
data/opencv-4.4.0+dfsg2/modules/core/src/cuda_info.cpp:200: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).
        const size_t len = strlen(set_as_str);
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:596:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        f.read((char*)&res, sizeof(uint32_t));
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:634:107:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        : fileName_(fileName), sourceSignature_(sourceSignature), sourceSignatureSize_(sourceSignature_ ? strlen(sourceSignature_) : 0)
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:652:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                    f.read(fileSourceSignature.data(), fileSourceSignatureSize);
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:686:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bool read(const std::string& key, std::vector<char>& buf)
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:713:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        f.read((char*)&entryOffsets[0], sizeof(entryOffsets));
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:724:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            f.read((char*)&entry, sizeof(entry));
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:731:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                    f.read(fileKey.data(), entry.keySize);
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:737:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                    f.read(&buf[0], entry.dataSize);
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:803:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        f.read((char*)&entryOffsets[0], sizeof(entryOffsets));
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:814:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            f.read((char*)&entry, sizeof(entry));
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:821:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                    f.read(fileKey.data(), entry.keySize);
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:3413:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                (const unsigned char*)sourceCodeStaticStr, strlen(sourceCodeStaticStr), buildOptions);
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:3642:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                    res = file.read(buildflags, binaryBuf);
data/opencv-4.4.0+dfsg2/modules/core/src/ocl.cpp:4040:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool Program::read(const String& bin, const String& buildflags)
data/opencv-4.4.0+dfsg2/modules/core/src/ocl_deprecated.hpp:564:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            oclpath = oclpath && strlen(oclpath) > 0 ? oclpath :
data/opencv-4.4.0+dfsg2/modules/core/src/opencl/runtime/opencl_core.cpp:73: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).
        if ((strlen(envPath) == sizeof(disabled_str) - 1) &&
data/opencv-4.4.0+dfsg2/modules/core/src/pca.cpp:161:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void PCA::read(const FileNode& fn)
data/opencv-4.4.0+dfsg2/modules/core/src/pca.cpp:166:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    cv::read(fn["vectors"], eigenvectors);
data/opencv-4.4.0+dfsg2/modules/core/src/pca.cpp:167:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    cv::read(fn["values"], eigenvalues);
data/opencv-4.4.0+dfsg2/modules/core/src/pca.cpp:168:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    cv::read(fn["mean"], mean);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:22: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 len1 = strlen(s1);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:23: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 len2 = strlen(s2);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:171: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).
    int i = 0, k = 0, len = dt ? (int)strlen(dt) : 0;
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:592:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                        CV_Assert( strlen(encoding) < 1000 );
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:623:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                            ptr += strlen(substr);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:666:30:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                        if ( fgetc( file ) == end_mark )
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:699: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).
                strbufsize = strlen(strbuf);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:710:49:  [1] (buffer) strlen:
  Does not handle 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(strncmp( bufPtr, yaml_signature, strlen(yaml_signature) ) == 0)
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:712: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).
            else if(strncmp( bufPtr, json_signature, strlen(json_signature) ) == 0)
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:714: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).
            else if(strncmp( bufPtr, xml_signature, strlen(xml_signature) ) == 0)
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:784:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            std::copy(str, str + strlen(str), std::back_inserter(outbuf));
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:845: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).
            int delta = (int)strlen(ptr);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:868: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).
            size_t l = strlen(ptr);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:2252:40:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
Mat FileNode::mat() const { Mat value; read(*this, value, Mat()); return value; }
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:2330: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).
            len = (int)strlen((const char*)value);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:2614:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void read(const FileNode& node, int& val, int default_val)
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:2623:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void read(const FileNode& node, double& val, double default_val)
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:2632:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void read(const FileNode& node, float& val, float default_val)
data/opencv-4.4.0+dfsg2/modules/core/src/persistence.cpp:2641:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void read(const FileNode& node, std::string& val, const std::string& default_val)
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_json.cpp:102: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).
        len = (int)strlen(str);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_json.cpp:144:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            key_len = strlen(key);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_json.cpp:153: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).
            data_len = strlen(data);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_json.cpp:238:36:  [1] (buffer) strlen:
  Does not handle 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 len = static_cast<int>(strlen(comment));
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_json.cpp:263: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).
                len = (int)strlen(comment);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_types.cpp:116:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void read(const FileNode& node, Mat& m, const Mat& default_mat)
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_types.cpp:127:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(node["dt"], dt, std::string());
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_types.cpp:132:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(node["rows"], rows, -1);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_types.cpp:135:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read(node["cols"], cols, -1);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_types.cpp:159:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void read( const FileNode& node, SparseMat& m, const SparseMat& default_mat )
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_types.cpp:168:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(node["dt"], dt, std::string());
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_types.cpp:222:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void read(const FileNode& node, KeyPoint& value, const KeyPoint& default_value)
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_types.cpp:232:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void read(const FileNode& node, DMatch& value, const DMatch& default_value)
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_types.cpp:250:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void read(const FileNode& node, std::vector<KeyPoint>& keypoints)
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_types.cpp:287:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void read(const FileNode& node, std::vector<DMatch>& matches)
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_xml.cpp:66: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).
        len = (int)strlen( key );
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_xml.cpp:163: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).
        len = (int)strlen(str);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_xml.cpp:236: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).
        int len = (int)strlen(data);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_xml.cpp:289: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).
        len = (int)strlen(comment);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_xml.cpp:303: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).
            len = (int)strlen(ptr);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_xml.cpp:328: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).
                    len = (int)strlen(comment);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_yml.cpp:125: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).
        len = (int)strlen(str);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_yml.cpp:202: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).
            keylen = (int)strlen(key);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_yml.cpp:211: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).
            datalen = (int)strlen(data);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_yml.cpp:276: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).
        int len = (int)strlen(comment);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_yml.cpp:301: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).
                len = (int)strlen(comment);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_yml.cpp:366:34:  [1] (buffer) strlen:
  Does not handle 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 l = (int)strlen(ptr);
data/opencv-4.4.0+dfsg2/modules/core/src/persistence_yml.cpp:455:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                const size_t headingLength = strlen(yamlTypeHeading);
data/opencv-4.4.0+dfsg2/modules/core/src/system.cpp:179:53:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                            (UINT32)wcslen(RuntimeClass_Windows_Storage_ApplicationData), &hstrHead, &str)))
data/opencv-4.4.0+dfsg2/modules/core/src/system.cpp:563:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            while ((size_t)read(cpufile, &auxv, size_auxv_t) == size_auxv_t)
data/opencv-4.4.0+dfsg2/modules/core/src/system.cpp:689:34:  [1] (buffer) strlen:
  Does not handle 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 len = strlen(g_hwFeatureNames[i]);
data/opencv-4.4.0+dfsg2/modules/core/src/system.cpp:1939:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
inline T read(const std::string & k, const T & defaultValue)
data/opencv-4.4.0+dfsg2/modules/core/src/system.cpp:1956:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return read<bool>(name, defaultValue);
data/opencv-4.4.0+dfsg2/modules/core/src/system.cpp:1961:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return read<size_t>(name, defaultValue);
data/opencv-4.4.0+dfsg2/modules/core/src/system.cpp:1966:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return read<cv::String>(name, defaultValue ? cv::String(defaultValue) : cv::String());
data/opencv-4.4.0+dfsg2/modules/core/src/system.cpp:1971:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return read<utils::Paths>(name, defaultValue);
data/opencv-4.4.0+dfsg2/modules/core/src/trace.cpp:1082:102:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        __itt_metadata_str_add(domain, region->pImpl->itt_id, (*arg.ppExtra)->ittHandle_name, value, strlen(value));
data/opencv-4.4.0+dfsg2/modules/core/src/utils/filesystem.cpp:212:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    return cv::String(buf.data(), (size_t)strlen(buf.data()));
data/opencv-4.4.0+dfsg2/modules/core/test/ocl/test_arithm.cpp:1023:30:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    UMat um(size, CV_32SC1), umask(size, CV_8UC1, Scalar::all(0));
data/opencv-4.4.0+dfsg2/modules/core/test/ocl/test_arithm.cpp:1030:53:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    OCL_ON(cv::meanStdDev(um, gpu_mean, gpu_stddev, umask));
data/opencv-4.4.0+dfsg2/modules/core/test/ocl/test_opencl.cpp:110:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        f.read(&program_binary_code[0], fileSize);
data/opencv-4.4.0+dfsg2/modules/core/test/test_downhill_simplex.cpp:53:22:  [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.
    ASSERT_TRUE(std::equal(step.begin<double>(),step.end<double>(),settedStep.begin<double>()));
data/opencv-4.4.0+dfsg2/modules/core/test/test_ds.cpp:395:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read( find_param( fs, "struct_count" ), struct_count, struct_count );
data/opencv-4.4.0+dfsg2/modules/core/test/test_ds.cpp:396:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read( find_param( fs, "max_struct_size" ), max_struct_size, max_struct_size );
data/opencv-4.4.0+dfsg2/modules/core/test/test_ds.cpp:397:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read( find_param( fs, "generations" ), generations, generations );
data/opencv-4.4.0+dfsg2/modules/core/test/test_ds.cpp:398:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read( find_param( fs, "iterations" ), iterations, iterations );
data/opencv-4.4.0+dfsg2/modules/core/test/test_ds.cpp:402:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read( find_param( fs, "min_log_storage_block_size" ),
data/opencv-4.4.0+dfsg2/modules/core/test/test_ds.cpp:404:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read( find_param( fs, "max_log_storage_block_size" ),
data/opencv-4.4.0+dfsg2/modules/core/test/test_ds.cpp:406:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read( find_param( fs, "min_log_elem_size" ), min_log_elem_size, min_log_elem_size );
data/opencv-4.4.0+dfsg2/modules/core/test/test_ds.cpp:407:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read( find_param( fs, "max_log_elem_size" ), max_log_elem_size, max_log_elem_size );
data/opencv-4.4.0+dfsg2/modules/core/test/test_io.cpp:332:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
static inline void read(const FileNode& node,
data/opencv-4.4.0+dfsg2/modules/core/test/test_io.cpp:842:30:  [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.
            EXPECT_TRUE(std::equal(rawdata.begin(), rawdata.end(), data_in.begin()));
data/opencv-4.4.0+dfsg2/modules/core/test/test_io.cpp:874:30:  [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.
            EXPECT_TRUE(std::equal(rawdata.begin(), rawdata.end(), data_in.begin()));
data/opencv-4.4.0+dfsg2/modules/core/test/test_mat.cpp:468:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    lPCA.read( fs.root() );
data/opencv-4.4.0+dfsg2/modules/core/test/test_mat.cpp:499: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).
        ptr += strlen(ptr);
data/opencv-4.4.0+dfsg2/modules/dnn/src/cuda4dnn/csl/tensor_ops.hpp:277:28:  [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.
            CV_Assert(std::equal(std::begin(conv_output_dims), std::end(conv_output_dims), std::begin(params.input_shape)));
data/opencv-4.4.0+dfsg2/modules/dnn/src/darknet/darknet_io.cpp:893:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                ifile.read(reinterpret_cast<char *>(&major_ver), sizeof(int32_t));
data/opencv-4.4.0+dfsg2/modules/dnn/src/darknet/darknet_io.cpp:894:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                ifile.read(reinterpret_cast<char *>(&minor_ver), sizeof(int32_t));
data/opencv-4.4.0+dfsg2/modules/dnn/src/darknet/darknet_io.cpp:895:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                ifile.read(reinterpret_cast<char *>(&revision), sizeof(int32_t));
data/opencv-4.4.0+dfsg2/modules/dnn/src/darknet/darknet_io.cpp:899:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                    ifile.read(reinterpret_cast<char *>(&seen), sizeof(uint64_t));
data/opencv-4.4.0+dfsg2/modules/dnn/src/darknet/darknet_io.cpp:903:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                    ifile.read(reinterpret_cast<char *>(&iseen), sizeof(int32_t));
data/opencv-4.4.0+dfsg2/modules/dnn/src/darknet/darknet_io.cpp:965:31:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                        ifile.read(reinterpret_cast<char *>(biasData_mat.ptr<float>()), sizeof(float)*filters);
data/opencv-4.4.0+dfsg2/modules/dnn/src/darknet/darknet_io.cpp:967:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                            ifile.read(reinterpret_cast<char *>(weightsData_mat.ptr<float>()), sizeof(float)*filters);
data/opencv-4.4.0+dfsg2/modules/dnn/src/darknet/darknet_io.cpp:968:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                            ifile.read(reinterpret_cast<char *>(meanData_mat.ptr<float>()), sizeof(float)*filters);
data/opencv-4.4.0+dfsg2/modules/dnn/src/darknet/darknet_io.cpp:969:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                            ifile.read(reinterpret_cast<char *>(stdData_mat.ptr<float>()), sizeof(float)*filters);
data/opencv-4.4.0+dfsg2/modules/dnn/src/darknet/darknet_io.cpp:971:31:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                        ifile.read(reinterpret_cast<char *>(weightsBlob.ptr<float>()), sizeof(float)*weights_size);
data/opencv-4.4.0+dfsg2/modules/dnn/src/dnn.cpp:533:10:  [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.
    bool equal(const LayerPin &r) const
data/opencv-4.4.0+dfsg2/modules/dnn/src/dnn.cpp:1533:51:  [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 (storedFrom.valid() && !storedFrom.equal(from))
data/opencv-4.4.0+dfsg2/modules/dnn/src/torch/THDiskFile.cpp:62:17:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        int c = fgetc(dfself->handle);                                  \
data/opencv-4.4.0+dfsg2/modules/dnn/src/torch/THDiskFile.cpp:82:6:  [1] (buffer) strlen:
  Does not handle 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(mode) == 1)
data/opencv-4.4.0+dfsg2/modules/dnn/src/torch/THDiskFile.cpp:95: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).
  else if(strlen(mode) == 2)
data/opencv-4.4.0+dfsg2/modules/dnn/src/torch/THDiskFile.cpp:344:15:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      int c = fgetc(dfself->handle);
data/opencv-4.4.0+dfsg2/modules/dnn/src/torch/THDiskFile.cpp:366: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).
  THArgCheck((strlen(format) >= 2 ? (format[0] == '*') && (format[1] == 'a' || format[1] == 'l') : 0), 2, "format must be '*a' or '*l'");
data/opencv-4.4.0+dfsg2/modules/dnn/src/torch/THDiskFile.cpp:436: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).
      size = strlen(p+pos);
data/opencv-4.4.0+dfsg2/modules/dnn/src/torch/THFile.cpp:10:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return (*self->vtable->read##TYPEC)(self, data, n);           \
data/opencv-4.4.0+dfsg2/modules/dnn/src/torch/torch_importer.cpp:104: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 str.rfind(substr) == str.length() - strlen(substr);
data/opencv-4.4.0+dfsg2/modules/dnn/src/torch/torch_importer.cpp:217:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
           String typeStr = str.substr(strlen(prefix), str.length() - strlen(prefix) - strlen(suffix));
data/opencv-4.4.0+dfsg2/modules/dnn/src/torch/torch_importer.cpp:217:71:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
           String typeStr = str.substr(strlen(prefix), str.length() - strlen(prefix) - strlen(suffix));
data/opencv-4.4.0+dfsg2/modules/dnn/src/torch/torch_importer.cpp:217:88:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
           String typeStr = str.substr(strlen(prefix), str.length() - strlen(prefix) - strlen(suffix));
data/opencv-4.4.0+dfsg2/modules/dnn/src/torch/torch_importer.cpp:453:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                nnName = className.substr(strlen(prefixes[i]));
data/opencv-4.4.0+dfsg2/modules/dnn/test/npy_blob.cpp:70:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ifs.read(&magic[0], magic.size());
data/opencv-4.4.0+dfsg2/modules/dnn/test/npy_blob.cpp:77:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ifs.read((char*)&headerSize, sizeof(headerSize));
data/opencv-4.4.0+dfsg2/modules/dnn/test/npy_blob.cpp:80:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ifs.read(&header[0], header.size());
data/opencv-4.4.0+dfsg2/modules/dnn/test/npy_blob.cpp:88:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ifs.read((char*)blob.data, blob.total() * blob.elemSize());
data/opencv-4.4.0+dfsg2/modules/dnn/test/test_common.impl.hpp:192:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ifs.read((char*)content.data(), sz);
data/opencv-4.4.0+dfsg2/modules/features2d/include/opencv2/features2d.hpp:217:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    CV_WRAP void read( const String& fileName );
data/opencv-4.4.0+dfsg2/modules/features2d/include/opencv2/features2d.hpp:222:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    CV_WRAP virtual void read( const FileNode&) CV_OVERRIDE;
data/opencv-4.4.0+dfsg2/modules/features2d/include/opencv2/features2d.hpp:688:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      void read( const FileNode& fn );
data/opencv-4.4.0+dfsg2/modules/features2d/include/opencv2/features2d.hpp:1057:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    CV_WRAP void read( const String& fileName )
data/opencv-4.4.0+dfsg2/modules/features2d/include/opencv2/features2d.hpp:1060:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read(fs.root());
data/opencv-4.4.0+dfsg2/modules/features2d/include/opencv2/features2d.hpp:1064:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    CV_WRAP virtual void read( const FileNode& ) CV_OVERRIDE;
data/opencv-4.4.0+dfsg2/modules/features2d/include/opencv2/features2d.hpp:1205:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual void read( const FileNode& ) CV_OVERRIDE;
data/opencv-4.4.0+dfsg2/modules/features2d/src/akaze.cpp:219:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        void read(const FileNode& fn) CV_OVERRIDE
data/opencv-4.4.0+dfsg2/modules/features2d/src/blobdetector.cpp:63:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  virtual void read( const FileNode& fn ) CV_OVERRIDE;
data/opencv-4.4.0+dfsg2/modules/features2d/src/blobdetector.cpp:113:34:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void SimpleBlobDetector::Params::read(const cv::FileNode& fn )
data/opencv-4.4.0+dfsg2/modules/features2d/src/blobdetector.cpp:176:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void SimpleBlobDetectorImpl::read( const cv::FileNode& fn )
data/opencv-4.4.0+dfsg2/modules/features2d/src/blobdetector.cpp:178:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    params.read(fn);
data/opencv-4.4.0+dfsg2/modules/features2d/src/feature2d.cpp:183:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void Feature2D::read( const String& fileName )
data/opencv-4.4.0+dfsg2/modules/features2d/src/feature2d.cpp:186:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(fs.root());
data/opencv-4.4.0+dfsg2/modules/features2d/src/feature2d.cpp:193:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void Feature2D::read( const FileNode&)
data/opencv-4.4.0+dfsg2/modules/features2d/src/kaze.cpp:174:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        void read(const FileNode& fn) CV_OVERRIDE
data/opencv-4.4.0+dfsg2/modules/features2d/src/matchers.cpp:680:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void DescriptorMatcher::read( const FileNode& )
data/opencv-4.4.0+dfsg2/modules/features2d/src/matchers.cpp:1180:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void FlannBasedMatcher::read( const FileNode& fn)
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_agast.cpp:117:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read( fs["exp_kps1"], exp_kps1, Mat() );
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_agast.cpp:118:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read( fs["exp_kps2"], exp_kps2, Mat() );
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_descriptors_regression.impl.hpp:202:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            read(fs.getFirstTopLevelNode(), keypoints);
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_detectors_regression.impl.hpp:156:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read( fs["keypoints"], validKeypoints );
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_fast.cpp:117:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read( fs["exp_kps1"], exp_kps1, Mat() );
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_fast.cpp:118:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read( fs["exp_kps2"], exp_kps2, Mat() );
data/opencv-4.4.0+dfsg2/modules/features2d/test/test_matchers_algorithmic.cpp:591:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    matcher->read(fs_in.root());
data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/own/scalar.hpp:40:17:  [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 std::equal(std::begin(lhs.val), std::end(lhs.val), std::begin(rhs.val));
data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/streaming/cap.hpp:65:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if (!cap.read(tmp))
data/opencv-4.4.0+dfsg2/modules/gapi/include/opencv2/gapi/streaming/cap.hpp:89:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if (!cap.read(frame))
data/opencv-4.4.0+dfsg2/modules/gapi/samples/api_example.cpp:26:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    CV_Assert(cap.read(input_frame));
data/opencv-4.4.0+dfsg2/modules/gapi/samples/api_example.cpp:31:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    } while (cap.read(input_frame) && cv::waitKey(30) < 0);
data/opencv-4.4.0+dfsg2/modules/gapi/samples/privacy_masking_camera.cpp:194:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        } while (cap.read(in_frame));
data/opencv-4.4.0+dfsg2/modules/gapi/src/api/gcomputation.cpp:114:17:  [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 std::equal(metas1.cbegin(), metas1.cend(), metas2.cbegin(),
data/opencv-4.4.0+dfsg2/modules/gapi/src/api/gproto.cpp:183:17:  [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.
           std::equal(metas.begin(), metas.end(), args.begin(),
data/opencv-4.4.0+dfsg2/modules/highgui/src/window_QT.cpp:374:17:  [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(1000);
data/opencv-4.4.0+dfsg2/modules/highgui/src/window_gtk.cpp:1595: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).
        patterns += strlen(patterns) + 1;
data/opencv-4.4.0+dfsg2/modules/highgui/src/window_w32.cpp:400: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).
        rootKey[strlen(rootKey)-1] = '\0';
data/opencv-4.4.0+dfsg2/modules/highgui/src/window_w32.cpp:899: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(name);
data/opencv-4.4.0+dfsg2/modules/highgui/src/window_w32.cpp:1831: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).
        name_len = (int)strlen(trackbar->name);
data/opencv-4.4.0+dfsg2/modules/highgui/src/window_w32.cpp:1846: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).
        sprintf( pos_text + strlen(pos_text), "%s: %d\n", suffix, pos );
data/opencv-4.4.0+dfsg2/modules/highgui/src/window_w32.cpp:2117: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).
        int len = (int)strlen( trackbar_name );
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/exif.cpp:135:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        m_stream.read( reinterpret_cast<char*>(appMarker), markerSize );
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/exif.cpp:176:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                m_stream.read( reinterpret_cast<char*>(&m_data[0]), exifSize - offsetToTiffHeader );
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/exif.cpp:205:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    m_stream.read( reinterpret_cast<char*>(fieldSize), 2 );
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_bmp.cpp:550: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).
    strm.putBytes( fmtSignBmp, (int)strlen(fmtSignBmp) );
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_pam.cpp:699:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    strm.putBytes( buffer, (int)strlen(buffer) );
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_sunras.cpp:413: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).
        strm.putBytes( fmtSignSunRas, (int)strlen(fmtSignSunRas) );
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_tiff.cpp:166:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    static tmsize_t read( thandle_t handle, void* buffer, tmsize_t n )
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_tiff.cpp:247:108:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            tif = TIFFClientOpen( "", "r", reinterpret_cast<thandle_t>(buf_helper), &TiffDecoderBufHelper::read,
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_tiff.cpp:721:99:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        return TIFFClientOpen( "", "w", reinterpret_cast<thandle_t>(this), &TiffEncoderBufHelper::read,
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_tiff.cpp:727:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    static tmsize_t read( thandle_t /*handle*/, void* /*buffer*/, tmsize_t /*n*/ )
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_webp.cpp:116:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        fs.read((char*)header, sizeof(header));
data/opencv-4.4.0+dfsg2/modules/imgcodecs/src/grfmt_webp.cpp:160:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        fs.read((char*)data.ptr(), fs_size);
data/opencv-4.4.0+dfsg2/modules/imgcodecs/test/test_grfmt.cpp:273:20:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ASSERT_EQ('P', getc(f));
data/opencv-4.4.0+dfsg2/modules/imgcodecs/test/test_grfmt.cpp:274:39:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ASSERT_EQ('1' + (binary ? 3 : 0), getc(f));
data/opencv-4.4.0+dfsg2/modules/imgcodecs/test/test_read_write.cpp:77:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ifs.read((char*)content.data(), sz);
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_contours.cpp:136:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read( find_param( fs, "min_blob_size" ), min_blob_size, min_blob_size );
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_contours.cpp:137:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read( find_param( fs, "max_blob_size" ), max_blob_size, max_blob_size );
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_contours.cpp:138:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read( find_param( fs, "max_log_blob_count" ), max_log_blob_count, max_log_blob_count );
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_contours.cpp:139:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read( find_param( fs, "min_log_img_width" ), min_log_img_width, min_log_img_width );
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_contours.cpp:140:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read( find_param( fs, "max_log_img_width" ), max_log_img_width, max_log_img_width );
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_contours.cpp:141:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read( find_param( fs, "min_log_img_height"), min_log_img_height, min_log_img_height );
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_contours.cpp:142:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read( find_param( fs, "max_log_img_height"), max_log_img_height, max_log_img_height );
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_convhull.cpp:263:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read( find_param( fs, "struct_count" ), test_case_count, test_case_count );
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_convhull.cpp:264:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read( find_param( fs, "min_log_size" ), min_log_size, min_log_size );
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_convhull.cpp:265:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read( find_param( fs, "max_log_size" ), max_log_size, max_log_size );
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_cvtyuv.cpp:22:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual YUV read(const Mat& yuv, int row, int col) = 0;
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_cvtyuv.cpp:36:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual RGB read(const Mat& rgb, int row, int col) = 0;
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_cvtyuv.cpp:177:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    YUV read(const Mat& yuv, int row, int col)
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_cvtyuv.cpp:190:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    YUV read(const Mat& yuv, int row, int col)
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_cvtyuv.cpp:202:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    YUV read(const Mat& yuv, int row, int col)
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_cvtyuv.cpp:215:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    YUV read(const Mat& yuv, int row, int col)
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_cvtyuv.cpp:228:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    YUV read(const Mat& yuv, int row, int col)
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_cvtyuv.cpp:240:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    YUV read(const Mat& yuv, int row, int col)
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_cvtyuv.cpp:252:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    YUV read(const Mat& yuv, int row, int col)
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_cvtyuv.cpp:264:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    YUV read(const Mat& yuv, int row, int col)
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_cvtyuv.cpp:277:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    RGB read(const Mat& rgb, int row, int col)
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_cvtyuv.cpp:287:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    RGB read(const Mat& rgb, int row, int col)
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_cvtyuv.cpp:298:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    RGB read(const Mat& rgb, int row, int col)
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_cvtyuv.cpp:309:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    RGB read(const Mat& rgb, int row, int col)
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_cvtyuv.cpp:525:68:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            rgbWriter->write(rgb, row, col, cvt.convert(yuvReader->read(yuv, row, col)));
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_cvtyuv.cpp:535:69:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            grayWriter->write(rgb, row, col, cvt.convert(yuvReader->read(yuv, row, col)));
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_cvtyuv.cpp:545:68:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            yuvWriter->write(yuv, row, col, cvt.convert(rgbReader->read(rgb, row, col)));
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_filter.cpp:92:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read( find_param( fs, "max_aperture_size" ), max_aperture_size, max_aperture_size );
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_filter.cpp:1318:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read( find_param( fs, "max_aperture_size" ), max_aperture_size, max_aperture_size );
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_filter.cpp:1320:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read( find_param( fs, "max_block_size" ), max_block_size, max_block_size );
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_histograms.cpp:124:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read( find_param( fs, "struct_count" ), test_case_count, test_case_count );
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_histograms.cpp:125:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read( find_param( fs, "max_log_size" ), max_log_size, max_log_size );
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_histograms.cpp:127:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read( find_param( fs, "max_log_array_size" ), img_max_log_size, img_max_log_size );
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_histograms.cpp:130:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read( find_param( fs, "max_cdims" ), max_cdims, max_cdims );
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_houghcircles.cpp:149:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read(fs[test_case_name], exp_circles, vector<CircleType>());
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_houghlines.cpp:213:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(fs[test_case_name], exp_lines_, Mat());
data/opencv-4.4.0+dfsg2/modules/imgproc/test/test_templmatch.cpp:84:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read( find_param( fs, "max_template_size" ), max_template_size, max_template_size );
data/opencv-4.4.0+dfsg2/modules/ml/src/ann_mlp.cpp:1446:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read( const FileNode& fn ) CV_OVERRIDE
data/opencv-4.4.0+dfsg2/modules/ml/src/ann_mlp.cpp:1527:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ((ANN_MLPImpl*)ann.get())->read(fs.getFirstTopLevelNode());
data/opencv-4.4.0+dfsg2/modules/ml/src/boost.cpp:428:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read( const FileNode& fn ) CV_OVERRIDE
data/opencv-4.4.0+dfsg2/modules/ml/src/boost.cpp:501:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read( const FileNode& fn ) CV_OVERRIDE
data/opencv-4.4.0+dfsg2/modules/ml/src/boost.cpp:503:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        impl.read(fn);
data/opencv-4.4.0+dfsg2/modules/ml/src/data.cpp:544: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).
            int idx = (int)strlen(buf)-1;
data/opencv-4.4.0+dfsg2/modules/ml/src/data.cpp:680: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).
        if( *stopstring == missch && strlen(stopstring) == 1 ) // missed value
data/opencv-4.4.0+dfsg2/modules/ml/src/em.cpp:802:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(const FileNode& fn) CV_OVERRIDE
data/opencv-4.4.0+dfsg2/modules/ml/src/gbt.cpp:1142:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void CvGBTrees::read( CvFileStorage* fs, CvFileNode* node )
data/opencv-4.4.0+dfsg2/modules/ml/src/gbt.cpp:1188:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            CV_CALL(tree->read( fs, (CvFileNode*)reader.ptr, data ));
data/opencv-4.4.0+dfsg2/modules/ml/src/knearest.cpp:110:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read( const FileNode& fn )
data/opencv-4.4.0+dfsg2/modules/ml/src/knearest.cpp:474:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read( const FileNode& fn ) CV_OVERRIDE
data/opencv-4.4.0+dfsg2/modules/ml/src/knearest.cpp:480:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        impl->read(fn);
data/opencv-4.4.0+dfsg2/modules/ml/src/knearest.cpp:527:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ((KNearestImpl*)knearest.get())->read(fs.getFirstTopLevelNode());
data/opencv-4.4.0+dfsg2/modules/ml/src/lr.cpp:108:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual void read(const FileNode& fn) CV_OVERRIDE;
data/opencv-4.4.0+dfsg2/modules/ml/src/lr.cpp:617:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void LogisticRegressionImpl::read(const FileNode& fn)
data/opencv-4.4.0+dfsg2/modules/ml/src/nbayes.cpp:384:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read( const FileNode& fn ) CV_OVERRIDE
data/opencv-4.4.0+dfsg2/modules/ml/src/precomp.hpp:358:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        virtual void read( const FileNode& fn ) CV_OVERRIDE;
data/opencv-4.4.0+dfsg2/modules/ml/src/rtrees.cpp:344:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read( const FileNode& fn ) CV_OVERRIDE
data/opencv-4.4.0+dfsg2/modules/ml/src/rtrees.cpp:487:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read( const FileNode& fn ) CV_OVERRIDE
data/opencv-4.4.0+dfsg2/modules/ml/src/rtrees.cpp:490:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        impl.read(fn);
data/opencv-4.4.0+dfsg2/modules/ml/src/svm.cpp:2249:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read( const FileNode& fn ) CV_OVERRIDE
data/opencv-4.4.0+dfsg2/modules/ml/src/svm.cpp:2355:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ((SVMImpl*)svm.get())->read(fs.getFirstTopLevelNode());
data/opencv-4.4.0+dfsg2/modules/ml/src/svmsgd.cpp:80:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual void read(const FileNode &fn) CV_OVERRIDE;
data/opencv-4.4.0+dfsg2/modules/ml/src/svmsgd.cpp:472:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void SVMSGDImpl::read(const FileNode& fn)
data/opencv-4.4.0+dfsg2/modules/ml/src/tree.cpp:1934:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void DTreesImpl::read( const FileNode& fn )
data/opencv-4.4.0+dfsg2/modules/ml/test/test_ann.cpp:146:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        x->read(fs.root());
data/opencv-4.4.0+dfsg2/modules/ml/test/test_mltests.cpp:297:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            f1.read(&buf1[0], BUFSZ);
data/opencv-4.4.0+dfsg2/modules/ml/test/test_mltests.cpp:298:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            f2.read(&buf2[0], BUFSZ);
data/opencv-4.4.0+dfsg2/modules/objdetect/include/opencv2/objdetect.hpp:248:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    CV_WRAP bool read( const FileNode& node );
data/opencv-4.4.0+dfsg2/modules/objdetect/include/opencv2/objdetect.hpp:458:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual bool read(FileNode& fn);
data/opencv-4.4.0+dfsg2/modules/objdetect/src/cascadedetect.cpp:398:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool FeatureEvaluator::read(const FileNode&, Size _origWinSize)
data/opencv-4.4.0+dfsg2/modules/objdetect/src/cascadedetect.cpp:543:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool HaarEvaluator::Feature::read(const FileNode& node, const Size& origWinSize)
data/opencv-4.4.0+dfsg2/modules/objdetect/src/cascadedetect.cpp:595:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool HaarEvaluator::read(const FileNode& node, Size _origWinSize)
data/opencv-4.4.0+dfsg2/modules/objdetect/src/cascadedetect.cpp:597:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (!FeatureEvaluator::read(node, _origWinSize))
data/opencv-4.4.0+dfsg2/modules/objdetect/src/cascadedetect.cpp:616:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if(!ff[i].read(*it, _origWinSize))
data/opencv-4.4.0+dfsg2/modules/objdetect/src/cascadedetect.cpp:777:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool LBPEvaluator::Feature::read(const FileNode& node, const Size& origWinSize)
data/opencv-4.4.0+dfsg2/modules/objdetect/src/cascadedetect.cpp:811:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool LBPEvaluator::read( const FileNode& node, Size _origWinSize )
data/opencv-4.4.0+dfsg2/modules/objdetect/src/cascadedetect.cpp:813:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (!FeatureEvaluator::read(node, _origWinSize))
data/opencv-4.4.0+dfsg2/modules/objdetect/src/cascadedetect.cpp:828:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if(!ff[i].read(*it, _origWinSize))
data/opencv-4.4.0+dfsg2/modules/objdetect/src/cascadedetect.cpp:963:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void CascadeClassifierImpl::read(const FileNode& node)
data/opencv-4.4.0+dfsg2/modules/objdetect/src/cascadedetect.cpp:1446:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool CascadeClassifierImpl::Data::read(const FileNode &root)
data/opencv-4.4.0+dfsg2/modules/objdetect/src/cascadedetect.cpp:1593:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if( !data.read(root) )
data/opencv-4.4.0+dfsg2/modules/objdetect/src/cascadedetect.cpp:1602:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return featureEvaluator->read(fn, data.origWinSize);
data/opencv-4.4.0+dfsg2/modules/objdetect/src/cascadedetect.cpp:1632:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool CascadeClassifier::read(const FileNode &root)
data/opencv-4.4.0+dfsg2/modules/objdetect/src/cascadedetect.hpp:37:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual bool read(const FileNode& node, Size origWinSize);
data/opencv-4.4.0+dfsg2/modules/objdetect/src/cascadedetect.hpp:85:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read( const FileNode& node ) CV_OVERRIDE;
data/opencv-4.4.0+dfsg2/modules/objdetect/src/cascadedetect.hpp:199:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        bool read(const FileNode &node);
data/opencv-4.4.0+dfsg2/modules/objdetect/src/cascadedetect.hpp:320:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        bool read(const FileNode& node, const Size& origWinSize);
data/opencv-4.4.0+dfsg2/modules/objdetect/src/cascadedetect.hpp:347:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual bool read( const FileNode& node, Size origWinSize) CV_OVERRIDE;
data/opencv-4.4.0+dfsg2/modules/objdetect/src/cascadedetect.hpp:415:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        bool read(const FileNode& node, const Size& origWinSize);
data/opencv-4.4.0+dfsg2/modules/objdetect/src/cascadedetect.hpp:432:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual bool read( const FileNode& node, Size origWinSize ) CV_OVERRIDE;
data/opencv-4.4.0+dfsg2/modules/objdetect/src/hog.cpp:143:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool HOGDescriptor::read(FileNode& obj)
data/opencv-4.4.0+dfsg2/modules/objdetect/src/hog.cpp:206:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return read(obj);
data/opencv-4.4.0+dfsg2/modules/objdetect/test/test_cascadeandhog.cpp:517:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ASSERT_NO_THROW(hog.read(n));
data/opencv-4.4.0+dfsg2/modules/objdetect/test/test_cascadeandhog.cpp:1051:15:  [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 (!std::equal(hits.begin(), hits.end(),
data/opencv-4.4.0+dfsg2/modules/photo/src/align.cpp:202:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(const FileNode& fn) CV_OVERRIDE
data/opencv-4.4.0+dfsg2/modules/photo/src/calibrate.cpp:179:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(const FileNode& fn) CV_OVERRIDE
data/opencv-4.4.0+dfsg2/modules/photo/src/calibrate.cpp:291:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(const FileNode& fn) CV_OVERRIDE
data/opencv-4.4.0+dfsg2/modules/photo/src/merge.cpp:283:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(const FileNode& fn) CV_OVERRIDE
data/opencv-4.4.0+dfsg2/modules/photo/src/tonemap.cpp:94:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(const FileNode& fn) CV_OVERRIDE
data/opencv-4.4.0+dfsg2/modules/photo/src/tonemap.cpp:178:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(const FileNode& fn) CV_OVERRIDE
data/opencv-4.4.0+dfsg2/modules/photo/src/tonemap.cpp:275:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(const FileNode& fn) CV_OVERRIDE
data/opencv-4.4.0+dfsg2/modules/photo/src/tonemap.cpp:387:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(const FileNode& fn) CV_OVERRIDE
data/opencv-4.4.0+dfsg2/modules/ts/include/opencv2/ts/ts_gtest.h:3858:10:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  return strncpy(dest, src, n);
data/opencv-4.4.0+dfsg2/modules/ts/include/opencv2/ts/ts_gtest.h:3880:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return static_cast<int>(read(fd, buf, count));
data/opencv-4.4.0+dfsg2/modules/ts/include/opencv2/ts/ts_gtest.h:4774: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).
  if (s.compare(0, strlen(prefix), prefix) == 0) {
data/opencv-4.4.0+dfsg2/modules/ts/include/opencv2/ts/ts_gtest.h:4775:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    std::string::size_type end = s.find("::", strlen(prefix));
data/opencv-4.4.0+dfsg2/modules/ts/include/opencv2/ts/ts_gtest.h:4778: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).
      s.erase(strlen("std"), end - strlen("std"));
data/opencv-4.4.0+dfsg2/modules/ts/include/opencv2/ts/ts_gtest.h:4778:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      s.erase(strlen("std"), end - strlen("std"));
data/opencv-4.4.0+dfsg2/modules/ts/src/ts.cpp:231: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).
    if( str && strlen(str) == 16 )
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_arrtest.cpp:89:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read( find_param( fs, "min_log_array_size" ), min_log_array_size, min_log_array_size );
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_arrtest.cpp:90:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read( find_param( fs, "max_log_array_size" ), max_log_array_size, max_log_array_size );
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_arrtest.cpp:91:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read( find_param( fs, "test_case_count" ), test_case_count, test_case_count );
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:2378: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).
  const int length = strlen(ansi);
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:3344:34:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    num_chars = static_cast<int>(wcslen(str));
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:5145: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).
      segment = next_segment + strlen("]]>");
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:5730: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).
  result.reserve(strlen(str) + 1);
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:7055: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).
  const size_t prefix_len = strlen(prefix);
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:7473: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).
  else if (temp_dir[strlen(temp_dir) - 1] == '\\')
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:10105:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t full_regex_len = strlen(regex) + 10;
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:10359: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).
  const size_t len = strlen(regex);
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:11098: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).
    PrintCharsAsStringTo(s, strlen(s), os);
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_gtest.cpp:11115:34:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    PrintCharsAsStringTo(s, std::wcslen(s), os);
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_perf.cpp:209: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).
        int len = (int)strlen(data_path_dir)-1;
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_perf.cpp:1468:25:  [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(perf_validation_idle_delay_ms * 1000);
data/opencv-4.4.0+dfsg2/modules/ts/src/ts_perf.cpp:1964: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).
        int len = (int)strlen(data_path_dir) - 1;
data/opencv-4.4.0+dfsg2/modules/video/src/bgfg_KNN.cpp:263:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual void read(const FileNode& fn) CV_OVERRIDE
data/opencv-4.4.0+dfsg2/modules/video/src/bgfg_gaussmix2.cpp:305:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    virtual void read(const FileNode& fn) CV_OVERRIDE
data/opencv-4.4.0+dfsg2/modules/video/src/optical_flow_io.cpp:58:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    file.read((char*) &tag, sizeof(float));
data/opencv-4.4.0+dfsg2/modules/video/src/optical_flow_io.cpp:64:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    file.read((char*) &width, 4);
data/opencv-4.4.0+dfsg2/modules/video/src/optical_flow_io.cpp:65:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    file.read((char*) &height, 4);
data/opencv-4.4.0+dfsg2/modules/video/src/optical_flow_io.cpp:74:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            file.read((char*) &u.x, sizeof(float));
data/opencv-4.4.0+dfsg2/modules/video/src/optical_flow_io.cpp:75:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            file.read((char*) &u.y, sizeof(float));
data/opencv-4.4.0+dfsg2/modules/video/test/test_camshift.cpp:100:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read( find_param( fs, "test_case_count" ), test_case_count, test_case_count );
data/opencv-4.4.0+dfsg2/modules/video/test/test_camshift.cpp:101:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read( find_param( fs, "min_log_size" ), min_log_size, min_log_size );
data/opencv-4.4.0+dfsg2/modules/video/test/test_camshift.cpp:102:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read( find_param( fs, "max_log_size" ), max_log_size, max_log_size );
data/opencv-4.4.0+dfsg2/modules/videoio/include/opencv2/videoio.hpp:768:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    CV_WRAP virtual bool read(OutputArray image);
data/opencv-4.4.0+dfsg2/modules/videoio/perf/perf_camera.impl.hpp:45:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        EXPECT_TRUE(cap.read(firstFrame));
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap.cpp:336:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool VideoCapture::read(OutputArray image)
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap.cpp:372:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(image);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap.cpp:381:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read(image);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_dshow.cpp:2953: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 filename_len = strlen(graph_filename);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_ffmpeg_impl.hpp:846: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).
    size_t fmt_len = strlen(fmt);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_ffmpeg_impl.hpp:1415: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).
        if(!codec_fourcc || strlen(codec_fourcc) < 4 || strcmp(codec_fourcc, "unknown_codec") == 0)
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_mfx_common.cpp:187:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool ReadBitstream::read()
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_mfx_common.cpp:191:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    input.read((char*)(stream.Data + stream.DataLength), stream.MaxLength - stream.DataLength);
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_mfx_common.hpp:217:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bool read();
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_mfx_reader.cpp:69:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (!bs->read())
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_mfx_reader.cpp:195:37:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                bool read_res = bs->read();
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_msmf.cpp:475:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(IMFSourceReader* source)
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_msmf.cpp:536:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    UINT32 read(IID sourceType = MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_VIDCAP_GUID)
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_msmf.cpp:779:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    formats.read(videoFileSource.Get());
data/opencv-4.4.0+dfsg2/modules/videoio/src/cap_msmf.cpp:829:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    UINT32 count = devices.read();
data/opencv-4.4.0+dfsg2/modules/videoio/src/container_avi.cpp:134:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    VideoInputStream& read(char*, uint32_t);
data/opencv-4.4.0+dfsg2/modules/videoio/src/container_avi.cpp:156:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    is.read((char*)(&avih), sizeof(AviMainHeader));
data/opencv-4.4.0+dfsg2/modules/videoio/src/container_avi.cpp:161:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    is.read((char*)(&strh), sizeof(AviStreamHeader));
data/opencv-4.4.0+dfsg2/modules/videoio/src/container_avi.cpp:166:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    is.read((char*)(&bmph), sizeof(BitmapInfoHeader));
data/opencv-4.4.0+dfsg2/modules/videoio/src/container_avi.cpp:171:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    is.read((char*)(&idx1), sizeof(idx1));
data/opencv-4.4.0+dfsg2/modules/videoio/src/container_avi.cpp:177:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    is.read((char*)(&riff_chunk), sizeof(riff_chunk));
data/opencv-4.4.0+dfsg2/modules/videoio/src/container_avi.cpp:183:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    is.read((char*)(&riff_list), sizeof(riff_list));
data/opencv-4.4.0+dfsg2/modules/videoio/src/container_avi.cpp:235:37:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
VideoInputStream& VideoInputStream::read(char* buf, uint32_t count)
data/opencv-4.4.0+dfsg2/modules/videoio/src/container_avi.cpp:239:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        input.read(buf, safe_int_cast<std::streamsize>(count, "Failed to read AVI file: requested chunk size is too large"));
data/opencv-4.4.0+dfsg2/modules/videoio/src/container_avi.cpp:535:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    m_file_stream->read(&(result[0]), chunk.m_size); // result.data() failed with MSVS2008
data/opencv-4.4.0+dfsg2/modules/videoio/test/test_camera.cpp:143:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        EXPECT_TRUE(cap.read(firstFrame));
data/opencv-4.4.0+dfsg2/modules/videoio/test/test_camera.cpp:166:31:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                ASSERT_TRUE(c.read(frame)) << idx;
data/opencv-4.4.0+dfsg2/modules/videoio/test/test_ffmpeg.cpp:101:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
TEST_P(videoio_container, read)
data/opencv-4.4.0+dfsg2/modules/videoio/test/test_ffmpeg.cpp:158:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        while (capReference.read(reference) && n_err < 3)
data/opencv-4.4.0+dfsg2/modules/videoio/test/test_ffmpeg.cpp:161:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            ASSERT_TRUE(capActual.read(actual)) << nframes;
data/opencv-4.4.0+dfsg2/modules/videoio/test/test_ffmpeg.cpp:215:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if (container.read(reference))
data/opencv-4.4.0+dfsg2/modules/videoio/test/test_ffmpeg.cpp:317:45:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                    EXPECT_TRUE(readers[j]->read(actual));
data/opencv-4.4.0+dfsg2/modules/videoio/test/test_mfx.cpp:123:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ASSERT_TRUE(cap.read(frame));
data/opencv-4.4.0+dfsg2/modules/videoio/test/test_mfx.cpp:140:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    EXPECT_FALSE(cap.read(frame));
data/opencv-4.4.0+dfsg2/samples/cpp/application_trace.cpp:74:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            capture.read(frame);
data/opencv-4.4.0+dfsg2/samples/cpp/facedetect.cpp:143:36:  [1] (buffer) strlen:
  Does not handle 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 len = (int)strlen(buf);
data/opencv-4.4.0+dfsg2/samples/cpp/filestorage.cpp:45:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  void read(const FileNode& node)  //Read serialization for this class
data/opencv-4.4.0+dfsg2/samples/cpp/filestorage.cpp:58:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
static void read(const FileNode& node, MyData& x, const MyData& default_value = MyData()){
data/opencv-4.4.0+dfsg2/samples/cpp/filestorage.cpp:62:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    x.read(node);
data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp:49:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(const FileNode& node)                          //Read serialization for this class
data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp:236:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
static inline void read(const FileNode& node, Settings& x, const Settings& default_value = Settings())
data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp:241:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        x.read(node);
data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_detection.cpp:205:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while(cap.read(frame) && (char)waitKey(30) != 27) // capture frame until ESC is pressed
data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/core/file_input_output/file_input_output.cpp:33:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(const FileNode& node)                          //Read serialization for this class
data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/core/file_input_output/file_input_output.cpp:52:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
static void read(const FileNode& node, MyData& x, const MyData& default_value = MyData()){
data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/core/file_input_output/file_input_output.cpp:56:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        x.read(node);
data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/gapi/age_gender_emotion_recognition/age_gender_emotion_recognition.cpp:376:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        while (cap.read(in_frame)) {
data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/objectDetection/objectDetection.cpp:56:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ( capture.read(frame) )
data/opencv-4.4.0+dfsg2/samples/cpp/tutorial_code/snippets/core_various.cpp:18:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        sbd->read(fs_read.root());
data/opencv-4.4.0+dfsg2/samples/cpp/videocapture_basic.cpp:41:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        cap.read(frame);
data/opencv-4.4.0+dfsg2/samples/cpp/videowriter_basic.cpp:54:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if (!cap.read(src)) {
data/opencv-4.4.0+dfsg2/samples/directx/d3d10_interop.cpp:130:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if (!m_cap.read(m_frame_bgr))
data/opencv-4.4.0+dfsg2/samples/directx/d3d11_interop.cpp:195:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if (!m_cap.read(m_frame_bgr))
data/opencv-4.4.0+dfsg2/samples/directx/d3d9_interop.cpp:104:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if (!m_cap.read(m_frame_bgr))
data/opencv-4.4.0+dfsg2/samples/directx/d3d9_interop.cpp:262: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).
            ::TextOut(hDC, 0, y, buf, (int)strlen(buf));
data/opencv-4.4.0+dfsg2/samples/directx/d3d9_interop.cpp:267: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).
            ::TextOut(hDC, 0, y, buf, (int)strlen(buf));
data/opencv-4.4.0+dfsg2/samples/directx/d3d9_interop.cpp:272: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).
            ::TextOut(hDC, 0, y, buf, (int)strlen(buf));
data/opencv-4.4.0+dfsg2/samples/directx/d3d9_interop.cpp:277: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).
            ::TextOut(hDC, 0, y, buf, (int)strlen(buf));
data/opencv-4.4.0+dfsg2/samples/directx/d3d9ex_interop.cpp:104:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if (!m_cap.read(m_frame_bgr))
data/opencv-4.4.0+dfsg2/samples/directx/d3d9ex_interop.cpp:263: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).
            ::TextOut(hDC, 0, y, buf, (int)strlen(buf));
data/opencv-4.4.0+dfsg2/samples/directx/d3d9ex_interop.cpp:268: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).
            ::TextOut(hDC, 0, y, buf, (int)strlen(buf));
data/opencv-4.4.0+dfsg2/samples/directx/d3d9ex_interop.cpp:273: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).
            ::TextOut(hDC, 0, y, buf, (int)strlen(buf));
data/opencv-4.4.0+dfsg2/samples/directx/d3d9ex_interop.cpp:278: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).
            ::TextOut(hDC, 0, y, buf, (int)strlen(buf));
data/opencv-4.4.0+dfsg2/samples/gpu/hog.cpp:22:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    static Args read(int argc, char** argv);
data/opencv-4.4.0+dfsg2/samples/gpu/hog.cpp:143:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            args = Args::read(argc, argv);
data/opencv-4.4.0+dfsg2/samples/gpu/hog.cpp:193:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
Args Args::read(int argc, char** argv)
data/opencv-4.4.0+dfsg2/samples/gpu/stereo_match.cpp:19:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    static Params read(int argc, char** argv);
data/opencv-4.4.0+dfsg2/samples/gpu/stereo_match.cpp:95:31:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        Params args = Params::read(argc, argv);
data/opencv-4.4.0+dfsg2/samples/gpu/stereo_match.cpp:116:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
Params Params::read(int argc, char** argv)
data/opencv-4.4.0+dfsg2/samples/gpu/video_reader.cpp:43:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if (!reader.read(frame))
data/opencv-4.4.0+dfsg2/samples/opencl/opencl-opencv-interop.cpp:437:51:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bool nextFrame(cv::Mat& frame) { return m_cap.read(frame); }
data/opencv-4.4.0+dfsg2/samples/opencl/opencl-opencv-interop.cpp:620: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).
        size_t len = strlen(kernelSrc);
data/opencv-4.4.0+dfsg2/samples/opengl/opengl_interop.cpp:199:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if (!m_cap.read(m_frame_bgr))
data/opencv-4.4.0+dfsg2/samples/opengl/opengl_interop.cpp:231: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).
            ::TextOut(hDC, 0, y, buf, (int)strlen(buf));
data/opencv-4.4.0+dfsg2/samples/opengl/opengl_interop.cpp:236: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).
            ::TextOut(hDC, 0, y, buf, (int)strlen(buf));
data/opencv-4.4.0+dfsg2/samples/opengl/opengl_interop.cpp:241: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).
            ::TextOut(hDC, 0, y, buf, (int)strlen(buf));
data/opencv-4.4.0+dfsg2/samples/tapi/clahe.cpp:87:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            capture.read(frame);
data/opencv-4.4.0+dfsg2/samples/tapi/dense_optical_flow.cpp:106:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if (!cap.read(input_frame) || input_frame.empty())
data/opencv-4.4.0+dfsg2/samples/tapi/pyrlk_optical_flow.cpp:146:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            if( !capture.read(frame) )
data/opencv-4.4.0+dfsg2/samples/tapi/ufacedetect.cpp:127:36:  [1] (buffer) strlen:
  Does not handle 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 len = (int)strlen(buf);

ANALYSIS SUMMARY:

Hits = 3142
Lines analyzed = 1414455 in approximately 41.81 seconds (33833 lines/second)
Physical Source Lines of Code (SLOC) = 1021661
Hits@level = [0] 1188 [1] 754 [2] 1573 [3] 126 [4] 675 [5]  14
Hits@level+ = [0+] 4330 [1+] 3142 [2+] 2388 [3+] 815 [4+] 689 [5+]  14
Hits/KSLOC@level+ = [0+] 4.2382 [1+] 3.07538 [2+] 2.33737 [3+] 0.797721 [4+] 0.674392 [5+] 0.0137032
Dot directories skipped = 3 (--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.