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/pyqt5-5.15.1+dfsg/dbus/helper.h
Examining data/pyqt5-5.15.1+dfsg/dbus/dbus.cpp
Examining data/pyqt5-5.15.1+dfsg/config-tests/cfgtest_QtGui.cpp
Examining data/pyqt5-5.15.1+dfsg/config-tests/cfgtest_QtPrintSupport.cpp
Examining data/pyqt5-5.15.1+dfsg/config-tests/cfgtest_QtCore.cpp
Examining data/pyqt5-5.15.1+dfsg/config-tests/cfgtest_QtNetwork.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtQml/qpyqmlobject.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtQml/qpyqmlsingletonobject.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtQml/qpyqmlvalidator.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtQml/qpyqmlvalidator.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtQml/qpyqml_register_singleton_type.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtQml/qpyqmlobject.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtQml/qpyqml_api.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtQml/qpyqmllistpropertywrapper.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtQml/qpyqmllistpropertywrapper.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtQml/qpyqmlsingletonobject.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtQml/qpyqmllistproperty.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtQml/qpyqml_qjsvalue.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtQml/qpyqml_listdata.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtQml/qpyqml_post_init.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtQml/qpyqml_register_type.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtQml/qpyqmllistproperty.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtQml/qpyqml_listdata.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtDesigner/qpydesignermembersheetextension.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtDesigner/qpydesignercontainerextension.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtDesigner/qpydesignerpropertysheetextension.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtDesigner/qpydesignercustomwidgetplugin.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtDesigner/qpydesignercustomwidgetcollectionplugin.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtDesigner/qpydesignertaskmenuextension.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtGui/qpyopengl_data_cache.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtGui/qpyopengl_misc.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtGui/qpyopengl_uniform_value_array.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtGui/qpyopengl_value_array.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtGui/qpyopengl_add_constants.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtGui/qpyopengl_get.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtGui/qpyopengl_attribute_array.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtGui/qpyopengl_version_functions.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtGui/qpyopengl_array_convertors.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtGui/qpyopengl_data_cache.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtGui/qpyopengl_api.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtGui/qpyopengl_init.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/pyrcc/rcc.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/pyrcc/rcc.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtQuick/qpyquick_post_init.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtQuick/qpyquickframebufferobject.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtQuick/qpyquick_register_type.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtQuick/qpyquick_chimera_helpers.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtQuick/qpyquickpainteditem.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtQuick/qpyquick_api.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtQuick/qpyquick_chimera_helpers.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtQuick/qpyquickframebufferobject.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtQuick/qpyquickpainteditem.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtQuick/qpyquickview.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtQuick/qpyquickwindow.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtQuick/qpyquick_register_type.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtQuick/qpyquickitem.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtQuick/qpyquickitem.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtQuick/qpyquickwindow.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtQuick/qpyquickview.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtDBus/qpydbusreply.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtDBus/qpydbus_post_init.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtDBus/qpydbuspendingreply.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtDBus/qpydbus_api.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtDBus/qpydbusreply.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtDBus/qpydbuspendingreply.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtDBus/qpydbus_chimera_helpers.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtDBus/qpydbus_chimera_helpers.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtWidgets/qpywidgets_api.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtWidgets/qpywidgets_chimera_helpers.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtWidgets/qpywidgets_chimera_helpers.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtWidgets/qpywidgets_post_init.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/pylupdate/proparser.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/pylupdate/fetchtr.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/pylupdate/pylupdate.h
Examining data/pyqt5-5.15.1+dfsg/qpy/pylupdate/numberh.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/pylupdate/merge.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/pylupdate/simtexth.h
Examining data/pyqt5-5.15.1+dfsg/qpy/pylupdate/metatranslator.h
Examining data/pyqt5-5.15.1+dfsg/qpy/pylupdate/metatranslator.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/pylupdate/translator.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/pylupdate/sametexth.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/pylupdate/proparser.h
Examining data/pyqt5-5.15.1+dfsg/qpy/pylupdate/translator.h
Examining data/pyqt5-5.15.1+dfsg/qpy/pylupdate/simtexth.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_classinfo.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_pyqtsignal.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_event_handlers.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_misc.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_qt_conf.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_types.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_types.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_pyqtproperty.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_pyqtproperty.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_enums_flags.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_init.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_qvariant_value.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_namespace.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_pyqtpyobject.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_pyqtmethodproxy.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_decorators.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_chimera.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_pyqtslot.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_qstring.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_qmetaobject.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_qmetaobjectbuilder.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_chimera.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_misc.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_pyqtsignal.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_pyqtpyobject.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_qobject_helpers.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_objectified_strings.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_pyqtslotproxy.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_qobject_getattr.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_pyqtmethodproxy.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_pyqtconfigure.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_pyqtslotproxy.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_qmetaobject_helpers.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_chimera_storage.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_qvariant.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_qvariantmap.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_enums_flags.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_chimera_signature.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_classinfo.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_qmessagelogger.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_event_handlers.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_public_api.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_pyqtslot.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_public_api.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_qjsonvalue.cpp
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_pyqtboundsignal.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_qobject_helpers.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_api.h
Examining data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_pyqtboundsignal.cpp
Examining data/pyqt5-5.15.1+dfsg/designer/pluginloader.cpp
Examining data/pyqt5-5.15.1+dfsg/designer/pluginloader.h
Examining data/pyqt5-5.15.1+dfsg/qmlscene/pluginloader.cpp
Examining data/pyqt5-5.15.1+dfsg/qmlscene/pluginloader.h

