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/clippoly-0.11/err.c Examining data/clippoly-0.11/err.h Examining data/clippoly-0.11/patchlevel.h Examining data/clippoly-0.11/test.cc Examining data/clippoly-0.11/clippolytest.cc Examining data/clippoly-0.11/graphadd.cc Examining data/clippoly-0.11/graphadd.h Examining data/clippoly-0.11/graphmat++.cc Examining data/clippoly-0.11/graphmat++.h Examining data/clippoly-0.11/graphmat.c Examining data/clippoly-0.11/graphmat.h Examining data/clippoly-0.11/nclip.cc Examining data/clippoly-0.11/nclip.h Examining data/clippoly-0.11/poly.cc Examining data/clippoly-0.11/poly.h Examining data/clippoly-0.11/poly_io.cc Examining data/clippoly-0.11/poly_io.h Examining data/clippoly-0.11/posadder.cc Examining data/clippoly-0.11/posadder.h Examining data/clippoly-0.11/primitives.cc Examining data/clippoly-0.11/primitives.h Examining data/clippoly-0.11/set.h Examining data/clippoly-0.11/templates.cc Examining data/clippoly-0.11/version.c Examining data/clippoly-0.11/version.h FINAL RESULTS: data/clippoly-0.11/err.c:61: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, args ); data/clippoly-0.11/err.c:77: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, args ); data/clippoly-0.11/err.c:93: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, args ); data/clippoly-0.11/err.c:109: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, args ); data/clippoly-0.11/err.h:70:58: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define NORETURN_PRINTF __attribute__ ((noreturn, format(printf, 1, 2))) data/clippoly-0.11/err.h:71:39: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define PRINTF __attribute__ ((format(printf, 1, 2))) data/clippoly-0.11/graphadd.h:63:32: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define v_print3(vec,vec_name)(fprintf(stderr,\ data/clippoly-0.11/graphadd.h:67:49: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define m_print2(mat,vec_name) if(&(mat)!=NULL) fprintf(stderr, \ data/clippoly-0.11/graphadd.h:73:49: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define m_print3(mat,vec_name) if(&(mat)!=NULL) fprintf(stderr, \ ANALYSIS SUMMARY: Hits = 9 Lines analyzed = 5707 in approximately 0.16 seconds (34863 lines/second) Physical Source Lines of Code (SLOC) = 3712 Hits@level = [0] 3 [1] 0 [2] 0 [3] 0 [4] 9 [5] 0 Hits@level+ = [0+] 12 [1+] 9 [2+] 9 [3+] 9 [4+] 9 [5+] 0 Hits/KSLOC@level+ = [0+] 3.23276 [1+] 2.42457 [2+] 2.42457 [3+] 2.42457 [4+] 2.42457 [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.