file-roller-44.3-1.fc41

List of Defects

Error: CPPCHECK_WARNING: [#def1]
file-roller-44.3-build/file-roller-44.3/nautilus/nautilus-fileroller.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def2]
file-roller-44.3-build/file-roller-44.3/src/commands/rpm2cpio.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def3]
file-roller-44.3-build/file-roller-44.3/src/dlg-add.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-457): [#def4]
file-roller-44.3-build/file-roller-44.3/src/dlg-ask-password.c:144: error[legacyUninitvar]: Uninitialized variable: file
#  142|   		g_assert_not_reached ();
#  143|   
#  144|-> 	filename = _g_file_get_display_name (file);
#  145|   	/* Translators: %s is a filename */
#  146|   	message = g_strdup_printf (_("Password required for “%s”"), filename);

Error: CPPCHECK_WARNING (CWE-457): [#def5]
file-roller-44.3-build/file-roller-44.3/src/dlg-ask-password.c:150: error[legacyUninitvar]: Uninitialized variable: old_password
#  148|   
#  149|   	_gtk_entry_use_as_password_entry (GTK_ENTRY (data->password_entry));
#  150|-> 	if (old_password != NULL) {
#  151|   		GtkWidget *info_bar;
#  152|   		GtkWidget *label;

Error: CPPCHECK_WARNING: [#def6]
file-roller-44.3-build/file-roller-44.3/src/dlg-package-installer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def7]
file-roller-44.3-build/file-roller-44.3/src/file-utils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def8]
file-roller-44.3-build/file-roller-44.3/src/fr-application.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def9]
file-roller-44.3-build/file-roller-44.3/src/fr-archive-libarchive.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def10]
file-roller-44.3-build/file-roller-44.3/src/fr-archive-libarchive.c:1591:2: warning[deadcode.DeadStores]: Value stored to 'rb' is never read
# 1589|   
# 1590|   	archive_entry_set_pathname (w_entry, add_file->pathname);
# 1591|-> 	rb = archive_write_header (b, w_entry);
# 1592|   
# 1593|   	/* write the file data */

