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/ticker-1.12/ticker.c

FINAL RESULTS:

data/ticker-1.12/ticker.c:60:2:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	vfprintf(stderr, fmt, arglist);
data/ticker-1.12/ticker.c:163: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(fgcolor,optarg);
data/ticker-1.12/ticker.c:167: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(bgcolor,optarg);
data/ticker-1.12/ticker.c:190: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(message,argv[optind]);
data/ticker-1.12/ticker.c:143:5:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
		c=getopt_long(argc,argv,PARAM_SHORT,long_options,NULL);
data/ticker-1.12/ticker.c:145:5:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
		c=getopt(argc,argv,PARAM_SHORT);
data/ticker-1.12/ticker.c:156:10:  [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).
			shmid=atoi(optarg);
data/ticker-1.12/ticker.c:173:12:  [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).
			refresh=atoi(optarg);
data/ticker-1.12/ticker.c:176: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).
			shm_size=atoi(optarg);
data/ticker-1.12/ticker.c:162: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).
			fgcolor=malloc(strlen(optarg)+1);
data/ticker-1.12/ticker.c:166: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).
			bgcolor=malloc(strlen(optarg)+1);
data/ticker-1.12/ticker.c:189:18:  [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).
		message=malloc(strlen(argv[optind])+1);
data/ticker-1.12/ticker.c:206:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(message,shm_p,shm_size);
data/ticker-1.12/ticker.c:266: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).
	len=strlen(message);
data/ticker-1.12/ticker.c:292: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(message);
data/ticker-1.12/ticker.c:307:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				strncpy(newmessage,shm_p,shm_size);

ANALYSIS SUMMARY:

Hits = 16
Lines analyzed = 352 in approximately 0.02 seconds (15369 lines/second)
Physical Source Lines of Code (SLOC) = 259
Hits@level = [0]   4 [1]   7 [2]   3 [3]   2 [4]   4 [5]   0
Hits@level+ = [0+]  20 [1+]  16 [2+]   9 [3+]   6 [4+]   4 [5+]   0
Hits/KSLOC@level+ = [0+] 77.2201 [1+] 61.7761 [2+] 34.749 [3+] 23.166 [4+] 15.444 [5+]   0
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.