Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler.
Number of rules (primarily dangerous function names) in C/C++ ruleset: 223
Examining data/file-roller-3.38.0/nautilus/fileroller-module.c
Examining data/file-roller-3.38.0/nautilus/nautilus-fileroller.c
Examining data/file-roller-3.38.0/nautilus/nautilus-fileroller.h
Examining data/file-roller-3.38.0/src/commands/rpm2cpio.c
Examining data/file-roller-3.38.0/src/dlg-add.c
Examining data/file-roller-3.38.0/src/dlg-add.h
Examining data/file-roller-3.38.0/src/dlg-ask-password.c
Examining data/file-roller-3.38.0/src/dlg-ask-password.h
Examining data/file-roller-3.38.0/src/dlg-batch-add.c
Examining data/file-roller-3.38.0/src/dlg-batch-add.h
Examining data/file-roller-3.38.0/src/dlg-delete.c
Examining data/file-roller-3.38.0/src/dlg-delete.h
Examining data/file-roller-3.38.0/src/dlg-extract.c
Examining data/file-roller-3.38.0/src/dlg-extract.h
Examining data/file-roller-3.38.0/src/dlg-open-with.c
Examining data/file-roller-3.38.0/src/dlg-open-with.h
Examining data/file-roller-3.38.0/src/dlg-package-installer.c
Examining data/file-roller-3.38.0/src/dlg-package-installer.h
Examining data/file-roller-3.38.0/src/dlg-password.c
Examining data/file-roller-3.38.0/src/dlg-password.h
Examining data/file-roller-3.38.0/src/dlg-prop.c
Examining data/file-roller-3.38.0/src/dlg-prop.h
Examining data/file-roller-3.38.0/src/dlg-update.c
Examining data/file-roller-3.38.0/src/dlg-update.h
Examining data/file-roller-3.38.0/src/egg-macros.h
Examining data/file-roller-3.38.0/src/eggtreemultidnd.c
Examining data/file-roller-3.38.0/src/eggtreemultidnd.h
Examining data/file-roller-3.38.0/src/file-data.c
Examining data/file-roller-3.38.0/src/file-data.h
Examining data/file-roller-3.38.0/src/file-utils.c
Examining data/file-roller-3.38.0/src/file-utils.h
Examining data/file-roller-3.38.0/src/fr-application-menu.c
Examining data/file-roller-3.38.0/src/fr-application-menu.h
Examining data/file-roller-3.38.0/src/fr-application.c
Examining data/file-roller-3.38.0/src/fr-application.h
Examining data/file-roller-3.38.0/src/fr-archive-libarchive.c
Examining data/file-roller-3.38.0/src/fr-archive-libarchive.h
Examining data/file-roller-3.38.0/src/fr-archive.c
Examining data/file-roller-3.38.0/src/fr-archive.h
Examining data/file-roller-3.38.0/src/fr-command-7z.c
Examining data/file-roller-3.38.0/src/fr-command-7z.h
Examining data/file-roller-3.38.0/src/fr-command-ace.c
Examining data/file-roller-3.38.0/src/fr-command-ace.h
Examining data/file-roller-3.38.0/src/fr-command-alz.c
Examining data/file-roller-3.38.0/src/fr-command-alz.h
Examining data/file-roller-3.38.0/src/fr-command-ar.c
Examining data/file-roller-3.38.0/src/fr-command-ar.h
Examining data/file-roller-3.38.0/src/fr-command-arj.c
Examining data/file-roller-3.38.0/src/fr-command-arj.h
Examining data/file-roller-3.38.0/src/fr-command-cfile.c
Examining data/file-roller-3.38.0/src/fr-command-cfile.h
Examining data/file-roller-3.38.0/src/fr-command-cpio.c
Examining data/file-roller-3.38.0/src/fr-command-cpio.h
Examining data/file-roller-3.38.0/src/fr-command-dpkg.c
Examining data/file-roller-3.38.0/src/fr-command-dpkg.h
Examining data/file-roller-3.38.0/src/fr-command-iso.c
Examining data/file-roller-3.38.0/src/fr-command-iso.h
Examining data/file-roller-3.38.0/src/fr-command-jar.c
Examining data/file-roller-3.38.0/src/fr-command-jar.h
Examining data/file-roller-3.38.0/src/fr-command-lha.c
Examining data/file-roller-3.38.0/src/fr-command-lha.h
Examining data/file-roller-3.38.0/src/fr-command-lrzip.c
Examining data/file-roller-3.38.0/src/fr-command-lrzip.h
Examining data/file-roller-3.38.0/src/fr-command-rar.c
Examining data/file-roller-3.38.0/src/fr-command-rar.h
Examining data/file-roller-3.38.0/src/fr-command-rpm.c
Examining data/file-roller-3.38.0/src/fr-command-rpm.h
Examining data/file-roller-3.38.0/src/fr-command-tar.c
Examining data/file-roller-3.38.0/src/fr-command-tar.h
Examining data/file-roller-3.38.0/src/fr-command-unarchiver.c
Examining data/file-roller-3.38.0/src/fr-command-unarchiver.h
Examining data/file-roller-3.38.0/src/fr-command-unsquashfs.c
Examining data/file-roller-3.38.0/src/fr-command-unsquashfs.h
Examining data/file-roller-3.38.0/src/fr-command-unstuff.c
Examining data/file-roller-3.38.0/src/fr-command-unstuff.h
Examining data/file-roller-3.38.0/src/fr-command-zip.c
Examining data/file-roller-3.38.0/src/fr-command-zip.h
Examining data/file-roller-3.38.0/src/fr-command-zoo.c
Examining data/file-roller-3.38.0/src/fr-command-zoo.h
Examining data/file-roller-3.38.0/src/fr-command.c
Examining data/file-roller-3.38.0/src/fr-command.h
Examining data/file-roller-3.38.0/src/fr-error.c
Examining data/file-roller-3.38.0/src/fr-error.h
Examining data/file-roller-3.38.0/src/fr-file-selector-dialog.c
Examining data/file-roller-3.38.0/src/fr-file-selector-dialog.h
Examining data/file-roller-3.38.0/src/fr-init.c
Examining data/file-roller-3.38.0/src/fr-init.h
Examining data/file-roller-3.38.0/src/fr-list-model.c
Examining data/file-roller-3.38.0/src/fr-list-model.h
Examining data/file-roller-3.38.0/src/fr-location-bar.c
Examining data/file-roller-3.38.0/src/fr-location-bar.h
Examining data/file-roller-3.38.0/src/fr-new-archive-dialog.c
Examining data/file-roller-3.38.0/src/fr-new-archive-dialog.h
Examining data/file-roller-3.38.0/src/fr-process.c
Examining data/file-roller-3.38.0/src/fr-process.h
Examining data/file-roller-3.38.0/src/fr-window-actions-callbacks.c
Examining data/file-roller-3.38.0/src/fr-window-actions-callbacks.h
Examining data/file-roller-3.38.0/src/fr-window-actions-entries.h
Examining data/file-roller-3.38.0/src/fr-window.c
Examining data/file-roller-3.38.0/src/fr-window.h
Examining data/file-roller-3.38.0/src/gio-utils.c
Examining data/file-roller-3.38.0/src/gio-utils.h
Examining data/file-roller-3.38.0/src/glib-utils.c
Examining data/file-roller-3.38.0/src/glib-utils.h
Examining data/file-roller-3.38.0/src/gth-icon-cache.c
Examining data/file-roller-3.38.0/src/gth-icon-cache.h
Examining data/file-roller-3.38.0/src/gtk-utils.c
Examining data/file-roller-3.38.0/src/gtk-utils.h
Examining data/file-roller-3.38.0/src/java-utils.c
Examining data/file-roller-3.38.0/src/java-utils.h
Examining data/file-roller-3.38.0/src/main.c
Examining data/file-roller-3.38.0/src/mkdtemp.c
Examining data/file-roller-3.38.0/src/mkdtemp.h
Examining data/file-roller-3.38.0/src/open-file.c
Examining data/file-roller-3.38.0/src/open-file.h
Examining data/file-roller-3.38.0/src/preferences.c
Examining data/file-roller-3.38.0/src/preferences.h
Examining data/file-roller-3.38.0/src/rar-utils.c
Examining data/file-roller-3.38.0/src/rar-utils.h
Examining data/file-roller-3.38.0/src/test-safe-path.c
Examining data/file-roller-3.38.0/src/test-server.c
Examining data/file-roller-3.38.0/src/typedefs.h

