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/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-properties.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-common.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-properties-dialog.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-revert.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-commit.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-transfer-dialog.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-import.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-checkout.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-file-dialog.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-copy.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-status-dialog.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-notify-dialog.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-status.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-log.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-commit.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-lock-dialog.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-delete.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-blame.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-update.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-revert.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-login-dialog.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-common.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-log-message-dialog.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-diff-dialog.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-resolved.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-delete.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-tree-common.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-log-dialog.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-relocate.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-switch.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-file-dialog.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-copy.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-status.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-log-message-dialog.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-dialog-common.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-export.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-lock.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-unlock.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-trust-dialog.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-blame.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-diff-dialog.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-lock.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-dialog-common.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-log-dialog.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-status-dialog.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-unlock.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-checkout.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-lock-dialog.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-relocate.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-relocate-dialog.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-log.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-add.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-properties.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-blame-dialog.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-trust-dialog.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-export.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-switch.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-file-selection-dialog.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-login-dialog.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-resolved.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-diff.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-tree-common.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-cleanup.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-cleanup.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-move.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-import.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-notify-dialog.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/main.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-relocate-dialog.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-properties-dialog.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-update.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-add.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-diff.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-transfer-dialog.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-move.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-blame-dialog.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-file-selection-dialog.h
Examining data/thunar-vcs-plugin-0.2.0/thunar-vcs-plugin/tvp-git-action.h
Examining data/thunar-vcs-plugin-0.2.0/thunar-vcs-plugin/tvp-svn-action.h
Examining data/thunar-vcs-plugin-0.2.0/thunar-vcs-plugin/tvp-provider.c
Examining data/thunar-vcs-plugin-0.2.0/thunar-vcs-plugin/tvp-svn-backend.h
Examining data/thunar-vcs-plugin-0.2.0/thunar-vcs-plugin/tvp-svn-action.c
Examining data/thunar-vcs-plugin-0.2.0/thunar-vcs-plugin/tvp-git-action.c
Examining data/thunar-vcs-plugin-0.2.0/thunar-vcs-plugin/thunar-vcs-plugin.c
Examining data/thunar-vcs-plugin-0.2.0/thunar-vcs-plugin/tvp-svn-property-page.c
Examining data/thunar-vcs-plugin-0.2.0/thunar-vcs-plugin/tvp-provider.h
Examining data/thunar-vcs-plugin-0.2.0/thunar-vcs-plugin/tvp-svn-property-page.h
Examining data/thunar-vcs-plugin-0.2.0/thunar-vcs-plugin/tvp-svn-backend.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-move.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-common.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-clone.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-blame.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-blame.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-status.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-clean-dialog.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-status.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-branch-dialog.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-reset.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-file-selection-dialog.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-log-dialog.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-add.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-status-dialog.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-stash-dialog.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-log-dialog.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-transfer-dialog.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-log.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-blame-dialog.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-branch-dialog.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-move.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-transfer-dialog.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-clean-dialog.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-stash.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-notify-dialog.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-dialog-common.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-clean.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-log.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-branch.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-stash.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-cell-renderer-graph.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-reset.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-branch.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-common.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-clone.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-add.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-file-selection-dialog.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-status-dialog.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-dialog-common.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-stash-dialog.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/main.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-notify-dialog.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-clean.h
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-cell-renderer-graph.c
Examining data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-blame-dialog.c

FINAL RESULTS:

data/thunar-vcs-plugin-0.2.0/thunar-vcs-plugin/tvp-provider.c:50:34:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
#define g_access(filename, mode) access((filename), (mode))
data/thunar-vcs-plugin-0.2.0/thunar-vcs-plugin/tvp-svn-backend.c:82:6:  [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.
	if (getenv ("SVN_ASP_DOT_NET_HACK"))
data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-common.c:107:6:  [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.
	if (getenv ("SVN_ASP_DOT_NET_HACK"))
data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-transfer-dialog.c:163:23:  [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).
        else if((fp = fopen(absolute?absolute:local_dir, "r")))
data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-common.c:1196: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 message[256];
data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-copy.c:164:17:  [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).
  else if((fp = fopen(absolute?absolute:from, "r")))
data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-move.c:154:17:  [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).
  else if((fp = fopen(absolute?absolute:from, "r")))
data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-relocate-dialog.c:281:19:  [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).
    else if((fp = fopen(absolute?absolute:local_dir, "r")))
data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-transfer-dialog.c:206:19:  [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).
    else if((fp = fopen(absolute?absolute:local_dir, "r")))
data/thunar-vcs-plugin-0.2.0/thunar-vcs-plugin/thunar-vcs-plugin.c:48:16:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  const gchar *mismatch;
data/thunar-vcs-plugin-0.2.0/thunar-vcs-plugin/thunar-vcs-plugin.c:52:19:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  if (G_UNLIKELY (mismatch != NULL))
data/thunar-vcs-plugin-0.2.0/thunar-vcs-plugin/thunar-vcs-plugin.c:54:42:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      g_warning ("Version mismatch: %s", mismatch);
data/thunar-vcs-plugin-0.2.0/thunar-vcs-plugin/tvp-git-action.c:332: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).
                if (strlen (file) > 1 && file[strlen (file) - 1] == '/')
data/thunar-vcs-plugin-0.2.0/thunar-vcs-plugin/tvp-git-action.c:332: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).
                if (strlen (file) > 1 && file[strlen (file) - 1] == '/')
