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/resvg-0.8.0/bindings/resvg-qt/cpp/qt_capi.hpp
Examining data/resvg-0.8.0/bindings/resvg-qt/cpp/qt_capi.cpp
Examining data/resvg-0.8.0/bindings/resvg-skia/cpp/skia_capi.cpp
Examining data/resvg-0.8.0/bindings/resvg-skia/cpp/skia_capi.hpp
Examining data/resvg-0.8.0/capi/include/ResvgQt.h
Examining data/resvg-0.8.0/capi/include/resvg.h
Examining data/resvg-0.8.0/capi/qtests/tst_resvgqt.cpp
Examining data/resvg-0.8.0/examples/cairo-capi/example.c
Examining data/resvg-0.8.0/tools/explorer-thumbnailer/src/classfactory.cpp
Examining data/resvg-0.8.0/tools/explorer-thumbnailer/src/classfactory.h
Examining data/resvg-0.8.0/tools/explorer-thumbnailer/src/common.h
Examining data/resvg-0.8.0/tools/explorer-thumbnailer/src/main.cpp
Examining data/resvg-0.8.0/tools/explorer-thumbnailer/src/thumbnailprovider.cpp
Examining data/resvg-0.8.0/tools/explorer-thumbnailer/src/thumbnailprovider.h
Examining data/resvg-0.8.0/tools/kde-dolphin-thumbnailer/resvgthumbnailer.cpp
Examining data/resvg-0.8.0/tools/kde-dolphin-thumbnailer/resvgthumbnailer.h
Examining data/resvg-0.8.0/tools/viewsvg/main.cpp
Examining data/resvg-0.8.0/tools/viewsvg/mainwindow.cpp
Examining data/resvg-0.8.0/tools/viewsvg/mainwindow.h
Examining data/resvg-0.8.0/tools/viewsvg/svgview.cpp
Examining data/resvg-0.8.0/tools/viewsvg/svgview.h

FINAL RESULTS:

data/resvg-0.8.0/capi/include/ResvgQt.h:286:18:  [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(QFile::ReadOnly)) {
data/resvg-0.8.0/examples/cairo-capi/example.c:78:1:  [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(GApplication *app, GFile **files, gint n_files, const gchar *hint)
data/resvg-0.8.0/examples/cairo-capi/example.c:96:46:  [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).
    g_signal_connect(app, "open", G_CALLBACK(open), NULL);

ANALYSIS SUMMARY:

Hits = 3
Lines analyzed = 3634 in approximately 0.08 seconds (46240 lines/second)
Physical Source Lines of Code (SLOC) = 2474
Hits@level = [0]   1 [1]   0 [2]   3 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]   4 [1+]   3 [2+]   3 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 1.61681 [1+] 1.21261 [2+] 1.21261 [3+]   0 [4+]   0 [5+]   0
Dot directories skipped = 2 (--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.