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/gnustep-make-2.8.0/TestFramework/ObjectTesting.h Examining data/gnustep-make-2.8.0/TestFramework/Testing.h Examining data/gnustep-make-2.8.0/config-precomp-test/config-precomp-test.h FINAL RESULTS: data/gnustep-make-2.8.0/TestFramework/ObjectTesting.h:487:10: [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. else { fprintf(stderr, "Failed test: " desc, ## args); \ data/gnustep-make-2.8.0/TestFramework/Testing.h:122:103: [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. static void pass(int passed, const char *format, ...) __attribute__((unused)) __attribute__ ((format(printf, 2, 3))); data/gnustep-make-2.8.0/TestFramework/Testing.h:146:3: [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, format, args); data/gnustep-make-2.8.0/TestFramework/Testing.h:255:15: [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. fprintf(stderr, \ data/gnustep-make-2.8.0/TestFramework/Testing.h:326:15: [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. fprintf(stderr, \ data/gnustep-make-2.8.0/TestFramework/ObjectTesting.h:188:7: [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[100]; \ data/gnustep-make-2.8.0/TestFramework/ObjectTesting.h:234:7: [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[100]; \ data/gnustep-make-2.8.0/TestFramework/ObjectTesting.h:298:7: [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[100]; \ data/gnustep-make-2.8.0/TestFramework/ObjectTesting.h:414:7: [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[100]; \ data/gnustep-make-2.8.0/TestFramework/Testing.h:448: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). char *_save_set = (char*)malloc(strlen(setName) + 1); \ data/gnustep-make-2.8.0/TestFramework/Testing.h:449:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(_save_set, setName, strlen(setName) + 1); \ data/gnustep-make-2.8.0/TestFramework/Testing.h:449:33: [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). strncpy(_save_set, setName, strlen(setName) + 1); \ ANALYSIS SUMMARY: Hits = 12 Lines analyzed = 1144 in approximately 0.11 seconds (10679 lines/second) Physical Source Lines of Code (SLOC) = 800 Hits@level = [0] 34 [1] 3 [2] 4 [3] 0 [4] 5 [5] 0 Hits@level+ = [0+] 46 [1+] 12 [2+] 9 [3+] 5 [4+] 5 [5+] 0 Hits/KSLOC@level+ = [0+] 57.5 [1+] 15 [2+] 11.25 [3+] 6.25 [4+] 6.25 [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.