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/plasma-browser-integration-5.19.5/reminder/browserintegrationreminder.cpp
Examining data/plasma-browser-integration-5.19.5/reminder/browserintegrationreminder.h
Examining data/plasma-browser-integration-5.19.5/tabsrunner/tabsrunner.cpp
Examining data/plasma-browser-integration-5.19.5/tabsrunner/tabsrunner.h
Examining data/plasma-browser-integration-5.19.5/host/downloadjob.h
Examining data/plasma-browser-integration-5.19.5/host/downloadplugin.h
Examining data/plasma-browser-integration-5.19.5/host/pluginmanager.h
Examining data/plasma-browser-integration-5.19.5/host/kdeconnectplugin.cpp
Examining data/plasma-browser-integration-5.19.5/host/downloadplugin.cpp
Examining data/plasma-browser-integration-5.19.5/host/mprisplugin.h
Examining data/plasma-browser-integration-5.19.5/host/settings.cpp
Examining data/plasma-browser-integration-5.19.5/host/abstractbrowserplugin.cpp
Examining data/plasma-browser-integration-5.19.5/host/tabsrunnerplugin.cpp
Examining data/plasma-browser-integration-5.19.5/host/tabsrunnerplugin.h
Examining data/plasma-browser-integration-5.19.5/host/pluginmanager.cpp
Examining data/plasma-browser-integration-5.19.5/host/main.cpp
Examining data/plasma-browser-integration-5.19.5/host/mprisplugin.cpp
Examining data/plasma-browser-integration-5.19.5/host/purposeplugin.cpp
Examining data/plasma-browser-integration-5.19.5/host/connection.h
Examining data/plasma-browser-integration-5.19.5/host/purposeplugin.h
Examining data/plasma-browser-integration-5.19.5/host/downloadjob.cpp
Examining data/plasma-browser-integration-5.19.5/host/connection.cpp
Examining data/plasma-browser-integration-5.19.5/host/abstractbrowserplugin.h
Examining data/plasma-browser-integration-5.19.5/host/kdeconnectplugin.h
Examining data/plasma-browser-integration-5.19.5/host/settings.h

FINAL RESULTS:

data/plasma-browser-integration-5.19.5/host/connection.cpp:41: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).
    m_stdOut.open(newStdout, QIODevice::WriteOnly);
data/plasma-browser-integration-5.19.5/host/connection.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).
    m_stdIn.open(STDIN_FILENO, QIODevice::ReadOnly | QIODevice::Unbuffered);
data/plasma-browser-integration-5.19.5/host/connection.cpp:89:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    auto rc = m_stdIn.read((char*)(&length), sizeof(quint32));
data/plasma-browser-integration-5.19.5/host/connection.cpp:95:31:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    QByteArray data = m_stdIn.read(length);
data/plasma-browser-integration-5.19.5/host/mprisplugin.cpp:80:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    const QVariant value = prop.read(this);
data/plasma-browser-integration-5.19.5/reminder/browserintegrationreminder.cpp:101: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 QString desktopFile = resource.mid(strlen("applications:"));

ANALYSIS SUMMARY:

Hits = 6
Lines analyzed = 3633 in approximately 0.17 seconds (21623 lines/second)
Physical Source Lines of Code (SLOC) = 2311
Hits@level = [0]   0 [1]   4 [2]   2 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]   6 [1+]   6 [2+]   2 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 2.59628 [1+] 2.59628 [2+] 0.865426 [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.