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/showq-0.4.1+git20200907/src/app.cc Examining data/showq-0.4.1+git20200907/src/app.h Examining data/showq-0.4.1+git20200907/src/audio.cc Examining data/showq-0.4.1+git20200907/src/audio.h Examining data/showq-0.4.1+git20200907/src/cue.h Examining data/showq-0.4.1+git20200907/src/editcue.cc Examining data/showq-0.4.1+git20200907/src/editcue.h Examining data/showq-0.4.1+git20200907/src/editfade.cc Examining data/showq-0.4.1+git20200907/src/editgroup.cc Examining data/showq-0.4.1+git20200907/src/editmidi.cc Examining data/showq-0.4.1+git20200907/src/editstop.cc Examining data/showq-0.4.1+git20200907/src/editwave.cc Examining data/showq-0.4.1+git20200907/src/file.cc Examining data/showq-0.4.1+git20200907/src/main.cc Examining data/showq-0.4.1+git20200907/src/main.h Examining data/showq-0.4.1+git20200907/src/patch.cc Examining data/showq-0.4.1+git20200907/src/patch.h Examining data/showq-0.4.1+git20200907/src/pref.cc Examining data/showq-0.4.1+git20200907/src/pref.h Examining data/showq-0.4.1+git20200907/src/rcu.h Examining data/showq-0.4.1+git20200907/src/renumber.cc Examining data/showq-0.4.1+git20200907/src/renumber.h Examining data/showq-0.4.1+git20200907/src/utils.cc Examining data/showq-0.4.1+git20200907/src/utils.h Examining data/showq-0.4.1+git20200907/src/uuid_cpp.h FINAL RESULTS: data/showq-0.4.1+git20200907/src/app.cc:111:12: [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. unsigned char buf[256]; data/showq-0.4.1+git20200907/src/app.cc:323:15: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int i = atoi(l.c_str()); data/showq-0.4.1+git20200907/src/uuid_cpp.h:47: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 buffer[42]; ANALYSIS SUMMARY: Hits = 3 Lines analyzed = 6647 in approximately 0.21 seconds (32076 lines/second) Physical Source Lines of Code (SLOC) = 5123 Hits@level = [0] 0 [1] 0 [2] 3 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 3 [1+] 3 [2+] 3 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 0.585594 [1+] 0.585594 [2+] 0.585594 [3+] 0 [4+] 0 [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.