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-qt-0.14.1/src/cardwidget.cc
Examining data/pavucontrol-qt-0.14.1/src/cardwidget.h
Examining data/pavucontrol-qt-0.14.1/src/channel.cc
Examining data/pavucontrol-qt-0.14.1/src/channel.h
Examining data/pavucontrol-qt-0.14.1/src/devicewidget.cc
Examining data/pavucontrol-qt-0.14.1/src/devicewidget.h
Examining data/pavucontrol-qt-0.14.1/src/mainwindow.cc
Examining data/pavucontrol-qt-0.14.1/src/mainwindow.h
Examining data/pavucontrol-qt-0.14.1/src/minimalstreamwidget.cc
Examining data/pavucontrol-qt-0.14.1/src/minimalstreamwidget.h
Examining data/pavucontrol-qt-0.14.1/src/pavucontrol.cc
Examining data/pavucontrol-qt-0.14.1/src/pavucontrol.h
Examining data/pavucontrol-qt-0.14.1/src/rolewidget.cc
Examining data/pavucontrol-qt-0.14.1/src/rolewidget.h
Examining data/pavucontrol-qt-0.14.1/src/sinkinputwidget.cc
Examining data/pavucontrol-qt-0.14.1/src/sinkinputwidget.h
Examining data/pavucontrol-qt-0.14.1/src/sinkwidget.cc
Examining data/pavucontrol-qt-0.14.1/src/sinkwidget.h
Examining data/pavucontrol-qt-0.14.1/src/sourceoutputwidget.cc
Examining data/pavucontrol-qt-0.14.1/src/sourceoutputwidget.h
Examining data/pavucontrol-qt-0.14.1/src/sourcewidget.cc
Examining data/pavucontrol-qt-0.14.1/src/sourcewidget.h
Examining data/pavucontrol-qt-0.14.1/src/streamwidget.cc
Examining data/pavucontrol-qt-0.14.1/src/streamwidget.h

FINAL RESULTS:

data/pavucontrol-qt-0.14.1/src/pavucontrol.cc:654:31:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    QString locale = QLocale::system().name();
data/pavucontrol-qt-0.14.1/src/devicewidget.cc:80:9:  [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-qt-0.14.1/src/mainwindow.cc:417: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-qt-0.14.1/src/pavucontrol.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 buf[256];
data/pavucontrol-qt-0.14.1/src/streamwidget.cc:63:9:  [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];

ANALYSIS SUMMARY:

Hits = 5
Lines analyzed = 4030 in approximately 0.32 seconds (12661 lines/second)
Physical Source Lines of Code (SLOC) = 2699
Hits@level = [0]   4 [1]   0 [2]   4 [3]   0 [4]   1 [5]   0
Hits@level+ = [0+]   9 [1+]   5 [2+]   5 [3+]   1 [4+]   1 [5+]   0
Hits/KSLOC@level+ = [0+] 3.33457 [1+] 1.85254 [2+] 1.85254 [3+] 0.370508 [4+] 0.370508 [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.