FINAL RESULTS:

data/file-roller-3.38.0/src/commands/rpm2cpio.c:132:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	return system (command);
data/file-roller-3.38.0/src/fr-command-7z.c:258:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy (filename, line + prefix_len);
data/file-roller-3.38.0/src/fr-command-rar.c:440:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy (filename, line + prefix_len);
data/file-roller-3.38.0/src/glib-utils.c:1189:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy (c + 1, suffix);
data/file-roller-3.38.0/src/file-utils.c:67:26:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It can have any content
  and length, and the same variable can be set more than once (CWE-807,
  CWE-20). Check environment variables carefully before using them.
                folder = g_get_home_dir ();
data/file-roller-3.38.0/src/file-utils.c:69:26:  [3] (buffer) g_get_tmp_dir:
  This function is synonymous with 'getenv("TMP")';it returns untrustable
  input if the environment can beset by an attacker. It can have any content
  and length, and the same variable can be set more than once (CWE-807,
  CWE-20). Check environment variables carefully before using them.
                folder = g_get_tmp_dir ();
data/file-roller-3.38.0/src/file-utils.c:262:19:  [3] (buffer) g_get_tmp_dir:
  This function is synonymous with 'getenv("TMP")';it returns untrustable
  input if the environment can beset by an attacker. It can have any content
  and length, and the same variable can be set more than once (CWE-807,
  CWE-20). Check environment variables carefully before using them.
	else if (strcmp (g_get_tmp_dir (), path) == 0)
data/file-roller-3.38.0/src/file-utils.c:264:33:  [3] (buffer) g_get_tmp_dir:
  This function is synonymous with 'getenv("TMP")';it returns untrustable
  input if the environment can beset by an attacker. It can have any content
  and length, and the same variable can be set more than once (CWE-807,
  CWE-20). Check environment variables carefully before using them.
	else if (_g_path_is_parent_of (g_get_tmp_dir (), path))
