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/singleapplication-3.1.4/examples/basic/main.cpp Examining data/singleapplication-3.1.4/examples/calculator/button.cpp Examining data/singleapplication-3.1.4/examples/calculator/button.h Examining data/singleapplication-3.1.4/examples/calculator/calculator.cpp Examining data/singleapplication-3.1.4/examples/calculator/calculator.h Examining data/singleapplication-3.1.4/examples/calculator/main.cpp Examining data/singleapplication-3.1.4/examples/sending_arguments/messagereceiver.cpp Examining data/singleapplication-3.1.4/examples/sending_arguments/messagereceiver.h Examining data/singleapplication-3.1.4/examples/sending_arguments/main.cpp Examining data/singleapplication-3.1.4/singleapplication.cpp Examining data/singleapplication-3.1.4/singleapplication.h Examining data/singleapplication-3.1.4/singleapplication_p.cpp Examining data/singleapplication-3.1.4/singleapplication_p.h FINAL RESULTS: data/singleapplication-3.1.4/singleapplication_p.cpp:92:7: [2] (buffer) wchar_t: 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. wchar_t username[UNLEN + 1]; data/singleapplication-3.1.4/singleapplication_p.h:45:5: [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 primaryUser[128]; data/singleapplication-3.1.4/singleapplication_p.cpp:371:33: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). QByteArray msgBytes = sock->read(info.msgLen); ANALYSIS SUMMARY: Hits = 3 Lines analyzed = 1679 in approximately 0.07 seconds (22518 lines/second) Physical Source Lines of Code (SLOC) = 927 Hits@level = [0] 0 [1] 1 [2] 2 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 3 [1+] 3 [2+] 2 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 3.23625 [1+] 3.23625 [2+] 2.1575 [3+] 0 [4+] 0 [5+] 0 Dot directories skipped = 2 (--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.