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/nim-hts-0.3.13+ds/src/hts/private/hts_concat.h

FINAL RESULTS:

data/nim-hts-0.3.13+ds/src/hts/private/hts_concat.h:382:45:  [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.
uint8_t *bam_aux_get(const bam1_t *b, const char tag[2]);
data/nim-hts-0.3.13+ds/src/hts/private/hts_concat.h:389:41:  [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.
int bam_aux_update_str(bam1_t *b, const char tag[2], int len, const char *data);
data/nim-hts-0.3.13+ds/src/hts/private/hts_concat.h:390:41:  [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.
int bam_aux_update_int(bam1_t *b, const char tag[2], int64_t val);
data/nim-hts-0.3.13+ds/src/hts/private/hts_concat.h:391:43:  [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.
int bam_aux_update_float(bam1_t *b, const char tag[2], float val);

ANALYSIS SUMMARY:

Hits = 4
Lines analyzed = 709 in approximately 0.05 seconds (13895 lines/second)
Physical Source Lines of Code (SLOC) = 441
Hits@level = [0]   0 [1]   0 [2]   4 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]   4 [1+]   4 [2+]   4 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 9.07029 [1+] 9.07029 [2+] 9.07029 [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.