data/file-roller-3.38.0/src/fr-command-alz.c:171:15:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		char *env = getenv (*scan);
data/file-roller-3.38.0/src/fr-command.c:1078:47:  [3] (buffer) g_get_tmp_dir:
  This function is synonymous with 'getenv("TMP")';it returns untrustable
  input if the environment can beset by an attacker. It can have any content
  and length, and the same variable can be set more than once (CWE-807,
  CWE-20). Check environment variables carefully before using them.
			fr_process_set_working_dir (self->process, g_get_tmp_dir());
data/file-roller-3.38.0/src/fr-command.c:1129:47:  [3] (buffer) g_get_tmp_dir:
  This function is synonymous with 'getenv("TMP")';it returns untrustable
  input if the environment can beset by an attacker. It can have any content
  and length, and the same variable can be set more than once (CWE-807,
  CWE-20). Check environment variables carefully before using them.
			fr_process_set_working_dir (self->process, g_get_tmp_dir ());
data/file-roller-3.38.0/src/fr-command.c:1140:47:  [3] (buffer) g_get_tmp_dir:
  This function is synonymous with 'getenv("TMP")';it returns untrustable
  input if the environment can beset by an attacker. It can have any content
  and length, and the same variable can be set more than once (CWE-807,
  CWE-20). Check environment variables carefully before using them.
			fr_process_set_working_dir (self->process, g_get_tmp_dir ());
data/file-roller-3.38.0/src/fr-command.c:1572:47:  [3] (buffer) g_get_tmp_dir:
  This function is synonymous with 'getenv("TMP")';it returns untrustable
  input if the environment can beset by an attacker. It can have any content
  and length, and the same variable can be set more than once (CWE-807,
  CWE-20). Check environment variables carefully before using them.
			fr_process_set_working_dir (self->process, g_get_tmp_dir());
data/file-roller-3.38.0/src/fr-command.c:1678:45:  [3] (buffer) g_get_tmp_dir:
  This function is synonymous with 'getenv("TMP")';it returns untrustable
  input if the environment can beset by an attacker. It can have any content
  and length, and the same variable can be set more than once (CWE-807,
  CWE-20). Check environment variables carefully before using them.
	fr_process_set_working_dir (self->process, g_get_tmp_dir ());
data/file-roller-3.38.0/src/fr-command.c:1885:47:  [3] (buffer) g_get_tmp_dir:
  This function is synonymous with 'getenv("TMP")';it returns untrustable
  input if the environment can beset by an attacker. It can have any content
  and length, and the same variable can be set more than once (CWE-807,
  CWE-20). Check environment variables carefully before using them.
			fr_process_set_working_dir (self->process, g_get_tmp_dir ());
data/file-roller-3.38.0/src/fr-command.c:2655:45:  [3] (buffer) g_get_tmp_dir:
  This function is synonymous with 'getenv("TMP")';it returns untrustable
  input if the environment can beset by an attacker. It can have any content
  and length, and the same variable can be set more than once (CWE-807,
  CWE-20). Check environment variables carefully before using them.
	fr_process_set_working_dir (self->process, g_get_tmp_dir ());
data/file-roller-3.38.0/src/fr-command.c:2766:48:  [3] (buffer) g_get_tmp_dir:
  This function is synonymous with 'getenv("TMP")';it returns untrustable
  input if the environment can beset by an attacker. It can have any content
  and length, and the same variable can be set more than once (CWE-807,
  CWE-20). Check environment variables carefully before using them.
	fr_process_set_working_dir (command->process, g_get_tmp_dir ());
data/file-roller-3.38.0/src/glib-utils.c:804:33:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It can have any content
  and length, and the same variable can be set more than once (CWE-807,
  CWE-20). Check environment variables carefully before using them.
		home_uri = g_filename_to_uri (g_get_home_dir (), NULL, NULL);
data/file-roller-3.38.0/src/glib-utils.c:1183:16:  [3] (random) g_rand_int_range:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		*c = letters[g_rand_int_range (rand, 0, n_letters)];
data/file-roller-3.38.0/src/glib-utils.c:1293:30:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It can have any content
  and length, and the same variable can be set more than once (CWE-807,
  CWE-20). Check environment variables carefully before using them.
	file = g_file_new_for_path (g_get_home_dir ());
