Fixed findings

List of Findings

Error: COMPILER_WARNING (CWE-477): [#def1]
totem-pl-parser-3.26.6/plparse/totem-pl-parser-decode-date.c: scope_hint: In function ‘get_tzone’
totem-pl-parser-3.26.6/plparse/totem-pl-parser-decode-date.c:322:25: warning[-Wdeprecated-declarations]: ‘g_time_zone_new’ is deprecated: Use 'g_time_zone_new_identifier' instead
#  322 |                         return g_time_zone_new (tzone);
#      |                         ^~~~~~
/usr/include/glib-2.0/glib/gdatetime.h:33: included_from: Included from here.
/usr/include/glib-2.0/glib/gbookmarkfile.h:28: included_from: Included from here.
/usr/include/glib-2.0/glib.h:39: included_from: Included from here.
totem-pl-parser-3.26.6/plparse/totem-pl-parser-decode-date.h:20: included_from: Included from here.
totem-pl-parser-3.26.6/plparse/totem-pl-parser-decode-date.c:24: included_from: Included from here.
/usr/include/glib-2.0/glib/gtimezone.h:59:25: note: declared here
#   59 | GTimeZone *             g_time_zone_new                                 (const gchar *identifier);
#      |                         ^~~~~~~~~~~~~~~
#  320|   			tzone[len] = '\0';
#  321|   
#  322|-> 			return g_time_zone_new (tzone);
#  323|   		}
#  324|   

Error: COMPILER_WARNING (CWE-477): [#def2]
totem-pl-parser-3.26.6/plparse/totem-pl-parser-decode-date.c:322:25: warning[-Wdeprecated-declarations]: ‘g_time_zone_new’ is deprecated: Use 'g_time_zone_new_identifier' instead
#  320|   			tzone[len] = '\0';
#  321|   
#  322|-> 			return g_time_zone_new (tzone);
#  323|   		}
#  324|   

Error: COMPILER_WARNING (CWE-477): [#def3]
totem-pl-parser-3.26.6/plparse/totem-pl-parser-decode-date.c:341:25: warning[-Wdeprecated-declarations]: ‘g_time_zone_new’ is deprecated: Use 'g_time_zone_new_identifier' instead
#  341 |                         return g_time_zone_new (tzone);
#      |                         ^~~~~~
/usr/include/glib-2.0/glib/gtimezone.h:59:25: note: declared here
#   59 | GTimeZone *             g_time_zone_new                                 (const gchar *identifier);
#      |                         ^~~~~~~~~~~~~~~
#  339|   			snprintf (tzone, 6, "%+05d", tz_offsets[t].offset);
#  340|   
#  341|-> 			return g_time_zone_new (tzone);
#  342|   		}
#  343|   	}

Error: COMPILER_WARNING (CWE-477): [#def4]
totem-pl-parser-3.26.6/plparse/totem-pl-parser-decode-date.c:341:25: warning[-Wdeprecated-declarations]: ‘g_time_zone_new’ is deprecated: Use 'g_time_zone_new_identifier' instead
#  339|   			snprintf (tzone, 6, "%+05d", tz_offsets[t].offset);
#  340|   
#  341|-> 			return g_time_zone_new (tzone);
#  342|   		}
#  343|   	}

Error: CPPCHECK_WARNING (CWE-457): [#def5]
totem-pl-parser-3.26.6/plparse/totem-pl-parser.c:1776: warning[uninitvar]: Uninitialized variable: ret
# 1774|   	g_mutex_unlock (&parser->priv->ignore_mutex);
# 1775|   
# 1776|-> 	return (ret == 0);
# 1777|   }
# 1778|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def6]
totem-pl-parser-3.26.6/plparse/totem-pl-parser.c:1776:16: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ret’
totem-pl-parser-3.26.6/plparse/totem-pl-parser.c:2326:1: enter_function: entry to ‘totem_pl_parser_parse_with_base’
totem-pl-parser-3.26.6/plparse/totem-pl-parser.c:2333:9: branch_false: following ‘false’ branch (when ‘parser’ is non-NULL)...
totem-pl-parser-3.26.6/plparse/totem-pl-parser.c:2333:9: branch_false: ...to here
totem-pl-parser-3.26.6/plparse/totem-pl-parser.c:2334:9: branch_true: following ‘true’ branch (when ‘uri’ is non-NULL)...
totem-pl-parser-3.26.6/plparse/totem-pl-parser.c:2335:9: branch_true: ...to here
totem-pl-parser-3.26.6/plparse/totem-pl-parser.c:2335:9: branch_true: following ‘true’ branch...
totem-pl-parser-3.26.6/plparse/totem-pl-parser.c:2338:16: branch_true: ...to here
totem-pl-parser-3.26.6/plparse/totem-pl-parser.c:2341:13: call_function: calling ‘totem_pl_parser_scheme_is_ignored’ from ‘totem_pl_parser_parse_with_base’
totem-pl-parser-3.26.6/plparse/totem-pl-parser.c:2341:13: return_function: returning to ‘totem_pl_parser_parse_with_base’ from ‘totem_pl_parser_scheme_is_ignored’
totem-pl-parser-3.26.6/plparse/totem-pl-parser.c:2341:12: branch_false: following ‘false’ branch...
totem-pl-parser-3.26.6/plparse/totem-pl-parser.c:2347:9: branch_false: ...to here
totem-pl-parser-3.26.6/plparse/totem-pl-parser.c:2353:12: branch_false: following ‘false’ branch (when ‘base’ is NULL)...
totem-pl-parser-3.26.6/plparse/totem-pl-parser.c:2355:18: branch_false: ...to here
totem-pl-parser-3.26.6/plparse/totem-pl-parser.c:2355:18: call_function: calling ‘totem_pl_parser_parse_internal’ from ‘totem_pl_parser_parse_with_base’
# 1774|   	g_mutex_unlock (&parser->priv->ignore_mutex);
# 1775|   
# 1776|-> 	return (ret == 0);
# 1777|   }
# 1778|   

Scan Properties

analyzer-version-clippy1.95.0
analyzer-version-cppcheck2.20.0
analyzer-version-gcc16.1.1
analyzer-version-gcc-analyzer16.1.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.95.0
diffbase-analyzer-version-cppcheck2.20.0
diffbase-analyzer-version-gcc16.1.1
diffbase-analyzer-version-gcc-analyzer16.1.1
diffbase-analyzer-version-shellcheck0.11.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-77.us-west-2.compute.internal
diffbase-known-false-positives/usr/share/csmock/known-false-positives.js
diffbase-known-false-positives-rpmknown-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-nametotem-pl-parser-3.26.7-1.fc45
diffbase-store-results-to/tmp/tmpktepkg8u/totem-pl-parser-3.26.7-1.fc45.tar.xz
diffbase-time-created2026-06-01 17:11:16
diffbase-time-finished2026-06-01 17:12:45
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmpktepkg8u/totem-pl-parser-3.26.7-1.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpktepkg8u/totem-pl-parser-3.26.7-1.fc45.src.rpm'
diffbase-tool-versioncsmock-3.8.5.20260529.133039.g6f3b5c6-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-77.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-nametotem-pl-parser-3.26.6-14.fc44
store-results-to/tmp/tmptgjg6h8n/totem-pl-parser-3.26.6-14.fc44.tar.xz
time-created2026-06-01 17:08:53
time-finished2026-06-01 17:10:53
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmptgjg6h8n/totem-pl-parser-3.26.6-14.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmptgjg6h8n/totem-pl-parser-3.26.6-14.fc44.src.rpm'
tool-versioncsmock-3.8.5.20260529.133039.g6f3b5c6-1.el9