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/ffmpegthumbs-20.04.2/ffmpegthumbnailer.h
Examining data/ffmpegthumbs-20.04.2/ffmpegthumbnailer.cpp
Examining data/ffmpegthumbs-20.04.2/tests/ffmpegthumbtest.cpp
Examining data/ffmpegthumbs-20.04.2/ffmpegthumbnailer/videoframe.h
Examining data/ffmpegthumbs-20.04.2/ffmpegthumbnailer/videothumbnailer.cpp
Examining data/ffmpegthumbs-20.04.2/ffmpegthumbnailer/moviedecoder.h
Examining data/ffmpegthumbs-20.04.2/ffmpegthumbnailer/imagewriter.cpp
Examining data/ffmpegthumbs-20.04.2/ffmpegthumbnailer/moviedecoder.cpp
Examining data/ffmpegthumbs-20.04.2/ffmpegthumbnailer/imagewriter.h
Examining data/ffmpegthumbs-20.04.2/ffmpegthumbnailer/videothumbnailer.h
Examining data/ffmpegthumbs-20.04.2/ffmpegthumbnailer/ifilter.h
Examining data/ffmpegthumbs-20.04.2/ffmpegthumbnailer/filmstripfilter.h
Examining data/ffmpegthumbs-20.04.2/ffmpegthumbnailer/histogram.h
Examining data/ffmpegthumbs-20.04.2/ffmpegthumbnailer/filmstrip.h
Examining data/ffmpegthumbs-20.04.2/ffmpegthumbnailer/filmstripfilter.cpp

FINAL RESULTS:

data/ffmpegthumbs-20.04.2/ffmpegthumbnailer/imagewriter.cpp:35: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(previewImage.scanLine(y), &frame.frameData[y*frame.lineSize], frame.width*3);
data/ffmpegthumbs-20.04.2/ffmpegthumbnailer/moviedecoder.cpp:354: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(m_filterFrame->data, src->data, sizeof(src->data));
data/ffmpegthumbs-20.04.2/ffmpegthumbnailer/moviedecoder.cpp:355: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(m_filterFrame->linesize, src->linesize, sizeof(src->linesize));
data/ffmpegthumbs-20.04.2/ffmpegthumbnailer/moviedecoder.cpp:392: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((&(videoFrame.frameData.front())), m_pFrame->data[0], videoFrame.lineSize * videoFrame.height);

ANALYSIS SUMMARY:

Hits = 4
Lines analyzed = 1916 in approximately 0.12 seconds (15343 lines/second)
Physical Source Lines of Code (SLOC) = 1438
Hits@level = [0]   0 [1]   0 [2]   4 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]   4 [1+]   4 [2+]   4 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 2.78164 [1+] 2.78164 [2+] 2.78164 [3+]   0 [4+]   0 [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.