Error: CPPCHECK_WARNING (CWE-768): [#def11]
file-roller-44.3-build/file-roller-44.3/src/fr-archive-libarchive.c:1633: error[unknownEvaluationOrder]: Expression 'save_data->b=b=archive_write_new()' depends on order of evaluation of side effects
# 1631|   	load_data = LOAD_DATA (save_data);
# 1632|   
# 1633|-> 	save_data->b = b = archive_write_new ();
# 1634|   	_archive_write_set_format_from_context (b, save_data);
# 1635|   	archive_write_open (b, save_data, save_data_open, save_data_write, save_data_close);

Error: CLANG_WARNING: [#def12]
file-roller-44.3-build/file-roller-44.3/src/fr-archive-libarchive.c:1683:4: warning[deadcode.DeadStores]: Value stored to 'rb' is never read
# 1681|   			}
# 1682|   
# 1683|-> 			rb = archive_write_finish_entry (b);
# 1684|   		}
# 1685|   		else if (action == WRITE_ACTION_SKIP_ENTRY)

Error: CPPCHECK_WARNING: [#def13]
file-roller-44.3-build/file-roller-44.3/src/fr-archive.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def14]
file-roller-44.3-build/file-roller-44.3/src/fr-command-7z.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def15]
file-roller-44.3-build/file-roller-44.3/src/fr-command-7z.c: scope_hint: In function ‘list__process_line’
file-roller-44.3-build/file-roller-44.3/src/fr-command-7z.c:144:70: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*fdata.original_path’
/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.
file-roller-44.3-build/file-roller-44.3/src/fr-command-7z.c:27: 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/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
file-roller-44.3-build/file-roller-44.3/src/fr-command-7z.c:96:9: note: in expansion of macro ‘g_return_if_fail’
/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.
file-roller-44.3-build/file-roller-44.3/src/fr-command-7z.c:143:40: note: in expansion of macro ‘g_strdup’
file-roller-44.3-build/file-roller-44.3/src/fr-command-7z.c: scope_hint: In function ‘list__process_line’
#  142|   		fdata->free_original_path = TRUE;
#  143|   		fdata->original_path = g_strdup (fields[1]);
#  144|-> 		fdata->full_path = g_strconcat ((fdata->original_path[0] != '/') ? "/" : "",
#  145|   						fdata->original_path,
#  146|   						(fdata->dir && (fdata->original_path[strlen (fdata->original_path) - 1] != '/')) ? "/" : "",

Error: GCC_ANALYZER_WARNING (CWE-688): [#def16]
file-roller-44.3-build/file-roller-44.3/src/fr-command-7z.c:146:86: warning[-Wanalyzer-null-argument]: use of NULL ‘*fdata.original_path’ where non-null expected
/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’
file-roller-44.3-build/file-roller-44.3/src/fr-command-7z.c:96:9: note: in expansion of macro ‘g_return_if_fail’
file-roller-44.3-build/file-roller-44.3/src/fr-command-7z.c:143:40: note: in expansion of macro ‘g_strdup’
file-roller-44.3-build/file-roller-44.3/src/fr-command-7z.c: scope_hint: In function ‘list__process_line’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
#  144|   		fdata->full_path = g_strconcat ((fdata->original_path[0] != '/') ? "/" : "",
#  145|   						fdata->original_path,
#  146|-> 						(fdata->dir && (fdata->original_path[strlen (fdata->original_path) - 1] != '/')) ? "/" : "",
#  147|   						NULL);
#  148|   	}

Error: CPPCHECK_WARNING: [#def17]
file-roller-44.3-build/file-roller-44.3/src/fr-command-ace.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-457): [#def18]
file-roller-44.3-build/file-roller-44.3/src/fr-command-ace.c:148: error[legacyUninitvar]: Uninitialized variable: field_name
#  146|   		g_assert_not_reached ();
#  147|   
#  148|-> 	if (field_name[0] != '/') {
#  149|   		fdata->full_path = g_strconcat ("/", field_name, NULL);
#  150|   		fdata->original_path = fdata->full_path + 1;

Error: CPPCHECK_WARNING: [#def19]
file-roller-44.3-build/file-roller-44.3/src/fr-command-alz.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-688): [#def20]
file-roller-44.3-build/file-roller-44.3/src/fr-command-alz.c: scope_hint: In function ‘process_line.part.0’
file-roller-44.3-build/file-roller-44.3/src/fr-command-alz.c:121:20: 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.
file-roller-44.3-build/file-roller-44.3/src/fr-command-alz.c:27: included_from: Included from here.
file-roller-44.3-build/file-roller-44.3/src/fr-command-alz.c:120:22: note: in expansion of macro ‘g_strdup’
file-roller-44.3-build/file-roller-44.3/src/fr-command-alz.c: scope_hint: In function ‘process_line.part.0’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
#  119|   
#  120|   	name_field = g_strdup (_g_str_get_last_field (line, 6));
#  121|-> 	name_len = strlen (name_field);
#  122|   
#  123|   	name_last = name_field[name_len - 1];

Error: CPPCHECK_WARNING: [#def21]
file-roller-44.3-build/file-roller-44.3/src/fr-command-ar.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def22]
file-roller-44.3-build/file-roller-44.3/src/fr-command-arj.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def23]
file-roller-44.3-build/file-roller-44.3/src/fr-command-cfile.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def24]
file-roller-44.3-build/file-roller-44.3/src/fr-command-cpio.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-688): [#def25]
file-roller-44.3-build/file-roller-44.3/src/fr-command-cpio.c: scope_hint: In function ‘list__process_line’
file-roller-44.3-build/file-roller-44.3/src/fr-command-cpio.c:145:33: warning[-Wanalyzer-null-argument]: use of NULL ‘g_strcompress(*fields)’ 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.
file-roller-44.3-build/file-roller-44.3/src/fr-command-cpio.c:26: 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/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
file-roller-44.3-build/file-roller-44.3/src/fr-command-cpio.c:97:9: note: in expansion of macro ‘g_return_if_fail’
file-roller-44.3-build/file-roller-44.3/src/fr-command-cpio.c: scope_hint: In function ‘list__process_line’
/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.
file-roller-44.3-build/file-roller-44.3/src/fr-command-cpio.c:137:36: note: in expansion of macro ‘g_strdup’
file-roller-44.3-build/file-roller-44.3/src/fr-command-cpio.c: scope_hint: In function ‘list__process_line’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
#  143|   	}
#  144|   
#  145|-> 	if (fdata->dir && (name[strlen (name) - 1] != '/')) {
#  146|   		char *old_full_path = fdata->full_path;
#  147|   		fdata->full_path = g_strconcat (old_full_path, "/", NULL);

Error: CPPCHECK_WARNING: [#def26]
file-roller-44.3-build/file-roller-44.3/src/fr-command-dpkg.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def27]
file-roller-44.3-build/file-roller-44.3/src/fr-command-iso.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def28]
file-roller-44.3-build/file-roller-44.3/src/fr-command-jar.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-688): [#def29]
file-roller-44.3-build/file-roller-44.3/src/fr-command-lrzip.c: scope_hint: In function ‘list__process_line’
file-roller-44.3-build/file-roller-44.3/src/fr-command-lrzip.c:66:27: warning[-Wanalyzer-null-argument]: use of NULL 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.
file-roller-44.3-build/file-roller-44.3/src/fr-command-lrzip.c:14: 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/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
file-roller-44.3-build/file-roller-44.3/src/fr-command-lrzip.c:41:9: note: in expansion of macro ‘g_return_if_fail’
/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.
file-roller-44.3-build/file-roller-44.3/src/fr-command-lrzip.c:46:15: note: in expansion of macro ‘g_str_has_prefix’
file-roller-44.3-build/file-roller-44.3/src/fr-command-lrzip.c:46:15: note: in expansion of macro ‘g_str_has_prefix’
file-roller-44.3-build/file-roller-44.3/src/fr-command-lrzip.c:46:15: note: in expansion of macro ‘g_str_has_prefix’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
#   64|   	char *new_fname = g_strdup (_g_path_get_basename (comm->filename));
#   65|   	if (g_str_has_suffix (new_fname, ".lrz"))
#   66|-> 		new_fname[strlen (new_fname) - 4] = '\0';
#   67|   
#   68|   	if (*new_fname == '/') {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def30]
file-roller-44.3-build/file-roller-44.3/src/fr-command-lrzip.c:68:13: 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’
file-roller-44.3-build/file-roller-44.3/src/fr-command-lrzip.c:41:9: note: in expansion of macro ‘g_return_if_fail’
file-roller-44.3-build/file-roller-44.3/src/fr-command-lrzip.c:46:15: note: in expansion of macro ‘g_str_has_prefix’
file-roller-44.3-build/file-roller-44.3/src/fr-command-lrzip.c:46:15: note: in expansion of macro ‘g_str_has_prefix’
file-roller-44.3-build/file-roller-44.3/src/fr-command-lrzip.c:46:15: note: in expansion of macro ‘g_str_has_prefix’
#   66|   		new_fname[strlen (new_fname) - 4] = '\0';
#   67|   
#   68|-> 	if (*new_fname == '/') {
#   69|   		fdata->full_path = g_strdup (new_fname);
#   70|   		fdata->original_path = fdata->full_path;

Error: CPPCHECK_WARNING: [#def31]
file-roller-44.3-build/file-roller-44.3/src/fr-command-rar.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def32]
file-roller-44.3-build/file-roller-44.3/src/fr-command-rpm.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-688): [#def33]
file-roller-44.3-build/file-roller-44.3/src/fr-command-rpm.c: scope_hint: In function ‘list__process_line’
file-roller-44.3-build/file-roller-44.3/src/fr-command-rpm.c:153:33: warning[-Wanalyzer-null-argument]: use of NULL ‘g_strcompress(*fields)’ 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.
file-roller-44.3-build/file-roller-44.3/src/fr-command-rpm.c:26: 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/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
file-roller-44.3-build/file-roller-44.3/src/fr-command-rpm.c:106:9: note: in expansion of macro ‘g_return_if_fail’
/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.
file-roller-44.3-build/file-roller-44.3/src/fr-command-rpm.c:146:36: note: in expansion of macro ‘g_strdup’
file-roller-44.3-build/file-roller-44.3/src/fr-command-rpm.c: scope_hint: In function ‘list__process_line’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
#  151|   		fdata->original_path = fdata->full_path + 1;
#  152|   	}
#  153|-> 	if (fdata->dir && (name[strlen (name) - 1] != '/')) {
#  154|   		char *old_full_path = fdata->full_path;
#  155|   		fdata->full_path = g_strconcat (old_full_path, "/", NULL);

Error: CPPCHECK_WARNING: [#def34]
file-roller-44.3-build/file-roller-44.3/src/fr-command-tar.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-688): [#def35]
file-roller-44.3-build/file-roller-44.3/src/fr-command-tar.c:836:24: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
file-roller-44.3-build/file-roller-44.3/src/fr-command-tar.c:835:31: note: in expansion of macro ‘g_strdup’
file-roller-44.3-build/file-roller-44.3/src/fr-command-tar.c: scope_hint: In function ‘get_uncompressed_name’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
#  834|   	FrArchive *archive = FR_ARCHIVE (comm);
#  835|   	char      *new_name = g_strdup (e_filename);
#  836|-> 	int        l = strlen (new_name);
#  837|   
#  838|   	if (_g_mime_type_matches (archive->mime_type, "application/x-compressed-tar")) {

Error: GCC_ANALYZER_WARNING (CWE-688): [#def36]
file-roller-44.3-build/file-roller-44.3/src/fr-command-tar.c: scope_hint: In function ‘get_uncompressed_name’
file-roller-44.3-build/file-roller-44.3/src/fr-command-tar.c:836:24: warning[-Wanalyzer-null-argument]: use of NULL ‘e_filename’ 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.
file-roller-44.3-build/file-roller-44.3/src/fr-command-tar.c:29: included_from: Included from here.
/usr/include/glib-2.0/glib/gstrfuncs.h:324:38: note: in definition of macro ‘g_strdup’
file-roller-44.3-build/file-roller-44.3/src/fr-command-tar.c:1005:28: note: in expansion of macro ‘g_strdup’
file-roller-44.3-build/file-roller-44.3/src/fr-command-tar.c: scope_hint: In function ‘get_uncompressed_name’
file-roller-44.3-build/file-roller-44.3/src/fr-command-tar.c:835:31: note: in expansion of macro ‘g_strdup’
file-roller-44.3-build/file-roller-44.3/src/fr-command-tar.c: scope_hint: In function ‘get_uncompressed_name’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
#  834|   	FrArchive *archive = FR_ARCHIVE (comm);
#  835|   	char      *new_name = g_strdup (e_filename);
#  836|-> 	int        l = strlen (new_name);
#  837|   
#  838|   	if (_g_mime_type_matches (archive->mime_type, "application/x-compressed-tar")) {

Error: CPPCHECK_WARNING: [#def37]
file-roller-44.3-build/file-roller-44.3/src/fr-command-unsquashfs.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def38]
file-roller-44.3-build/file-roller-44.3/src/fr-command-unstuff.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def39]
file-roller-44.3-build/file-roller-44.3/src/fr-command-unstuff.c: scope_hint: In function ‘process_line’
file-roller-44.3-build/file-roller-44.3/src/fr-command-unstuff.c:163:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘str_start’
/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.
file-roller-44.3-build/file-roller-44.3/src/fr-command-unstuff.c:27: 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/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
file-roller-44.3-build/file-roller-44.3/src/fr-command-unstuff.c:121: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’
file-roller-44.3-build/file-roller-44.3/src/fr-command-unstuff.c:157:9: note: in expansion of macro ‘g_return_if_fail’
#  161|   	str_start = strstr (line, unstuff_comm->target_dir);
#  162|   	i = 0;
#  163|-> 	while (str_start[i] != '\0' && str_start[i] != ',') {
#  164|   		i++;
#  165|   	}

Error: CPPCHECK_WARNING: [#def40]
file-roller-44.3-build/file-roller-44.3/src/fr-command-zip.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def41]
file-roller-44.3-build/file-roller-44.3/src/fr-command-zoo.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def42]
file-roller-44.3-build/file-roller-44.3/src/fr-command.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def43]
file-roller-44.3-build/file-roller-44.3/src/fr-file-selector-dialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def44]
file-roller-44.3-build/file-roller-44.3/src/fr-init.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def45]
file-roller-44.3-build/file-roller-44.3/src/fr-new-archive-dialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def46]
file-roller-44.3-build/file-roller-44.3/src/fr-places-sidebar.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def47]
file-roller-44.3-build/file-roller-44.3/src/fr-process.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def48]
file-roller-44.3-build/file-roller-44.3/src/fr-process.c:851:7: warning[core.UndefinedBinaryOperatorResult]: The left operand of '&' is a garbage value
#  849|   	}
#  850|   	else if (exec_data->error == NULL) {
#  851|-> 		if (WIFEXITED (status)) {
#  852|   			/*if (WEXITSTATUS (status) == 255) {
#  853|   				exec_data->error = fr_error_new (FR_ERROR_COMMAND_NOT_FOUND, 0, NULL);

