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/slowmovideo-0.5+git20190116/src/V3D/Math/v3d_linear.h Examining data/slowmovideo-0.5+git20190116/src/V3D/Math/v3d_linearbase.h Examining data/slowmovideo-0.5+git20190116/src/V3D/Config/config.h Examining data/slowmovideo-0.5+git20190116/src/V3D/Apps/GL/flowBuilder.cpp Examining data/slowmovideo-0.5+git20190116/src/V3D/GL/glsl_shaders.cpp Examining data/slowmovideo-0.5+git20190116/src/V3D/GL/v3d_gpubase.h Examining data/slowmovideo-0.5+git20190116/src/V3D/GL/v3d_gpucolorflow.h Examining data/slowmovideo-0.5+git20190116/src/V3D/GL/v3d_gpuflow.h Examining data/slowmovideo-0.5+git20190116/src/V3D/GL/v3d_gpuflow.cpp Examining data/slowmovideo-0.5+git20190116/src/V3D/GL/glsl_shaders.h Examining data/slowmovideo-0.5+git20190116/src/V3D/GL/v3d_gpupyramid.h Examining data/slowmovideo-0.5+git20190116/src/V3D/GL/v3d_gpupyramid.cpp Examining data/slowmovideo-0.5+git20190116/src/V3D/GL/v3d_gpucolorflow.cpp Examining data/slowmovideo-0.5+git20190116/src/V3D/GL/v3d_gpubase.cpp Examining data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_image.h Examining data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_serialization.h Examining data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_timer.h Examining data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_image.cpp Examining data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_exception.h Examining data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_imageprocessing.h Examining data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_utilities.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/segmentList_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/abstractFrameSource_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/nodeList_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/projectPreferences_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/xmlProjectRW_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/motionBlur_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/new_videoRenderTarget.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/imagesFrameSource_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/xmlProjectRW_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/work_flow.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/project_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/flowSourceV3D_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/nodeHandle_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/renderPreferences_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/videoRenderTarget_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/exportVideoRenderTarget.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/abstractRenderTarget_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/new_videoRenderTarget.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/interpolator_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/abstractRenderTarget_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/segment_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/renderTask_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/segment_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/imagesFrameSource_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/project_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/abstractFrameSource_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/imagesRenderTarget_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/shutterFunction_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/videoRenderTarget_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/videoFrameSource_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/tag_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/shutterFunction_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/abstractProgressDialog.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/emptyFrameSource_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/flowSourceV3D_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/videoFrameSource_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/imagesRenderTarget_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/segmentList_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/node_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/abstractFlowSource_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/work_flow.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/shutterFunctionList_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/motionBlur_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/nodeHandle_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/node_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/canvasObject_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/renderTask_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/interpolator_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/exportVideoRenderTarget.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/abstractFlowSource_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/renderPreferences_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/projectPreferences_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/tag_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/nodeList_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/shutterFunctionList_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/emptyFrameSource_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/flowSourceOpenCV_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/flowSourceOpenCV_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoCLI/videoInfo.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoCLI/main.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/flowTools_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/video_enc.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/bezierTools_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/intMatrix_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/ffmpegEncode_sV.c Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/defs_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/shutter_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/flowField_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/interpolate_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/flowTools_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/ffmpegEncode_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/ffmpeg_writer.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/vector_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/flowRW_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/kernel_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/videoInfo_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/bezierTools_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/flowField_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/sourceField_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/vector_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/intMatrix_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/shutter_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/macros_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/qtkit.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/defs_sV.hpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/flowVisualization_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/ffmpeg_writer.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/sourceField_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/defs_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/kernel_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/flowRW_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/flowVisualization_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/video_enc.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/avconvInfo_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/interpolate_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/avconvInfo_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/videoInfo_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoFlowEdit/mainwindow.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoFlowEdit/shortcutListDialog.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoFlowEdit/main.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoFlowEdit/flowEditCanvas.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoFlowEdit/mainwindow.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoFlowEdit/flowEditCanvas.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoFlowEdit/shortcutListDialog.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/libgui/combinedShortcuts.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/libgui/imageDisplay.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/libgui/imageDisplay.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/libgui/combinedShortcuts.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoRenderer/slowmoRenderer_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoRenderer/slowmoRenderer_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoRenderer/rendererMain.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoUI/logbrowserdialog.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoUI/renderPreview.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoUI/renderPreview.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoUI/notificator.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoUI/canvasTools.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoUI/dialogues/tagAddDialog.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoUI/dialogues/newProjectDialog.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoUI/dialogues/flowExaminer.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoUI/dialogues/preferencesDialog.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoUI/dialogues/shutterFunctionDialog.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoUI/dialogues/renderingDialog.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoUI/dialogues/projectPreferencesDialog.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoUI/dialogues/shutterFunctionFrame.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoUI/dialogues/projectPreferencesDialog.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoUI/dialogues/progressDialog.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoUI/dialogues/aboutDialog.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoUI/dialogues/shutterFunctionFrame.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoUI/dialogues/shutterFunctionDialog.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoUI/dialogues/aboutDialog.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoUI/dialogues/tagAddDialog.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoUI/dialogues/renderingDialog.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoUI/dialogues/flowExaminer.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoUI/dialogues/progressDialog.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoUI/dialogues/newProjectDialog.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoUI/dialogues/preferencesDialog.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoUI/mainwindow.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoUI/macnotificationhandler.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoUI/frameMonitor.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoUI/notificator.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoUI/logbrowserdialog.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoUI/canvas.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoUI/main.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoUI/canvas.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoUI/canvasTools.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoUI/flowEditCanvas.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoUI/mainwindow.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoUI/frameMonitor.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoUI/flowEditCanvas.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/visualizeFlow/visualizeFlow.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoInfo/slowmoInfo.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/test/ffmpegTest.c Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/test/encodeTest.c Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/test/test.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/test/testAvconvInfo.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/test/ffmpegTestEncodeFrames.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/unittests/testAll.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/unittests/testProject_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/unittests/testFlowRW_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/unittests/testShutterFunction_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/unittests/testVector_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/unittests/testIntMatrix_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/unittests/testIntMatrix_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/unittests/testFlowRW_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/unittests/testProject_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/unittests/testXmlProjectRW_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/unittests/testNodeList_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/unittests/testDefs_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/unittests/testDefs_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/unittests/testNodeList_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/unittests/testShutterFunction_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/unittests/testLog.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/unittests/testFlowField_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/unittests/testFlowField_sV.cpp Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/unittests/testXmlProjectRW_sV.h Examining data/slowmovideo-0.5+git20190116/src/slowmoVideo/unittests/testVector_sV.cpp FINAL RESULTS: data/slowmovideo-0.5+git20190116/src/V3D/GL/v3d_gpubase.cpp:818:10: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(str, _source.c_str()); data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/ffmpegEncode_sV.c:22: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(video->errorMessage, msg); data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/ffmpegEncode_sV.c:57:9: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(s, "Could not open codec %s.\n", codec->long_name); data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/ffmpegEncode_sV.c:88: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(video->filename, filename); data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/ffmpegEncode_sV.c:127:13: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(s, "No codec available for %s. Check the output of \nffmpeg -codecs\nto see a list of available codecs.\n", vcodec); data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/ffmpegEncode_sV.c:280: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(msgAll, msg); data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/ffmpegEncode_sV.c:281: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(msgAll, filename); data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/ffmpeg_writer.cpp:39: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(pcodec, m_vcodec.toStdString().c_str()); data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/macros_sV.h:17:18: [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. #error Operating system cannot be determined! data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/videoRenderTarget_sV.cpp:53: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(vcodec, m_vcodec.toStdString().c_str()); data/slowmovideo-0.5+git20190116/src/V3D/Apps/GL/flowBuilder.cpp:222: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). nIterations = atoi(argv[5]); data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_image.cpp:229:21: [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(fileName, "rb"); data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_image.cpp:255:21: [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(fileName, "rb"); data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_image.cpp:330: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 * file = fopen(fileName, "wb"); data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_image.cpp:341: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 * file = fopen(fileName, "wb"); data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_image.cpp:359:21: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((infile = fopen(fileName, "rb")) == NULL) data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_image.cpp:389:21: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((infile = fopen(fileName, "rb")) == NULL) data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_image.cpp:446: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). if ((outfile = fopen(fileName, "wb")) == NULL) data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_image.cpp:496: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 *fp = fopen(fileName, "rb"); data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_image.cpp:499: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. unsigned char header[8]; data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_image.cpp:554: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 *fp = fopen(fileName, "rb"); data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_image.cpp:557: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. unsigned char header[8]; data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_image.cpp:638: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 * fp = fopen(fileName, "wb"); data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_serialization.h:398:22: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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[4]; data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_serialization.h:408:22: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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[4]; data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_serialization.h:515:22: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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[4]; data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_serialization.h:522:22: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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[4]; data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_serialization.h:660:22: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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[4]; data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_serialization.h:673:22: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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[4]; data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_serialization.h:924: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. char magicTag[tagLength]; data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_timer.h:121: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. char _name[80]; data/slowmovideo-0.5+git20190116/src/V3D/GL/v3d_gpubase.cpp:29: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). return atoi(value.c_str()); data/slowmovideo-0.5+git20190116/src/V3D/GL/v3d_gpubase.cpp:878: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 paramName[1024]; data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/ffmpegEncode_sV.c:41: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 s[200]; data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/ffmpegEncode_sV.c:42:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(s, "Codec for ID %d could not be found.\n", cc->codec_id); data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/ffmpegEncode_sV.c: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 s[200]; data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/ffmpegEncode_sV.c:126: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 s[strlen(vcodec)+150]; data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/ffmpegEncode_sV.c:209: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 s[200]; data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/ffmpegEncode_sV.c:210:13: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(s, "Cannot initialize the RGB conversion context. Incorrect size (%dx%d)?\n", cc->width, cc->height); data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/flowField_sV.cpp:32: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(m_data, data, width*height*2*sizeof(float)); data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/xmlProjectRW_sV.cpp:165: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 (!outFile.open(QIODevice::WriteOnly)) { data/slowmovideo-0.5+git20190116/src/slowmoVideo/project/xmlProjectRW_sV.cpp:321: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 (!file.open(QIODevice::ReadOnly)) { data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoUI/logbrowserdialog.cpp:99: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(!file.open(QIODevice::WriteOnly)) { data/slowmovideo-0.5+git20190116/src/slowmoVideo/slowmoUI/notificator.cpp:268:66: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of 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 (!notificationIconPixmap.isNull() && notificationIconFile.open()) { data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_image.cpp:32:13: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ich = getc(file); data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_image.cpp:41:12: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ich = getc(file); data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_image.cpp:233:18: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). magic[0] = getc(file); data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_image.cpp:234:18: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). magic[1] = getc(file); data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_image.cpp:259:18: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). magic[0] = getc(file); data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_image.cpp:260:18: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). magic[1] = getc(file); data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_image.h:172:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read((char*)&stat.width,sizeof(unsigned int)); data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_image.h:173:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read((char*)&stat.height,sizeof(unsigned int)); data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_image.h:174:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read((char*)&stat.numChannels,sizeof(unsigned int)); data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_image.h:175:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read((char*)&stat.bitDepth,sizeof(unsigned int)); data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_image.h:186:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read((char*)&stat.width,sizeof(unsigned int)); data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_image.h:187:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read((char*)&stat.height,sizeof(unsigned int)); data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_image.h:188:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read((char*)&stat.numChannels,sizeof(unsigned int)); data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_image.h:189:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read((char*)&stat.bitDepth,sizeof(unsigned int)); data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_image.h:190:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read((char*)&type,sizeof(unsigned int)); data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_image.h:197:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read((char*)&image(0,0,0),sizeof(Elem)*stat.width*stat.height*stat.numChannels); data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_serialization.h:202: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). unsigned int len = std::strlen(str); data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_serialization.h:288:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _is.read(str, len); data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_serialization.h:298:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _is.read(&buf[0], len); data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_serialization.h:306:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _is.read(buffer, count); data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_serialization.h:364:63: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). unsigned int len = static_cast<unsigned int>(std::strlen(str)); data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_serialization.h:453:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _is.read(str, len); data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_serialization.h:462:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _is.read(&buf[0], len); data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_serialization.h:470:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _is.read(buffer, count); data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_serialization.h:485:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _is.read((char *)&val, 1); data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_serialization.h:493:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _is.read((char *)&val, 1); data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_serialization.h:516:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _is.read((char *)buf, 4); data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_serialization.h:523:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _is.read((char *)buf, 4); data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_serialization.h:532:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _is.read((char *)&v, sizeof(v)); data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_serialization.h:562: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). unsigned int len = std::strlen(str); data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_serialization.h:626:63: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). unsigned int len = static_cast<unsigned int>(std::strlen(str)); data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_serialization.h:926:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(magicTag, tagLength); data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_timer.h:43:16: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(_name, name, sizeof(_name)); data/slowmovideo-0.5+git20190116/src/V3D/Base/v3d_timer.h:45:16: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(_name, "<unnamed timer>", sizeof(_name)); data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/ffmpegEncode_sV.c:21: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). video->errorMessage = malloc(strlen(msg)+1); data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/ffmpegEncode_sV.c:87: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). video->filename = malloc(strlen(filename)+1); data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/ffmpegEncode_sV.c:100:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(video->fc->filename, filename, sizeof(video->fc->filename)); data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/ffmpegEncode_sV.c:104:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(video->fc->filename, filename, sizeof(video->fc->filename)); data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/ffmpegEncode_sV.c:126: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). char s[strlen(vcodec)+150]; data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/ffmpegEncode_sV.c:265:29: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for (i = 0; i < strlen(video->filename); i++) { data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/ffmpegEncode_sV.c:279:51: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char *msgAll = malloc(sizeof(char) * (strlen(filename) + strlen(msg))); data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/ffmpegEncode_sV.c:279: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). char *msgAll = malloc(sizeof(char) * (strlen(filename) + strlen(msg))); data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/flowRW_sV.cpp:46:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). file.read(magic, sizeof(char)*m_magicNumber.size()); data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/flowRW_sV.cpp:47:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). file.read(&info.version, sizeof(char)); data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/flowRW_sV.cpp:52:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). file.read((char*) &info.width, sizeof(int)); data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/flowRW_sV.cpp:53:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). file.read((char*) &info.height, sizeof(int)); data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/flowRW_sV.cpp:76:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). file.read(magic, sizeof(char)*m_magicNumber.size()); data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/flowRW_sV.cpp:77:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). file.read((char*) &version, sizeof(char)); data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/flowRW_sV.cpp:80:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). file.read((char*) &width, sizeof(int)); data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/flowRW_sV.cpp:81:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). file.read((char*) &height, sizeof(int)); data/slowmovideo-0.5+git20190116/src/slowmoVideo/lib/flowRW_sV.cpp:89:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). file.read((char*) field->data(), sizeof(float)*field->dataSize()); ANALYSIS SUMMARY: Hits = 95 Lines analyzed = 28939 in approximately 0.71 seconds (40605 lines/second) Physical Source Lines of Code (SLOC) = 21574 Hits@level = [0] 27 [1] 51 [2] 34 [3] 0 [4] 10 [5] 0 Hits@level+ = [0+] 122 [1+] 95 [2+] 44 [3+] 10 [4+] 10 [5+] 0 Hits/KSLOC@level+ = [0+] 5.65496 [1+] 4.40345 [2+] 2.03949 [3+] 0.463521 [4+] 0.463521 [5+] 0 Dot directories skipped = 1 (--followdotdir overrides) Minimum risk level = 1 Not every hit is necessarily a security vulnerability. There may be other security vulnerabilities; review your code! See 'Secure Programming HOWTO' (https://dwheeler.com/secure-programs) for more information.