data/thunar-vcs-plugin-0.2.0/thunar-vcs-plugin/tvp-git-action.c:334: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).
                    file[strlen (file) - 1] = '\0';
data/thunar-vcs-plugin-0.2.0/thunar-vcs-plugin/tvp-provider.c:287: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 (path1) > 1 && path1[strlen (path1) - 1] == '/')
data/thunar-vcs-plugin-0.2.0/thunar-vcs-plugin/tvp-provider.c:287:35:  [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 (path1) > 1 && path1[strlen (path1) - 1] == '/')
data/thunar-vcs-plugin-0.2.0/thunar-vcs-plugin/tvp-provider.c:289: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).
    path1[strlen (path1) - 1] = '\0';
data/thunar-vcs-plugin-0.2.0/thunar-vcs-plugin/tvp-provider.c:293: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 (path2) > 1 && path2[strlen (path2) - 1] == '/')
data/thunar-vcs-plugin-0.2.0/thunar-vcs-plugin/tvp-provider.c:293:35:  [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 (path2) > 1 && path2[strlen (path2) - 1] == '/')
data/thunar-vcs-plugin-0.2.0/thunar-vcs-plugin/tvp-provider.c:295: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).
    path2[strlen (path2) - 1] = '\0';
data/thunar-vcs-plugin-0.2.0/thunar-vcs-plugin/tvp-svn-action.c:487: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 (strlen (file) > 1 && file[strlen (file) - 1] == '/')
data/thunar-vcs-plugin-0.2.0/thunar-vcs-plugin/tvp-svn-action.c:487:39:  [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 (file) > 1 && file[strlen (file) - 1] == '/')
data/thunar-vcs-plugin-0.2.0/thunar-vcs-plugin/tvp-svn-action.c:489:16:  [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).
          file[strlen (file) - 1] = '\0';
data/thunar-vcs-plugin-0.2.0/thunar-vcs-plugin/tvp-svn-backend.c:151: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 (path) > 1 && path[strlen (path) - 1] == '/')
data/thunar-vcs-plugin-0.2.0/thunar-vcs-plugin/tvp-svn-backend.c:151: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 (strlen (path) > 1 && path[strlen (path) - 1] == '/')
data/thunar-vcs-plugin-0.2.0/thunar-vcs-plugin/tvp-svn-backend.c:153: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).
    path[strlen (path) - 1] = '\0';
data/thunar-vcs-plugin-0.2.0/thunar-vcs-plugin/tvp-svn-backend.c:245: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 (path) > 1 && path[strlen (path) - 1] == '/')
data/thunar-vcs-plugin-0.2.0/thunar-vcs-plugin/tvp-svn-backend.c:245: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 (strlen (path) > 1 && path[strlen (path) - 1] == '/')
data/thunar-vcs-plugin-0.2.0/thunar-vcs-plugin/tvp-svn-backend.c:247: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).
    path[strlen (path) - 1] = '\0';
data/thunar-vcs-plugin-0.2.0/thunar-vcs-plugin/tvp-svn-backend.c:353: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 (path) > 1 && path[strlen (path) - 1] == '/')
data/thunar-vcs-plugin-0.2.0/thunar-vcs-plugin/tvp-svn-backend.c:353: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 (strlen (path) > 1 && path[strlen (path) - 1] == '/')
data/thunar-vcs-plugin-0.2.0/thunar-vcs-plugin/tvp-svn-backend.c:355: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).
    path[strlen (path) - 1] = '\0';
data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-common.c:163:16:  [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/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-common.c:302: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).
      file[strlen(file)-1] = '\0';
data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-common.c:448:37:  [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).
      file->file = g_strndup (path, strlen(path)-1);
data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-common.c:562: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).
    file = g_strndup (file, strlen(file)-1);
data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-common.c:606: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).
    text[strlen (text)-1] = '\0';
data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-common.c:668: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).
    file[strlen (file)-1] = '\0';
data/thunar-vcs-plugin-0.2.0/tvp-git-helper/tgh-file-selection-dialog.c:254: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).
      file[strlen(file)-1] = '\0';
data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-common.c:1260: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 (path) > 1 && path[strlen (path) - 1] == '/')
data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-common.c:1260: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 (strlen (path) > 1 && path[strlen (path) - 1] == '/')
data/thunar-vcs-plugin-0.2.0/tvp-svn-helper/tsh-common.c:1262: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).
    path[strlen (path) - 1] = '\0';

ANALYSIS SUMMARY:

Hits = 43
Lines analyzed = 21150 in approximately 0.45 seconds (46899 lines/second)
Physical Source Lines of Code (SLOC) = 14489
Hits@level = [0]   0 [1]  34 [2]   6 [3]   2 [4]   1 [5]   0
Hits@level+ = [0+]  43 [1+]  43 [2+]   9 [3+]   3 [4+]   1 [5+]   0
Hits/KSLOC@level+ = [0+] 2.96777 [1+] 2.96777 [2+] 0.621161 [3+] 0.207054 [4+] 0.0690179 [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.