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/liboop-1.0.1/acconfig.h
Examining data/liboop-1.0.1/adns.c
Examining data/liboop-1.0.1/oop-www.h
Examining data/liboop-1.0.1/read.c
Examining data/liboop-1.0.1/glib.c
Examining data/liboop-1.0.1/read-fd.c
Examining data/liboop-1.0.1/www.c
Examining data/liboop-1.0.1/signal.c
Examining data/liboop-1.0.1/oop-tcl.h
Examining data/liboop-1.0.1/tcl.c
Examining data/liboop-1.0.1/oop.h
Examining data/liboop-1.0.1/oop-adns.h
Examining data/liboop-1.0.1/test-oop.c
Examining data/liboop-1.0.1/oop-rl.h
Examining data/liboop-1.0.1/oop-read.h
Examining data/liboop-1.0.1/readline.c
Examining data/liboop-1.0.1/alloc.c
Examining data/liboop-1.0.1/oop-glib.h
Examining data/liboop-1.0.1/read-mem.c
Examining data/liboop-1.0.1/sys.c
Examining data/liboop-1.0.1/select.c

FINAL RESULTS:

data/liboop-1.0.1/test-oop.c:284:10:  [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.
	return (vfprintf(stdout,fmt,args));
data/liboop-1.0.1/test-oop.c:288:10:  [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.
	return (vfprintf(stderr,fmt,args));
data/liboop-1.0.1/read-mem.c:118: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(buffer,ram->data,length);
data/liboop-1.0.1/signal.c:69: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 buf[4096];
data/liboop-1.0.1/sys.c:99: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(files,sys->files,sizeof(sys_file) * sys->num_files);
data/liboop-1.0.1/test-oop.c:146: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 buf[BUFSIZ];
data/liboop-1.0.1/test-oop.c:443: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 delimspec[3];
data/liboop-1.0.1/www.c:131: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(newarray,array,sizeof(*newarray) * size);
data/liboop-1.0.1/read-fd.c:58:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    nread= read(rafd->fd,buffer,length);
data/liboop-1.0.1/signal.c:73:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while (read(s->pipefd[0],buf,sizeof buf) < 0 && EINTR == errno) ;
data/liboop-1.0.1/test-oop.c:147:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	int r = read(fd,buf,sizeof(buf));
data/liboop-1.0.1/test-oop.c:492: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).
		ra= oop_readable_mem(source,modes,strlen(modes));

ANALYSIS SUMMARY:

Hits = 12
Lines analyzed = 3538 in approximately 0.16 seconds (22175 lines/second)
Physical Source Lines of Code (SLOC) = 2533
Hits@level = [0]  14 [1]   4 [2]   6 [3]   0 [4]   2 [5]   0
Hits@level+ = [0+]  26 [1+]  12 [2+]   8 [3+]   2 [4+]   2 [5+]   0
Hits/KSLOC@level+ = [0+] 10.2645 [1+] 4.73747 [2+] 3.15831 [3+] 0.789578 [4+] 0.789578 [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.