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/kblog-20.04.1/autotests/testblogger1.cpp
Examining data/kblog-20.04.1/autotests/data.h
Examining data/kblog-20.04.1/autotests/testblogpost.cpp
Examining data/kblog-20.04.1/autotests/testblogmedia.cpp
Examining data/kblog-20.04.1/autotests/testwordpressbuggy.cpp
Examining data/kblog-20.04.1/autotests/testmovabletype.cpp
Examining data/kblog-20.04.1/autotests/testmetaweblog.cpp
Examining data/kblog-20.04.1/autotests/testgdata.cpp
Examining data/kblog-20.04.1/autotests/testlivejournal.cpp
Examining data/kblog-20.04.1/autotests/testblogcomment.cpp
Examining data/kblog-20.04.1/src/movabletype_p.h
Examining data/kblog-20.04.1/src/wordpressbuggy.cpp
Examining data/kblog-20.04.1/src/blogger1.cpp
Examining data/kblog-20.04.1/src/blogmedia.cpp
Examining data/kblog-20.04.1/src/metaweblog.cpp
Examining data/kblog-20.04.1/src/blogpost_p.h
Examining data/kblog-20.04.1/src/blogpost.h
Examining data/kblog-20.04.1/src/feedretriever.cpp
Examining data/kblog-20.04.1/src/wordpressbuggy_p.h
Examining data/kblog-20.04.1/src/gdata.cpp
Examining data/kblog-20.04.1/src/feedretriever.h
Examining data/kblog-20.04.1/src/metaweblog.h
Examining data/kblog-20.04.1/src/gdata.h
Examining data/kblog-20.04.1/src/metaweblog_p.h
Examining data/kblog-20.04.1/src/blogpost.cpp
Examining data/kblog-20.04.1/src/blog.h
Examining data/kblog-20.04.1/src/livejournal.cpp
Examining data/kblog-20.04.1/src/gdata_p.h
Examining data/kblog-20.04.1/src/blogcomment.cpp
Examining data/kblog-20.04.1/src/blogger1.h
Examining data/kblog-20.04.1/src/wordpressbuggy.h
Examining data/kblog-20.04.1/src/movabletype.cpp
Examining data/kblog-20.04.1/src/blog_p.h
Examining data/kblog-20.04.1/src/blogcomment.h
Examining data/kblog-20.04.1/src/livejournal_p.h
Examining data/kblog-20.04.1/src/livejournal.h
Examining data/kblog-20.04.1/src/movabletype.h
Examining data/kblog-20.04.1/src/blogcomment_p.h
Examining data/kblog-20.04.1/src/blogger1_p.h
Examining data/kblog-20.04.1/src/blogmedia.h
Examining data/kblog-20.04.1/src/blog.cpp

FINAL RESULTS:

data/kblog-20.04.1/src/gdata.cpp:496: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.data() + data.size(), newdata.data(), newdata.size());
data/kblog-20.04.1/src/metaweblog.cpp:141: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/kblog-20.04.1/src/metaweblog.cpp:163: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::WriteOnly)) {

ANALYSIS SUMMARY:

Hits = 3
Lines analyzed = 10357 in approximately 0.32 seconds (31959 lines/second)
Physical Source Lines of Code (SLOC) = 6574
Hits@level = [0]   0 [1]   0 [2]   3 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]   3 [1+]   3 [2+]   3 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 0.456343 [1+] 0.456343 [2+] 0.456343 [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.