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/netcdf-fortran-4.5.3+ds/CMakeExtras/check_cdf5.c Examining data/netcdf-fortran-4.5.3+ds/CMakeExtras/check_parallel4.c Examining data/netcdf-fortran-4.5.3+ds/CMakeExtras/check_pnetcdf.c Examining data/netcdf-fortran-4.5.3+ds/CMakeExtras/check_relax_coord_bound.c Examining data/netcdf-fortran-4.5.3+ds/CMakeExtras/sizeof_ptrdiff_t.c Examining data/netcdf-fortran-4.5.3+ds/fortran/nf_lib.c Examining data/netcdf-fortran-4.5.3+ds/fortran/nf_v2compat.c Examining data/netcdf-fortran-4.5.3+ds/nf_test/f03lib.c FINAL RESULTS: data/netcdf-fortran-4.5.3+ds/nf_test/f03lib.c:30:9: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srand(iflag); ANALYSIS SUMMARY: Hits = 1 Lines analyzed = 2271 in approximately 0.07 seconds (31658 lines/second) Physical Source Lines of Code (SLOC) = 1729 Hits@level = [0] 4 [1] 0 [2] 0 [3] 1 [4] 0 [5] 0 Hits@level+ = [0+] 5 [1+] 1 [2+] 1 [3+] 1 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 2.89184 [1+] 0.578369 [2+] 0.578369 [3+] 0.578369 [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.