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/pavucontrol-4.0/src/cardwidget.cc Examining data/pavucontrol-4.0/src/cardwidget.h Examining data/pavucontrol-4.0/src/channelwidget.cc Examining data/pavucontrol-4.0/src/channelwidget.h Examining data/pavucontrol-4.0/src/devicewidget.cc Examining data/pavucontrol-4.0/src/devicewidget.h Examining data/pavucontrol-4.0/src/i18n.h Examining data/pavucontrol-4.0/src/mainwindow.h Examining data/pavucontrol-4.0/src/minimalstreamwidget.cc Examining data/pavucontrol-4.0/src/minimalstreamwidget.h Examining data/pavucontrol-4.0/src/pavuapplication.cc Examining data/pavucontrol-4.0/src/pavuapplication.h Examining data/pavucontrol-4.0/src/pavucontrol.cc Examining data/pavucontrol-4.0/src/pavucontrol.h Examining data/pavucontrol-4.0/src/rolewidget.cc Examining data/pavucontrol-4.0/src/rolewidget.h Examining data/pavucontrol-4.0/src/sinkinputwidget.cc Examining data/pavucontrol-4.0/src/sinkinputwidget.h Examining data/pavucontrol-4.0/src/sinkwidget.cc Examining data/pavucontrol-4.0/src/sinkwidget.h Examining data/pavucontrol-4.0/src/sourceoutputwidget.cc Examining data/pavucontrol-4.0/src/sourceoutputwidget.h Examining data/pavucontrol-4.0/src/sourcewidget.cc Examining data/pavucontrol-4.0/src/sourcewidget.h Examining data/pavucontrol-4.0/src/streamwidget.cc Examining data/pavucontrol-4.0/src/streamwidget.h Examining data/pavucontrol-4.0/src/mainwindow.cc FINAL RESULTS: data/pavucontrol-4.0/src/channelwidget.cc:62: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 text[64]; data/pavucontrol-4.0/src/channelwidget.cc:95: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 txt[64]; data/pavucontrol-4.0/src/mainwindow.cc:586: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 t[16]; data/pavucontrol-4.0/src/pavucontrol.cc:52: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 buf[256]; data/pavucontrol-4.0/src/sinkwidget.cc:91: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 dev[64]; ANALYSIS SUMMARY: Hits = 5 Lines analyzed = 4616 in approximately 0.13 seconds (36363 lines/second) Physical Source Lines of Code (SLOC) = 3063 Hits@level = [0] 8 [1] 0 [2] 5 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 13 [1+] 5 [2+] 5 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 4.24421 [1+] 1.63239 [2+] 1.63239 [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.