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/pd-pddp-0.2.1/helplink.c
Examining data/pd-pddp-0.2.1/pddplink.c

FINAL RESULTS:

data/pd-pddp-0.2.1/helplink.c:186:6:  [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(x->x_vistext, x->x_ulink->s_name);
data/pd-pddp-0.2.1/pddplink.c:241:6:  [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(dst, src);
data/pd-pddp-0.2.1/pddplink.c:324:6:  [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(x->x_vistext, x->x_ulink->s_name);
data/pd-pddp-0.2.1/helplink.c:131:5:  [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 dirbuf[MAXPDSTRING], *nameptr;
data/pd-pddp-0.2.1/pddplink.c:208:5:  [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 buf[32], *src;
data/pd-pddp-0.2.1/pddplink.c:228:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	    sprintf(src, "%g", av->a_w.w_float);
data/pd-pddp-0.2.1/pddplink.c:258:2:  [2] (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 string.
	strcpy(result + sz, "...");
data/pd-pddp-0.2.1/helplink.c:173:38:  [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).
    x->x_vislength = (x->x_vistext ? strlen(x->x_vistext) : 0);
data/pd-pddp-0.2.1/helplink.c:183:23:  [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).
	    x->x_vislength = strlen(x->x_ulink->s_name);
data/pd-pddp-0.2.1/pddplink.c:235: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(src);
data/pd-pddp-0.2.1/pddplink.c:257: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).
	sz = strlen(result);
data/pd-pddp-0.2.1/pddplink.c:305:38:  [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).
    x->x_vislength = (x->x_vistext ? strlen(x->x_vistext) : 0);
data/pd-pddp-0.2.1/pddplink.c:321:23:  [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).
	    x->x_vislength = strlen(x->x_ulink->s_name);

ANALYSIS SUMMARY:

Hits = 13
Lines analyzed = 567 in approximately 0.03 seconds (18931 lines/second)
Physical Source Lines of Code (SLOC) = 497
Hits@level = [0]   0 [1]   6 [2]   4 [3]   0 [4]   3 [5]   0
Hits@level+ = [0+]  13 [1+]  13 [2+]   7 [3+]   3 [4+]   3 [5+]   0
Hits/KSLOC@level+ = [0+] 26.1569 [1+] 26.1569 [2+] 14.0845 [3+] 6.03622 [4+] 6.03622 [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.