FINAL RESULTS:

data/pyqt5-5.15.1+dfsg/qpy/pylupdate/fetchtr.cpp:910:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    msg.sprintf( "Parse error at line %d, column %d (%s).",
data/pyqt5-5.15.1+dfsg/qpy/pylupdate/metatranslator.cpp:236:13:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        msg.sprintf( "Parse error at line %d, column %d (%s).",
data/pyqt5-5.15.1+dfsg/qpy/pylupdate/proparser.cpp:58:18:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
#define QT_POPEN popen
data/pyqt5-5.15.1+dfsg/designer/pluginloader.cpp:62:23:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    char *pyqt_path = getenv("PYQTDESIGNERPATH");
data/pyqt5-5.15.1+dfsg/qmlscene/pluginloader.cpp:164:28:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    const char *env_path = getenv("QML2_IMPORT_PATH");
data/pyqt5-5.15.1+dfsg/config-tests/cfgtest_QtCore.cpp:12: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 (!outf.open(QIODevice::WriteOnly|QIODevice::Truncate|QIODevice::Text))
data/pyqt5-5.15.1+dfsg/config-tests/cfgtest_QtGui.cpp:14: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 (!outf.open(QIODevice::WriteOnly|QIODevice::Truncate|QIODevice::Text))
data/pyqt5-5.15.1+dfsg/config-tests/cfgtest_QtNetwork.cpp:14: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 (!outf.open(QIODevice::WriteOnly|QIODevice::Truncate|QIODevice::Text))
data/pyqt5-5.15.1+dfsg/config-tests/cfgtest_QtPrintSupport.cpp:14: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 (!outf.open(QIODevice::WriteOnly|QIODevice::Truncate|QIODevice::Text))
data/pyqt5-5.15.1+dfsg/designer/pluginloader.cpp:199:5:  [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(PyUnicode_AS_UNICODE(dobj), ucs4.constData(),
data/pyqt5-5.15.1+dfsg/designer/pluginloader.cpp:210:5:  [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(PyUnicode_AS_UNICODE(dobj), native_dir.utf16(),
data/pyqt5-5.15.1+dfsg/qmlscene/pluginloader.cpp:356:5:  [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(PyUnicode_AS_UNICODE(plugin_dir_obj), ucs4.constData(),
data/pyqt5-5.15.1+dfsg/qmlscene/pluginloader.cpp:368:5:  [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(PyUnicode_AS_UNICODE(plugin_dir_obj), py_plugin_dir.utf16(),
data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_public_api.cpp:269:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char **argv = new char *[2 * (argc + 1)];
data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_qstring.cpp:147:5:  [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(PyUnicode_AS_UNICODE(obj), ucs4.constData(),
data/pyqt5-5.15.1+dfsg/qpy/QtCore/qpycore_qstring.cpp:153:5:  [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(PyUnicode_AS_UNICODE(obj), qstr.utf16(),
data/pyqt5-5.15.1+dfsg/qpy/pylupdate/fetchtr.cpp:98:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char yyIdent[128];
data/pyqt5-5.15.1+dfsg/qpy/pylupdate/fetchtr.cpp:100:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char yyComment[65536];
data/pyqt5-5.15.1+dfsg/qpy/pylupdate/fetchtr.cpp:102:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char yyString[65536];
data/pyqt5-5.15.1+dfsg/qpy/pylupdate/fetchtr.cpp:476:33:  [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(yyString + yyStringLen, convertedBytes.constData(), len);
data/pyqt5-5.15.1+dfsg/qpy/pylupdate/fetchtr.cpp:802:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char buf[100];
data/pyqt5-5.15.1+dfsg/qpy/pylupdate/fetchtr.cpp:809:16:  [2] (misc) fopen:
  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).
    yyInFile = fopen( fileName, "r" );
data/pyqt5-5.15.1+dfsg/qpy/pylupdate/fetchtr.cpp:931: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).
    if ( !f.open(QIODevice::ReadOnly) ) {
data/pyqt5-5.15.1+dfsg/qpy/pylupdate/fetchtr.cpp:934:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char buf[100];
data/pyqt5-5.15.1+dfsg/qpy/pylupdate/metatranslator.cpp:404: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).
    if ( !f.open(QIODevice::ReadOnly) )
data/pyqt5-5.15.1+dfsg/qpy/pylupdate/metatranslator.cpp:431: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).
    if ( !f.open(QIODevice::WriteOnly) )
data/pyqt5-5.15.1+dfsg/qpy/pylupdate/proparser.cpp:64:16:  [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(QIODevice::ReadOnly) ) {
data/pyqt5-5.15.1+dfsg/qpy/pylupdate/proparser.cpp:206:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char buff[256];
data/pyqt5-5.15.1+dfsg/qpy/pylupdate/translator.cpp:442: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(QIODevice::ReadOnly))
data/pyqt5-5.15.1+dfsg/qpy/pylupdate/translator.cpp:530: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).
    if (file.open(QIODevice::WriteOnly)) {
data/pyqt5-5.15.1+dfsg/qpy/pyrcc/rcc.cpp:115: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 (!file.open(QFile::ReadOnly)) {
data/pyqt5-5.15.1+dfsg/qpy/pyrcc/rcc.cpp:334:25:  [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 (!fileIn.open(stdin, QIODevice::ReadOnly)) {
data/pyqt5-5.15.1+dfsg/qpy/pyrcc/rcc.cpp:341:25:  [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 (!fileIn.open(QIODevice::ReadOnly)) {
data/pyqt5-5.15.1+dfsg/qpy/pyrcc/rcc.cpp:390:21:  [2] (misc) fopen:
  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).
    else if ((out = fopen(out_name.toLocal8Bit().constData(), "w")) == NULL)
data/pyqt5-5.15.1+dfsg/dbus/dbus.cpp:54:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        hlp->connect(watcher.read, SIGNAL(activated(int)), SLOT(readSocket(int)));
data/pyqt5-5.15.1+dfsg/dbus/dbus.cpp:86:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            if (watcher.read)
data/pyqt5-5.15.1+dfsg/dbus/dbus.cpp:87:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                delete watcher.read;
data/pyqt5-5.15.1+dfsg/dbus/dbus.cpp:120:56:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            if (flags & DBUS_WATCH_READABLE && watcher.read)
data/pyqt5-5.15.1+dfsg/dbus/dbus.cpp:274:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if (watcher.read && watcher.read->isEnabled())
data/pyqt5-5.15.1+dfsg/dbus/dbus.cpp:280:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            if (watcher.read)
data/pyqt5-5.15.1+dfsg/dbus/helper.h:47:31:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        Watcher() : watch(0), read(0), write(0) {}
data/pyqt5-5.15.1+dfsg/dbus/helper.h:50:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        QPointer<QSocketNotifier> read;
data/pyqt5-5.15.1+dfsg/qpy/pylupdate/fetchtr.cpp:135:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        c = getc( yyInFile );
data/pyqt5-5.15.1+dfsg/qpy/pylupdate/fetchtr.cpp:143:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        c = getc( yyInFile ); // Last byte of a \r\n sequence?
data/pyqt5-5.15.1+dfsg/qpy/pylupdate/numberh.cpp:80:24:  [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).
    zeroed.resize( int(strlen(key)) + 1 );
data/pyqt5-5.15.1+dfsg/qpy/pylupdate/translator.cpp:443:48:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            ok = (d->unmapLength == (uint)file.read(d->unmapPointer, d->unmapLength));

ANALYSIS SUMMARY:

Hits = 46
Lines analyzed = 32490 in approximately 1.06 seconds (30706 lines/second)
Physical Source Lines of Code (SLOC) = 22030
Hits@level = [0]  72 [1]  12 [2]  29 [3]   2 [4]   3 [5]   0
Hits@level+ = [0+] 118 [1+]  46 [2+]  34 [3+]   5 [4+]   3 [5+]   0
Hits/KSLOC@level+ = [0+] 5.35633 [1+] 2.08806 [2+] 1.54335 [3+] 0.226963 [4+] 0.136178 [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.