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/xmix-2.1/xmix.c

FINAL RESULTS:

data/xmix-2.1/xmix.c:102:25:  [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.
#define DPRINTF(x)      printf x
data/xmix-2.1/xmix.c:707:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  mixer_fd = open ("/dev/mixer", O_RDWR, 0);

ANALYSIS SUMMARY:

Hits = 2
Lines analyzed = 762 in approximately 0.03 seconds (24395 lines/second)
Physical Source Lines of Code (SLOC) = 539
Hits@level = [0]   2 [1]   0 [2]   1 [3]   0 [4]   1 [5]   0
Hits@level+ = [0+]   4 [1+]   2 [2+]   2 [3+]   1 [4+]   1 [5+]   0
Hits/KSLOC@level+ = [0+] 7.42115 [1+] 3.71058 [2+] 3.71058 [3+] 1.85529 [4+] 1.85529 [5+]   0
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.