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/signon-plugin-oauth2-0.22/example/main.cpp
Examining data/signon-plugin-oauth2-0.22/example/oauthclient.cpp
Examining data/signon-plugin-oauth2-0.22/example/oauthclient.h
Examining data/signon-plugin-oauth2-0.22/src/base-plugin.h
Examining data/signon-plugin-oauth2-0.22/src/common.h
Examining data/signon-plugin-oauth2-0.22/src/oauth1data.h
Examining data/signon-plugin-oauth2-0.22/src/oauth1plugin.cpp
Examining data/signon-plugin-oauth2-0.22/src/oauth1plugin.h
Examining data/signon-plugin-oauth2-0.22/src/oauth2data.h
Examining data/signon-plugin-oauth2-0.22/src/oauth2plugin.cpp
Examining data/signon-plugin-oauth2-0.22/src/oauth2plugin.h
Examining data/signon-plugin-oauth2-0.22/src/oauth2tokendata.h
Examining data/signon-plugin-oauth2-0.22/src/plugin.cpp
Examining data/signon-plugin-oauth2-0.22/src/plugin.h
Examining data/signon-plugin-oauth2-0.22/src/base-plugin.cpp
Examining data/signon-plugin-oauth2-0.22/tests/oauth2plugintest.cpp
Examining data/signon-plugin-oauth2-0.22/tests/oauth2plugintest.h

FINAL RESULTS:

data/signon-plugin-oauth2-0.22/tests/oauth2plugintest.cpp:141:9:  [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).
        open(ReadOnly | Unbuffered);
data/signon-plugin-oauth2-0.22/tests/oauth2plugintest.cpp:163: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(data, m_content.constData() + m_offset, number);

ANALYSIS SUMMARY:

Hits = 2
Lines analyzed = 4288 in approximately 0.14 seconds (31145 lines/second)
Physical Source Lines of Code (SLOC) = 3085
Hits@level = [0]   0 [1]   0 [2]   2 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]   2 [1+]   2 [2+]   2 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 0.648298 [1+] 0.648298 [2+] 0.648298 [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.