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/ktp-kded-integration-module-20.08.0/contact-cache.h
Examining data/ktp-kded-integration-module-20.08.0/screensaveraway.cpp
Examining data/ktp-kded-integration-module-20.08.0/contact-request-handler.cpp
Examining data/ktp-kded-integration-module-20.08.0/ktp_kded_debug.h
Examining data/ktp-kded-integration-module-20.08.0/telepathy-kded-module-plugin.cpp
Examining data/ktp-kded-integration-module-20.08.0/tests/status-handling-main.cpp
Examining data/ktp-kded-integration-module-20.08.0/tests/contact-cache-main.cpp
Examining data/ktp-kded-integration-module-20.08.0/tests/status-message-parser.cpp
Examining data/ktp-kded-integration-module-20.08.0/contactnotify.h
Examining data/ktp-kded-integration-module-20.08.0/account-status-helper.cpp
Examining data/ktp-kded-integration-module-20.08.0/contactnotify.cpp
Examining data/ktp-kded-integration-module-20.08.0/autoaway.cpp
Examining data/ktp-kded-integration-module-20.08.0/telepathy-kded-module-plugin.h
Examining data/ktp-kded-integration-module-20.08.0/status-handler.cpp
Examining data/ktp-kded-integration-module-20.08.0/status-message-parser.h
Examining data/ktp-kded-integration-module-20.08.0/ktp_kded_debug.cpp
Examining data/ktp-kded-integration-module-20.08.0/status-handler.h
Examining data/ktp-kded-integration-module-20.08.0/error-handler.cpp
Examining data/ktp-kded-integration-module-20.08.0/account-status-helper.h
Examining data/ktp-kded-integration-module-20.08.0/screensaveraway.h
Examining data/ktp-kded-integration-module-20.08.0/error-handler.h
Examining data/ktp-kded-integration-module-20.08.0/telepathy-module.cpp
Examining data/ktp-kded-integration-module-20.08.0/contact-cache.cpp
Examining data/ktp-kded-integration-module-20.08.0/telepathy-mpris.cpp
Examining data/ktp-kded-integration-module-20.08.0/status-message-parser.cpp
Examining data/ktp-kded-integration-module-20.08.0/autoaway.h
Examining data/ktp-kded-integration-module-20.08.0/config/column-resizer.h
Examining data/ktp-kded-integration-module-20.08.0/config/telepathy-kded-config.cpp
Examining data/ktp-kded-integration-module-20.08.0/config/column-resizer.cpp
Examining data/ktp-kded-integration-module-20.08.0/config/telepathy-kded-config.h
Examining data/ktp-kded-integration-module-20.08.0/telepathy-mpris.h
Examining data/ktp-kded-integration-module-20.08.0/contact-request-handler.h
Examining data/ktp-kded-integration-module-20.08.0/telepathy-module.h

FINAL RESULTS:

data/ktp-kded-integration-module-20.08.0/contact-cache.cpp:65: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 (!m_db.open()) {

ANALYSIS SUMMARY:

Hits = 1
Lines analyzed = 4241 in approximately 0.19 seconds (22598 lines/second)
Physical Source Lines of Code (SLOC) = 2720
Hits@level = [0]   0 [1]   0 [2]   1 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]   1 [1+]   1 [2+]   1 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 0.367647 [1+] 0.367647 [2+] 0.367647 [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.