tracker-miners-3.7.3-1.fc41
List of Defects
Error: CPPCHECK_WARNING: [#def1]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/redhat-linux-build/src/tracker-control/tracker-dbus-files-index.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def2]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/redhat-linux-build/src/tracker-control/tracker-dbus-files-proxy.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def3]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/libtracker-extract/tracker-exif.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def4]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/libtracker-extract/tracker-module-manager.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def5]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/libtracker-extract/tracker-module-manager.c: scope_hint: In function ‘lookup_rules.part.0’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/libtracker-extract/tracker-module-manager.c:258:15: warning[-Wanalyzer-null-argument]: use of NULL ‘mimetype’ where non-null expected
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/libtracker-extract/tracker-module-manager.h:27: included_from: Included from here.
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/libtracker-extract/tracker-module-manager.c:24: included_from: Included from here.
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/libtracker-extract/tracker-module-manager.c:256:20: note: in expansion of macro ‘g_strdup’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/libtracker-extract/tracker-module-manager.c: scope_hint: In function ‘lookup_rules.part.0’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
# 256| reversed = g_strdup (mimetype);
# 257| g_strreverse (reversed);
# 258|-> len = strlen (mimetype);
# 259|
# 260| /* Apply the rules! */
Error: CPPCHECK_WARNING: [#def6]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/libtracker-extract/tracker-resource-helpers.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def7]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/libtracker-extract/tracker-resource-helpers.c:180:9: warning[deadcode.DeadStores]: Although the value stored to 'generated_uri' is used in the enclosing expression, the value is never actually read from 'generated_uri'
# 178|
# 179| if (uri == NULL) {
# 180|-> uri = generated_uri = tracker_sparql_escape_uri_printf ("urn:ExternalReference:%s:%s", source_uri, identifier);
# 181| }
# 182|
Error: CPPCHECK_WARNING: [#def8]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/libtracker-extract/tracker-utils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def9]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/libtracker-extract/tracker-utils.c: scope_hint: In function ‘tracker_keywords_parse’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/libtracker-extract/tracker-utils.c:888:22: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/libtracker-extract/tracker-utils.c:886:29: note: in expansion of macro ‘g_strdup’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/libtracker-extract/tracker-utils.c: scope_hint: In function ‘tracker_keywords_parse’
<built-in>: note: argument 1 of ‘__builtin_strchr’ must be non-null
# 886| keywords_d = orig = g_strdup (keywords);
# 887| p = keywords_d;
# 888|-> keywords_d = strchr (keywords_d, '"');
# 889|
# 890| if (keywords_d) {
Error: CPPCHECK_WARNING: [#def10]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/libtracker-extract/tracker-xmp.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def11]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/libtracker-miners-common/tracker-domain-ontology.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def12]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/libtracker-miners-common/tracker-file-utils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def13]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/libtracker-miners-common/tracker-file-utils.c: scope_hint: In function ‘statvfs_helper’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/libtracker-miners-common/tracker-file-utils.c:256:19: warning[-Wanalyzer-null-argument]: use of NULL ‘_path’ where non-null expected
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/libtracker-miners-common/tracker-file-utils.c:285:26: note: in expansion of macro ‘__statvfs’
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/libtracker-miners-common/tracker-file-utils.c:46: included_from: Included from here.
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/libtracker-miners-common/tracker-file-utils.c:283:17: note: in expansion of macro ‘g_strdup’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/libtracker-miners-common/tracker-file-utils.c:285:26: note: in expansion of macro ‘__statvfs’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/libtracker-miners-common/tracker-file-utils.c:34: included_from: Included from here.
/usr/include/sys/statfs.h:43:12: note: argument 1 of ‘statfs64’ must be non-null
# 254|
# 255| #ifdef __USE_LARGEFILE64
# 256|-> #define __statvfs statfs64
# 257| #else
# 258| #define __statvfs statfs
Error: GCC_ANALYZER_WARNING (CWE-775): [#def14]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/libtracker-miners-common/tracker-file-utils.c: scope_hint: In function ‘tracker_file_get_btrfs_subvolume_id’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/libtracker-miners-common/tracker-file-utils.c:887:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(g_file_get_path(file), 0)’
# 885| return NULL;
# 886|
# 887|-> fd = open (path, O_RDONLY);
# 888| if (fd < 0)
# 889| return NULL;
Error: CPPCHECK_WARNING: [#def15]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/libtracker-miners-common/tracker-landlock.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def16]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/libtracker-miners-common/tracker-miner-proxy.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def17]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/libtracker-miners-common/tracker-term-utils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-775): [#def18]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/libtracker-miners-common/tracker-term-utils.c: scope_hint: In function ‘tracker_term_pipe_to_pager’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/libtracker-miners-common/tracker-term-utils.c:180:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(fds[1], 1)’
# 178| close (fds[0]);
# 179|
# 180|-> if (dup2(fds[1], STDOUT_FILENO) < 0)
# 181| return FALSE;
# 182|
Error: CPPCHECK_WARNING: [#def19]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/libtracker-miners-common/tracker-type-utils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def20]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/libtracker-miners-common/tracker-utils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def21]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/miners/fs/tracker-controller.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def22]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/miners/fs/tracker-extract-watchdog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def23]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/miners/fs/tracker-file-notifier.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def24]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/miners/fs/tracker-indexing-tree.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def25]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/miners/fs/tracker-main.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def26]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/miners/fs/tracker-miner-files-methods.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def27]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/miners/fs/tracker-miner-files.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def28]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/miners/fs/tracker-miner-files.c:1073:2: warning[deadcode.DeadStores]: Value stored to 'domain_name' is never read
# 1071| disk_space_check_start (mf);
# 1072|
# 1073|-> domain_name = tracker_domain_ontology_get_domain (mf->private->domain_ontology, NULL);
# 1074| mf->private->extract_watchdog =
# 1075| tracker_extract_watchdog_new (tracker_miner_get_connection (TRACKER_MINER (mf)),
Error: CPPCHECK_WARNING: [#def29]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/miners/fs/tracker-miner-fs.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def30]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/miners/fs/tracker-monitor-fanotify.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def31]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/miners/fs/tracker-monitor-glib.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def32]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/miners/fs/tracker-priority-queue.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def33]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/miners/fs/tracker-storage.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def34]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/miners/fs/tracker-storage.c: scope_hint: In function ‘get_mount_point_by_uuid_foreach’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/miners/fs/tracker-storage.c:887:23: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:30: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
/usr/include/glib-2.0/gio/gioenums.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/giotypes.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/gio.h:28: included_from: Included from here.
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/miners/fs/tracker-storage.c:24: included_from: Included from here.
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/miners/fs/tracker-storage.c:886:42: note: in expansion of macro ‘g_strdup’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/miners/fs/tracker-storage.c: scope_hint: In function ‘get_mount_point_by_uuid_foreach’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
# 885|
# 886| normalized_mount_point = g_strdup (info->mount_point);
# 887|-> len = strlen (normalized_mount_point);
# 888|
# 889| /* Don't include trailing slashes */
Error: CPPCHECK_WARNING: [#def35]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/miners/rss/tracker-main.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def36]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/miners/rss/tracker-miner-online.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def37]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/miners/rss/tracker-miner-rss.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-477): [#def38]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/miners/rss/tracker-miner-rss.c: scope_hint: In function ‘parse_html_text’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/miners/rss/tracker-miner-rss.c:158:9: warning[-Wdeprecated-declarations]: ‘htmlSAXParseDoc’ is deprecated
/usr/include/libgrss/libgrss.h:31: included_from: Included from here.
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/miners/rss/tracker-miner-rss.c:25: included_from: Included from here.
/usr/include/libxml2/libxml/HTMLparser.h:145:25: note: declared here
# 156|
# 157| string = g_string_new (NULL);
# 158|-> doc = htmlSAXParseDoc ((xmlChar *) html, "UTF-8", &handler, string);
# 159|
# 160| if (doc) {
Error: CPPCHECK_WARNING: [#def39]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-control/tracker-miner-files-peer-listener.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def40]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-control/tracker-miner-files-peer-listener.c: scope_hint: In function ‘tracker_miner_files_peer_listener_add_watch’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-control/tracker-miner-files-peer-listener.c:381:47: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:30: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-control/tracker-miner-files-peer-listener.h:25: included_from: Included from here.
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-control/tracker-miner-files-peer-listener.c:30: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-control/tracker-miner-files-peer-listener.c:361:9: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-control/tracker-miner-files-peer-listener.h:32:60: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-control/tracker-miner-files-peer-listener.c:361:27: note: in expansion of macro ‘TRACKER_IS_MINER_FILES_PEER_LISTENER’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-control/tracker-miner-files-peer-listener.c:361:9: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-control/tracker-miner-files-peer-listener.h:32:60: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-control/tracker-miner-files-peer-listener.c:361:27: note: in expansion of macro ‘TRACKER_IS_MINER_FILES_PEER_LISTENER’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-control/tracker-miner-files-peer-listener.c:362:9: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
/usr/include/glib-2.0/gio/gfile.h:36:33: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-control/tracker-miner-files-peer-listener.c:362:27: note: in expansion of macro ‘G_IS_FILE’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-control/tracker-miner-files-peer-listener.c:362:9: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
/usr/include/glib-2.0/gio/gfile.h:36:33: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-control/tracker-miner-files-peer-listener.c:362:27: note: in expansion of macro ‘G_IS_FILE’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-control/tracker-miner-files-peer-listener.c:363:9: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:2295:11: note: in expansion of macro ‘G_STRUCT_MEMBER_P’
/usr/include/glib-2.0/gobject/gtype.h:2337:3: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN_PRE’
/usr/include/glib-2.0/gobject/gtype.h:2047:61: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN’
/usr/include/glib-2.0/gobject/gtype.h:1870:61: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-control/tracker-miner-files-peer-listener.c:64:1: note: in expansion of macro ‘G_DEFINE_TYPE_WITH_PRIVATE’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-control/tracker-miner-files-peer-listener.c: scope_hint: In function ‘tracker_miner_files_peer_listener_add_watch’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-control/tracker-miner-files-peer-listener.c:146:9: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
/usr/include/glib-2.0/gio/gfile.h:36:33: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-control/tracker-miner-files-peer-listener.c:146:31: note: in expansion of macro ‘G_IS_FILE’
/usr/include/glib-2.0/glib.h:64: included_from: Included from here.
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-control/tracker-miner-files-peer-listener.c:146:9: note: in expansion of macro ‘g_return_val_if_fail’
# 379| file_data = file_peers_data_new (file);
# 380| g_hash_table_insert (priv->file_peers,
# 381|-> file_data->file, file_data);
# 382| g_signal_emit (listener, signals[WATCH_FILE], 0, file_data->file);
# 383|
Error: CPPCHECK_WARNING: [#def41]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-cue-sheet.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def42]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-abw.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def43]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-bmp.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def44]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-desktop.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def45]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-disc-generic.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def46]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-epub.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def47]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-gif.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def48]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-gif.c: scope_hint: In function ‘ext_block_append’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-gif.c:61:25: warning[-Wanalyzer-malloc-leak]: leak of ‘extBlock.bytes’
# 59| unsigned char extData[])
# 60| {
# 61|-> extBlock->bytes = realloc(extBlock->bytes,extBlock->byteCount+len);
# 62| if (extBlock->bytes == NULL) {
# 63| return (GIF_ERROR);
Error: CLANG_WARNING: [#def49]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-gif.c:133:4: warning[unix.Malloc]: Potential leak of memory pointed to by 'gd.comment'
# 131| print_gif_error ();
# 132| #else /* GIFLIB_MAJOR < 5 */
# 133|-> gif_error ("Could not read next GIF record type", gifFile->Error);
# 134| #endif /* GIFLIB_MAJOR < 5 */
# 135| return NULL;
Error: CLANG_WARNING: [#def50]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-gif.c:188:9: warning[unix.Malloc]: Potential leak of memory pointed to by 'extBlock.bytes'
# 186| if (ExtData != NULL) {
# 187| if (ext_block_append (&extBlock, ExtData[0]+1, (char *) &(ExtData[0])) != GIF_OK) {
# 188|-> g_warning ("Problem with extension data");
# 189| return NULL;
# 190| }
Error: CLANG_WARNING: [#def51]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-gif.c:215:7: warning[unix.Malloc]: Potential leak of memory pointed to by 'extBlock.bytes'
# 213| ExtData[0]);
# 214| if (ext_block_append (&extBlock, ExtData[0], (char *) &(ExtData[1])) != GIF_OK) {
# 215|-> g_warning ("Problem with Comment extension data");
# 216| return NULL;
# 217| }
Error: CLANG_WARNING: [#def52]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-gif.c:218:16: warning[deadcode.DeadStores]: Although the value stored to 'status' is used in the enclosing expression, the value is never actually read from 'status'
# 216| return NULL;
# 217| }
# 218|-> } while (((status = DGifGetExtensionNext(gifFile, &ExtData)) == GIF_OK) &&
# 219| ExtData != NULL);
# 220|
Error: CPPCHECK_WARNING: [#def53]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-gstreamer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def54]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-gstreamer.c:166:2: warning[deadcode.DeadStores]: Value stored to 'offset_str' is never read
# 164| gboolean complete;
# 165|
# 166|-> offset_str = "+";
# 167| year = hour = minute = second = 0;
# 168| month = day = 1;
Error: CPPCHECK_WARNING: [#def55]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-html.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-477): [#def56]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-html.c: scope_hint: In function ‘tracker_extract_get_metadata’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-html.c:292:9: warning[-Wdeprecated-declarations]: ‘htmlSAXParseFile’ is deprecated
# 292 | doc = htmlSAXParseFile (filename, NULL, &handler, &pd);
# | ^~~
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-html.c:27: included_from: Included from here.
/usr/include/libxml2/libxml/HTMLparser.h:157:25: note: declared here
# 157 | htmlSAXParseFile(const char *filename,
# | ^~~~~~~~~~~~~~~~
# 290|
# 291| filename = g_file_get_path (file);
# 292|-> doc = htmlSAXParseFile (filename, NULL, &handler, &pd);
# 293| g_free (filename);
# 294|
Error: CPPCHECK_WARNING: [#def57]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-icon.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def58]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-iso.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def59]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-jpeg.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def60]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-mp3.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def61]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-mp3.c:1346:2: warning[deadcode.DeadStores]: Value stored to 'm' is never read
# 1344| l = 0;
# 1345| r = G_N_ELEMENTS (id3v24_frames) - 1;
# 1346|-> m = 0;
# 1347|
# 1348| do {
Error: CLANG_WARNING: [#def62]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-mp3.c:1375:2: warning[deadcode.DeadStores]: Value stored to 'm' is never read
# 1373| l = 0;
# 1374| r = G_N_ELEMENTS (id3v2_frames) - 1;
# 1375|-> m = 0;
# 1376|
# 1377| do {
Error: CLANG_WARNING: [#def63]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-mp3.c:1546:4: warning[deadcode.DeadStores]: Although the value stored to 'ufid_type' is used in the enclosing expression, the value is never actually read from 'ufid_type'
# 1544| owner_len = strnlen (owner, csize);
# 1545| if (tracker_is_empty_string (owner) ||
# 1546|-> (ufid_type = id3_get_ufid_type (owner)) == UFID_UNKNOWN) {
# 1547| return;
# 1548| }
Error: CLANG_WARNING: [#def64]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-mp3.c:1987:16: warning[unix.Malloc]: Use of memory allocated with size zero
# 1985| const gchar *mime;
# 1986|
# 1987|-> text_type = data[pos + 0];
# 1988| mime = &data[pos + 1];
# 1989| pic_type = data[pos + 1 + 3];
Error: CLANG_WARNING: [#def65]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-mp3.c:2004:30: warning[unix.Malloc]: Use of memory allocated with size zero
# 2002| gchar *word;
# 2003|
# 2004|-> word = id3v2_text_to_utf8 (data[pos], &data[pos + 1], csize - 1, info);
# 2005| if (!tracker_is_empty_string (word)) {
# 2006| g_strstrip (word);
Error: CPPCHECK_WARNING: [#def66]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-msoffice-xml.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def67]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-msoffice.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def68]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-msoffice.c:556:47: warning[core.NullDereference]: Array access results in a null pointer dereference
# 554| for (i = 0; i < header.recLen; i++) {
# 555| /* We'll add an empty 0 byte between each byte in the array */
# 556|-> (*p_buffer)[(header.recLen - i - 1) * 2] = (*p_buffer)[header.recLen - i - 1];
# 557| (*p_buffer)[((header.recLen - i - 1) * 2) + 1] = '\0';
# 558| }
Error: CLANG_WARNING: [#def69]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-msoffice.c:851:2: warning[deadcode.DeadStores]: Value stored to 'lcb_piece_table' is never read
# 849| /* find out piece table from clx and set piece_table -pointer to it */
# 850| i = 0;
# 851|-> lcb_piece_table = 0;
# 852|
# 853| while (TRUE) {
Error: CPPCHECK_WARNING: [#def70]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-oasis.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def71]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-pdf.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def72]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-playlist.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def73]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-png.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def74]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-png.c:153:2: warning[deadcode.DeadStores]: Value stored to 'o' is never read
# 151| len = length;
# 152| i = 0;
# 153|-> o = 0;
# 154|
# 155| output = malloc (length + 1); /* A bit less with non-valid */
Error: GCC_ANALYZER_WARNING (CWE-476): [#def75]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-png.c: scope_hint: In function ‘raw_profile_new’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-png.c:171:27: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘output’
# 169| } while (q == 0);
# 170|
# 171|-> output[o] = (((p - lut) << 4) | (q - lut));
# 172| o++;
# 173| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def76]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-png.c:175:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘output’
# 173| }
# 174|
# 175|-> output[o] = '\0';
# 176| *output_length = o;
# 177|
Error: CPPCHECK_WARNING: [#def77]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-ps.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def78]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-raw.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-477): [#def79]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-raw.c: scope_hint: In function ‘parse_exif_data’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-raw.c:249:9: warning[-Wdeprecated-declarations]: ‘gexiv2_metadata_get_tag_string’ is deprecated: Use 'gexiv2_metadata_try_get_tag_string' instead
# 249 | ed->document_name = gexiv2_metadata_get_tag_string (metadata, "Exif.Image.DocumentName");
# | ^~
/usr/include/gexiv2/gexiv2.h:13: included_from: Included from here.
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-raw.c:24: included_from: Included from here.
/usr/include/gexiv2/gexiv2-metadata.h:714:25: note: declared here
# 714 | gchar* gexiv2_metadata_get_tag_string (GExiv2Metadata *self, const gchar* tag);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 247| goto out;
# 248|
# 249|-> ed->document_name = gexiv2_metadata_get_tag_string (metadata, "Exif.Image.DocumentName");
# 250|
# 251| time = gexiv2_metadata_get_tag_string (metadata, "Exif.Image.DateTime");
Error: COMPILER_WARNING (CWE-477): [#def80]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-raw.c:251:9: warning[-Wdeprecated-declarations]: ‘gexiv2_metadata_get_tag_string’ is deprecated: Use 'gexiv2_metadata_try_get_tag_string' instead
# 251 | time = gexiv2_metadata_get_tag_string (metadata, "Exif.Image.DateTime");
# | ^~~~
/usr/include/gexiv2/gexiv2-metadata.h:714:25: note: declared here
# 714 | gchar* gexiv2_metadata_get_tag_string (GExiv2Metadata *self, const gchar* tag);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 249| ed->document_name = gexiv2_metadata_get_tag_string (metadata, "Exif.Image.DocumentName");
# 250|
# 251|-> time = gexiv2_metadata_get_tag_string (metadata, "Exif.Image.DateTime");
# 252| if (time != NULL)
# 253| ed->time = tracker_date_format_to_iso8601 (time, EXIF_DATE_FORMAT);
Error: COMPILER_WARNING (CWE-477): [#def81]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-raw.c:255:9: warning[-Wdeprecated-declarations]: ‘gexiv2_metadata_get_tag_string’ is deprecated: Use 'gexiv2_metadata_try_get_tag_string' instead
# 255 | time_original = gexiv2_metadata_get_tag_string (metadata, "Exif.Image.DateTimeOriginal");
# | ^~~~~~~~~~~~~
/usr/include/gexiv2/gexiv2-metadata.h:714:25: note: declared here
# 714 | gchar* gexiv2_metadata_get_tag_string (GExiv2Metadata *self, const gchar* tag);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 253| ed->time = tracker_date_format_to_iso8601 (time, EXIF_DATE_FORMAT);
# 254|
# 255|-> time_original = gexiv2_metadata_get_tag_string (metadata, "Exif.Image.DateTimeOriginal");
# 256| if (time_original == NULL)
# 257| time_original = gexiv2_metadata_get_tag_string (metadata, "Exif.Photo.DateTimeOriginal");
Error: COMPILER_WARNING (CWE-477): [#def82]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-raw.c:257:17: warning[-Wdeprecated-declarations]: ‘gexiv2_metadata_get_tag_string’ is deprecated: Use 'gexiv2_metadata_try_get_tag_string' instead
# 257 | time_original = gexiv2_metadata_get_tag_string (metadata, "Exif.Photo.DateTimeOriginal");
# | ^~~~~~~~~~~~~
/usr/include/gexiv2/gexiv2-metadata.h:714:25: note: declared here
# 714 | gchar* gexiv2_metadata_get_tag_string (GExiv2Metadata *self, const gchar* tag);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 255| time_original = gexiv2_metadata_get_tag_string (metadata, "Exif.Image.DateTimeOriginal");
# 256| if (time_original == NULL)
# 257|-> time_original = gexiv2_metadata_get_tag_string (metadata, "Exif.Photo.DateTimeOriginal");
# 258| if (time_original != NULL)
# 259| ed->time_original = tracker_date_format_to_iso8601 (time_original, EXIF_DATE_FORMAT);
Error: COMPILER_WARNING (CWE-477): [#def83]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-raw.c:261:9: warning[-Wdeprecated-declarations]: ‘gexiv2_metadata_get_tag_string’ is deprecated: Use 'gexiv2_metadata_try_get_tag_string' instead
# 261 | ed->artist = gexiv2_metadata_get_tag_string (metadata, "Exif.Image.Artist");
# | ^~
/usr/include/gexiv2/gexiv2-metadata.h:714:25: note: declared here
# 714 | gchar* gexiv2_metadata_get_tag_string (GExiv2Metadata *self, const gchar* tag);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 259| ed->time_original = tracker_date_format_to_iso8601 (time_original, EXIF_DATE_FORMAT);
# 260|
# 261|-> ed->artist = gexiv2_metadata_get_tag_string (metadata, "Exif.Image.Artist");
# 262| ed->user_comment = gexiv2_metadata_get_tag_string (metadata, "Exif.Photo.UserComment");
# 263| ed->description = gexiv2_metadata_get_tag_string (metadata, "Exif.Image.ImageDescription");
Error: COMPILER_WARNING (CWE-477): [#def84]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-raw.c:262:9: warning[-Wdeprecated-declarations]: ‘gexiv2_metadata_get_tag_string’ is deprecated: Use 'gexiv2_metadata_try_get_tag_string' instead
# 262 | ed->user_comment = gexiv2_metadata_get_tag_string (metadata, "Exif.Photo.UserComment");
# | ^~
/usr/include/gexiv2/gexiv2-metadata.h:714:25: note: declared here
# 714 | gchar* gexiv2_metadata_get_tag_string (GExiv2Metadata *self, const gchar* tag);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 260|
# 261| ed->artist = gexiv2_metadata_get_tag_string (metadata, "Exif.Image.Artist");
# 262|-> ed->user_comment = gexiv2_metadata_get_tag_string (metadata, "Exif.Photo.UserComment");
# 263| ed->description = gexiv2_metadata_get_tag_string (metadata, "Exif.Image.ImageDescription");
# 264| ed->make = gexiv2_metadata_get_tag_string (metadata, "Exif.Image.Make");
Error: COMPILER_WARNING (CWE-477): [#def85]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-raw.c:263:9: warning[-Wdeprecated-declarations]: ‘gexiv2_metadata_get_tag_string’ is deprecated: Use 'gexiv2_metadata_try_get_tag_string' instead
# 263 | ed->description = gexiv2_metadata_get_tag_string (metadata, "Exif.Image.ImageDescription");
# | ^~
/usr/include/gexiv2/gexiv2-metadata.h:714:25: note: declared here
# 714 | gchar* gexiv2_metadata_get_tag_string (GExiv2Metadata *self, const gchar* tag);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 261| ed->artist = gexiv2_metadata_get_tag_string (metadata, "Exif.Image.Artist");
# 262| ed->user_comment = gexiv2_metadata_get_tag_string (metadata, "Exif.Photo.UserComment");
# 263|-> ed->description = gexiv2_metadata_get_tag_string (metadata, "Exif.Image.ImageDescription");
# 264| ed->make = gexiv2_metadata_get_tag_string (metadata, "Exif.Image.Make");
# 265| ed->model = gexiv2_metadata_get_tag_string (metadata, "Exif.Image.Model");
Error: COMPILER_WARNING (CWE-477): [#def86]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-raw.c:264:9: warning[-Wdeprecated-declarations]: ‘gexiv2_metadata_get_tag_string’ is deprecated: Use 'gexiv2_metadata_try_get_tag_string' instead
# 264 | ed->make = gexiv2_metadata_get_tag_string (metadata, "Exif.Image.Make");
# | ^~
/usr/include/gexiv2/gexiv2-metadata.h:714:25: note: declared here
# 714 | gchar* gexiv2_metadata_get_tag_string (GExiv2Metadata *self, const gchar* tag);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 262| ed->user_comment = gexiv2_metadata_get_tag_string (metadata, "Exif.Photo.UserComment");
# 263| ed->description = gexiv2_metadata_get_tag_string (metadata, "Exif.Image.ImageDescription");
# 264|-> ed->make = gexiv2_metadata_get_tag_string (metadata, "Exif.Image.Make");
# 265| ed->model = gexiv2_metadata_get_tag_string (metadata, "Exif.Image.Model");
# 266|
Error: COMPILER_WARNING (CWE-477): [#def87]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-raw.c:265:9: warning[-Wdeprecated-declarations]: ‘gexiv2_metadata_get_tag_string’ is deprecated: Use 'gexiv2_metadata_try_get_tag_string' instead
# 265 | ed->model = gexiv2_metadata_get_tag_string (metadata, "Exif.Image.Model");
# | ^~
/usr/include/gexiv2/gexiv2-metadata.h:714:25: note: declared here
# 714 | gchar* gexiv2_metadata_get_tag_string (GExiv2Metadata *self, const gchar* tag);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 263| ed->description = gexiv2_metadata_get_tag_string (metadata, "Exif.Image.ImageDescription");
# 264| ed->make = gexiv2_metadata_get_tag_string (metadata, "Exif.Image.Make");
# 265|-> ed->model = gexiv2_metadata_get_tag_string (metadata, "Exif.Image.Model");
# 266|
# 267| if (gexiv2_metadata_get_exposure_time (metadata, &exposure_time_nom, &exposure_time_den))
Error: COMPILER_WARNING (CWE-477): [#def88]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-raw.c:267:9: warning[-Wdeprecated-declarations]: ‘gexiv2_metadata_get_exposure_time’ is deprecated: Use 'gexiv2_metadata_try_get_exposure_time' instead
# 267 | if (gexiv2_metadata_get_exposure_time (metadata, &exposure_time_nom, &exposure_time_den))
# | ^~
/usr/include/gexiv2/gexiv2-metadata.h:1637:25: note: declared here
# 1637 | gboolean gexiv2_metadata_get_exposure_time (GExiv2Metadata *self, gint *nom, gint *den);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 265| ed->model = gexiv2_metadata_get_tag_string (metadata, "Exif.Image.Model");
# 266|
# 267|-> if (gexiv2_metadata_get_exposure_time (metadata, &exposure_time_nom, &exposure_time_den))
# 268| ed->exposure_time = (gdouble) exposure_time_nom / (double) exposure_time_den;
# 269|
Error: COMPILER_WARNING (CWE-477): [#def89]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-raw.c:270:9: warning[-Wdeprecated-declarations]: ‘gexiv2_metadata_get_fnumber’ is deprecated: Use 'gexiv2_metadata_try_get_fnumber' instead
# 270 | ed->fnumber = gexiv2_metadata_get_fnumber (metadata);
# | ^~
/usr/include/gexiv2/gexiv2-metadata.h:1668:25: note: declared here
# 1668 | gdouble gexiv2_metadata_get_fnumber (GExiv2Metadata *self);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
# 268| ed->exposure_time = (gdouble) exposure_time_nom / (double) exposure_time_den;
# 269|
# 270|-> ed->fnumber = gexiv2_metadata_get_fnumber (metadata);
# 271|
# 272| if (gexiv2_metadata_has_tag (metadata, "Exif.Image.Flash"))
Error: COMPILER_WARNING (CWE-477): [#def90]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-raw.c:272:9: warning[-Wdeprecated-declarations]: ‘gexiv2_metadata_has_tag’ is deprecated: Use 'gexiv2_metadata_try_has_tag' instead
# 272 | if (gexiv2_metadata_has_tag (metadata, "Exif.Image.Flash"))
# | ^~
/usr/include/gexiv2/gexiv2-metadata.h:410:25: note: declared here
# 410 | gboolean gexiv2_metadata_has_tag (GExiv2Metadata *self, const gchar* tag);
# | ^~~~~~~~~~~~~~~~~~~~~~~
# 270| ed->fnumber = gexiv2_metadata_get_fnumber (metadata);
# 271|
# 272|-> if (gexiv2_metadata_has_tag (metadata, "Exif.Image.Flash"))
# 273| flash = gexiv2_metadata_get_tag_long (metadata, "Exif.Image.Flash");
# 274| else if (gexiv2_metadata_has_tag (metadata, "Exif.Photo.Flash"))
Error: COMPILER_WARNING (CWE-477): [#def91]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-raw.c:273:17: warning[-Wdeprecated-declarations]: ‘gexiv2_metadata_get_tag_long’ is deprecated: Use 'gexiv2_metadata_try_get_tag_long' instead
# 273 | flash = gexiv2_metadata_get_tag_long (metadata, "Exif.Image.Flash");
# | ^~~~~
/usr/include/gexiv2/gexiv2-metadata.h:832:25: note: declared here
# 832 | glong gexiv2_metadata_get_tag_long (GExiv2Metadata *self, const gchar* tag);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 271|
# 272| if (gexiv2_metadata_has_tag (metadata, "Exif.Image.Flash"))
# 273|-> flash = gexiv2_metadata_get_tag_long (metadata, "Exif.Image.Flash");
# 274| else if (gexiv2_metadata_has_tag (metadata, "Exif.Photo.Flash"))
# 275| flash = gexiv2_metadata_get_tag_long (metadata, "Exif.Photo.Flash");
Error: COMPILER_WARNING (CWE-477): [#def92]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-raw.c:274:9: warning[-Wdeprecated-declarations]: ‘gexiv2_metadata_has_tag’ is deprecated: Use 'gexiv2_metadata_try_has_tag' instead
# 274 | else if (gexiv2_metadata_has_tag (metadata, "Exif.Photo.Flash"))
# | ^~~~
/usr/include/gexiv2/gexiv2-metadata.h:410:25: note: declared here
# 410 | gboolean gexiv2_metadata_has_tag (GExiv2Metadata *self, const gchar* tag);
# | ^~~~~~~~~~~~~~~~~~~~~~~
# 272| if (gexiv2_metadata_has_tag (metadata, "Exif.Image.Flash"))
# 273| flash = gexiv2_metadata_get_tag_long (metadata, "Exif.Image.Flash");
# 274|-> else if (gexiv2_metadata_has_tag (metadata, "Exif.Photo.Flash"))
# 275| flash = gexiv2_metadata_get_tag_long (metadata, "Exif.Photo.Flash");
# 276| if (flash != G_MAXLONG)
Error: COMPILER_WARNING (CWE-477): [#def93]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-raw.c:275:17: warning[-Wdeprecated-declarations]: ‘gexiv2_metadata_get_tag_long’ is deprecated: Use 'gexiv2_metadata_try_get_tag_long' instead
# 275 | flash = gexiv2_metadata_get_tag_long (metadata, "Exif.Photo.Flash");
# | ^~~~~
/usr/include/gexiv2/gexiv2-metadata.h:832:25: note: declared here
# 832 | glong gexiv2_metadata_get_tag_long (GExiv2Metadata *self, const gchar* tag);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 273| flash = gexiv2_metadata_get_tag_long (metadata, "Exif.Image.Flash");
# 274| else if (gexiv2_metadata_has_tag (metadata, "Exif.Photo.Flash"))
# 275|-> flash = gexiv2_metadata_get_tag_long (metadata, "Exif.Photo.Flash");
# 276| if (flash != G_MAXLONG)
# 277| ed->flash = parse_flash ((gushort) flash);
Error: COMPILER_WARNING (CWE-477): [#def94]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-raw.c:279:9: warning[-Wdeprecated-declarations]: ‘gexiv2_metadata_get_focal_length’ is deprecated: Use 'gexiv2_metadata_try_get_focal_length' instead
# 279 | ed->focal_length = gexiv2_metadata_get_focal_length (metadata);
# | ^~
/usr/include/gexiv2/gexiv2-metadata.h:1696:25: note: declared here
# 1696 | gdouble gexiv2_metadata_get_focal_length (GExiv2Metadata *self);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 277| ed->flash = parse_flash ((gushort) flash);
# 278|
# 279|-> ed->focal_length = gexiv2_metadata_get_focal_length (metadata);
# 280|
# 281| if (gexiv2_metadata_has_tag (metadata, "Exif.Photo.ISOSpeedRatings"))
Error: COMPILER_WARNING (CWE-477): [#def95]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-raw.c:281:9: warning[-Wdeprecated-declarations]: ‘gexiv2_metadata_has_tag’ is deprecated: Use 'gexiv2_metadata_try_has_tag' instead
# 281 | if (gexiv2_metadata_has_tag (metadata, "Exif.Photo.ISOSpeedRatings"))
# | ^~
/usr/include/gexiv2/gexiv2-metadata.h:410:25: note: declared here
# 410 | gboolean gexiv2_metadata_has_tag (GExiv2Metadata *self, const gchar* tag);
# | ^~~~~~~~~~~~~~~~~~~~~~~
# 279| ed->focal_length = gexiv2_metadata_get_focal_length (metadata);
# 280|
# 281|-> if (gexiv2_metadata_has_tag (metadata, "Exif.Photo.ISOSpeedRatings"))
# 282| ed->iso_speed_ratings = (gdouble) gexiv2_metadata_get_iso_speed (metadata);
# 283|
Error: COMPILER_WARNING (CWE-477): [#def96]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-raw.c:282:17: warning[-Wdeprecated-declarations]: ‘gexiv2_metadata_get_iso_speed’ is deprecated: Use 'gexiv2_metadata_try_get_iso_speed' instead
# 282 | ed->iso_speed_ratings = (gdouble) gexiv2_metadata_get_iso_speed (metadata);
# | ^~
/usr/include/gexiv2/gexiv2-metadata.h:1722:25: note: declared here
# 1722 | gint gexiv2_metadata_get_iso_speed (GExiv2Metadata *self);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 280|
# 281| if (gexiv2_metadata_has_tag (metadata, "Exif.Photo.ISOSpeedRatings"))
# 282|-> ed->iso_speed_ratings = (gdouble) gexiv2_metadata_get_iso_speed (metadata);
# 283|
# 284| if (gexiv2_metadata_has_tag (metadata, "Exif.Image.MeteringMode"))
Error: COMPILER_WARNING (CWE-477): [#def97]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-raw.c:284:9: warning[-Wdeprecated-declarations]: ‘gexiv2_metadata_has_tag’ is deprecated: Use 'gexiv2_metadata_try_has_tag' instead
# 284 | if (gexiv2_metadata_has_tag (metadata, "Exif.Image.MeteringMode"))
# | ^~
/usr/include/gexiv2/gexiv2-metadata.h:410:25: note: declared here
# 410 | gboolean gexiv2_metadata_has_tag (GExiv2Metadata *self, const gchar* tag);
# | ^~~~~~~~~~~~~~~~~~~~~~~
# 282| ed->iso_speed_ratings = (gdouble) gexiv2_metadata_get_iso_speed (metadata);
# 283|
# 284|-> if (gexiv2_metadata_has_tag (metadata, "Exif.Image.MeteringMode"))
# 285| metering_mode = gexiv2_metadata_get_tag_long (metadata, "Exif.Image.MeteringMode");
# 286| else if (gexiv2_metadata_has_tag (metadata, "Exif.Photo.MeteringMode"))
Error: COMPILER_WARNING (CWE-477): [#def98]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-raw.c:285:17: warning[-Wdeprecated-declarations]: ‘gexiv2_metadata_get_tag_long’ is deprecated: Use 'gexiv2_metadata_try_get_tag_long' instead
# 285 | metering_mode = gexiv2_metadata_get_tag_long (metadata, "Exif.Image.MeteringMode");
# | ^~~~~~~~~~~~~
/usr/include/gexiv2/gexiv2-metadata.h:832:25: note: declared here
# 832 | glong gexiv2_metadata_get_tag_long (GExiv2Metadata *self, const gchar* tag);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 283|
# 284| if (gexiv2_metadata_has_tag (metadata, "Exif.Image.MeteringMode"))
# 285|-> metering_mode = gexiv2_metadata_get_tag_long (metadata, "Exif.Image.MeteringMode");
# 286| else if (gexiv2_metadata_has_tag (metadata, "Exif.Photo.MeteringMode"))
# 287| metering_mode = gexiv2_metadata_get_tag_long (metadata, "Exif.Photo.MeteringMode");
Error: COMPILER_WARNING (CWE-477): [#def99]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-raw.c:286:9: warning[-Wdeprecated-declarations]: ‘gexiv2_metadata_has_tag’ is deprecated: Use 'gexiv2_metadata_try_has_tag' instead
# 286 | else if (gexiv2_metadata_has_tag (metadata, "Exif.Photo.MeteringMode"))
# | ^~~~
/usr/include/gexiv2/gexiv2-metadata.h:410:25: note: declared here
# 410 | gboolean gexiv2_metadata_has_tag (GExiv2Metadata *self, const gchar* tag);
# | ^~~~~~~~~~~~~~~~~~~~~~~
# 284| if (gexiv2_metadata_has_tag (metadata, "Exif.Image.MeteringMode"))
# 285| metering_mode = gexiv2_metadata_get_tag_long (metadata, "Exif.Image.MeteringMode");
# 286|-> else if (gexiv2_metadata_has_tag (metadata, "Exif.Photo.MeteringMode"))
# 287| metering_mode = gexiv2_metadata_get_tag_long (metadata, "Exif.Photo.MeteringMode");
# 288| if (metering_mode != G_MAXLONG)
Error: COMPILER_WARNING (CWE-477): [#def100]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-raw.c:287:17: warning[-Wdeprecated-declarations]: ‘gexiv2_metadata_get_tag_long’ is deprecated: Use 'gexiv2_metadata_try_get_tag_long' instead
# 287 | metering_mode = gexiv2_metadata_get_tag_long (metadata, "Exif.Photo.MeteringMode");
# | ^~~~~~~~~~~~~
/usr/include/gexiv2/gexiv2-metadata.h:832:25: note: declared here
# 832 | glong gexiv2_metadata_get_tag_long (GExiv2Metadata *self, const gchar* tag);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 285| metering_mode = gexiv2_metadata_get_tag_long (metadata, "Exif.Image.MeteringMode");
# 286| else if (gexiv2_metadata_has_tag (metadata, "Exif.Photo.MeteringMode"))
# 287|-> metering_mode = gexiv2_metadata_get_tag_long (metadata, "Exif.Photo.MeteringMode");
# 288| if (metering_mode != G_MAXLONG)
# 289| ed->metering_mode = parse_metering_mode ((gushort) metering_mode);
Error: COMPILER_WARNING (CWE-477): [#def101]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-raw.c:291:9: warning[-Wdeprecated-declarations]: ‘gexiv2_metadata_has_tag’ is deprecated: Use 'gexiv2_metadata_try_has_tag' instead
# 291 | if (gexiv2_metadata_has_tag (metadata, "Exif.Photo.WhiteBalance"))
# | ^~
/usr/include/gexiv2/gexiv2-metadata.h:410:25: note: declared here
# 410 | gboolean gexiv2_metadata_has_tag (GExiv2Metadata *self, const gchar* tag);
# | ^~~~~~~~~~~~~~~~~~~~~~~
# 289| ed->metering_mode = parse_metering_mode ((gushort) metering_mode);
# 290|
# 291|-> if (gexiv2_metadata_has_tag (metadata, "Exif.Photo.WhiteBalance"))
# 292| white_balance = gexiv2_metadata_get_tag_long (metadata, "Exif.Photo.WhiteBalance");
# 293| if (white_balance != G_MAXLONG)
Error: COMPILER_WARNING (CWE-477): [#def102]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-raw.c:292:17: warning[-Wdeprecated-declarations]: ‘gexiv2_metadata_get_tag_long’ is deprecated: Use 'gexiv2_metadata_try_get_tag_long' instead
# 292 | white_balance = gexiv2_metadata_get_tag_long (metadata, "Exif.Photo.WhiteBalance");
# | ^~~~~~~~~~~~~
/usr/include/gexiv2/gexiv2-metadata.h:832:25: note: declared here
# 832 | glong gexiv2_metadata_get_tag_long (GExiv2Metadata *self, const gchar* tag);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 290|
# 291| if (gexiv2_metadata_has_tag (metadata, "Exif.Photo.WhiteBalance"))
# 292|-> white_balance = gexiv2_metadata_get_tag_long (metadata, "Exif.Photo.WhiteBalance");
# 293| if (white_balance != G_MAXLONG)
# 294| ed->white_balance = parse_white_balance ((gushort) white_balance);
Error: COMPILER_WARNING (CWE-477): [#def103]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-raw.c:296:9: warning[-Wdeprecated-declarations]: ‘gexiv2_metadata_get_tag_string’ is deprecated: Use 'gexiv2_metadata_try_get_tag_string' instead
# 296 | ed->copyright = gexiv2_metadata_get_tag_string (metadata, "Exif.Image.Copyright");
# | ^~
/usr/include/gexiv2/gexiv2-metadata.h:714:25: note: declared here
# 714 | gchar* gexiv2_metadata_get_tag_string (GExiv2Metadata *self, const gchar* tag);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 294| ed->white_balance = parse_white_balance ((gushort) white_balance);
# 295|
# 296|-> ed->copyright = gexiv2_metadata_get_tag_string (metadata, "Exif.Image.Copyright");
# 297|
# 298| if (gexiv2_metadata_has_tag (metadata, "Exif.Image.ResolutionUnit"))
Error: COMPILER_WARNING (CWE-477): [#def104]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-raw.c:298:9: warning[-Wdeprecated-declarations]: ‘gexiv2_metadata_has_tag’ is deprecated: Use 'gexiv2_metadata_try_has_tag' instead
# 298 | if (gexiv2_metadata_has_tag (metadata, "Exif.Image.ResolutionUnit"))
# | ^~
/usr/include/gexiv2/gexiv2-metadata.h:410:25: note: declared here
# 410 | gboolean gexiv2_metadata_has_tag (GExiv2Metadata *self, const gchar* tag);
# | ^~~~~~~~~~~~~~~~~~~~~~~
# 296| ed->copyright = gexiv2_metadata_get_tag_string (metadata, "Exif.Image.Copyright");
# 297|
# 298|-> if (gexiv2_metadata_has_tag (metadata, "Exif.Image.ResolutionUnit"))
# 299| ed->resolution_unit = (gint) gexiv2_metadata_get_tag_long (metadata, "Exif.Image.ResolutionUnit");
# 300|
Error: COMPILER_WARNING (CWE-477): [#def105]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-raw.c:299:17: warning[-Wdeprecated-declarations]: ‘gexiv2_metadata_get_tag_long’ is deprecated: Use 'gexiv2_metadata_try_get_tag_long' instead
# 299 | ed->resolution_unit = (gint) gexiv2_metadata_get_tag_long (metadata, "Exif.Image.ResolutionUnit");
# | ^~
/usr/include/gexiv2/gexiv2-metadata.h:832:25: note: declared here
# 832 | glong gexiv2_metadata_get_tag_long (GExiv2Metadata *self, const gchar* tag);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 297|
# 298| if (gexiv2_metadata_has_tag (metadata, "Exif.Image.ResolutionUnit"))
# 299|-> ed->resolution_unit = (gint) gexiv2_metadata_get_tag_long (metadata, "Exif.Image.ResolutionUnit");
# 300|
# 301| ed->x_resolution = gexiv2_metadata_get_tag_string (metadata, "Exif.Image.XResolution");
Error: COMPILER_WARNING (CWE-477): [#def106]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-raw.c:301:9: warning[-Wdeprecated-declarations]: ‘gexiv2_metadata_get_tag_string’ is deprecated: Use 'gexiv2_metadata_try_get_tag_string' instead
# 301 | ed->x_resolution = gexiv2_metadata_get_tag_string (metadata, "Exif.Image.XResolution");
# | ^~
/usr/include/gexiv2/gexiv2-metadata.h:714:25: note: declared here
# 714 | gchar* gexiv2_metadata_get_tag_string (GExiv2Metadata *self, const gchar* tag);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 299| ed->resolution_unit = (gint) gexiv2_metadata_get_tag_long (metadata, "Exif.Image.ResolutionUnit");
# 300|
# 301|-> ed->x_resolution = gexiv2_metadata_get_tag_string (metadata, "Exif.Image.XResolution");
# 302| ed->y_resolution = gexiv2_metadata_get_tag_string (metadata, "Exif.Image.YResolution");
# 303|
Error: COMPILER_WARNING (CWE-477): [#def107]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-raw.c:302:9: warning[-Wdeprecated-declarations]: ‘gexiv2_metadata_get_tag_string’ is deprecated: Use 'gexiv2_metadata_try_get_tag_string' instead
# 302 | ed->y_resolution = gexiv2_metadata_get_tag_string (metadata, "Exif.Image.YResolution");
# | ^~
/usr/include/gexiv2/gexiv2-metadata.h:714:25: note: declared here
# 714 | gchar* gexiv2_metadata_get_tag_string (GExiv2Metadata *self, const gchar* tag);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 300|
# 301| ed->x_resolution = gexiv2_metadata_get_tag_string (metadata, "Exif.Image.XResolution");
# 302|-> ed->y_resolution = gexiv2_metadata_get_tag_string (metadata, "Exif.Image.YResolution");
# 303|
# 304| if (gexiv2_metadata_get_gps_altitude (metadata, &gps_altitude))
Error: COMPILER_WARNING (CWE-477): [#def108]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-raw.c:304:9: warning[-Wdeprecated-declarations]: ‘gexiv2_metadata_get_gps_altitude’ is deprecated: Use 'gexiv2_metadata_try_get_gps_altitude' instead
# 304 | if (gexiv2_metadata_get_gps_altitude (metadata, &gps_altitude))
# | ^~
/usr/include/gexiv2/gexiv2-metadata.h:1825:25: note: declared here
# 1825 | gboolean gexiv2_metadata_get_gps_altitude (GExiv2Metadata *self, gdouble *altitude);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 302| ed->y_resolution = gexiv2_metadata_get_tag_string (metadata, "Exif.Image.YResolution");
# 303|
# 304|-> if (gexiv2_metadata_get_gps_altitude (metadata, &gps_altitude))
# 305| ed->gps_altitude = g_strdup_printf ("%f", gps_altitude);
# 306|
Error: COMPILER_WARNING (CWE-477): [#def109]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-raw.c:307:9: warning[-Wdeprecated-declarations]: ‘gexiv2_metadata_get_gps_latitude’ is deprecated: Use 'gexiv2_metadata_try_get_gps_latitude' instead
# 307 | if (gexiv2_metadata_get_gps_latitude (metadata, &gps_latitude))
# | ^~
/usr/include/gexiv2/gexiv2-metadata.h:1810:25: note: declared here
# 1810 | gboolean gexiv2_metadata_get_gps_latitude (GExiv2Metadata *self, gdouble *latitude);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 305| ed->gps_altitude = g_strdup_printf ("%f", gps_altitude);
# 306|
# 307|-> if (gexiv2_metadata_get_gps_latitude (metadata, &gps_latitude))
# 308| ed->gps_latitude = g_strdup_printf ("%f", gps_latitude);
# 309|
Error: COMPILER_WARNING (CWE-477): [#def110]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-raw.c:310:9: warning[-Wdeprecated-declarations]: ‘gexiv2_metadata_get_gps_longitude’ is deprecated: Use 'gexiv2_metadata_try_get_gps_longitude' instead
# 310 | if (gexiv2_metadata_get_gps_longitude (metadata, &gps_longitude))
# | ^~
/usr/include/gexiv2/gexiv2-metadata.h:1796:25: note: declared here
# 1796 | gboolean gexiv2_metadata_get_gps_longitude (GExiv2Metadata *self, gdouble *longitude);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 308| ed->gps_latitude = g_strdup_printf ("%f", gps_latitude);
# 309|
# 310|-> if (gexiv2_metadata_get_gps_longitude (metadata, &gps_longitude))
# 311| ed->gps_longitude = g_strdup_printf ("%f", gps_longitude);
# 312|
Error: COMPILER_WARNING (CWE-477): [#def111]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-raw.c:313:9: warning[-Wdeprecated-declarations]: ‘gexiv2_metadata_get_tag_string’ is deprecated: Use 'gexiv2_metadata_try_get_tag_string' instead
# 313 | ed->gps_direction = gexiv2_metadata_get_tag_string (metadata, "Exif.GPSInfo.GPSImgDirection");
# | ^~
/usr/include/gexiv2/gexiv2-metadata.h:714:25: note: declared here
# 714 | gchar* gexiv2_metadata_get_tag_string (GExiv2Metadata *self, const gchar* tag);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 311| ed->gps_longitude = g_strdup_printf ("%f", gps_longitude);
# 312|
# 313|-> ed->gps_direction = gexiv2_metadata_get_tag_string (metadata, "Exif.GPSInfo.GPSImgDirection");
# 314|
# 315| out:
Error: COMPILER_WARNING (CWE-477): [#def112]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-raw.c: scope_hint: In function ‘tracker_extract_get_metadata’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-raw.c:359:9: warning[-Wdeprecated-declarations]: ‘gexiv2_metadata_get_orientation’ is deprecated: Use 'gexiv2_metadata_try_get_orientation' instead
# 359 | orientation = gexiv2_metadata_get_orientation (metadata);
# | ^~~~~~~~~~~
/usr/include/gexiv2/gexiv2-metadata.h:1374:19: note: declared here
# 1374 | GExiv2Orientation gexiv2_metadata_get_orientation (GExiv2Metadata *self);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 357| tracker_resource_set_int (resource, "nfo:height", height);
# 358|
# 359|-> orientation = gexiv2_metadata_get_orientation (metadata);
# 360| nfo_orientation = convert_exiv2_orientation_to_nfo (orientation);
# 361| tracker_resource_set_uri (resource, "nfo:orientation", nfo_orientation);
Error: CPPCHECK_WARNING: [#def113]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract-tiff.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def114]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def115]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract.c: scope_hint: In function ‘tracker_extract_file’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract.c:44:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract.c:678:24: note: in expansion of macro ‘TRACKER_EXTRACT_GET_PRIVATE’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract.c:657:9: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract.h:37:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract.c:657:27: note: in expansion of macro ‘TRACKER_IS_EXTRACT’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract.c:657:9: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract.h:37:41: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract.c:657:27: note: in expansion of macro ‘TRACKER_IS_EXTRACT’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract.c:658:9: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract.c:659:9: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract.c:659:9: note: in expansion of macro ‘g_return_if_fail’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract.c:678:24: note: in expansion of macro ‘TRACKER_EXTRACT_GET_PRIVATE’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract.c:678:24: note: in expansion of macro ‘TRACKER_EXTRACT_GET_PRIVATE’
# 42| #endif /* THREAD_ENABLE_TRACE */
# 43|
# 44|-> #define TRACKER_EXTRACT_GET_PRIVATE(obj) (tracker_extract_get_instance_private (TRACKER_EXTRACT (obj)))
# 45|
# 46| G_DEFINE_QUARK (TrackerExtractError, tracker_extract_error)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def116]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract.c: scope_hint: In function ‘filter_module’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract.c:468:18: warning[-Wanalyzer-null-argument]: use of NULL ‘filter_name’ where non-null expected
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract.c:451:16: note: in expansion of macro ‘TRACKER_EXTRACT_GET_PRIVATE’
/usr/include/glib-2.0/gobject/gtype.h:2295:11: note: in expansion of macro ‘G_STRUCT_MEMBER_P’
/usr/include/glib-2.0/gobject/gtype.h:2337:3: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN_PRE’
/usr/include/glib-2.0/gobject/gtype.h:2047:61: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN’
/usr/include/glib-2.0/gobject/gtype.h:1870:61: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract.c:109:1: note: in expansion of macro ‘G_DEFINE_TYPE_WITH_PRIVATE’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract.c: scope_hint: In function ‘filter_module’
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract.c:461:13: note: in expansion of macro ‘g_str_has_suffix’
/usr/include/glib-2.0/glib/gstrfuncs.h:324:38: note: in definition of macro ‘g_strdup’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract.c:462:31: note: in expansion of macro ‘g_strdup’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract.c: scope_hint: In function ‘filter_module’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract.c:22: included_from: Included from here.
/usr/include/string.h:156:12: note: argument 2 of ‘strcmp’ must be non-null
# 466| }
# 467|
# 468|-> filter = strcmp (module_basename, filter_name) != 0;
# 469|
# 470| if (filter) {
Error: GCC_ANALYZER_WARNING (CWE-476): [#def117]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract.c: scope_hint: In function ‘tracker_extract_get_metadata_by_cmdline’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract.c:723:71: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-extract.c:710:9: note: in expansion of macro ‘g_return_if_fail’
# 721| }
# 722|
# 723|-> task->module = tracker_extract_module_manager_get_module (task->mimetype,
# 724| NULL,
# 725| &task->func);
Error: CPPCHECK_WARNING: [#def118]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-gsf.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def119]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-main.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def120]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-extract/tracker-read.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def121]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-writeback/tracker-writeback-file.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def122]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-writeback/tracker-writeback-gstreamer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def123]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-writeback/tracker-writeback-xmp.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def124]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker-writeback/tracker-writeback.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def125]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker/tracker-daemon.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def126]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker/tracker-info.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def127]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker/tracker-info.c: scope_hint: In function ‘print_object’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker/tracker-info.c:169:13: warning[-Wanalyzer-null-argument]: use of NULL ‘object’ where non-null expected
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker/tracker-info.c:30: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1367:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
/usr/include/glib-2.0/gobject/gtype.h:1712:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CHAINUP’
/usr/include/tracker-3.0/libtracker-sparql/tracker-cursor.h:34:1: note: in expansion of macro ‘G_DECLARE_DERIVABLE_TYPE’
/usr/include/glib-2.0/glib/gmacros.h:1367:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
/usr/include/glib-2.0/gobject/gtype.h:1712:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CHAINUP’
/usr/include/tracker-3.0/libtracker-sparql/tracker-cursor.h:34:1: note: in expansion of macro ‘G_DECLARE_DERIVABLE_TYPE’
/usr/include/glib-2.0/glib/gmacros.h:1367:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
/usr/include/glib-2.0/gobject/gtype.h:1712:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CHAINUP’
/usr/include/tracker-3.0/libtracker-sparql/tracker-cursor.h:34:1: note: in expansion of macro ‘G_DECLARE_DERIVABLE_TYPE’
/usr/include/tracker-3.0/libtracker-sparql/tracker-cursor.h: scope_hint: In function ‘print_object’
/usr/include/glib-2.0/glib/gmacros.h:1367:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
/usr/include/glib-2.0/gobject/gtype.h:1712:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CHAINUP’
/usr/include/tracker-3.0/libtracker-sparql/tracker-cursor.h:34:1: note: in expansion of macro ‘G_DECLARE_DERIVABLE_TYPE’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
/usr/include/glib-2.0/gobject/gobject-autocleanups.h:31:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker/tracker-info.c: scope_hint: In function ‘print_object’
/usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1367:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
/usr/include/glib-2.0/gobject/gtype.h:1712:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CHAINUP’
/usr/include/tracker-3.0/libtracker-sparql/tracker-statement.h:34:1: note: in expansion of macro ‘G_DECLARE_DERIVABLE_TYPE’
/usr/include/glib-2.0/glib/gmacros.h:1367:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
/usr/include/glib-2.0/gobject/gtype.h:1712:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CHAINUP’
/usr/include/tracker-3.0/libtracker-sparql/tracker-statement.h:34:1: note: in expansion of macro ‘G_DECLARE_DERIVABLE_TYPE’
/usr/include/tracker-3.0/libtracker-sparql/tracker-statement.h: scope_hint: In function ‘print_object’
/usr/include/glib-2.0/glib/gmacros.h:1367:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
/usr/include/glib-2.0/gobject/gtype.h:1712:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CHAINUP’
/usr/include/tracker-3.0/libtracker-sparql/tracker-statement.h:34:1: note: in expansion of macro ‘G_DECLARE_DERIVABLE_TYPE’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
/usr/include/glib-2.0/gobject/gobject-autocleanups.h:31:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker/tracker-info.c: scope_hint: In function ‘print_object’
/usr/include/glib-2.0/glib/gmacros.h:1357:36: note: in expansion of macro ‘_GLIB_AUTOPTR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
/usr/include/glib-2.0/glib/glib-autocleanups.h:83:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
/usr/include/glib-2.0/glib/glib-autocleanups.h:83:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
/usr/include/glib-2.0/glib/glib-autocleanups.h:83:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/glib-autocleanups.h: scope_hint: In function ‘print_object’
/usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
/usr/include/glib-2.0/glib/glib-autocleanups.h:83:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/glib-autocleanups.h:39:5: note: in expansion of macro ‘g_string_free’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker/tracker-info.c: scope_hint: In function ‘print_object’
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker/tracker-info.c:238:39: note: in expansion of macro ‘g_strdup’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker/tracker-info.c: scope_hint: In function ‘print_object’
<built-in>: note: argument 1 of ‘__builtin_strchr’ must be non-null
# 167| int multiline_padding)
# 168| {
# 169|-> if (strchr (object, '\n')) {
# 170| const gchar *p = object;
# 171| const gchar *end;
Error: CPPCHECK_WARNING: [#def128]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker/tracker-miner-manager.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def129]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker/tracker-search.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def130]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker/tracker-status.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def131]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/src/tracker/tracker-tag.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-775): [#def132]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/tests/functional-tests/test-extractor-modules/malice/fs-read-trunc/fs-read-trunc.c: scope_hint: In function ‘tracker_extract_get_metadata’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/tests/functional-tests/test-extractor-modules/malice/fs-read-trunc/fs-read-trunc.c:15:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(g_file_get_path(tracker_extract_info_get_file(info)), 512)’
# 13| path = g_file_get_path (tracker_extract_info_get_file (info));
# 14| /* Attempt to truncate the file */
# 15|-> fd = open (path, O_RDONLY | O_TRUNC);
# 16| if (fd >= 0)
# 17| goto fail;
Error: GCC_ANALYZER_WARNING (CWE-775): [#def133]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/tests/functional-tests/test-extractor-modules/malice/fs-read-trunc/fs-read-trunc.c:16:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(g_file_get_path(tracker_extract_info_get_file(info)), 512)’
# 14| /* Attempt to truncate the file */
# 15| fd = open (path, O_RDONLY | O_TRUNC);
# 16|-> if (fd >= 0)
# 17| goto fail;
# 18|
Error: GCC_ANALYZER_WARNING (CWE-775): [#def134]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/tests/functional-tests/test-extractor-modules/malice/fs-read/fs-read.c: scope_hint: In function ‘tracker_extract_get_metadata’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/tests/functional-tests/test-extractor-modules/malice/fs-read/fs-read.c:14:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/proc/cmdline", 0)’
# 12|
# 13| /* Attempt to read files from disallowed locations */
# 14|-> fd = open ("/proc/cmdline", O_RDONLY);
# 15| if (fd >= 0)
# 16| goto fail;
Error: GCC_ANALYZER_WARNING (CWE-775): [#def135]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/tests/functional-tests/test-extractor-modules/malice/fs-read/fs-read.c:15:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/proc/cmdline", 0)’
# 13| /* Attempt to read files from disallowed locations */
# 14| fd = open ("/proc/cmdline", O_RDONLY);
# 15|-> if (fd >= 0)
# 16| goto fail;
# 17|
Error: GCC_ANALYZER_WARNING (CWE-775): [#def136]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/tests/functional-tests/test-extractor-modules/malice/fs-read/fs-read.c:18:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/etc/motd", 0)’
# 16| goto fail;
# 17|
# 18|-> fd = open ("/etc/motd", O_RDONLY);
# 19| if (fd >= 0)
# 20| goto fail;
Error: GCC_ANALYZER_WARNING (CWE-775): [#def137]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/tests/functional-tests/test-extractor-modules/malice/fs-read/fs-read.c:19:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/etc/motd", 0)’
# 17|
# 18| fd = open ("/etc/motd", O_RDONLY);
# 19|-> if (fd >= 0)
# 20| goto fail;
# 21|
Error: GCC_ANALYZER_WARNING (CWE-775): [#def138]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/tests/functional-tests/test-extractor-modules/malice/fs-read/fs-read.c:23:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(g_path_get_dirname(g_get_home_dir()), 65536)’
# 21|
# 22| home_parent = g_path_get_dirname (g_get_home_dir ());
# 23|-> fd = open (home_parent, O_RDONLY | O_DIRECTORY);
# 24| if (fd >= 0)
# 25| goto fail;
Error: GCC_ANALYZER_WARNING (CWE-775): [#def139]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/tests/functional-tests/test-extractor-modules/malice/fs-read/fs-read.c:24:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(g_path_get_dirname(g_get_home_dir()), 65536)’
# 22| home_parent = g_path_get_dirname (g_get_home_dir ());
# 23| fd = open (home_parent, O_RDONLY | O_DIRECTORY);
# 24|-> if (fd >= 0)
# 25| goto fail;
# 26|
Error: GCC_ANALYZER_WARNING (CWE-775): [#def140]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/tests/functional-tests/test-extractor-modules/malice/fs-write/fs-write.c: scope_hint: In function ‘tracker_extract_get_metadata’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/tests/functional-tests/test-extractor-modules/malice/fs-write/fs-write.c:11:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘try_open(g_build_filename(g_get_tmp_dir(), "bwahaha.txt", 0))’
# 9|
# 10| fd = open (path, O_RDWR);
# 11|-> if (fd >= 0)
# 12| return fd;
# 13|
Error: GCC_ANALYZER_WARNING (CWE-775): [#def141]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/tests/functional-tests/test-extractor-modules/malice/fs-write/fs-write.c:11:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘try_open(g_file_get_path(tracker_extract_info_get_file(info)))’
# 9|
# 10| fd = open (path, O_RDWR);
# 11|-> if (fd >= 0)
# 12| return fd;
# 13|
Error: GCC_ANALYZER_WARNING (CWE-775): [#def142]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/tests/functional-tests/test-extractor-modules/malice/fs-write/fs-write.c: scope_hint: In function ‘try_open.part.0’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/tests/functional-tests/test-extractor-modules/malice/fs-write/fs-write.c:15:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(path, 1)’
# 13|
# 14| fd = open (path, O_WRONLY);
# 15|-> if (fd >= 0)
# 16| return fd;
# 17|
Error: GCC_ANALYZER_WARNING (CWE-775): [#def143]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/tests/functional-tests/test-extractor-modules/malice/net-access/net-access.c: scope_hint: In function ‘tracker_extract_get_metadata’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/tests/functional-tests/test-extractor-modules/malice/net-access/net-access.c:48:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
# 46| resource = tracker_resource_new ("fail://");
# 47| tracker_resource_add_uri (resource, "rdf:type", "rdfs:Resource");
# 48|-> tracker_extract_info_set_resource (info, resource);
# 49| return TRUE;
# 50| }
Error: CPPCHECK_WARNING: [#def144]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/tests/libtracker-extract/tracker-iptc-test.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def145]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/tests/libtracker-extract/tracker-utils-test.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def146]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/tests/libtracker-miners-common/tracker-file-utils-test.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def147]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/tests/libtracker-miners-common/tracker-type-utils-test.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def148]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/tests/tracker-miner-fs/tracker-file-notifier-test.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-252): [#def149]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/tests/tracker-miner-fs/tracker-file-notifier-test.c: scope_hint: In function ‘perform_file_operation’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/tests/tracker-miner-fs/tracker-file-notifier-test.c:110:9: warning[-Wunused-result]: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’
# 110 | system (call);
# | ^~~~~~~~~~~~~
# 108| }
# 109|
# 110|-> system (call);
# 111|
# 112| g_free (call);
Error: COMPILER_WARNING (CWE-252): [#def150]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/tests/tracker-miner-fs/tracker-miner-fs-test.c: scope_hint: In function ‘perform_file_operation’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/tests/tracker-miner-fs/tracker-miner-fs-test.c:220:9: warning[-Wunused-result]: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’
# 220 | system (call);
# | ^~~~~~~~~~~~~
# 218| }
# 219|
# 220|-> system (call);
# 221|
# 222| g_free (call);
Error: CPPCHECK_WARNING: [#def151]
tracker-miners-3.7.3-build/tracker-miners-3.7.3/tests/tracker-miner-fs/tracker-monitor-test.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def152]
/usr/include/glib-2.0/glib.h:89: included_from: Included from here.
tracker-miners-3.7.3-build/tracker-miners-3.7.3/tests/tracker-miner-fs/tracker-monitor-test.c:23: included_from: Included from here.
tracker-miners-3.7.3-build/tracker-miners-3.7.3/tests/tracker-miner-fs/tracker-monitor-test.c: scope_hint: In function ‘set_file_contents’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/tests/tracker-miner-fs/tracker-monitor-test.c:517:26: warning[-Wanalyzer-null-argument]: use of NULL ‘fopen(g_build_filename(directory, filename, 0), "wb")’ where non-null expected
/usr/include/glib-2.0/glib/gtestutils.h:54:61: note: in definition of macro ‘g_assert_cmpint’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:228:49: note: in expansion of macro ‘G_LIKELY’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/tests/tracker-miner-fs/tracker-monitor-test.c:509:9: note: in expansion of macro ‘g_assert_true’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:228:49: note: in expansion of macro ‘G_LIKELY’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/tests/tracker-miner-fs/tracker-monitor-test.c:510:9: note: in expansion of macro ‘g_assert_true’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:228:49: note: in expansion of macro ‘G_LIKELY’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/tests/tracker-miner-fs/tracker-monitor-test.c:510:9: note: in expansion of macro ‘g_assert_true’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/tests/tracker-miner-fs/tracker-monitor-test.c:24: included_from: Included from here.
tracker-miners-3.7.3-build/tracker-miners-3.7.3/tests/tracker-miner-fs/tracker-monitor-test.c:514:16: note: in expansion of macro ‘g_fopen’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:228:49: note: in expansion of macro ‘G_LIKELY’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/tests/tracker-miner-fs/tracker-monitor-test.c:515:9: note: in expansion of macro ‘g_assert_true’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gtestutils.h:228:49: note: in expansion of macro ‘G_LIKELY’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/tests/tracker-miner-fs/tracker-monitor-test.c:515:9: note: in expansion of macro ‘g_assert_true’
tracker-miners-3.7.3-build/tracker-miners-3.7.3/tests/tracker-miner-fs/tracker-monitor-test.c:515:9: note: in expansion of macro ‘g_assert_true’
/usr/include/glib-2.0/glib/gtestutils.h:54:61: note: in definition of macro ‘g_assert_cmpint’
/usr/include/glib-2.0/glib/gprintf.h:24: included_from: Included from here.
/usr/include/glib-2.0/glib/gstdio.h:24: included_from: Included from here.
/usr/include/stdio.h:735:15: note: argument 4 of ‘fwrite’ must be non-null
# 515| g_assert_true (file != NULL);
# 516| length = strlen (contents);
# 517|-> g_assert_cmpint (fwrite (contents, 1, length, file), >=, length);
# 518| g_assert_cmpint (fflush (file), ==, 0);
# 519| g_assert_cmpint (fclose (file), !=, EOF);
Scan Properties
analyzer-version-clang | 18.1.7 |
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-37.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | tracker-miners-3.7.3-1.fc41 |
store-results-to | /tmp/tmptzj2w2wv/tracker-miners-3.7.3-1.fc41.tar.xz |
time-created | 2024-07-03 18:11:34 |
time-finished | 2024-07-03 18:14:07 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmptzj2w2wv/tracker-miners-3.7.3-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmptzj2w2wv/tracker-miners-3.7.3-1.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |