deepin-util-dfm-1.3.3-1.fc42
List of Findings
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1]
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/vfs_dirhash.c: scope_hint: In function ‘dirhash_get’
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/queue.h:481:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/vfs_dirhash.c:242:17: note: in expansion of macro ‘TAILQ_REMOVE’
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/vfs_dirhash.c:42: included_from: Included from here.
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/vfs_dirhash.c:242:17: note: in expansion of macro ‘TAILQ_REMOVE’
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/vfs_dirhash.c:242:17: note: in expansion of macro ‘TAILQ_REMOVE’
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/vfs_dirhash.c:242:17: note: in expansion of macro ‘TAILQ_REMOVE’
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/vfs_dirhash.c:242:17: note: in expansion of macro ‘TAILQ_REMOVE’
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/vfs_dirhash.c:242:17: note: in expansion of macro ‘TAILQ_REMOVE’
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/vfs_dirhash.c:242:17: note: in expansion of macro ‘TAILQ_REMOVE’
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/vfs_dirhash.c:242:17: note: in expansion of macro ‘TAILQ_REMOVE’
Error: COMPILER_WARNING (CWE-563): [#def2]
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/udf.c: scope_hint: In function ‘udf_to_unix_name’
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/udf.c:180:19: warning[-Wunused-but-set-variable]: variable ‘outchp’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def3]
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/udf.c: scope_hint: In function ‘udf_node_get_fileinfo’
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/udf.c:849:43: warning[-Wunused-but-set-variable]: variable ‘ctime’ set but not used
Error: COMPILER_WARNING (CWE-465): [#def4]
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/udf.c: scope_hint: In function ‘udf_writeout_udf_node’
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/udf.c:1826:27: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct file_entry’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def5]
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/udf.c:1832:27: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct extfile_entry’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def6]
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/udf.c:1838:27: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct alloc_ext_entry’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def7]
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/udf.c: scope_hint: In function ‘udf_proc_logvol_integrity’
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/udf.c:2956:22: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct logvol_int_desc’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def8]
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/udf.c:2957:22: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct logvol_int_desc’ may result in an unaligned pointer value
Error: CPPCHECK_WARNING (CWE-457): [#def9]
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/udf.c:3048: warning[uninitvar]: Uninitialized variables: dscr.tag, dscr.avdp, dscr.vdp, dscr.pvd, dscr.lvd, dscr.usd, dscr.lvid, dscr.ivd, dscr.pd, dscr.fsd, dscr.fid, dscr.fe, dscr.efe, dscr.eahd, dscr.inde, dscr.aee, dscr.spt, dscr.sbd, dscr.sed
Error: CPPCHECK_WARNING (CWE-457): [#def10]
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/udf.c:4545: warning[uninitvar]: Uninitialized variables: dscr.tag, dscr.avdp, dscr.vdp, dscr.pvd, dscr.lvd, dscr.usd, dscr.lvid, dscr.ivd, dscr.pd, dscr.fsd, dscr.fid, dscr.fe, dscr.efe, dscr.eahd, dscr.inde, dscr.aee, dscr.spt, dscr.sbd, dscr.sed
Error: COMPILER_WARNING (CWE-465): [#def11]
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/udf.c: scope_hint: In function ‘udf_writeout_LVID’
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/udf.c:4569:22: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct logvol_int_desc’ may result in an unaligned pointer value
Error: COMPILER_WARNING (CWE-465): [#def12]
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/udf.c:4570:22: warning[-Waddress-of-packed-member]: taking address of packed member of ‘struct logvol_int_desc’ may result in an unaligned pointer value
Error: GCC_ANALYZER_WARNING (CWE-476): [#def13]
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/udf_discop.c: scope_hint: In function ‘udf_write_physical_sectors’
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/udf_discop.c:1378:39: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buffer’
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/udf_discop.c:41: included_from: Included from here.
Error: CPPCHECK_WARNING (CWE-758): [#def14]
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/udf_readwrite.c:271: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def15]
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/udf_readwrite.c:332: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: COMPILER_WARNING (CWE-252): [#def16]
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/udfclient.c: scope_hint: In function ‘udfclient_interact’
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/udfclient.c:1561:24: warning[-Wunused-result]: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def17]
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/vfs_dirhash.c: scope_hint: In function ‘dirhash_purge_entries.part.0’
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/vfs_dirhash.c:178:25: warning[-Wanalyzer-double-free]: double-‘free’ of ‘dirh_e’
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/vfs_dirhash.c:51: included_from: Included from here.
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/vfs_dirhash.c:176:25: note: in expansion of macro ‘LIST_REMOVE’
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/vfs_dirhash.c:176:25: note: in expansion of macro ‘LIST_REMOVE’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def18]
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/vfs_dirhash.c:186:17: warning[-Wanalyzer-double-free]: double-‘free’ of ‘dirh_e’
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/vfs_dirhash.c:184:17: note: in expansion of macro ‘LIST_REMOVE’
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/vfs_dirhash.c:184:17: note: in expansion of macro ‘LIST_REMOVE’
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/vfs_dirhash.c:184:17: note: in expansion of macro ‘LIST_REMOVE’
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/3rdparty/udfclient/vfs_dirhash.c:184:17: note: in expansion of macro ‘LIST_REMOVE’
Error: COMPILER_WARNING (CWE-252): [#def19]
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/dfm-burn-lib/dpacketwritingcontroller.cpp: scope_hint: In constructor ‘dfmburn::DPacketWritingControllerPrivate::DPacketWritingControllerPrivate()’
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/dfm-burn-lib/dpacketwritingcontroller.cpp:46:13: warning[-Wunused-result]: ignoring return value of ‘char* getcwd(char*, size_t)’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-710): [#def20]
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/dfm-burn-lib/dpacketwritingcontroller.cpp: scope_hint: In member function ‘QString dfmburn::DPacketWritingControllerPrivate::makeDiscRootPath()’
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/dfm-burn-lib/dpacketwritingcontroller.cpp:95:49: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def21]
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/dfm-burn-lib/dpacketwritingcontroller.cpp: scope_hint: In member function ‘bool dfmburn::DPacketWritingController::put(const QString&)’
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/dfm-burn-lib/dpacketwritingcontroller.cpp:229:48: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def22]
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/dfm-burn-lib/dpacketwritingcontroller.cpp:229:84: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def23]
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/dfm-burn-lib/dpacketwritingcontroller.cpp: scope_hint: In member function ‘bool dfmburn::DPacketWritingController::mv(const QString&, const QString&)’
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/dfm-burn-lib/dpacketwritingcontroller.cpp:268:60: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def24]
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/dfm-burn-lib/dpacketwritingcontroller.cpp:283:58: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-710): [#def25]
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/dfm-burn-lib/dpacketwritingcontroller.cpp: scope_hint: In member function ‘bool dfmburn::DPacketWritingController::rm(const QString&)’
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-burn/dfm-burn-lib/dpacketwritingcontroller.cpp:332:56: warning[-Wwrite-strings]: ISO C++ forbids converting a string constant to ‘char*’
Error: COMPILER_WARNING (CWE-477): [#def26]
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-io/dfm-io/dfmio_utils.cpp: scope_hint: In static member function ‘static QString dfmio::DFMUtils::devicePathFromUrl(const QUrl&)’
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-io/dfm-io/dfmio_utils.cpp:50:60: warning[-Wdeprecated-declarations]: ‘GUnixMountEntry* g_unix_mount_for(const char*, guint64*)’ is deprecated: Use 'g_unix_mount_entry_for' instead
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-io/dfm-io/dfmio_utils.cpp:11: included_from: Included from here.
/usr/include/gio-unix-2.0/gio/gunixmounts.h:213:18: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def27]
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-io/dfm-io/dfmio_utils.cpp:52:71: warning[-Wdeprecated-declarations]: ‘const char* g_unix_mount_get_device_path(GUnixMountEntry*)’ is deprecated: Use 'g_unix_mount_entry_get_device_path' instead
/usr/include/gio-unix-2.0/gio/gunixmounts.h:98:16: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def28]
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-io/dfm-io/dfmio_utils.cpp: scope_hint: In static member function ‘static QString dfmio::DFMUtils::deviceNameFromUrl(const QUrl&)’
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-io/dfm-io/dfmio_utils.cpp:63:56: warning[-Wdeprecated-declarations]: ‘GUnixMountEntry* g_unix_mount_for(const char*, guint64*)’ is deprecated: Use 'g_unix_mount_entry_for' instead
/usr/include/gio-unix-2.0/gio/gunixmounts.h:213:18: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def29]
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-io/dfm-io/dfmio_utils.cpp:65:67: warning[-Wdeprecated-declarations]: ‘const char* g_unix_mount_get_device_path(GUnixMountEntry*)’ is deprecated: Use 'g_unix_mount_entry_get_device_path' instead
/usr/include/gio-unix-2.0/gio/gunixmounts.h:98:16: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def30]
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-io/dfm-io/dfmio_utils.cpp: scope_hint: In static member function ‘static QString dfmio::DFMUtils::fsTypeFromUrl(const QUrl&)’
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-io/dfm-io/dfmio_utils.cpp:78:56: warning[-Wdeprecated-declarations]: ‘GUnixMountEntry* g_unix_mount_for(const char*, guint64*)’ is deprecated: Use 'g_unix_mount_entry_for' instead
/usr/include/gio-unix-2.0/gio/gunixmounts.h:213:18: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def31]
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-io/dfm-io/dfmio_utils.cpp:80:63: warning[-Wdeprecated-declarations]: ‘const char* g_unix_mount_get_fs_type(GUnixMountEntry*)’ is deprecated: Use 'g_unix_mount_entry_get_fs_type' instead
/usr/include/gio-unix-2.0/gio/gunixmounts.h:108:16: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def32]
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-io/dfm-io/dfmio_utils.cpp: scope_hint: In static member function ‘static QString dfmio::DFMUtils::mountPathFromUrl(const QUrl&)’
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-io/dfm-io/dfmio_utils.cpp:93:56: warning[-Wdeprecated-declarations]: ‘GUnixMountEntry* g_unix_mount_for(const char*, guint64*)’ is deprecated: Use 'g_unix_mount_entry_for' instead
/usr/include/gio-unix-2.0/gio/gunixmounts.h:213:18: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def33]
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-io/dfm-io/dfmio_utils.cpp:95:66: warning[-Wdeprecated-declarations]: ‘const char* g_unix_mount_get_mount_path(GUnixMountEntry*)’ is deprecated: Use 'g_unix_mount_entry_get_mount_path' instead
/usr/include/gio-unix-2.0/gio/gunixmounts.h:93:16: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def34]
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-io/dfm-io/dfmio_utils.cpp: scope_hint: In static member function ‘static bool dfmio::DFMUtils::supportTrash(const QUrl&)’
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-io/dfm-io/dfmio_utils.cpp:330:56: warning[-Wdeprecated-declarations]: ‘GUnixMountEntry* g_unix_mount_for(const char*, guint64*)’ is deprecated: Use 'g_unix_mount_entry_for' instead
/usr/include/gio-unix-2.0/gio/gunixmounts.h:213:18: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def35]
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-io/dfm-io/dfmio_utils.cpp:331:61: warning[-Wdeprecated-declarations]: ‘gboolean g_unix_mount_is_system_internal(GUnixMountEntry*)’ is deprecated: Use 'g_unix_mount_entry_is_system_internal' instead
/usr/include/gio-unix-2.0/gio/gunixmounts.h:123:16: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def36]
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-io/dfm-io/utils/dlocalhelper.cpp:696:51: warning[-Wdeprecated-declarations]: ‘QStringList QString::split(QChar, SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use split(QChar sep, Qt::SplitBehavior ...) variant instead
/usr/include/qt5/QtCore/qstring.h:612:17: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def37]
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-io/dfm-io/utils/dlocalhelper.cpp: scope_hint: In static member function ‘static QSet<QString> dfmio::DLocalHelper::hideListFromUrl(const QUrl&)’
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-io/dfm-io/utils/dlocalhelper.cpp:696:67: warning[-Wdeprecated-declarations]: ‘QString::SkipEmptyParts’ is deprecated
/usr/include/qt5/QtCore/QString:1: included_from: Included from here.
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/include/dfm-io/dfm-io/error/en.h:8: included_from: Included from here.
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/include/dfm-io/dfm-io/error/error.h:8: included_from: Included from here.
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/include/dfm-io/dfm-io/dfileinfo.h:9: included_from: Included from here.
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-io/dfm-io/utils/dlocalhelper.h:9: included_from: Included from here.
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-io/dfm-io/utils/dlocalhelper.cpp:5: included_from: Included from here.
/usr/include/qt5/QtCore/qstring.h:602:9: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def38]
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-io/dfm-io/utils/dlocalhelper.cpp:697:43: warning[-Wdeprecated-declarations]: ‘static QSet<T> QSet<T>::fromList(const QList<T>&) [with T = QString]’ is deprecated: Use QSet<T>(list.begin(), list.end()) instead.
/usr/include/qt5/QtCore/qdebug.h:52: included_from: Included from here.
/usr/include/qt5/QtCore/qcborcommon.h:45: included_from: Included from here.
/usr/include/qt5/QtCore/qcborvalue.h:45: included_from: Included from here.
/usr/include/qt5/QtCore/qcborarray.h:43: included_from: Included from here.
/usr/include/qt5/QtCore/QtCore:38: included_from: Included from here.
/usr/include/qt5/QtConcurrent/QtConcurrentDepends:3: included_from: Included from here.
/usr/include/qt5/QtConcurrent/QtConcurrent:3: included_from: Included from here.
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/include/dfm-io/dfm-io/dfileinfo.h:15: included_from: Included from here.
/usr/include/qt5/QtCore/qset.h:416:9: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def39]
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-mount/lib/dprotocoldevice.cpp:134:43: warning[-Wdeprecated-declarations]: ‘QStringList QString::split(const QString&, SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use split(const QString &sep, Qt::SplitBehavior ...) variant instead
/usr/include/qt5/QtCore/qstring.h:606:17: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def40]
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-mount/lib/dprotocoldevice.cpp: scope_hint: In member function ‘QStringList dfmmount::DProtocolDevice::deviceIcons() const’
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-mount/lib/dprotocoldevice.cpp:134:58: warning[-Wdeprecated-declarations]: ‘QString::SkipEmptyParts’ is deprecated
/usr/include/qt5/QtCore/QString:1: included_from: Included from here.
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/include/dfm-mount/dfm-mount/base/dmount_global.h:8: included_from: Included from here.
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-mount/lib/dprotocoldevice.cpp:5: included_from: Included from here.
/usr/include/qt5/QtCore/qstring.h:602:9: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def41]
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-mount/lib/dprotocolmonitor.cpp: scope_hint: In static member function ‘static bool dfmmount::DProtocolMonitorPrivate::isNativeMount(const QString&)’
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-mount/lib/dprotocolmonitor.cpp:333:53: warning[-Wdeprecated-declarations]: ‘GUnixMountEntry* g_unix_mount_for(const char*, guint64*)’ is deprecated: Use 'g_unix_mount_entry_for' instead
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-mount/lib/dprotocolmonitor.cpp:20: included_from: Included from here.
/usr/include/gio-unix-2.0/gio/gunixmounts.h:213:18: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def42]
deepin-util-dfm-1.3.3-build/util-dfm-1.3.3/src/dfm-mount/lib/dprotocolmonitor.cpp:335:55: warning[-Wdeprecated-declarations]: ‘const char* g_unix_mount_get_device_path(GUnixMountEntry*)’ is deprecated: Use 'g_unix_mount_entry_get_device_path' instead
/usr/include/gio-unix-2.0/gio/gunixmounts.h:98:16: note: declared here
Scan Properties
analyzer-version-clippy | 1.82.0 |
analyzer-version-cppcheck | 2.16.0 |
analyzer-version-gcc | 14.2.1 |
analyzer-version-gcc-analyzer | 15.0.0 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-156.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | deepin-util-dfm-1.3.3-1.fc42 |
store-results-to | /tmp/tmpjh_rvqrj/deepin-util-dfm-1.3.3-1.fc42.tar.xz |
time-created | 2024-11-12 23:33:02 |
time-finished | 2024-11-12 23:35:12 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpjh_rvqrj/deepin-util-dfm-1.3.3-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpjh_rvqrj/deepin-util-dfm-1.3.3-1.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |