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/pyotherside-1.5.9/examples/qrc/qrc_example.cpp Examining data/pyotherside-1.5.9/qtquicktests/qtquicktests.cpp Examining data/pyotherside-1.5.9/src/converter.h Examining data/pyotherside-1.5.9/src/ensure_gil_state.h Examining data/pyotherside-1.5.9/src/global_libpython_loader.cpp Examining data/pyotherside-1.5.9/src/global_libpython_loader.h Examining data/pyotherside-1.5.9/src/pyfbo.cpp Examining data/pyotherside-1.5.9/src/pyfbo.h Examining data/pyotherside-1.5.9/src/pyglarea.cpp Examining data/pyotherside-1.5.9/src/pyglarea.h Examining data/pyotherside-1.5.9/src/pyglrenderer.cpp Examining data/pyotherside-1.5.9/src/pyglrenderer.h Examining data/pyotherside-1.5.9/src/pyobject_converter.h Examining data/pyotherside-1.5.9/src/pyobject_ref.cpp Examining data/pyotherside-1.5.9/src/pyobject_ref.h Examining data/pyotherside-1.5.9/src/pyotherside_plugin.cpp Examining data/pyotherside-1.5.9/src/pyotherside_plugin.h Examining data/pyotherside-1.5.9/src/pyqobject.h Examining data/pyotherside-1.5.9/src/python_wrap.h Examining data/pyotherside-1.5.9/src/pythonlib_loader.cpp Examining data/pyotherside-1.5.9/src/pythonlib_loader.h Examining data/pyotherside-1.5.9/src/qml_python_bridge.h Examining data/pyotherside-1.5.9/src/qobject_ref.cpp Examining data/pyotherside-1.5.9/src/qobject_ref.h Examining data/pyotherside-1.5.9/src/qpython.cpp Examining data/pyotherside-1.5.9/src/qpython.h Examining data/pyotherside-1.5.9/src/qpython_imageprovider.cpp Examining data/pyotherside-1.5.9/src/qpython_imageprovider.h Examining data/pyotherside-1.5.9/src/qpython_priv.cpp Examining data/pyotherside-1.5.9/src/qpython_priv.h Examining data/pyotherside-1.5.9/src/qpython_worker.cpp Examining data/pyotherside-1.5.9/src/qpython_worker.h Examining data/pyotherside-1.5.9/src/qvariant_converter.h Examining data/pyotherside-1.5.9/tests/test_qrc_crash/main.cpp Examining data/pyotherside-1.5.9/tests/tests.cpp Examining data/pyotherside-1.5.9/tests/tests.h FINAL RESULTS: data/pyotherside-1.5.9/src/pythonlib_loader.cpp:76:19: [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). mapsf.open(QIODevice::ReadOnly); data/pyotherside-1.5.9/src/qpython_priv.cpp:167:33: [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.exists() || !file.open(QIODevice::ReadOnly)) { data/pyotherside-1.5.9/src/qpython_priv.cpp:689:32: [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 (!qrc_importer_code.open(QIODevice::ReadOnly)) { data/pyotherside-1.5.9/src/qpython_priv.cpp:248:55: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return convertQVariantToPyObject(property.read(qobject)); ANALYSIS SUMMARY: Hits = 4 Lines analyzed = 4585 in approximately 0.15 seconds (30509 lines/second) Physical Source Lines of Code (SLOC) = 2850 Hits@level = [0] 3 [1] 1 [2] 3 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 7 [1+] 4 [2+] 3 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 2.45614 [1+] 1.40351 [2+] 1.05263 [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.