Flawfinder Results

Here are the security scan results from Flawfinder version 1.31, (C) 2001-2014 David A. Wheeler. Number of rules (primarily dangerous function names) in C/C++ ruleset: 169

Examining hw3/histogram.c
Examining hw3/print_errors.c
Examining hw3/print_errors.h
Examining hw3/prompt.c
Examining hw3/prompt.h
Examining hw3/testfmt.c

Final Results

Analysis Summary

Hits = 16
Lines analyzed = 276 in approximately 0.03 seconds (9534 lines/second)
Physical Source Lines of Code (SLOC) = 175
Hits@level = [0] 0 [1] 2 [2] 3 [3] 0 [4] 10 [5] 1
Hits@level+ = [0+] 16 [1+] 16 [2+] 14 [3+] 11 [4+] 11 [5+] 1
Hits/KSLOC@level+ = [0+] 91.4286 [1+] 91.4286 [2+] 80 [3+] 62.8571 [4+] 62.8571 [5+] 5.71429
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming for Linux and Unix HOWTO' (http://www.dwheeler.com/secure-programs) for more information.