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/ioport-1.2/port.c

FINAL RESULTS:

data/ioport-1.2/port.c:95:9:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    c = getopt_long (argc, argv, options, long_options, &option_index);

ANALYSIS SUMMARY:

Hits = 1
Lines analyzed = 216 in approximately 0.04 seconds (6044 lines/second)
Physical Source Lines of Code (SLOC) = 154
Hits@level = [0]  10 [1]   0 [2]   0 [3]   1 [4]   0 [5]   0
Hits@level+ = [0+]  11 [1+]   1 [2+]   1 [3+]   1 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 71.4286 [1+] 6.49351 [2+] 6.49351 [3+] 6.49351 [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.