Error: CPPCHECK_WARNING: [#def49]
file-roller-44.3-build/file-roller-44.3/src/fr-window.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def50]
file-roller-44.3-build/file-roller-44.3/src/gio-utils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def51]
file-roller-44.3-build/file-roller-44.3/src/glib-utils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def52]
file-roller-44.3-build/file-roller-44.3/src/glib-utils.c:672:26: warning[core.UndefinedBinaryOperatorResult]: The left operand of '!=' is a garbage value
#  670|   
#  671|   	patterns = _g_utf8_strsplit (pattern_string, ";", MAX_PATTERNS);
#  672|-> 	for (i = 0; patterns[i] != NULL; i++) {
#  673|   		char *p1, *p2;
#  674|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def53]
file-roller-44.3-build/file-roller-44.3/src/glib-utils.c: scope_hint: In function ‘_g_basename_is_valid’
file-roller-44.3-build/file-roller-44.3/src/glib-utils.c:1175:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
file-roller-44.3-build/file-roller-44.3/src/glib-utils.c: scope_hint: In function ‘_g_basename_is_valid’
# 1173|   	utf8_new_name = g_filename_display_name (new_name);
# 1174|   
# 1175|-> 	if (*new_name == '\0') {
# 1176|   		/* Translators: the name references to a filename.  This message can appear when renaming a file. */
# 1177|   		*reason = g_strdup (_("New name is void, please type a name."));

Error: CPPCHECK_WARNING: [#def54]
file-roller-44.3-build/file-roller-44.3/src/java-utils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-17.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namefile-roller-44.3-1.fc41
store-results-to/tmp/tmpa3hhwgaw/file-roller-44.3-1.fc41.tar.xz
time-created2024-07-03 12:38:30
time-finished2024-07-03 12:40:56
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpa3hhwgaw/file-roller-44.3-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpa3hhwgaw/file-roller-44.3-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9