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/ruby-netcdf-0.7.2/ext/numru/netcdfraw.c

FINAL RESULTS:

data/ruby-netcdf-0.7.2/ext/numru/netcdfraw.c:293:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(Netcdffile->name,filename);
data/ruby-netcdf-0.7.2/ext/numru/netcdfraw.c:325:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(Netcdf_att->name,attname);
data/ruby-netcdf-0.7.2/ext/numru/netcdfraw.c:1312:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(Netcdf_att->name,c_new_att_name);
data/ruby-netcdf-0.7.2/ext/numru/netcdfraw.c:1242:3:  [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 c_dim_name[NC_MAX_NAME];
data/ruby-netcdf-0.7.2/ext/numru/netcdfraw.c:1798:3:  [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 c_var_name[NC_MAX_NAME];
data/ruby-netcdf-0.7.2/ext/numru/netcdfraw.c:292:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  Netcdffile->name=xmalloc((strlen(filename)+1)*sizeof(char));
data/ruby-netcdf-0.7.2/ext/numru/netcdfraw.c:324:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  Netcdf_att->name=xmalloc((strlen(attname)+1)*sizeof(char));

ANALYSIS SUMMARY:

Hits = 7
Lines analyzed = 4719 in approximately 0.11 seconds (41117 lines/second)
Physical Source Lines of Code (SLOC) = 4024
Hits@level = [0]   0 [1]   2 [2]   2 [3]   0 [4]   3 [5]   0
Hits@level+ = [0+]   7 [1+]   7 [2+]   5 [3+]   3 [4+]   3 [5+]   0
Hits/KSLOC@level+ = [0+] 1.73956 [1+] 1.73956 [2+] 1.24254 [3+] 0.745527 [4+] 0.745527 [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.