data/file-roller-3.38.0/src/glib-utils.h:39:15:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It can have any content
  and length, and the same variable can be set more than once (CWE-807,
  CWE-20). Check environment variables carefully before using them.
	g_strconcat (g_get_home_dir (), \
data/file-roller-3.38.0/src/commands/rpm2cpio.c:80:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	stream = fopen (filename, "r");
data/file-roller-3.38.0/src/fr-archive.c:758:38:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (FR_ARCHIVE_GET_CLASS (archive)->open != NULL)
data/file-roller-3.38.0/src/fr-archive.c:759:35:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		FR_ARCHIVE_GET_CLASS (archive)->open (archive,
data/file-roller-3.38.0/src/fr-archive.h:258:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	void          (*open)              (FrArchive           *archive,
data/file-roller-3.38.0/src/fr-command-7z.c:64:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		tm.tm_year = atoi (fields[0]) - 1900;
data/file-roller-3.38.0/src/fr-command-7z.c:65:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		tm.tm_mon = atoi (fields[1]) - 1;
data/file-roller-3.38.0/src/fr-command-7z.c:66:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		tm.tm_mday = atoi (fields[2]);
data/file-roller-3.38.0/src/fr-command-7z.c:74:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		tm.tm_hour = atoi (fields[0]);
data/file-roller-3.38.0/src/fr-command-7z.c:76:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			tm.tm_min = atoi (fields[1]);
data/file-roller-3.38.0/src/fr-command-7z.c:78:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				tm.tm_sec = atoi (fields[2]);
data/file-roller-3.38.0/src/fr-command-7z.c:255:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char  filename[4196];
data/file-roller-3.38.0/src/fr-command-ace.c:61:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		tm.tm_mday = atoi (fields[0]);
data/file-roller-3.38.0/src/fr-command-ace.c:63:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			tm.tm_mon = atoi (fields[1]) - 1;
data/file-roller-3.38.0/src/fr-command-ace.c:65:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				int y = atoi (fields[2]);
data/file-roller-3.38.0/src/fr-command-ace.c:79:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		tm.tm_hour = atoi (fields[0]);
data/file-roller-3.38.0/src/fr-command-ace.c:81:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			tm.tm_min = atoi (fields[1]);
data/file-roller-3.38.0/src/fr-command-alz.c:62:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		tm.tm_mon = atoi (fields[0]) - 1;
data/file-roller-3.38.0/src/fr-command-alz.c:64:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			tm.tm_mday = atoi (fields[1]);
data/file-roller-3.38.0/src/fr-command-alz.c:66:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				tm.tm_year = 100 + atoi (fields[2]);
data/file-roller-3.38.0/src/fr-command-alz.c:75:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		tm.tm_hour = atoi (fields[0]);
data/file-roller-3.38.0/src/fr-command-alz.c:77:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			tm.tm_min = atoi (fields[1]);
data/file-roller-3.38.0/src/fr-command-ar.c:68:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	tm.tm_mday = atoi (day_s);
data/file-roller-3.38.0/src/fr-command-ar.c:69:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	tm.tm_year = atoi (year_s) - 1900;
data/file-roller-3.38.0/src/fr-command-ar.c:75:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		tm.tm_hour = atoi (fields[0]);
data/file-roller-3.38.0/src/fr-command-ar.c:77:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			tm.tm_min  = atoi (fields[1]);
data/file-roller-3.38.0/src/fr-command-ar.c:79:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				tm.tm_sec  = atoi (fields[2]);
data/file-roller-3.38.0/src/fr-command-arj.c:64:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		int y = atoi (fields[0]);
data/file-roller-3.38.0/src/fr-command-arj.c:70:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		tm.tm_mon = atoi (fields[1]) - 1;
data/file-roller-3.38.0/src/fr-command-arj.c:71:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		tm.tm_mday = atoi (fields[2]);
data/file-roller-3.38.0/src/fr-command-arj.c:79:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		tm.tm_hour = atoi (fields[0]);
data/file-roller-3.38.0/src/fr-command-arj.c:81:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			tm.tm_min = atoi (fields[1]);
data/file-roller-3.38.0/src/fr-command-arj.c:83:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				tm.tm_sec = atoi (fields[2]);
data/file-roller-3.38.0/src/fr-command-cfile.c:64:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char     buffer[10];
data/file-roller-3.38.0/src/fr-command-cpio.c:65:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	tm.tm_mday = atoi (mday);
data/file-roller-3.38.0/src/fr-command-cpio.c:72:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	  		tm.tm_hour = atoi (fields[0]);
data/file-roller-3.38.0/src/fr-command-cpio.c:73:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	  		tm.tm_min = atoi (fields[1]);
data/file-roller-3.38.0/src/fr-command-cpio.c:80:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		tm.tm_year = atoi (year) - 1900;
data/file-roller-3.38.0/src/fr-command-dpkg.c:106:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                tm.tm_year = atoi (tmfields[0]) - 1900;
data/file-roller-3.38.0/src/fr-command-dpkg.c:107:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                tm.tm_mon = atoi (tmfields[1]) - 1;
data/file-roller-3.38.0/src/fr-command-dpkg.c:108:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                tm.tm_mday = atoi (tmfields[2]);
data/file-roller-3.38.0/src/fr-command-dpkg.c:113:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                tm.tm_hour = atoi (tmfields[0]);
data/file-roller-3.38.0/src/fr-command-dpkg.c:114:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                tm.tm_min = atoi (tmfields[1]);
data/file-roller-3.38.0/src/fr-command-iso.c:64:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	tm.tm_mday = atoi (mday);
data/file-roller-3.38.0/src/fr-command-iso.c:65:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	tm.tm_year = atoi (year) - 1900;
data/file-roller-3.38.0/src/fr-command-lha.c:67:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	tm.tm_mday = atoi (mday);
data/file-roller-3.38.0/src/fr-command-lha.c:69:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		tm.tm_year = atoi (time_or_year) - 1900;
data/file-roller-3.38.0/src/fr-command-lha.c:83:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			tm.tm_hour = atoi (fields[0]);
data/file-roller-3.38.0/src/fr-command-lha.c:85:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				tm.tm_min = atoi (fields[1]);
data/file-roller-3.38.0/src/fr-command-lha.c:275:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char   options[5];
data/file-roller-3.38.0/src/fr-command-rar.c:77:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		tm.tm_mday = atoi (fields[0]);
data/file-roller-3.38.0/src/fr-command-rar.c:79:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			tm.tm_mon = atoi (fields[1]) - 1;
data/file-roller-3.38.0/src/fr-command-rar.c:81:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				tm.tm_year = 100 + atoi (fields[2]);
data/file-roller-3.38.0/src/fr-command-rar.c:90:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		tm.tm_hour = atoi (fields[0]);
data/file-roller-3.38.0/src/fr-command-rar.c:92:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			tm.tm_min = atoi (fields[1]);
data/file-roller-3.38.0/src/fr-command-rar.c:113:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		tm.tm_year = atoi (fields[0]) - 1900;
data/file-roller-3.38.0/src/fr-command-rar.c:115:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			tm.tm_mon = atoi (fields[1]) - 1;
data/file-roller-3.38.0/src/fr-command-rar.c:117:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				tm.tm_mday = atoi (fields[2]);
data/file-roller-3.38.0/src/fr-command-rar.c:126:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		tm.tm_hour = atoi (fields[0]);
data/file-roller-3.38.0/src/fr-command-rar.c:128:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			tm.tm_min = atoi (fields[1]);
data/file-roller-3.38.0/src/fr-command-rar.c:435:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char  filename[4096];
data/file-roller-3.38.0/src/fr-command-rpm.c:68:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		tm.tm_mday = atoi (mday);
data/file-roller-3.38.0/src/fr-command-rpm.c:79:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				tm.tm_hour = atoi (fields[0]);
data/file-roller-3.38.0/src/fr-command-rpm.c:80:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				tm.tm_min = atoi (fields[1]);
data/file-roller-3.38.0/src/fr-command-rpm.c:87:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			tm.tm_year = atoi (year) - 1900;
data/file-roller-3.38.0/src/fr-command-tar.c:70:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		tm.tm_year = atoi (fields[0]) - 1900;
data/file-roller-3.38.0/src/fr-command-tar.c:72:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			tm.tm_mon = atoi (fields[1]) - 1;
data/file-roller-3.38.0/src/fr-command-tar.c:74:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				tm.tm_mday = atoi (fields[2]);
data/file-roller-3.38.0/src/fr-command-tar.c:83:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		tm.tm_hour = atoi (fields[0]);
data/file-roller-3.38.0/src/fr-command-tar.c:85:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			tm.tm_min  = atoi (fields[1]);
data/file-roller-3.38.0/src/fr-command-tar.c:87:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				tm.tm_sec  = atoi (fields[2]);
data/file-roller-3.38.0/src/fr-command-tar.c:1244:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char *try_command[3] = { "7za", "7zr", "7z" };
data/file-roller-3.38.0/src/fr-command-tar.c:1276:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char *try_command[3] = { "7za", "7zr", "7z" };
data/file-roller-3.38.0/src/fr-command-unsquashfs.c:74:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                tm.tm_year = atoi (tmfields[0]) - 1900;
data/file-roller-3.38.0/src/fr-command-unsquashfs.c:75:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                tm.tm_mon = atoi (tmfields[1]) - 1;
data/file-roller-3.38.0/src/fr-command-unsquashfs.c:76:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                tm.tm_mday = atoi (tmfields[2]);
data/file-roller-3.38.0/src/fr-command-unsquashfs.c:81:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                tm.tm_hour = atoi (tmfields[0]);
data/file-roller-3.38.0/src/fr-command-unsquashfs.c:82:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                tm.tm_min = atoi (tmfields[1]);
data/file-roller-3.38.0/src/fr-command-unstuff.c:101:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (filename + i, "../", 3);
data/file-roller-3.38.0/src/fr-command-unstuff.c:104:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (filename + i, orig, strlen (orig) + 1);
data/file-roller-3.38.0/src/fr-command-zip.c:69:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	tm.tm_year = atoi (year) - 1900;
data/file-roller-3.38.0/src/fr-command-zip.c:70:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	tm.tm_mon = atoi (month) - 1;
data/file-roller-3.38.0/src/fr-command-zip.c:71:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	tm.tm_mday = atoi (day);
data/file-roller-3.38.0/src/fr-command-zip.c:82:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	tm.tm_hour = atoi (hour);
data/file-roller-3.38.0/src/fr-command-zip.c:83:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	tm.tm_min = atoi (min);
data/file-roller-3.38.0/src/fr-command-zip.c:84:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	tm.tm_sec = atoi (sec);
data/file-roller-3.38.0/src/fr-command-zoo.c:58:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	year = atoi (year_s);
data/file-roller-3.38.0/src/fr-command-zoo.c:91:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	tm.tm_mday = atoi (mday_s);
data/file-roller-3.38.0/src/fr-command-zoo.c:95:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		tm.tm_hour = atoi (fields[0]);
data/file-roller-3.38.0/src/fr-command-zoo.c:97:17:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			tm.tm_min  = atoi (fields[1]);
data/file-roller-3.38.0/src/fr-command-zoo.c:99:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				tm.tm_sec  = atoi (fields[2]);
data/file-roller-3.38.0/src/gio-utils.c:1374:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy (load_data->buffer + load_data->buffer_size, load_data->tmp_buffer, count);
data/file-roller-3.38.0/src/glib-utils.c:495:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (new_array->pdata, array->pdata, array->len * sizeof (gpointer));
data/file-roller-3.38.0/src/glib-utils.c:779:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char       s_time[256];
data/file-roller-3.38.0/src/gtk-utils.c:892:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	const char *accels[2];
data/file-roller-3.38.0/src/java-utils.c:261:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	cfile->fd = open (fname, O_RDONLY);
data/file-roller-3.38.0/src/java-utils.c:382:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	cfile->fd = open (fname, O_RDONLY);
data/file-roller-3.38.0/src/java-utils.c:418:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char first_valid_word[8] = "";
data/file-roller-3.38.0/src/java-utils.c:426:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char buffer[500];
data/file-roller-3.38.0/src/rar-utils.c:99:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char   buffer[11];
data/file-roller-3.38.0/src/file-data.c:150:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	path_l = strlen (path);
data/file-roller-3.38.0/src/file-data.c:161:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			int original_path_l = strlen (fd->original_path);
data/file-roller-3.38.0/src/file-utils.c:585:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strncmp (path, folder, strlen (folder)) == 0) {
data/file-roller-3.38.0/src/file-utils.c:586:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (strncmp (path + strlen (folder), "/.fr-", 5) == 0) {
data/file-roller-3.38.0/src/fr-archive-libarchive.c:2234:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		old_dirname_len = strlen (old_dirname);
data/file-roller-3.38.0/src/fr-archive-libarchive.c:2311:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		new_name = g_build_filename (current_dir, old_name + strlen (base_dir) - 1, NULL);
data/file-roller-3.38.0/src/fr-archive.c:1360:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		new_name = g_strndup (name, strlen (name) - strlen (ext));
data/file-roller-3.38.0/src/fr-archive.c:1360:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		new_name = g_strndup (name, strlen (name) - strlen (ext));
data/file-roller-3.38.0/src/fr-command-7z.c:146:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						(fdata->dir && (fdata->original_path[strlen (fdata->original_path) - 1] != '/')) ? "/" : "",
data/file-roller-3.38.0/src/fr-command-7z.c:249:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	prefix_len = strlen (prefix);
data/file-roller-3.38.0/src/fr-command-alz.c:121:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	name_len = strlen (name_field);
data/file-roller-3.38.0/src/fr-command-cpio.c:145:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (fdata->dir && (name[strlen (name) - 1] != '/')) {
data/file-roller-3.38.0/src/fr-command-dpkg.c:135:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (fdata->dir && (name[strlen (name) - 1] != '/')) {
data/file-roller-3.38.0/src/fr-command-jar.c:75:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if ((package == NULL) || (strlen (package) == 0))
data/file-roller-3.38.0/src/fr-command-lha.c:110:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		line += strlen ("[MS-DOS]");
data/file-roller-3.38.0/src/fr-command-lha.c:115:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		line += strlen ("[generic]");
data/file-roller-3.38.0/src/fr-command-lha.c:120:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		line += strlen ("[unknown]");
data/file-roller-3.38.0/src/fr-command-lrzip.c:43:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen (line) == 0)
data/file-roller-3.38.0/src/fr-command-lrzip.c:66:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		new_fname[strlen (new_fname) - 4] = '\0';
data/file-roller-3.38.0/src/fr-command-rar.c:429:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	prefix_len = strlen (prefix);
data/file-roller-3.38.0/src/fr-command-rar.c:449:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			len = strlen (filename);
data/file-roller-3.38.0/src/fr-command-rar.c:481:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			volume_filename[strlen (volume_filename) - 5] = '1';
data/file-roller-3.38.0/src/fr-command-rar.c:757:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			char *volume_filename = g_path_get_basename (line + strlen ("Cannot find volume "));
data/file-roller-3.38.0/src/fr-command-rpm.c:153:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (fdata->dir && (name[strlen (name) - 1] != '/')) {
data/file-roller-3.38.0/src/fr-command-tar.c:306:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (line[strlen (line) - 1] == '/') /* ignore directories */
data/file-roller-3.38.0/src/fr-command-tar.c:836:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int        l = strlen (new_name);
data/file-roller-3.38.0/src/fr-command-unstuff.c:98:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	filename = g_malloc (3 * i + strlen (orig) + 1);
data/file-roller-3.38.0/src/fr-command-unstuff.c:104:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	memcpy (filename + i, orig, strlen (orig) + 1);
data/file-roller-3.38.0/src/fr-command-unstuff.c:128:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			+ strlen ("progressEvent - ");
data/file-roller-3.38.0/src/fr-command-unstuff.c:147:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	str_start = str_start + strlen (unstuff_comm->target_dir) - 1;
data/file-roller-3.38.0/src/fr-command-zip.c:111:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	line_l = strlen (line);
data/file-roller-3.38.0/src/fr-command.c:827:69:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if ((g_output_stream_write (G_OUTPUT_STREAM (ostream), filename, strlen (filename), NULL, error) < 0)
data/file-roller-3.38.0/src/fr-command.c:879:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				l = strlen (scan->data);
data/file-roller-3.38.0/src/fr-command.c:883:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				l += strlen (scan->data);
data/file-roller-3.38.0/src/fr-command.c:1534:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (path[strlen (path) - 1] == '/')
data/file-roller-3.38.0/src/fr-command.c:1592:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					l = strlen (scan->data);
data/file-roller-3.38.0/src/fr-command.c:1596:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					l += strlen (scan->data);
data/file-roller-3.38.0/src/fr-command.c:1814:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	temp_dir_l = strlen (temp_dir_path);
data/file-roller-3.38.0/src/fr-command.c:1826:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				l = temp_dir_l + 1 + strlen (scan->data);
data/file-roller-3.38.0/src/fr-command.c:1830:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				l += temp_dir_l + 1 + strlen (scan->data);
data/file-roller-3.38.0/src/fr-command.c:1905:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					l = strlen (scan->data);
data/file-roller-3.38.0/src/fr-command.c:1909:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					l += strlen (scan->data);
data/file-roller-3.38.0/src/fr-command.c:1932:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int         base_dir_len = strlen (base_dir);
data/file-roller-3.38.0/src/fr-command.c:1933:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int         path_len = strlen (path);
data/file-roller-3.38.0/src/fr-command.c:2039:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int    dirname_l = strlen (dirname);
data/file-roller-3.38.0/src/fr-command.c:2580:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen (filename) > (strlen (current_dir) + strlen (old_name)))
data/file-roller-3.38.0/src/fr-command.c:2580:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen (filename) > (strlen (current_dir) + strlen (old_name)))
data/file-roller-3.38.0/src/fr-command.c:2580:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen (filename) > (strlen (current_dir) + strlen (old_name)))
data/file-roller-3.38.0/src/fr-command.c:2581:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			common = g_strdup (filename + strlen (current_dir) + strlen (old_name));
data/file-roller-3.38.0/src/fr-command.c:2581:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			common = g_strdup (filename + strlen (current_dir) + strlen (old_name));
data/file-roller-3.38.0/src/fr-command.c:2708:77:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		char       *new_name = g_build_filename (current_dir_relative, old_name + strlen (base_dir) - 1, NULL);
data/file-roller-3.38.0/src/fr-command.c:2713:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    && (old_name[strlen (old_name) - 1] != '/'))
data/file-roller-3.38.0/src/fr-new-archive-dialog.c:185:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			return g_strndup (filename, strlen (filename) - strlen (ext))  ;
data/file-roller-3.38.0/src/fr-new-archive-dialog.c:185:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			return g_strndup (filename, strlen (filename) - strlen (ext))  ;
data/file-roller-3.38.0/src/fr-window.c:955:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	dir_name_len = strlen (dir_name);
data/file-roller-3.38.0/src/fr-window.c:969:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			 && (fdata->full_path[strlen (fdata->full_path) - 1] != '/')
data/file-roller-3.38.0/src/fr-window.c:1289:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	dirname_l = strlen (dirname);
data/file-roller-3.38.0/src/fr-window.c:1348:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen (fdata->full_path) == current_dir_len)
data/file-roller-3.38.0/src/fr-window.c:1419:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	current_dir_len = strlen (current_dir);
data/file-roller-3.38.0/src/fr-window.c:1463:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	dir[strlen (dir) - 1] = 0;
data/file-roller-3.38.0/src/fr-window.c:1467:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (new_dir[strlen (new_dir) - 1] == '/')
data/file-roller-3.38.0/src/fr-window.c:3330:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (path[strlen (path) - 1] != '/')
data/file-roller-3.38.0/src/fr-window.c:3334:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	dirname_l = strlen (dirname);
data/file-roller-3.38.0/src/fr-window.c:3344:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			int full_path_l = strlen (fd->full_path);
data/file-roller-3.38.0/src/fr-window.c:4360:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			     strlen (xds_filename));
data/file-roller-3.38.0/src/fr-window.c:4608:73:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		gtk_selection_data_set (selection_data, XFR_ATOM, 8, (guchar *) data, strlen (data));
data/file-roller-3.38.0/src/fr-window.c:4704:73:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		gtk_selection_data_set (selection_data, XFR_ATOM, 8, (guchar *) data, strlen (data));
data/file-roller-3.38.0/src/fr-window.c:7095:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		new_name = g_strndup (name, strlen (name) - strlen (ext));
data/file-roller-3.38.0/src/fr-window.c:7095:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		new_name = g_strndup (name, strlen (name) - strlen (ext));
data/file-roller-3.38.0/src/fr-window.c:7294:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (path[strlen (path) - 1] != '/')
data/file-roller-3.38.0/src/fr-window.c:8352:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	new_filename_l = strlen (new_filename);
data/file-roller-3.38.0/src/fr-window.c:8527:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					strlen (data));
data/file-roller-3.38.0/src/fr-window.c:8563:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		else if (parent_folder[strlen (parent_folder) - 1] == '/')
data/file-roller-3.38.0/src/fr-window.c:8885:65:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		new_name = g_build_filename (current_dir_relative, old_name + strlen (data->base_dir) - 1, NULL);
data/file-roller-3.38.0/src/glib-utils.c:189:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int         meta_chars_n = strlen (meta_chars);
data/file-roller-3.38.0/src/glib-utils.c:212:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int         meta_chars_n = strlen (meta_chars);
data/file-roller-3.38.0/src/glib-utils.c:226:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	new_l = strlen (str) + (count_chars_to_escape (str, meta_chars) * extra_chars);
data/file-roller-3.38.0/src/glib-utils.c:269:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int   l = strlen (s);
data/file-roller-3.38.0/src/glib-utils.c:604:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int         needle_size = strlen (needle);
data/file-roller-3.38.0/src/glib-utils.c:638:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		gsize delimiter_size = strlen (delimiter);
data/file-roller-3.38.0/src/glib-utils.c:645:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy (new_string, remainder, size);
data/file-roller-3.38.0/src/glib-utils.c:686:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	memmove (string, scan, strlen (scan) + 1);
data/file-roller-3.38.0/src/glib-utils.c:893:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	last_char = strlen (file_name) - 1;
data/file-roller-3.38.0/src/glib-utils.c:918:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	last_char = strlen (path) - 1;
data/file-roller-3.38.0/src/glib-utils.c:940:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	p = strlen (path) - 1;
data/file-roller-3.38.0/src/glib-utils.c:968:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	copy_len = len = strlen (path);
data/file-roller-3.38.0/src/glib-utils.c:988:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		return g_strndup (path, strlen (path) - strlen (ext));
data/file-roller-3.38.0/src/glib-utils.c:988:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		return g_strndup (path, strlen (path) - strlen (ext));
data/file-roller-3.38.0/src/glib-utils.c:1004:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		return g_strndup (path, strlen (path) - strlen (ext));
data/file-roller-3.38.0/src/glib-utils.c:1004:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		return g_strndup (path, strlen (path) - strlen (ext));
data/file-roller-3.38.0/src/glib-utils.c:1018:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	dirname_l = strlen (dirname);
data/file-roller-3.38.0/src/glib-utils.c:1019:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	filename_l = strlen (filename);
data/file-roller-3.38.0/src/glib-utils.c:1054:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	base_dir_len = strlen (base_dir);
data/file-roller-3.38.0/src/glib-utils.c:1055:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen (path) < base_dir_len)
data/file-roller-3.38.0/src/glib-utils.c:1131:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen (filename);
data/file-roller-3.38.0/src/glib-utils.c:1158:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	filename_l = strlen (filename);
data/file-roller-3.38.0/src/glib-utils.c:1159:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	ext_l = strlen (ext);
data/file-roller-3.38.0/src/glib-utils.c:1172:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	const int   n_letters = strlen (letters);
data/file-roller-3.38.0/src/glib-utils.c:1178:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	suffix_len = suffix != NULL ? strlen (suffix) + 1 : 0;
data/file-roller-3.38.0/src/glib-utils.c:1188:3:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
		strcpy (c, ".");
data/file-roller-3.38.0/src/glib-utils.c:1482:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	line_l = strlen (line);
data/file-roller-3.38.0/src/glib-utils.c:1483:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	pattern_l = strlen (pattern);
data/file-roller-3.38.0/src/gtk-utils.c:782:53:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		accel_data->action_name = g_strdup (action_name + strlen ("win."));
data/file-roller-3.38.0/src/java-utils.c:157:47:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while ((i < cfile->const_pool_count - 1) && (read (cfile->fd, &tag, 1) != -1)) {
data/file-roller-3.38.0/src/java-utils.c:165:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			if (read (cfile->fd, &class->name_index, 2) != 2) {
data/file-roller-3.38.0/src/java-utils.c:212:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			if (read (cfile->fd, &(txt->length), 2) == -1) {
data/file-roller-3.38.0/src/java-utils.c:218:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			if (read (cfile->fd, txt->str, txt->length) == -1) {
data/file-roller-3.38.0/src/java-utils.c:265:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if ((i = read (cfile->fd, &magic, 4)) != 4)
data/file-roller-3.38.0/src/java-utils.c:269:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read (cfile->fd, &major, 2 ) != 2)
data/file-roller-3.38.0/src/java-utils.c:273:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read (cfile->fd, &minor, 2) != 2)
data/file-roller-3.38.0/src/java-utils.c:277:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read (cfile->fd, &count, 2) != 2)
data/file-roller-3.38.0/src/java-utils.c:282:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read (cfile->fd, &cfile->access_flags, 2) != 2)
data/file-roller-3.38.0/src/java-utils.c:286:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read (cfile->fd, &cfile->this_class, 2) != 2)
data/file-roller-3.38.0/src/java-utils.c:336:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while (read (fdesc, &ch, 1) == 1) {
data/file-roller-3.38.0/src/java-utils.c:386:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while (! valid_char_found && (read (cfile->fd, &ch, 1) == 1)) {
data/file-roller-3.38.0/src/java-utils.c:421:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if (read (cfile->fd, &first_valid_word[1], 6) != 6)
data/file-roller-3.38.0/src/java-utils.c:429:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			while (read (cfile->fd, &ch, 1) == 1) {
data/file-roller-3.38.0/src/mkdtemp.c:128:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen (tmpl);
data/file-roller-3.38.0/src/rar-utils.c:53:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		l = strlen (parts[2]);

ANALYSIS SUMMARY:

Hits = 239
Lines analyzed = 46521 in approximately 1.02 seconds (45494 lines/second)
Physical Source Lines of Code (SLOC) = 33807
Hits@level = [0]   5 [1] 119 [2]  99 [3]  17 [4]   4 [5]   0
Hits@level+ = [0+] 244 [1+] 239 [2+] 120 [3+]  21 [4+]   4 [5+]   0
Hits/KSLOC@level+ = [0+] 7.21744 [1+] 7.06954 [2+] 3.54956 [3+] 0.621173 [4+] 0.118319 [5+]   0
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.